all my PRs are failing due to this an error on the...
# core
a
all my PRs are failing due to this an error on the Windows builds (32 & 64)
Copy code
sccache.exe C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe  /nologo /TP -DBOOST_ALL_NO_LIB -DBOOST_ALL_STATIC_LINK -DNDEBUG -DNOMINMAX -DNTDDI_VERSION=NTDDI_WIN7 -DOS_WIN -DWIN32 -DWIN64 -D_MBCS -D_WIN32_WINNT=_WIN32_WINNT_WIN7 -ID:\a\1\s\libraries\cmake\source\rocksdb\src -ID:\a\1\s\libraries\cmake\source\rocksdb\src\util -ID:\a\1\s\libraries\cmake\source\rocksdb\src\include /DWIN32 /D_WINDOWS  /GR /EHs /MT /O2 /Ob2 /DNDEBUG /Ot /guard:cf /bigobj /Zc:inline- /W0 -std:c++17 /showIncludes /Folibs\src\rocksdb\CMakeFiles\thirdparty_rocksdb.dir\src\db\external_sst_file_ingestion_job.cc.obj /Fdlibs\src\rocksdb\CMakeFiles\thirdparty_rocksdb.dir\thirdparty_rocksdb.pdb /FS -c D:\a\1\s\libraries\cmake\source\rocksdb\src\db\<http://external_sst_file_ingestion_job.cc|external_sst_file_ingestion_job.cc>
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\algorithm(7419): error C3892: '_First': you cannot assign to a variable that is const
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\algorithm(7541): note: see reference to function template instantiation '_BidIt std::_Insertion_sort_unchecked<_RanIt,_Pr>(const _BidIt,const _BidIt,_Pr)' being compiled
        with
        [
            _BidIt=rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>,
            _RanIt=rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>,
            _Pr=rocksdb::ExternalSstFileIngestionJob::Prepare::<lambda_5cd11890b167765aab44fdd1b21b5d50>
        ]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\algorithm(7571): note: see reference to function template instantiation 'void std::_Sort_unchecked<_RanIt,_Fn>(_RanIt,_RanIt,__int64,_Pr)' being compiled
        with
        [
            _RanIt=rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>,
            _Fn=rocksdb::ExternalSstFileIngestionJob::Prepare::<lambda_5cd11890b167765aab44fdd1b21b5d50>,
            _Pr=rocksdb::ExternalSstFileIngestionJob::Prepare::<lambda_5cd11890b167765aab44fdd1b21b5d50>
        ]
D:\a\1\s\libraries\cmake\source\rocksdb\src\db\<http://external_sst_file_ingestion_job.cc|external_sst_file_ingestion_job.cc>(70): note: see reference to function template instantiation 'void std::sort<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>,rocksdb::ExternalSstFileIngestionJob::Prepare::<lambda_5cd11890b167765aab44fdd1b21b5d50>>(const _RanIt,const _RanIt,_Pr)' being compiled
        with
        [
            _RanIt=rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>,
            _Pr=rocksdb::ExternalSstFileIngestionJob::Prepare::<lambda_5cd11890b167765aab44fdd1b21b5d50>
        ]