Velox build failing on macOS Sonoma (Xcode 15) with deprecated warnings as errors

Problem description
While building Folly locally (following the steps discussed in #1446), I'm facing a deprecation warning as an error for a type substitution in the project's usage of the Folly library.
This error shows for multiple build steps, so I'm sharing a sample for one of them below:
[315/1534] Building CXX object velox/buf...est.dir/StringViewBufferHolderTest.cpp.o
FAILED: velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o
ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DFOLLY_HAVE_INT128_T=1 -DGFLAGS_IS_A_DLL=0 -I/Users/sanjaychaudhary/Dev/velox/. -I/Users/sanjaychaudhary/Dev/velox/velox/external/xxhash -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-build<EMAIL_ADDRESS>-I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/xsimd-src/include -isystem /opt/homebrew/include -isystem /Users/sanjaychaudhary/Dev/velox/velox -isystem /Users/sanjaychaudhary/Dev/velox/velox/external -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb/tpch/dbgen/include -isystem /Users/sanjaychaudhary/velox/velox_dependency_install/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness -Werror -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -fPIE -MD -MT velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -MF velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o.d -o velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -c /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp
In file included from /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:21:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/StringViewBufferHolder.h:19:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/Buffer.h:23:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:110:20: note: in instantiation of template class 'folly::Range<const unsigned char *>' requested here
    const typename Range<Iter>::value_type& needle);
                   ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:1495:15: note: while substituting deduced template arguments into function template 'qfind' [with Iter = const unsigned char *]
inline size_t qfind(
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
1 error generated.
[317/1534] Building CXX object _deps/gte.../CMakeFiles/gtest.dir/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.
make[1]: *** [build] Error 1
make: *** [release] Error 2

I think this issue concerns the compiler I'm using because the error mentions LLVM 18.
The details of the compiler I'm using are as follows.
$ which clang++
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ g++ -v
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Note: I'm using macOS Sonoma, which runs Xcode 15.0. From what I've explored, the Velox CircleCI runners use Xcode 14.3 as per the section Spin up environment in one of the latest CI runs here.
To verify that the issue is caused due to the updated XCode version in macOS Sonoma, I cross-verified the system and compiler details with @j7nhai, in #5361, whose Velox build is currently working fine.
@j7nhai 's system and compiler details are as follows(taken from #5361):
ProductName:		macOS
ProductVersion:		13.3.1
ProductVersionExtra:	(a)
BuildVersion:		22E772610a

% clang++ --version
Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
% g++ -v
Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

With the recommendations from @assignUser (in #5361), I've disabled -Werror with TREAT_WARNINGS_AS_ERRORS=OFF and opened this issue.
P.S. As discussed in #5361, this appears to be the first time this issue has been reported.
System information
Velox System Info v0.0.2
Commit: 6caf5309c06aaeec4e63e9533586a8f4f9f4d71b
CMake Version: 3.27.7
System: Darwin-23.0.0
Arch: arm64
C++ Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
C++ Compiler Version: <IP_ADDRESS>00040
C Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
C Compiler Version: <IP_ADDRESS>00040
CMake Prefix Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr;/opt/homebrew;/usr/local;/usr;/;/opt/homebrew/Cellar/cmake/3.27.7;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local
CMake log
[315/1534] Building CXX object velox/buf...est.dir/StringViewBufferHolderTest.cpp.o
FAILED: velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o
ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DFOLLY_HAVE_INT128_T=1 -DGFLAGS_IS_A_DLL=0 -I/Users/sanjaychaudhary/Dev/velox/. -I/Users/sanjaychaudhary/Dev/velox/velox/external/xxhash -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-build<EMAIL_ADDRESS>-I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/xsimd-src/include -isystem /opt/homebrew/include -isystem /Users/sanjaychaudhary/Dev/velox/velox -isystem /Users/sanjaychaudhary/Dev/velox/velox/external -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb/tpch/dbgen/include -isystem /Users/sanjaychaudhary/velox/velox_dependency_install/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness -Werror -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -fPIE -MD -MT velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -MF velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o.d -o velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -c /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp
In file included from /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:21:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/StringViewBufferHolder.h:19:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/Buffer.h:23:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:110:20: note: in instantiation of template class 'folly::Range<const unsigned char *>' requested here
    const typename Range<Iter>::value_type& needle);
                   ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:1495:15: note: while substituting deduced template arguments into function template 'qfind' [with Iter = const unsigned char *]
inline size_t qfind(
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
1 error generated.
[317/1534] Building CXX object _deps/gte.../CMakeFiles/gtest.dir/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.
make[1]: *** [build] Error 1
make: *** [release] Error 2

I have seen similar errors before on an upgrade. Your build has references to MacOSX14.0.sdk headers.
Can you delete the entire build directory and try again?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")

Hi @majetideepak,
Deleting the ./velox/build and ./velox/_build directory did not help solve the issue. The same warning-as-error messages persist. I've added another sample of the error from my latest build below; it is the same warning, just taken from a different file.
This time, the exact steps I followed were as follows:
Prerequisite: I added the following two lines to the top-level Makefile:
CMAKE_FLAGS += -DCMAKE_CXX_FLAGS=" -isystem /Users/sanjaychaudhary/velox/velox_dependency_install"
CMAKE_FLAGS += -DCMAKE_PREFIX_PATH="/Users/sanjaychaudhary/velox/velox_dependency_install"

Then, I executed the following commands in order:
$ cd ./velox
$ rm -rf ./build
$ rm -rf ./_build
$ export INSTALL_PREFIX=/Users/sanjaychaudhary/velox/velox_dependency_install
$ CPU_TARGET="arm64" ./scripts/setup-macos.sh
$ export<EMAIL_ADDRESS>$ CPU_TARGET="arm64" make

Notes:

All these steps have been taken from the discussion in #1446
I think some of the steps mentioned above are unnecessary. Still, I've included them nonetheless because other users used these steps in #1446 and succeeded in building Velox on their local machines.

Currently, as a stopgap solution, I've taken the advice of @assignUser  [ref] and disabled warnings-as-errors by setting TREAT_WARNINGS_AS_ERRORS=OFF in the top-level Makefile. With that change, though the warnings do show up, it does not stop the build from proceeding. All 1222 artefacts are built, and to be sure everything went fine, I also tried the executable for the example code velox_example_expression_eval under the _build folder, and it executed fine, with the output:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20231027 02:07:11.579880 8869269 ExpressionEval.cpp:163] 0
I20231027 02:07:11.581136 8869269 ExpressionEval.cpp:163] 2
I20231027 02:07:11.581143 8869269 ExpressionEval.cpp:163] 4
I20231027 02:07:11.581151 8869269 ExpressionEval.cpp:163] 6
I20231027 02:07:11.581158 8869269 ExpressionEval.cpp:163] 8
I20231027 02:07:11.581164 8869269 ExpressionEval.cpp:163] 10
I20231027 02:07:11.581169 8869269 ExpressionEval.cpp:163] 12
I20231027 02:07:11.581174 8869269 ExpressionEval.cpp:163] 14
I20231027 02:07:11.581180 8869269 ExpressionEval.cpp:163] 16
I20231027 02:07:11.581185 8869269 ExpressionEval.cpp:163] 18

Error Message Sample
[1144/1222] Building CXX object velox/exec/tes...aggregation_fuzzer.dir/AggregationFuzzer.cpp.o
In file included from /Users/sanjaychaudhary/Dev/velox/velox/exec/tests/utils/AggregationFuzzer.cpp:16:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/tests/utils/AggregationFuzzer.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/Aggregate.h:20:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/memory/HashStringAllocator.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: warning: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:110:20: note: in instantiation of template class 'folly::Range<const unsigned char *>' requested here
    const typename Range<Iter>::value_type& needle);
                   ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:1495:15: note: while substituting deduced template arguments into function template 'qfind' [with Iter = const unsigned char *]
inline size_t qfind(
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/sanjaychaudhary/Dev/velox/velox/exec/tests/utils/AggregationFuzzer.cpp:16:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/tests/utils/AggregationFuzzer.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/Aggregate.h:20:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/memory/HashStringAllocator.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: warning: 'char_traits<facebook::velox::common::Region>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/./velox/common/file/File.h:92:49: note: in instantiation of template class 'folly::Range<const facebook::velox::common::Region *>' requested here
      return folly::SemiFuture<uint64_t>(preadv(offset, buffers));
                                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<facebook::velox::common::Region>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/sanjaychaudhary/Dev/velox/velox/exec/tests/utils/AggregationFuzzer.cpp:16:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/tests/utils/AggregationFuzzer.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/Aggregate.h:20:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/memory/HashStringAllocator.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: warning: 'char_traits<facebook::velox::BaseVector::CopyRange>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/./velox/vector/BaseVector.h:457:24: note: in instantiation of template class 'folly::Range<facebook::velox::BaseVector::CopyRange *>' requested here
    copyRanges(source, folly::Range(&range, 1));
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<facebook::velox::BaseVector::CopyRange>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/sanjaychaudhary/Dev/velox/velox/exec/tests/utils/AggregationFuzzer.cpp:16:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/tests/utils/AggregationFuzzer.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/Aggregate.h:20:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/memory/HashStringAllocator.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: warning: 'char_traits<facebook::velox::BaseVector::CopyRange>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/./velox/vector/BaseVector.h:457:24: note: in instantiation of template class 'folly::Range<const facebook::velox::BaseVector::CopyRange *>' requested here
    copyRanges(source, folly::Range(&range, 1));
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<facebook::velox::BaseVector::CopyRange>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/sanjaychaudhary/Dev/velox/velox/exec/tests/utils/AggregationFuzzer.cpp:16:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/tests/utils/AggregationFuzzer.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/Aggregate.h:20:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/memory/HashStringAllocator.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: warning: 'char_traits<int>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/./velox/vector/LazyVector.h:197:21: note: in instantiation of template class 'folly::Range<const int *>' requested here
      loader_->load(allRows, nullptr, size(), &vector_);
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<int>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
In file included from /Users/sanjaychaudhary/Dev/velox/velox/exec/tests/utils/AggregationFuzzer.cpp:16:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/tests/utils/AggregationFuzzer.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/exec/Aggregate.h:20:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/memory/HashStringAllocator.h:18:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: warning: 'char_traits<char *>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/./velox/exec/Aggregate.h:242:55: note: in instantiation of template class 'folly::Range<char **>' requested here
  virtual void destroy(folly::Range<char**> /*groups*/) {}
                                                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<char *>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
6 warnings generated.

Folly fixed this upstream, I am planning a version bump soon for folly so that will go away then. In the mean time you can install a more recent version of  folly manually if you want to turn werror back on :)

Hi @assignUser,
Thanks for sharing that a fix is available!
The upstream link you shared takes me to the commit dated June 18th, is that correct?
I synced my local repository with the main branch (the latest commit in my local commit is db352f05a9a98ddd3bbdf97fea8fbb9385ec8028 dated Tue Nov 7) and attempted to rebuild the project following the steps shared in the abovementioned issue, but I still got the deprecated errors.
By upstream, are you referring to another GitHub branch?
I'm sharing the current error output for reference:
....
[346/1583] Building CXX object velox/buffer/CM.../velox_buffer.dir/StringViewBufferHolder.cpp.o
FAILED: velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o
ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DFOLLY_HAVE_INT128_T=1 -DGFLAGS_IS_A_DLL=0 -I/Users/sanjaychaudhary/Dev/velox/. -I/Users/sanjaychaudhary/Dev/velox/velox/external/xxhash -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-build<EMAIL_ADDRESS>-I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/xsimd-src/include -isystem /opt/homebrew/include -isystem /Users/sanjaychaudhary/Dev/velox/velox -isystem /Users/sanjaychaudhary/Dev/velox/velox/external -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb/tpch/dbgen/include -isystem /Users/sanjaychaudhary/velox/velox_dependency_install/include -isystem /Users/sanjaychaudhary/velox/velox_dependency_install -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness -Werror -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -fPIC -fcolor-diagnostics -MD -MT velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o -MF velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o.d -o velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o -c /Users/sanjaychaudhary/Dev/velox/velox/buffer/StringViewBufferHolder.cpp
In file included from /Users/sanjaychaudhary/Dev/velox/velox/buffer/StringViewBufferHolder.cpp:17:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/StringViewBufferHolder.h:19:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/Buffer.h:23:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:110:20: note: in instantiation of template class 'folly::Range<const unsigned char *>' requested here
    const typename Range<Iter>::value_type& needle);
                   ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:1495:15: note: while substituting deduced template arguments into function template 'qfind' [with Iter = const unsigned char *]
inline size_t qfind(
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
1 error generated.
[347/1583] Building CXX object velox/buffer/te...keFiles/velox_buffer_test.dir/BufferTest.cpp.o
FAILED: velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o
ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DFOLLY_HAVE_INT128_T=1 -DGFLAGS_IS_A_DLL=0 -I/Users/sanjaychaudhary/Dev/velox/. -I/Users/sanjaychaudhary/Dev/velox/velox/external/xxhash -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-build<EMAIL_ADDRESS>-I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/xsimd-src/include -isystem /opt/homebrew/include -isystem /Users/sanjaychaudhary/Dev/velox/velox -isystem /Users/sanjaychaudhary/Dev/velox/velox/external -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb/tpch/dbgen/include -isystem /Users/sanjaychaudhary/velox/velox_dependency_install/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src -isystem /Users/sanjaychaudhary/velox/velox_dependency_install -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness -Werror -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -fPIE -fcolor-diagnostics -MD -MT velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o -MF velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o.d -o velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o -c /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/BufferTest.cpp
In file included from /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/BufferTest.cpp:17:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/Buffer.h:23:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:110:20: note: in instantiation of template class 'folly::Range<const unsigned char *>' requested here
    const typename Range<Iter>::value_type& needle);
                   ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:1495:15: note: while substituting deduced template arguments into function template 'qfind' [with Iter = const unsigned char *]
inline size_t qfind(
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
1 error generated.
[348/1583] Building CXX object velox/buffer/te...ffer_test.dir/StringViewBufferHolderTest.cpp.o
FAILED: velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o
ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DFOLLY_HAVE_INT128_T=1 -DGFLAGS_IS_A_DLL=0 -I/Users/sanjaychaudhary/Dev/velox/. -I/Users/sanjaychaudhary/Dev/velox/velox/external/xxhash -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src -I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-build<EMAIL_ADDRESS>-I/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/xsimd-src/include -isystem /opt/homebrew/include -isystem /Users/sanjaychaudhary/Dev/velox/velox -isystem /Users/sanjaychaudhary/Dev/velox/velox/external -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb -isystem /Users/sanjaychaudhary/Dev/velox/velox/external/duckdb/tpch/dbgen/include -isystem /Users/sanjaychaudhary/velox/velox_dependency_install/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googletest -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/googlemock -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src/include -isystem /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/gtest-src -isystem /Users/sanjaychaudhary/velox/velox_dependency_install -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness -Werror -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -fPIE -fcolor-diagnostics -MD -MT velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -MF velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o.d -o velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -c /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp
In file included from /Users/sanjaychaudhary/Dev/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:21:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/StringViewBufferHolder.h:19:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/buffer/Buffer.h:23:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/CheckedArithmetic.h:22:
In file included from /Users/sanjaychaudhary/Dev/velox/./velox/common/base/Exceptions.h:26:
In file included from /Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Conv.h:128:
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:197:12: error: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Werror,-Wdeprecated-declarations]
      std::char_traits<typename std::remove_const<value_type>::type>;
           ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:110:20: note: in instantiation of template class 'folly::Range<const unsigned char *>' requested here
    const typename Range<Iter>::value_type& needle);
                   ^
/Users/sanjaychaudhary/Dev/velox/_build/release/_deps/folly-src/folly/Range.h:1495:15: note: while substituting deduced template arguments into function template 'qfind' [with Iter = const unsigned char *]
inline size_t qfind(
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__string/char_traits.h:79:8: note: 'char_traits<unsigned char>' has been explicitly marked deprecated here
struct _LIBCPP_DEPRECATED_("char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it.")
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__config:836:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
                                                    ^
1 error generated.
ninja: build stopped: subcommand failed.
make[1]: *** [build] Error 1
make: *** [release] Error 2

The linked commit is from the folly repo so using a newer velox commit does not work. You would need to download and install a more recent version of folly on your system and then set folly_SOURCE=SYSTEM to make sure it gets picked up. That should then remove the new warnings for you locally.

@assignUser I'm seeing this as well: https://github.com/facebookincubator/velox/issues/7692#issuecomment-1823046667
Is there a fix / workaround?
CC: @pedroerp

As mentioned above, downgrading compiler or turning off warnings as errors is the only way for now. I am working on upgrading folly version but that is a bit complicated as newer folly uses fmt 9+ which Velox is not yet compatible with (iirc required changes are not big, help would be appreciated).

@majetideepak Deepak suggested to build newer folly and use folly_SOURCE=SYSTEM
function install_folly {
  github_checkout facebook/folly "v2<IP_ADDRESS>"

I made this change and ran setup-macos install_folly. I'm trying to build Velox now.

@assignUser

I am working on upgrading folly version but that is a bit complicated as newer folly uses fmt 9+ which Velox is not yet compatible with (iirc required changes are not big, help would be appreciated).

Can you share a bit more details on what kind of help you are looking for? Is there a WIP PR to upgrade folly?

With newer folly, I'm able to build Velox and run tests.

@mbasmanova
I am not exactly sure what changes are needed as I am not very familar with fmt outside of it's cmakelists.txt ^^ in https://github.com/facebookincubator/velox/pull/3293 there is this info:

fmt 9 requires a few more changes due to the use of std::quoted https://github.com/fmtlib/fmt/issues/3131

I have some errors to use #7700 branch.
FAILED: velox/functions/prestosql/registration/CMakeFiles/velox_functions_prestosql.dir/StringFunctionsRegistration.cpp.o ccache /Library/Developer/CommandLineTools/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DFOLLY_HAVE_INT128_T=1 -DGFLAGS_IS_A_DLL=0 -DSIMDJSON_THREADS_ENABLED=1 -I/Users/chenmu/code/cpp/velox/_build/release/_deps/protobuf-src/src -I/Users/chenmu/code/cpp/velox/. -I/Users/chenmu/code/cpp/velox/velox/external/xxhash -I/Users/chenmu/code/cpp/velox/_build/release/_deps/xsimd-src/include -I/Users/chenmu/code/cpp/velox/_build/release/_deps/simdjson-src/include -isystem /Users/chenmu/code/cpp/velox/velox -isystem /Users/chenmu/code/cpp/velox/velox/external -isystem /opt/homebrew/include -isystem<EMAIL_ADDRESS>-isystem /usr/local/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness -Werror -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk -fPIC -fcolor-diagnostics -MD -MT velox/functions/prestosql/registration/CMakeFiles/velox_functions_prestosql.dir/StringFunctionsRegistration.cpp.o -MF velox/functions/prestosql/registration/CMakeFiles/velox_functions_prestosql.dir/StringFunctionsRegistration.cpp.o.d -o velox/functions/prestosql/registration/CMakeFiles/velox_functions_prestosql.dir/StringFunctionsRegistration.cpp.o -c /Users/chenmu/code/cpp/velox/velox/functions/prestosql/registration/StringFunctionsRegistration.cpp In file included from /Users/chenmu/code/cpp/velox/velox/functions/prestosql/registration/StringFunctionsRegistration.cpp:18: /Users/chenmu/code/cpp/velox/./velox/functions/prestosql/RegexpReplace.h:77:66: error: no member named 'as_string' in 'std::string_view'     auto groupIter = re.NamedCapturingGroups().find(groupName[1].as_string());                                                     ~~~~~~~~~~~~ ^ /Users/chenmu/code/cpp/velox/./velox/functions/prestosql/RegexpReplace.h:81:24: error: no member named 'as_string' in 'std::string_view'           groupName[1].as_string());           ~~~~~~~~~~~~ ^ /Users/chenmu/code/cpp/velox/./velox/common/base/Exceptions.h:383:9: note: expanded from macro 'VELOX_USER_FAIL'       ##__VA_ARGS__)         ^~~~~~~~~~~ /Users/chenmu/code/cpp/velox/./velox/common/base/Exceptions.h:192:38: note: expanded from macro '_VELOX_THROW'   _VELOX_THROW_IMPL(exception, "", ##__VA_ARGS__)                                      ^~~~~~~~~~~ /Users/chenmu/code/cpp/velox/./velox/common/base/Exceptions.h:172:60: note: expanded from macro '_VELOX_THROW_IMPL'     auto message = ::facebook::velox::detail::errorMessage(__VA_ARGS__); \                                                            ^~~~~~~~~~~ In file included from /Users/chenmu/code/cpp/velox/velox/functions/prestosql/registration/StringFunctionsRegistration.cpp:18: /Users/chenmu/code/cpp/velox/./velox/functions/prestosql/RegexpReplace.h:86:49: error: no member named 'as_string' in 'std::string_view'         fmt::format(R"(\${{{}}})", groupName[1].as_string()),                                    ~~~~~~~~~~~~ ^ 3 errors generated. [23/338] Building CXX object velox/connectors/tpch/tests/CMakeFiles/velox_tpch_connector_test.dir/TpchConnectorTest.cpp.o ninja: build stopped: subcommand failed. make[1]: *** [build] Error 1 make: *** [release] Error 2
However, groupName here is not std::string_view, it is re2::StringPiece actually. So what happens in the new version?
I build code with Xcode 15 too, here is my information:
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

@Swthaochen This is caused by a recent change in re2 that falls back to std::string_view for re2::StringPiece when compiled in C++17 or later. See #7717 for details. A work around is to use re2_SOURCE=BUNDLED or to downgrade your system re2.
I am closing this issue as the problem has been resolved.


Add azimuth to Measurement tool

Azimuth would be a very simple addition to the measurement tool.
Much more simpler than the current Centroid.
The user currently can get the length, but not the azimuth.
Have it only active on the first segment of a line, fine. But at least provide it.
Azimuth is a basic component of all other such "ruler" tools I have ever seen.

https://support.google.com/maps/forum/AAAAQuUrST8LqY4a9_vWKA

@jidanni Sorry, but this doesn't make any sense to me. The measurement panel isn't some multipurpose "ruler" tool, it gives basic geometry info about the selected feature. You can't calculate the azimuth for a line with more than two points, and only using the first segment would be arbitrary and confusing. In any case, I don't know how showing this would help with mapping. Please use a data viewing tool instead.

Well I filed https://help.openstreetmap.org/questions/73733/make-a-house-of-given-size-and-angle .

Well all I can say is the Measurement Tool has many many length features, but no angle features.
One can measure Area:0.9182 m², Perimeter:9.139 m, lengths, centroids, but nothing about angles (directions). As we know the simplest vector is composed of a length and a direction.

(I forgot to add examples)
Viking:

Google Earth:

I agree with this issue, it would be a great improvement of the measurement tool.

Just today wanted to make sure my two point wall was 177°. Oh well…


linux_5_8: init at 5.8

Motivation for this change
https://lore.kernel.org/lkml/20200802220243.GA20003@Gentoo/T/
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Currently building it, but the kernel build isn't exactly quick and it seems to be working, so I decided to PR.

Build finished, working fine. linux-hardened doesn't support 5.8 yet.

Partially resolved by 3a8cbea4f7398ddd705b9b72b58bc0b6e0cced91.


Fix if expansion

This should fix #113.

I'm sorry it took so long to get this merged. Thank you!


Enhancement to AWS::EC2::SecurityGroup Linting - CidrIp or SourceSecurityGroupId

Hi there 👋
cfn-lint version: 0.4.2
Description of issue.
Given the following resource:
  SecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      VpcId: !Ref VPCID
      SecurityGroupIngress:
        - CidrIp: <IP_ADDRESS>/24
          FromPort: 123
          IpProtocol: tcp
          SourceSecurityGroupId: Something
          ToPort: 3389

Stack deploy will fail with Both CidrIp and SourceSecurityGroup cannot be specified

Wait it does actually warn about this!


Iterator boxing for objects implementing TorrentView

Currently we are boxing Iterators for objects implementing TorrentView. This allows us to create different Metainfo parsers while allowing us to expose the fields from all parsers regardless of how those fields are stored at any moment. This does incur some overhead, especially since we are creating a new Box for every iteration of FilePath. Whether or not we want this flexibility with the incurred overhead is debatable.
Currently most of our iterators that have two levels of boxing are consumed when the second level boxed iterator is requested. We could allow iterators to be cloned allowing users to request the iterator willy nilly but I don't want to gloss over the fact that this is expensive and so I would like to reflect that fact within the API.
Most of this may not be a problem when/if generic return types are implemented, but I am leaving this open for discussion.

Rewriting most of this code in the new crate.


Add YDB support

Describe the feature
Add support for YDB

YDB is a versatile open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions
YDB comes with a pure Go native and database/sql driver ; https://github.com/ydb-platform/ydb-go-sdk

Motivation

Related Issues

Sorry, I currently don’t have the capacity to implement support for YDB. However, I’d be happy if the community could take on this effort. The implementation can either be maintained under the GORM organization or independently. We will add relevant links to recommend it.


Something broke when playing the track.

Description
I just played a song and got this error.
I used it in windows 10 VPS. From my Pc, it's working fine but from VPS it's giving me an error.
Version info
Client used: Erela.js
Output of java -version:
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

Version:        2f721caf9cb6b899effa9ba0cdb02400c5930bc4-SNAPSHOT
Build:          Unofficial
Build time:     08.11.2020 20:12:38 UTC
Branch          dev
Commit:         2f721ca
Commit time:    07.11.2020 02:10:57 UTC
JVM:            11
Lavaplayer      1.3.59

There are several problems with this issue

You're not telling us enough to identify the error
You're using an unofficial build that is horribly outdated. Use the official dev branch which now supports filters
Your lavaplayer version is old

You should update to a version with Lavaplayer 1.3.61. That will most likely fix your problem.

Update lavalink, that LP is old.

after "java -jar Lavalink.jar --version"
Version:        <IP_ADDRESS>
Build:          1155
Build time:     28.11.2020 11:50:13 UTC
Branch          dev
Commit:         23c883a
Commit time:    28.11.2020 11:42:10 UTC
JVM:            11
Lavaplayer      1.3.61

I'm still getting that same error.
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.

You need to provide the full error trace

Sure here it is
2020-11-29 11:34:47.429  INFO 8552 --- [           main] lavalink.server.Launcher                 : Starting Launcher on WIN-JG1E0O7FSBS with PID 8552 (C:\Users\DynamoYT\Desktop\Melodybeta\LAVA\Lavalink (1).jar started by DynamoYT in C:\Users\DynamoYT\Desktop\Melodybeta\LAVA)
2020-11-29 11:34:47.446  INFO 8552 --- [           main] lavalink.server.Launcher                 : No active profile set, falling back to default profiles: default
2020-11-29 11:34:47.426  WARN 8552 --- [kground-preinit] o.s.h.c.j.Jackson2ObjectMapperBuilder    : For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
2020-11-29 11:34:53.149  WARN 8552 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
2020-11-29 11:34:53.259  INFO 8552 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2020-11-29 11:34:53.268  INFO 8552 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 5664 ms
2020-11-29 11:34:55.036  WARN 8552 --- [           main] l.server.config.SentryConfiguration      : Turning off sentry
2020-11-29 11:34:56.243  INFO 8552 --- [           main] c.s.d.l.tools.GarbageCollectionMonitor   : GC monitoring enabled, reporting results every 2 minutes.
2020-11-29 11:34:57.253  INFO 8552 --- [           main] lavalink.server.config.KoeConfiguration  : OS: Windows Server 2016, Arch: amd64
2020-11-29 11:34:57.258  WARN 8552 --- [           main] lavalink.server.config.KoeConfiguration  : This system and architecture appears to not support native audio sending! GC pauses may cause your bot to stutter during playback.
2020-11-29 11:34:58.005  INFO 8552 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2020-11-29 11:35:00.108  INFO 8552 --- [           main] org.xnio                                 : XNIO version 3.3.8.Final
2020-11-29 11:35:00.140  INFO 8552 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.3.8.Final
2020-11-29 11:35:00.270  INFO 8552 --- [           main] o.s.b.w.e.u.UndertowServletWebServer     : Undertow started on port(s) 2333 (http) with context path ''
2020-11-29 11:35:00.286  INFO 8552 --- [           main] lavalink.server.Launcher                 : Started Launcher in 15.651 seconds (JVM running for 17.434)
2020-11-29 11:35:00.291  INFO 8552 --- [           main] lavalink.server.Launcher                 : You can safely ignore the big red warning about illegal reflection. See https://github.com/Frederikam/Lavalink/issues/295
2020-11-29 11:35:57.985  INFO 8552 --- [  XNIO-1 task-1] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-11-29 11:35:57.994  INFO 8552 --- [  XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2020-11-29 11:35:58.014  INFO 8552 --- [  XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 19 ms
2020-11-29 11:35:58.071  INFO 8552 --- [  XNIO-1 task-1] l.server.io.HandshakeInterceptorImpl     : Incoming connection from /<IP_ADDRESS>:64077
2020-11-29 11:35:58.252  INFO 8552 --- [  XNIO-1 task-1] lavalink.server.io.SocketServer          : Connection successfully established from /<IP_ADDRESS>:64077
2020-11-29 13:43:33.101  INFO 8552 --- [   XNIO-1 I/O-1] lavalink.server.io.SocketServer          : {"op":"volume","guildId":"746653541115887637","volume":100}
2020-11-29 13:43:33.445  INFO 8552 --- [   XNIO-1 I/O-1] lavalink.server.io.SocketServer          : {"sessionId":"f93941396b46988170eaf01dc21e3c20","op":"voiceUpdate","guildId":"746653541115887637","event":{"token":"7e64bb0dd4bb58b1","guild_id":"746653541115887637","endpoint":"india517.discord.media:443"}}
2020-11-29 13:43:48.622  INFO 8552 --- [  XNIO-1 task-2] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:Hasi female"
2020-11-29 13:43:49.595  INFO 8552 --- [ader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded playlist Search results for: Hasi female
2020-11-29 13:43:49.683  INFO 8552 --- [   XNIO-1 I/O-1] lavalink.server.io.SocketServer          : {"op":"play","guildId":"746653541115887637","track":"QAAAvAIAVUhhc2kgLSBGZW1hbGUgVmVyc2lvbiAtIEhhbWFyaSBBZGh1cmkgS2FoYW5pfE9mZmljaWFsIEJvbGx5d29vZCBMeXJpY3N8U2hyZXlhIEdob3NoYWwADUx5cmljR3VydVZFVk8AAAAAAAL9oAALWHBQaHBBSHlHTzAAAQAraHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1YcFBocEFIeUdPMAAHeW91dHViZQAAAAAAAAAA"}
2020-11-29 13:43:49.876 ERROR 8552 --- [back-1-thread-1] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of XpPhpAHyGO0

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
        at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44) ~[lavaplayer-1.3.60.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:117) ~[lavaplayer-1.3.60.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349) ~[lavaplayer-1.3.60.jar!/:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
        at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
Caused by: java.lang.RuntimeException: java.io.IOException: Invalid status code for video page response: 429
        at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:42) ~[lavaplayer-1.3.60.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:76) ~[lavaplayer-1.3.60.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42) ~[lavaplayer-1.3.60.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:105) ~[lavaplayer-1.3.60.jar!/:na]
        ... 4 common frames omitted
Caused by: java.io.IOException: Invalid status code for video page response: 429
        at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadTrackInfoFromMainPage(DefaultYoutubeTrackDetailsLoader.java:169) ~[lavaplayer-1.3.60.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:51) ~[lavaplayer-1.3.60.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:40) ~[lavaplayer-1.3.60.jar!/:na]
        ... 7 common frames omitted

Http code 429
You are being ratelimited by YT

any solution for it?

ipv6 rotation
for more information join the jda discord there is a channel related to lavalink

Duplicate of #369


fix(prettier): run prettier on all subfolders and subfiles

What:

Prettier was running on the first three nested levels of the src,e2e and cypress folders only. This was due to not parsing the regex properly in package.json

Codecov Report

Merging #465 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #465   +/-   ##
=======================================
  Coverage   88.45%   88.45%
=======================================
  Files          69       69
  Lines        1031     1031
  Branches       46       46
=======================================
  Hits          912      912
  Misses        100      100
  Partials       19       19

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc84a3d...683127d. Read the comment docs.

@abedzantout thank you for the fix!


Vert.x Support

This issue is to track the progress of the Vert.x integration for Eta via Eta Fibers. The timeline for this has not yet been decided.
If you would really like to see this happen, please like this issue and we can add it to our milestones.

Happy to see this issue
For fiber, it may be similar to coroutine in Kotlin language, this repo maybe helpful for Vert.x eta support.
https://github.com/vert-x3/vertx-lang-kotlin/tree/master/vertx-lang-kotlin-coroutines
For relatively pure fp language support
this document maybe helpful(clojure support for Vert.x 2)
http://vertx.io/vertx2/core_manual_clojure.html

Hi @chengenzhao, I've added this to the v0.2 milestone. The dependencies for this are:

#164 - Generate FFI Imports so we can easily create FFI bindings for the Vert.x API. This is actively being worked on now.
The new Fiber implementation based on trampolining. This implementation should be much faster and once the base is done, we can create functions to convert callback and future-based APIs to fibered APIs.

nice to see this effort!
please don't hesitate to open discussion in community for this effort


add webhook message flags

I'm loving the new webhook messages being set, but the notification spam is wild
Context

This fixes notification spam for webhook events

Choices
Add DISCORD_SUPPRESS_NOTIFICATIONS env variable to enable/disable silent messages
Add default message flag (0), and change to 4096 if DISCORD_SUPPRESS_NOTIFICATIONS is enabled

Webhook api allows setting the message flags with a bitfield, 0 being the default and (SUPPRESS_NOTIFICATIONS) being 4096 (or 1 << 12).
Test instructions

Set DISCORD_SUPPRESS_NOTIFICATIONS to true in your env via docker-compose or env file.
Build and Start

Checklist before requesting a review

[x] I have performed a self-review/test of my code
[I havent] I've added documentation about this change to the docs.
[x] I've not introduced breaking changes.
[x] My changes do not violate linting rules.

Hi, could you please add some more context to your PR and the choices you've made?

Hi, could you please add some more context to your PR and the choices you've made?

Updated


Tweak language around undefined behavior related to violating strict …

What's in this pull request?

Small tweak to language regarding undefined behavior and strict aliasing.
For your consideration...

Thanks, much better.
I missed this because I was not watching my own forks!


plugins to not output derive / resolve types

What version of Elysia is running?
command doesn't exist... node_modules/elysia/package.json = 1.2.8
What platform is your computer?
Darwin 21.6.0 x86_64 i386
What steps can reproduce the bug?
import Elysia from 'elysia';

const fooPlugin = new Elysia({ name: 'foo' })
  .derive(() => ({ foo: 'bar' }))
  .get('/test1', ({ foo }) => foo);
const test = new Elysia()
  .use(fooPlugin)
  .get('/test2', ({ foo }) => foo);

What is the expected behavior?
foo should be typed
What do you see instead?
fooPlugin does not show infered types for derive

foo is not typed when fooPlugin is used

Additional information
this happens with resolve also
using Rider from jetbrains as IDE
Have you try removing the node_modules and bun.lockb and try again yet?
yes

use .as("plugin") please

So what you are saying is actually read the whole plugin page... Thanks


Cmd+Clicking a link now opens in a new tab adjacent to the current ta…

…b. r=vporof

Coverage decreased (-0.3%) to 42.003% when pulling 565576b1485699242ab9f18f3fd62bb61f7d8018 on jsantell:adjacent-links into 0b5bc16e624c09cccc3b5ee58ab3feeabced7fa8 on mozilla:master.

Coverage increased (+0.008%) to 42.307% when pulling 731a40680d0bb2e7855d4fe2982026bbd955a583 on jsantell:adjacent-links into 0b5bc16e624c09cccc3b5ee58ab3feeabced7fa8 on mozilla:master.

Can this please wait for the frontend rewrite? There are significant changes being made to our model and reducers.

Depends on https://github.com/mozilla/tofino/pull/1043

This can land now, but a rebase is needed.

Looks good

Coverage decreased (-0.009%) to 35.02% when pulling 163d95eb480c3c195fe281bcf47be7d9068c9e12 on jsantell:adjacent-links into 60a0b4ad522dd80822de0eab295b507d165e6d46 on mozilla:master.


It's not clear how and where to add the SSL mode using different tools

I'm using Azure CLI and this is what worked for me:
PGSSLMODE=require pg_dump -Fc -v --host= --username= --dbname= -f .dump
The information in StackOverflow and across the web is also pointing some solutions but they are not applicable for the Azure CLI;
You can add that if you think it's valuable;

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 43b2566e-1fc7-cf49-512a-794f56760672
Version Independent ID: fe824068-38f3-d7db-260f-e2af6e5fa7a1
Content: Dump and restore - Azure Database for PostgreSQL - Single Server
Content Source: articles/postgresql/howto-migrate-using-dump-and-restore.md
Service: postgresql
Sub-service: migration-guide
GitHub Login: @sr-msft
Microsoft Alias: srranga

@hristokrastev
Thanks for your feedback! We will investigate and update as appropriate.

@sr-msft We will need your insight and approval to add this info. Please help us regarding the same.

@sr-msft We have assigned this to you for further action.

@hristokrastev - Thanks for your suggestion. SSL implementation for Azure PostgreSQL follows the same steps and i dont see any issue adding your example to official documentation and i will update it shortly.
Again, thanks for your contribution. Closing the PR.

#please-close


Make the spec draft updater remove completed specs and work around nulls

And update dist, which was overlooked. These changes together will allow
the workflow to send PRs that pass the CI.

Prettier is failing, but you're free to merge this once that's fixed.


Soundtrouble

The sounds of some nodes, like ventilator or grandfathers clock won't stop, after you're out of range.

Seems the sounds were removed after the update. Thx.


Rename the into_return_type attribute to return_into

You can squash the 5 commits in your branch using git rebase -i HEAD~5
https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History

Looks like we need to rename the module to return_into:
error[E0583]: file not found for module `into_return_type`
 --> crates/swift-integration-tests/src/function_attributes.rs:3:1
  |
3 | mod into_return_type;
  | ^^^^^^^^^^^^^^^^^^^^^
  |
  = help: to create the module `into_return_type`, create file "crates/swift-integration-tests/src/function_attributes/into_return_type.rs" or "crates/swift-integration-tests/src/function_attributes/into_return_type/mod.rs"

Sorry, I've never used RUST before. I install it now.

Next time you squash commits you'll want to include a good commit message.
For example:
Rename `into_return_type` to `return_into`

This commit renames the `into_return_type` attribute
to `return_into` in order to make it's name more consistent
with similar attributes such as `args_into` and `return_with`.

Don't worry about it this time around, I'll add a commit message when I merge your work.
Thanks!

Tests are still failing.
I think you missed one:
This needs to be named to ReturnInto
https://github.com/chinedufn/swift-bridge/blob/45951c8029c7d9ef5a14307fef34c3d934694623/crates/swift-bridge-ir/src/parse/parse_extern_mod/function_attributes.rs#L50
And I don't think you renamed this use case:
https://github.com/chinedufn/swift-bridge/blob/45951c8029c7d9ef5a14307fef34c3d934694623/crates/swift-bridge-ir/src/parse/parse_extern_mod/function_attributes.rs
You can use cargo test --all to run the test suite locally.

For it's name, it wasn't possible to squash previous one to new one.

Thank you very much for your time and help. I learned so much during this process.

No problem!
Feel free to re-open the pull request since I think it's ready to get merged.

Great work, thanks!


OpenAPI3 output has an additional value and kind layer under properties

See typespec link here we have an additional value and kind layer under properties. that doesn't seem to align with the openapi3 definition?

Feel like it's a bug?

The link you shared doesn’t repro for me

How so ? I can still see it's there in my side. Did you see the https://cadlplayground.z22.web.core.windows.net/ address ?

Yeah not sure, are you able to repo in the cli?  what browser are you using?

I found it's working if I use https://typespec.io/playground link @timotheeguerin

I wonder if you have set some kind of dns record alias that cause you can't repo in the https://cadlplayground.z22.web.core.windows.net/ ?

I tried on mobile and deskop with 2 different browser and I cannot repro, are you sure you don't have a cached version of the playground somehow? Can you repro outside of the playground? And what browsers are you using?

I am not sure what you mean by a cached version, can the playground be cached by the browser without any special configuration ? I was using chrome in windows when I found this, but I just found I can't repro it with chrome/safari in my mac either. 😢

Browser will cache any file html, js, css file loaded to speed up next load time. If you force a refresh of the page(Forgot the shortcut) or open the devtools and make sure in network tab the option is deselected to cache responses

@qiaozha can you confirm that this is fixed?

close it, haven't get time to verify it but probably just my local issues.


Update ProcessorTest

This is a follow up PR:

for https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox-ui/pull/229/files
and https://issues.redhat.com/browse/MGDOBR-797

@jomarko FYI there's also this ticket covering some of the processors tests

@kelvah @ppadti ok, I am not going to add new tests, just fix existing

I will rebase this PR once the original #229 PR is merged

Decided to rebase PR right now. The changes are not dependent on #229

Unrelated InstanceCreation test failed. It is being solved by #226 and #230
<testsuites name="Mocha Tests" time="145.3570" tests="4" failures="1">
  <testsuite name="Root Suite" timestamp="2022-10-20T05:34:43" tests="0" file="integration/instance/InstanceCreation.ts" time="0.0000" failures="0">
  </testsuite>
  <testsuite name="the 'Create a SE instance' Modal" timestamp="2022-10-20T05:34:43" tests="4" time="145.3570" failures="1">
    <testcase name="the 'Create a SE instance' Modal Submit" time="0.0000" classname="Submit">
      <failure message="Timed out retrying after 120000ms: `cy.should()` failed because this element is detached from the DOM.

`<div data-ouia-component-id="steps-count" data-ouia-component-type="QE/StackItem" class="pf-l-stack__item">1 of 3 ...</div>`

Cypress requires elements be attached in the DOM to interact with them.

The previous command that ran was:

  > `cy.ouiaId()`

This DOM element likely became detached somewhere between the previous and current command.

Common situations why this happens:
  - Your JS framework re-rendered asynchronously
  - Your app code reacted to an event firing and removed the element

You typically need to re-query for the element or add 'guards' which delay Cypress from running new commands.

https://on.cypress.io/element-has-detached-from-dom" type="CypressError"><![CDATA[CypressError: Timed out retrying after 120000ms: `cy.should()` failed because this element is detached from the DOM.

`<div data-ouia-component-id="steps-count" data-ouia-component-type="QE/StackItem" class="pf-l-stack__item">1 of 3 ...</div>`

Cypress requires elements be attached in the DOM to interact with them.

The previous command that ran was:

  > `cy.ouiaId()`

This DOM element likely became detached somewhere between the previous and current command.

Common situations why this happens:
  - Your JS framework re-rendered asynchronously
  - Your app code reacted to an event firing and removed the element

You typically need to re-query for the element or add 'guards' which delay Cypress from running new commands.

Waiting for https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox-ui/pull/247


Better permission blocking for udev

So I'm a weird dude who runs his games in a separate X server, and doing that causes weird behavior to manifest, such as the fact that somehow permissions on devices gets re-mutated. It seems like udev selectively runs through some of the rules whenever an X server gets started. I thought using setfacl to change the mask would stop the permissions from getting changed, but it seems not. I know that the uaccess and seat tags have something to do with it, so what I do now is strip those tags immediately after they are given. Because of this, the udev rules have to be moved to order 72 rather than 90, as uaccess and seat are 70 and 71 respectively. Whatever rules mutate the access lists according to the tags comes sometime after that. I can't tell what does it. With this in place, mutating the access list mask isn't necessary since it just doesn't get touched at all without those tags active. It works perfectly well on Xubuntu 16.04. Can you try it out on Arch?

I'm pretty sure the relevant rule is in 73-seat-late.rules:
TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"

This reads the uaccess TAG and runs some builtin procedure of udev.
So it sounds like 72 is the correct number to order the file.
I'm guessing this uaccess tag has to deal with login sessions, and you open a new login session when you start your other X server. Just a guess, I don't really fully understand this stuff.
I intend to try this out over the weekend, but it looks like a minimal change that should work fine.


Case of a PDF with misaligned characters

Here is a case of a PDF with misaligned characters in many slides:
Attach (recommended) or Link to PDF file here: http://foss4g-it2018.gfoss.it/data/20_febbrario/1_Osgeo/01_Brovelli_aime_neteler_OSGeo_It.pdf
Configuration:

Web browser and its version: Firefox 58
Operating system and its version: Fedora Linux 27
PDF.js version: the one built in Firefox 58
Is a browser extension: no

I'm unsure if this is an issue with pdf.js itself, because this pdf has misaligned characters on other pdf viewers as well.

Closing since this renders exactly the same in PDF.js as in other viewers (such as Evince). The PDF file is not embedding its TrueType fonts, which is not something we can fix.


black screen after exporting 3d scene to html5

And in 2d games the debug panel is missing using Calinou's nightly export templates (html5).
Godot version:
master
OS/device including version:
Arch Linux
Minimal reproduction project:
truck town demo

Edit: a simple cube and a camera works.

Workaround: use old .html file and use .zip as gamepack


Rework sidenav / page titles to better match

Closes DOC-8393

Do we want to make this "Overview" for consistency with the naming/renaming elsewhere?

@taroface - I think the Security-related edits you proposed will be updated with @MichaelTrestman's PR

Should "From" be lowercase here?


gb-vendor: fetch -branch -revision stores the wrong branch in the manifest

lucky(~/devel/demot) % gb vendor fetch -branch master -revision 2788f0dbd16903de03cb8186e5c7d97b69ad387b github.com/kr/fs
Cloning into '/tmp/gb-vendor-378031755'...
remote: Counting objects: 18, done.
remote: Total 18 (delta 0), reused 0 (delta 0), pack-reused 18
Unpacking objects: 100% (18/18), done.
Checking connectivity... done.
Note: checking out '2788f0dbd16903de03cb8186e5c7d97b69ad387b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 2788f0d... Add FileSystem and WalkFS
copyfile(dst: /home/dfc/devel/demot/vendor/src/github.com/kr/fs/LICENSE, src: /tmp/gb-vendor-378031755/LICENSE)
copyfile(dst: /home/dfc/devel/demot/vendor/src/github.com/kr/fs/Readme, src: /tmp/gb-vendor-378031755/Readme)
copyfile(dst: /home/dfc/devel/demot/vendor/src/github.com/kr/fs/example_test.go, src: /tmp/gb-vendor-378031755/example_test.go)
copyfile(dst: /home/dfc/devel/demot/vendor/src/github.com/kr/fs/filesystem.go, src: /tmp/gb-vendor-378031755/filesystem.go)
copyfile(dst: /home/dfc/devel/demot/vendor/src/github.com/kr/fs/walk.go, src: /tmp/gb-vendor-378031755/walk.go)
copyfile(dst: /home/dfc/devel/demot/vendor/src/github.com/kr/fs/walk_test.go, src: /tmp/gb-vendor-378031755/walk_test.go)
lucky(~/devel/demot) % gb vendor list
github.com/kr/fs        https://github.com/kr/fs        HEAD    2788f0dbd16903de03cb8186e5c7d97b69ad387b

It should say master not HEAD
/cc @davidkaya

Well if you checkout a commit, you are in a "Detached HEAD" state, since there isn't any branch pointing to that specific commit. The question is, if we want to say master if you are in Detached HEAD because users could think master of the package points to the commit they specified in gb vendor fetch ..., which is not true.

Fair enough, I probably don't understand enough about git.
Is this true for hg also ?
On Mon, Jun 1, 2015 at 5:30 PM, Dávid Kaya<EMAIL_ADDRESS>wrote:

Well if you checkout a commit, you are in a "Detached HEAD" state, since
there isn't any branch pointing to that specific commit. The question is,
if we want to say master if you are in Detached HEAD because users could
think master of the package points to the commit they specified in gb
vendor fetch ..., which is not true.
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/168#issuecomment-107340811.

If you checkout a branch then this holds ( "->" = "points to"):
HEAD -> Branch -> Commit SHA
But if you checkout a commit SHA then this holds:
HEAD -> nothing -> Commit SHA
That means HEAD does not have anything to point to, thus "Detached HEAD". Maybe we could change "HEAD" into "Detached HEAD" in the manifest file.
Sadly, I don't know a lot of about hg, so can't tell you.

@davidkaya if you're happy this is not a bug, please close it.


download zlib from github

Download zlib from github to avoid the url at zlib.net not available.
@BusyJay @siddontang PTAL

LGTM

LGTM


CI for Trino and Starburst

Adding CI workflow to test dbt-trino adapter against Trino and Starburst.

LGTM
CI addition is very welcome for new eventual PRs


Source map request return 500 when using MsieJavaScriptEngine

After long time investigation, the following statement returns different output in IE10 and IE11:
JSXTransformer.transform("var a = <span className=\"fuck\"/>", {sourceMap:true})

In IE11, which looks fine (notices that sourceMap object is generated):
{code: "var a = Rea...", extra: Object {...}, sourceMap: Object {...}, sourceMapFilename: "source.js"}

In IE10, suck... the sourceMap gone :(
{code: "var a = Rea...", extra: Object {...}}

When using MSIE JavaScript switcher in Json.Net, it is running in ChakraActiveScript mode, its document says ChakraJsRt mode leverage IE11. While I try with this way, but it does not work, still in ChakraActiveScript mode.
Any idea on this?

Besides, I think when send transformed JSX, it should check if it can generate source map before set the JSX header.

Same here, getting HTTP 500 (Unable to generate source map) in chrome...

@ashic Installing React.JavaScriptEngine.ClearScriptV8 should be sufficient to force V8.

Yep installing ClearScript fixed it for me...

+1. Installed React.JavaScriptEngine.ClearScriptV8 via nuget to my MVC project and the 500 errors went away. Thanks!

Closing this out since V8 (ClearScript / VroomJs) is bundled by default now.


Oxfordshire pull request

Hi Okan,
Thanks for this pull request.
I'm not sure this work is ready as yet though. The prototype still looks very dissimilar to Oxfordshire's website, which was the ask. Would be great if you could do a bit more work on this to make it looking more like what the final service will look like.
This PR

Oxfordshire's website

Hi Okan,
Thanks, that's looking a bit better. Would be great though if you could do a bit more to style the text, buttons, etc to look like the Oxfordshire website. The page could do with being centred as well.
This PR

Oxfordshire website

Looks good to me now. Screenshot posted here for posterity.


Add compatibility switch controlling parameter metadata and top-level validation

#7413 part 1 of 2
made all ModelMetadataProvider and ObjectModelValidator-specific code conditional

fortunately, MvcOptions easy to get; affected code is primarily internal or pub-Internal
remove unnecessary ModelMetadataProvider use in ApiBehaviorApplicationModelProvider

nits:

correct spelling errors in CompatibilitySwitch
take VS suggestions, mostly in test code
rename methods in ControllerBinderDelegateProviderTest to match current API

Fixed the base branch…

:up::date: and rebased to pick up #7541 fix

Third commit also looks fine to me :shipit:

5e245da326


⚠ ClamAV has degraded performance

In 4e0e2ac, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in d312849 after 5 minutes.


Fixed docstyle in sources

Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Description

Fixed docstyle in sources
Now it's the right time to do it - before bigger changes
Will allow us to enable docstyle-like checkers (separate PR)

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Unit tests passed locally.
[ ] If it is a core feature, I have added thorough tests.

Testing

N/A

We were talking about google's one: https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
But we should probably wait with this until Monday's meeting. We may agree on something else in the end.

/approve

/lgtm
/approve


Fix token blocked issues

@juchi this pr will fix :
https://github.com/open-orchestra/open-orchestra-cms-bundle/issues/722
https://github.com/open-orchestra/open-orchestra-cms-bundle/issues/723

so $errorsupport and $redirection are not used anymore ?

@juchi it was a bad copy paste...

:+1:


Jobs are not in sorted order under “Saved Jobs” and “My Jobs” at the applicants side

I see that there is sorting of deadline implemented on the applicant's side. @tahreemm @amaygada Please validate.

validating.


third party gprc library upgraded to version 1.6.0

grpc version 1.6.0 supports openssl version 1.1. So this can be built on platforms having openssl 1.0 and 1.1 as well.
There are many bug fixes in version 1.6.0 as compared to version 1.4.5.

So some this failed for me:
  CXX(target) out/Debug/obj.target/instaweb_spriter/net/instaweb/spriter/libpng_image_library.o
In file included from ./net/instaweb/spriter/libpng_image_library.h:32:0,
                 from net/instaweb/spriter/libpng_image_library.cc:20:
./third_party/libpng/src/png.h:361:27: fatal error: pnglibconf.h: No such file or directory
 #   include "pnglibconf.h"
                           ^
compilation terminated.
make[1]: *** [out/Debug/obj.target/instaweb_spriter/net/instaweb/spriter/libpng_image_library.o] Error 1
make: *** [apache_debug] Error 2
exit_status=2
oschaaf@instance-1:~/incubator-pagespeed-mod⟫ git branch
* ashishk-upgrade-grpc160

Hello,
Trying to build, it's fail with following error too :
CXX(target) out/Release/obj.target/instaweb_spriter/net/instaweb/spriter/libpng_image_library.o
In file included from ./net/instaweb/spriter/libpng_image_library.h:32:0,
                 from net/instaweb/spriter/libpng_image_library.cc:20:
./third_party/libpng/src/png.h:361:27: fatal error: pnglibconf.h: Aucun fichier ou dossier de ce type
compilation terminated.

https://github.com/apache/incubator-pagespeed-mod/pull/1744


Firebase-document throws warning after succesful signin with redirect

Description
I get a warning in my console regarding synchronous XMLHttpRequest when using <firebase-document>. I sign in with redirect and after I get returned back to my website, the warning is thrown. <firebase-document> remains functional and retrieves/saves data as usual, but when the user is redirected back to the website this warning is thrown.
Expected outcome
No warning displayed
Actual outcome
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Live Demo
I am not sure how to create a demo for this, it is happening in our full-blown application.
Steps to reproduce

Use Sign in with Redirect on firebase-auth

Open the page in a web browser.
Wait for the redirect
Accept the provider
Get redirected back to the website
Let <firebase-document> trigger and receive data
Observe the warning is thrown in the console

Browsers Affected

[x] Chrome
[ ] Firefox
[ ] Safari 9
[ ] Safari 8
[ ] Safari 7
[ ] Edge
[ ] IE 11
[ ] IE 10

@TimvdLippe thanks for reporting. There is a good chance that this is a Firebase SDK issue.
@mbleigh any thoughts on how best to triage this?

This is just a piece of the underlying mechanics of the Firebase Database SDK. It's nothing to worry about and is safe to ignore (also not something PolymerFire specifically can do anything about).


first ol.source.BingMaps in a layer colllection is always visible

Here is the javascript snippet for a map of three layers with only the first layer visible initially- expectation is that it will only render the osm layer
var mymap=new ol.Map({
			target:"map",
			layers:[
					new ol.layer.Tile({
						source: new ol.source.MapQuest({layer: 'osm'}),
						visible: true,
						}),

					new ol.layer.Tile({
						source: new ol.source.BingMaps({
							culture: "en-GB",
							key: "Aq13w  ...  ULIK2S", //your key here
							imagerySet: "road",
							}),
						visisble: false, //is visible anyway ..
						}),

					new ol.layer.Tile({
						source: new ol.source.BingMaps({
								culture: "en-GB",
								key: "Aq13wn ...  WzLULIK2S",
								imagerySet: "Aerial",
								}),
						visible: false,
						}),
					],

			view : new ol.View({
				center: ol.proj.transform([-0.3,53.7], "EPSG:4326", "EPSG:3857"),
				zoom: 7
				})
			})

	//	mymap.getLayers().item(1).setVisible(false); // need to do this

However the Bing.road tile set is rendered too (or what ever Bing tile set is first in the layers array..
The visiblefield doesn't have an effect, though it does in other positions
This seems to be a bug.

I do see "visisble: false" instead of "visible". Do you have it correct in the code?

oops , thanks - I just couldn't see that typo. Used to a type checking language..
need to close the issue


How to train object detection model or classification model on custom dataset?

Hi,
I have image data annotated for object detection as well on classification task. How I can train and build a object detection model and classification model on my own dataset?
A formal guideline would help me to understand the process thanks.  Basically, I want to know how we can load our custom data into the Dataloader in supergradient?

Hello,
If you already have a torch.dataset implementation for your data- you can pas them to DatasetInterface (see or documentation).
After that, try and follow the same procedure you see in our walkthrough notebook example or our Quickstart.
Please let us know if you run into any problems.


[WIP][Issue 323] Column Group Data loading and Query execution

1.Renamed file starting with Row* to ColGroup in package org.carbondata.processing.store.colgroup
2.Fixed min max issue for Column group
3.Fixed Query execution for column group with filter on column group or columnar columnar

retest this please

retest this please

Hi Vimal, I have resolved the conflict, please review it.

retest this please

retest this please

retest this please


docs: fix the github workflow badge

:tada: This PR is included in version 1.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


keeweb-native-messaging-host doesn't start on Ubuntu 20.04

$ apt-cache show libc6 | grep Version
Version: 2.27-3ubuntu1.4
Version: 2.27-3ubuntu1.2
Version: 2.27-3ubuntu1

$ uname -a
Linux syn-desktop 5.4.0-72-generic #80~18.04.1-Ubuntu SMP Mon Apr 12 23:26:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ ./keeweb-native-messaging-host
./keeweb-native-messaging-host: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./keeweb-native-messaging-host)
./keeweb-native-messaging-host: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./keeweb-native-messaging-host)

Hi! What if you upgrade it to 2.28+?

I would have to switch to another release branch (from bionic aka 18.04 to focal, aka 20.04)
https://packages.ubuntu.com/bionic-updates/libc6 -> https://packages.ubuntu.com/focal/libc6
Current 18.04 release branch is supported until 2023, and I would like to stick to it.

Does this thing run? https://github.com/keeweb/keeweb-connect/suites/2610860888/artifacts/57162694

yes

Great thanks, I'll rebuild it on v1.18 then.
But although it runs, it won't work, because I commented out some code, so don't use it please... A fix it coming...

Fixed it, here's a build for Ubuntu 18.04: https://github.com/keeweb/keeweb-connect/releases/latest


Using Centernet model with batching in Deepstream

Hi, What changes should I make to use the centernet model with nvinferserver with batch size more than 1?

Hi,
If your model can support the batching then you can update the batch size in the configuration files. Update config.pbtxt and centerface.txt for the BS you want to use.

Hi～
Have you successfully deployed CenterNet model in Deepstream?
I meet a problem when I deploy trt model converted from CenterNet on Deepstream, because I do not know how Deepstream pre-process the input image and post-process the output of model.
Looking forward to your kind reply~

https://github.com/mAy-I/deepstream_centernet
I made it here !


Remove support for GHC8.10

We are dropping support for GHC8.10 so we need to remove all references of it from our repo.

Just a note to ensure ghc9* CI builds work prior to dropping ghc8.10, as per current latest commit - they dont:

There is going to be a slight delay on this as we can only go ahead one cardano-node has done this work too. By that time I'd imagine we'll have the CI failures fixed, from my understanding it's nix related and is being worked on.

Unfortunately the GitHub actions are in a pretty bad state right now

Afaik - hydra CI is based on nix, the github CI is our only point of reference for working cabal builds


[Feature Request] Download as CBZ

Would love to have an option to download directly as a cbz or zip. This is because my self-hosted manga library only works with cbz or zip files and image format folders are not contemplated, plus I would argue that for manga and comics in particular cbz (or the lesser used and lesser compatible cbr) are almost a standard.
In my opinion would just shoot up the usability of this application tenfold.
Thank you for your consideration.

aight ill see what i can do

im learning how to use a makefile lol. then ill release the binaries for this.


Intercept the calls to console.log and print the output in Seecode.run console.

This feature is already existed in Seeconde.run. However, it seems the way it is currently implemented does not work properly in Aurelia.

@klein2ms while I was working on getting the trace results, I notice that HtmlViewer creates an isolated page. I think we have to append the code from Aurelia before the code script and then collect them.

This issue is actually implemented in feature-68 branch.  waiting on final merges and then this is done.

Will help out Steph fix leftover conflicts from merging the most recent master (includes ExecutionTrace) into her branch this afternoon.

I do not know if you guys are aware that feature-68 branch implementation brought back the closed issue #66 . This issue is fixed in the current master.


fbtext: use double-buffering, fixing the random text position

Fixes #208 and https://github.com/sathibault/vgrs/issues/13

It seems stable now: