Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] How to fix error in arrow-s3fs-test Test #43164

Closed
llama90 opened this issue Jul 6, 2024 · 16 comments
Closed

[C++] How to fix error in arrow-s3fs-test Test #43164

llama90 opened this issue Jul 6, 2024 · 16 comments
Assignees
Labels
Component: C++ Type: usage Issue is a user question
Milestone

Comments

@llama90
Copy link
Contributor

llama90 commented Jul 6, 2024

Describe the usage question you have. Please include as many useful details as possible.

I'm encountering an error while running tests for arrow-s3fs-test. Despite configuring AWS credentials using the `aws configure command, the following error occurs:

72: Assertion failed: (s_configManager), function GetCachedConfigValue, file ConfigAndCredentialsCacheManager.cpp, line 178.

Is there any documentation or guidance on how to execute the test properly?

Component(s)

C++

@llama90 llama90 added the Type: usage Issue is a user question label Jul 6, 2024
@llama90 llama90 changed the title [C++] How to Fix Assertion failed: (s_configManager) Error in S3FileSystem Test [C++] How to fix error in arrow-s3fs-test Test Jul 6, 2024
@llama90
Copy link
Contributor Author

llama90 commented Jul 8, 2024

Hello, @kou

Could you please provide any advice or guidance on this matter?

I tried to find relevant CI scripts and documentation to resolve this issue.

The part that triggers the error message is not in the arrow's code, but in the file generated after the build. Could this be a bug in aws-sdk-cpp?

@kou
Copy link
Member

kou commented Jul 8, 2024

Could you show full error log?

@llama90
Copy link
Contributor Author

llama90 commented Jul 8, 2024

Please take this. Thank you!

lldb ./arrow-s3fs-test
(lldb) target create "./arrow-s3fs-test"
Current executable set to '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug/debug/arrow-s3fs-test' (arm64).
(lldb) run
Process 17773 launched: '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug/debug/arrow-s3fs-test' (arm64)
Running main() from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 69 tests from 7 test suites.
[----------] Global test environment set-up.
Assertion failed: (s_configManager), function GetCachedConfigValue, file ConfigAndCredentialsCacheManager.cpp, line 178.
Process 17773 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
    frame #4: 0x0000000100462348 arrow-s3fs-test`Aws::Config::GetCachedConfigValue(key="region") at ConfigAndCredentialsCacheManager.cpp:178:13
   175
   176 	        Aws::String GetCachedConfigValue(const Aws::String &key)
   177 	        {
-> 178 	            assert(s_configManager);
   179 	            return s_configManager->GetConfig(Aws::Auth::GetConfigProfileName(), key);
   180 	        }
   181
Target 0: (arrow-s3fs-test) stopped.

@amoeba
Copy link
Member

amoeba commented Jul 8, 2024

Can you add the backtrace too @llama90? I just ran the test locally and all tests pass.

@llama90
Copy link
Contributor Author

llama90 commented Jul 9, 2024

Thank you for your attention. Here it is.

BTW, Is it necessary to have AWS credentials to run the test?

I am experiencing the same error on two different laptops.

lldb ./arrow-s3fs-test

(lldb) target create "./arrow-s3fs-test"
Current executable set to '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug/debug/arrow-s3fs-test' (arm64).
(lldb) run
Process 10002 launched: '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug/debug/arrow-s3fs-test' (arm64)
Running main() from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 69 tests from 7 test suites.
[----------] Global test environment set-up.
Assertion failed: (s_configManager), function GetCachedConfigValue, file ConfigAndCredentialsCacheManager.cpp, line 178.
Process 10002 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
    frame #4: 0x0000000100462348 arrow-s3fs-test`Aws::Config::GetCachedConfigValue(key="region") at ConfigAndCredentialsCacheManager.cpp:178:13
   175
   176 	        Aws::String GetCachedConfigValue(const Aws::String &key)
   177 	        {
-> 178 	            assert(s_configManager);
   179 	            return s_configManager->GetConfig(Aws::Auth::GetConfigProfileName(), key);
   180 	        }
   181
Target 0: (arrow-s3fs-test) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
    frame #0: 0x000000019f0aaa60 libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x000000019f0e2c20 libsystem_pthread.dylib`pthread_kill + 288
    frame #2: 0x000000019efefa20 libsystem_c.dylib`abort + 180
    frame #3: 0x000000019efeed10 libsystem_c.dylib`__assert_rtn + 284
  * frame #4: 0x0000000100462348 arrow-s3fs-test`Aws::Config::GetCachedConfigValue(key="region") at ConfigAndCredentialsCacheManager.cpp:178:13
    frame #5: 0x00000001004620fc arrow-s3fs-test`Aws::Client::setLegacyClientConfigurationParameters(clientConfig=0x000000016fdfbd40) at ClientConfiguration.cpp:80:27
    frame #6: 0x000000010046257c arrow-s3fs-test`Aws::Client::ClientConfiguration::ClientConfiguration(this=0x000000016fdfbd40) at ClientConfiguration.cpp:101:5
    frame #7: 0x00000001004492e4 arrow-s3fs-test`Aws::Client::ClientConfiguration::ClientConfiguration(this=0x000000016fdfbd40) at ClientConfiguration.cpp:100:1
    frame #8: 0x0000000100500d00 arrow-s3fs-test`Aws::Internal::MakeDefaultHttpResourceClientConfiguration(logtag="EC2MetadataClient") at AWSHttpResourceClient.cpp:51:33
    frame #9: 0x0000000100500c94 arrow-s3fs-test`Aws::Internal::AWSHttpResourceClient::AWSHttpResourceClient(this=0x0000600003aa4f18, logtag="EC2MetadataClient") at AWSHttpResourceClient.cpp:94:33
    frame #10: 0x000000010050192c arrow-s3fs-test`Aws::Internal::EC2MetadataClient::EC2MetadataClient(this=0x0000600003aa4f18, endpoint="http://169.254.169.254") at AWSHttpResourceClient.cpp:174:15
    frame #11: 0x00000001005019a4 arrow-s3fs-test`Aws::Internal::EC2MetadataClient::EC2MetadataClient(this=0x0000600003aa4f18, endpoint="http://169.254.169.254") at AWSHttpResourceClient.cpp:175:9
    frame #12: 0x00000001005062bc arrow-s3fs-test`std::__1::__shared_ptr_emplace<Aws::Internal::EC2MetadataClient, std::__1::allocator<Aws::Internal::EC2MetadataClient>>::__shared_ptr_emplace[abi:un170006]<char const*>(this=0x0000600003aa4f00, __a=allocator<Aws::Internal::EC2MetadataClient> @ 0x000000016fdfc01f, __args=0x000000016fdfc140) at shared_ptr.h:303:37
    frame #13: 0x0000000100505fa4 arrow-s3fs-test`std::__1::__shared_ptr_emplace<Aws::Internal::EC2MetadataClient, std::__1::allocator<Aws::Internal::EC2MetadataClient>>::__shared_ptr_emplace[abi:un170006]<char const*>(this=0x0000600003aa4f00, __a=allocator<Aws::Internal::EC2MetadataClient> @ 0x000000016fdfc04f, __args=0x000000016fdfc140) at shared_ptr.h:292:5
    frame #14: 0x0000000100505ed4 arrow-s3fs-test`std::__1::shared_ptr<Aws::Internal::EC2MetadataClient> std::__1::allocate_shared[abi:un170006]<Aws::Internal::EC2MetadataClient, std::__1::allocator<Aws::Internal::EC2MetadataClient>, char const*, void>(__a=0x000000016fdfc0d7, __args=0x000000016fdfc140) at shared_ptr.h:1023:55
    frame #15: 0x000000010050337c arrow-s3fs-test`std::__1::shared_ptr<Aws::Internal::EC2MetadataClient> Aws::MakeShared<Aws::Internal::EC2MetadataClient, char const*>(allocationTag="EC2MetadataClient", args=0x000000016fdfc140) at AWSAllocator.h:51:16
    frame #16: 0x0000000111320090 libarrow.1700.dylib`Aws::Internal::InitEC2MetadataClient() at AWSHttpResourceClient.cpp:411:35
    frame #17: 0x00000001113041b4 libarrow.1700.dylib`Aws::InitAPI(options=0x000000013360e760) at Aws.cpp:147:9
    frame #18: 0x00000001105c419c libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::DoInitialize(this=0x000000013360e760, options=0x000000016fdfcd70) at s3fs.cc:3237:5
    frame #19: 0x00000001105c4018 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x000000016fdfcc00)::'lambda'()::operator()() const at s3fs.cc:3161:7
    frame #20: 0x00000001105c3f00 libarrow.1700.dylib`decltype(std::declval<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>()()) std::__1::__invoke[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__f=0x000000016fdfcc00) at invoke.h:340:25
    frame #21: 0x00000001105c3edc libarrow.1700.dylib`void std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::__execute[abi:ue170006]<>(this=0x000000016fdfcbb0, (null)=__tuple_indices<> @ 0x000000016fdfcb0f) at mutex:632:9
    frame #22: 0x00000001105c3eb0 libarrow.1700.dylib`std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::operator()[abi:ue170006](this=0x000000016fdfcbb0) at mutex:624:9
    frame #23: 0x00000001105c3db0 libarrow.1700.dylib`void std::__1::__call_once_proxy[abi:ue170006]<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>(__vp=0x000000016fdfcbb0) at mutex:660:5
    frame #24: 0x000000019f00ee44 libc++.1.dylib`std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) + 180
    frame #25: 0x00000001105c3d18 libarrow.1700.dylib`void std::__1::call_once[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__flag=0x000000013360e968, __func=0x000000016fdfcc00) at mutex:677:9
    frame #26: 0x00000001105c3c9c libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x000000013360e760, options=0x000000016fdfcd70) at s3fs.cc:3158:5
    frame #27: 0x00000001105780d0 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::EnsureAwsInstanceInitialized(options=0x000000016fdfcd70) at s3fs.cc:3252:28
    frame #28: 0x0000000110577f3c libarrow.1700.dylib`arrow::fs::InitializeS3(options=0x000000016fdfcd70) at s3fs.cc:3258:3
    frame #29: 0x000000010003c924 arrow-s3fs-test`arrow::fs::S3Environment::SetUp(this=0x00006000010a5440) at s3_test_util.h:91:5
    frame #30: 0x000000010266c1c0 libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(env=0x00006000010a5440) at gtest.cc:5734:55
    frame #31: 0x00000001026a698c libarrow_gtestd.1.11.0.dylib`std::__1::for_each[abi:ue170006]<std::__1::__wrap_iter<testing::Environment* const*>, void (*)(testing::Environment*)>(__first=(item = 0x00006000010a5440), __last=(item = 0x0000000100756f98), __f=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at for_each.h:26:5
    frame #32: 0x000000010266a7cc libarrow_gtestd.1.11.0.dylib`void testing::internal::ForEach<std::__1::vector<testing::Environment*, std::__1::allocator<testing::Environment*>>, void (*)(testing::Environment*)>(c=size=2, functor=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at gtest-internal-inl.h:303:3
    frame #33: 0x0000000102669554 libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests(this=0x00000001336093c0) at gtest.cc:5833:7
    frame #34: 0x00000001026a2d0c libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x00000001336093c0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2607:10
    frame #35: 0x0000000102669080 libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x00000001336093c0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2643:14
    frame #36: 0x0000000102668f6c libarrow_gtestd.1.11.0.dylib`testing::UnitTest::Run(this=0x00000001026c0120) at gtest.cc:5438:10
    frame #37: 0x00000001023d7ee4 libarrow_gtest_maind.1.11.0.dylib`RUN_ALL_TESTS() at gtest.h:2490:46
    frame #38: 0x00000001023d7ec8 libarrow_gtest_maind.1.11.0.dylib`main(argc=1, argv=0x000000016fdfd368) at gtest_main.cc:52:10
    frame #39: 0x000000019ed5a0e0 dyld`start + 2360

@kou
Copy link
Member

kou commented Jul 9, 2024

Could you try AWS_EC2_METADATA_DISABLED=true environment variable?

@llama90
Copy link
Contributor Author

llama90 commented Jul 9, 2024

I tried as you suggested, but it's still the same. 😭

@llama90
Copy link
Contributor Author

llama90 commented Jul 9, 2024

I raised this question because I wanted to resolve some S3 issues. I executed the PyArrow code, and it worked well. I am trying to resolve the issues with PyArrow through testing.

import pyarrow as pa
import pyarrow.parquet as pq
import pyarrow.fs as fs

s3 = fs.S3FileSystem(region='ap-northeast-2')

data = {
    'name': ['Alice', 'Bob', 'Charlie', 'David'],
    'age': [24, 27, 22, 32]
}
table = pa.table(data)

bucket = 'bucket_name'
file_path = f'{bucket}/prefix/example.parquet'

with s3.open_output_stream(file_path) as f:
    pq.write_table(table, f)

print(f"Data written to {file_path}")

UPDATE:

Why the arrow-s3fs-test is not working in my configured enviroment is something I will gradually try to figure out.

Thank you for your attention!

@amoeba
Copy link
Member

amoeba commented Jul 9, 2024

Googling the error you got leads me to only a couple of results, one of which is aws/aws-sdk-cpp#2605 and suggests InitAPI isn't getting called but, from your stack trace, it looks like it is. In s3fs_test, I see a call to InitAPI() guarded by an ifdef on AWS_CPP_SDK_S3_PRIVATE_STATIC so I wonder if that's somehow related? It might be helpful if you post your full output (cmake configure + build) so we can compare.

@kou
Copy link
Member

kou commented Jul 10, 2024

Could you set breakpoints at Aws::Config::CleanupConfigAndCredentialsCacheManager() and Aws::Config::InitConfigAndCredentialsCacheManager()?
I think that Cleanup is called unexpectedly.

@llama90
Copy link
Contributor Author

llama90 commented Jul 10, 2024

I am sharing my build and debug.

--preset ninja-debug-filesystems -G Ninja -DCMAKE_INSTALL_PREFIX=build -DARROW_DEPENDENCY_SOURCE=BUNDLED
build log
====================[ Clean | Debug-preset-filesystems ]========================
bin/cmake/mac/aarch64/bin/cmake --build /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems --target clean -j 8
[1/1] Cleaning all built files...
Cleaning... 985 files.

Clean finished

====================[ Build | all | Debug-preset-filesystems ]==================
bin/cmake/mac/aarch64/bin/cmake --build /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems --target all -j 8
[77/842] Building CXX object _deps/azure_sdk-build/sdk/core/azure-core/CMakeFiles/azure-core.dir/src/exception.cpp.o
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4668:19: 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]
    typename std::char_traits<char_type>::int_type get_character()
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:14: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8386:41: 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]
    using char_int_type = typename std::char_traits<char_type>::int_type;
                                        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9831:33: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
    using token_type = typename lexer_t::token_type;
                                ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9744:34: 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]
    char_int_type current = std::char_traits<char_type>::eof();
                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8391:14: note: in instantiation of default member initializer 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::current' requested here
    explicit lexer(InputAdapterType&& adapter)
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9839:25: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::lexer' requested here
        : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_)
                        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9729:19: 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]
        case std::char_traits<char_type>::eof():
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9571:50: 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]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9658:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::unget' requested here
      unget();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9665:46: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::skip_bom' requested here
      if (position.chars_read_total == 0 && !skip_bom())
                                             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9530:50: 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]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9532:37: 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]
        token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4672:28: 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]
        auto result = std::char_traits<char_type>::to_int_type(*current);
                           ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9527:22: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>::get_character' requested here
        current = ia.get_character();
                     ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4678:21: 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]
        return std::char_traits<char_type>::eof();
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9480:19: 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]
      assert(std::char_traits<char_type>::to_char_type(current) == literal_text[0]);
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9696:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_literal' requested here
          return scan_literal(true_literal.data(), true_literal.size(), token_type::literal_true);
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9484:22: 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<char_type>::to_char_type(get()) != literal_text[i]))
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8535:21: 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]
          case std::char_traits<char_type>::eof(): {
                    ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:8:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9502:35: 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]
      token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8524:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::reset' requested here
      reset();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/src/exception.cpp:67:61: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
      auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
13 warnings generated.
[120/842] Building CXX object _deps/azure_sdk-build/sdk/storage/azure-storage-common/CMakeFiles/azure-storage-common.dir/src/storage_exception.cpp.o
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4668:19: 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]
    typename std::char_traits<char_type>::int_type get_character()
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:14: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8386:41: 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]
    using char_int_type = typename std::char_traits<char_type>::int_type;
                                        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9831:33: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
    using token_type = typename lexer_t::token_type;
                                ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9744:34: 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]
    char_int_type current = std::char_traits<char_type>::eof();
                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8391:14: note: in instantiation of default member initializer 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::current' requested here
    explicit lexer(InputAdapterType&& adapter)
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9839:25: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::lexer' requested here
        : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_)
                        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9729:19: 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]
        case std::char_traits<char_type>::eof():
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9571:50: 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]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9658:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::unget' requested here
      unget();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9665:46: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::skip_bom' requested here
      if (position.chars_read_total == 0 && !skip_bom())
                                             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9530:50: 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]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9532:37: 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]
        token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4672:28: 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]
        auto result = std::char_traits<char_type>::to_int_type(*current);
                           ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9527:22: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>::get_character' requested here
        current = ia.get_character();
                     ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4678:21: 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]
        return std::char_traits<char_type>::eof();
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9480:19: 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]
      assert(std::char_traits<char_type>::to_char_type(current) == literal_text[0]);
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9696:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_literal' requested here
          return scan_literal(true_literal.data(), true_literal.size(), token_type::literal_true);
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9484:22: 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<char_type>::to_char_type(get()) != literal_text[i]))
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8535:21: 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]
          case std::char_traits<char_type>::eof(): {
                    ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:10:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9502:35: 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]
      token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8524:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::reset' requested here
      reset();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22345:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-common/src/storage_exception.cpp:133:63: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::vector<unsigned char> &>' requested here
        auto jsonParser = Azure::Core::Json::_internal::json::parse(bodyBuffer);
                                                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
13 warnings generated.
[180/842] Building CXX object _deps/azure_sdk-build/sdk/storage/azure-storage-files-datalake/CMakeFiles/azure-storage-files-datalake.dir/src/rest_client.cpp.o
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4668:19: 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]
    typename std::char_traits<char_type>::int_type get_character()
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:14: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8386:41: 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]
    using char_int_type = typename std::char_traits<char_type>::int_type;
                                        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9831:33: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
    using token_type = typename lexer_t::token_type;
                                ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of template class 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9744:34: 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]
    char_int_type current = std::char_traits<char_type>::eof();
                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8391:14: note: in instantiation of default member initializer 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::current' requested here
    explicit lexer(InputAdapterType&& adapter)
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9839:25: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::lexer' requested here
        : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_)
                        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9729:19: 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]
        case std::char_traits<char_type>::eof():
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9571:50: 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]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9658:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::unget' requested here
      unget();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9665:46: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::skip_bom' requested here
      if (position.chars_read_total == 0 && !skip_bom())
                                             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9530:50: 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]
      if (_az_JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
                                                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9532:37: 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]
        token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4672:28: 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]
        auto result = std::char_traits<char_type>::to_int_type(*current);
                           ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9527:22: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>::get_character' requested here
        current = ia.get_character();
                     ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9674:9: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get' requested here
        get();
        ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:4678:21: 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]
        return std::char_traits<char_type>::eof();
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9480:19: 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]
      assert(std::char_traits<char_type>::to_char_type(current) == literal_text[0]);
                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9696:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_literal' requested here
          return scan_literal(true_literal.data(), true_literal.size(), token_type::literal_true);
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9484:22: 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<char_type>::to_char_type(get()) != literal_text[i]))
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8535:21: 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]
          case std::char_traits<char_type>::eof(): {
                    ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
In file included from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:14:
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9502:35: 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]
      token_string.push_back(std::char_traits<char_type>::to_char_type(current));
                                  ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:8524:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::reset' requested here
      reset();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9710:18: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan_string' requested here
          return scan_string();
                 ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:10244:58: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::lexer<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::scan' requested here
    token_type get_token() { return last_token = m_lexer.scan(); }
                                                         ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:9842:7: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::get_token' requested here
      get_token();
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:16000:14: note: in instantiation of member function 'Azure::Core::Json::_internal::detail::parser<Azure::Core::Json::_internal::basic_json<>, Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>::parser' requested here
      return ::Azure::Core::Json::_internal::detail::parser<basic_json, InputAdapterType>(
             ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp:22381:7: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parser<Azure::Core::Json::_internal::detail::iterator_input_adapter<std::__wrap_iter<const unsigned char *>>>' requested here
      parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions)
      ^
/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/azure_sdk-src/sdk/storage/azure-storage-files-datalake/src/rest_client.cpp:95:44: note: in instantiation of function template specialization 'Azure::Core::Json::_internal::basic_json<>::parse<std::__wrap_iter<const unsigned char *>>' requested here
            = Core::Json::_internal::json::parse(responseBody.begin(), responseBody.end());
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.5.sdk/usr/include/c++/v1/__config:1011:53: note: expanded from macro '_LIBCPP_DEPRECATED_'
#      define _LIBCPP_DEPRECATED_(m) __attribute__((__deprecated__(m)))
                                                    ^
13 warnings generated.
[842/842] Linking CXX executable debug/arrow-gcsfs-test

Build finished
breakpoint with CleanupConfigAndCredentialsCacheManager and InitConfigAndCredentialsCacheManager
lldb ./debug/arrow-s3fs-test
(lldb) target create "./debug/arrow-s3fs-test"
Current executable set to '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/debug/arrow-s3fs-test' (arm64).
(lldb) breakpoint set --name CleanupConfigAndCredentialsCacheManager
Breakpoint 1: 2 locations.
(lldb) breakpoint set --name InitConfigAndCredentialsCacheManager
Breakpoint 2: 2 locations.
(lldb) run
Process 58904 launched: '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/debug/arrow-s3fs-test' (arm64)
Running main() from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 69 tests from 7 test suites.
[----------] Global test environment set-up.
Process 58904 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
    frame #0: 0x0000000110abe958 libarrow.1700.dylib`Aws::Config::InitConfigAndCredentialsCacheManager() at ConfigAndCredentialsCacheManager.cpp:127:17
   124
   125 	        void InitConfigAndCredentialsCacheManager()
   126 	        {
-> 127 	            if (s_configManager)
   128 	            {
   129 	                return;
   130 	            }
Target 0: (arrow-s3fs-test) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x0000000110abe958 libarrow.1700.dylib`Aws::Config::InitConfigAndCredentialsCacheManager() at ConfigAndCredentialsCacheManager.cpp:127:17
    frame #1: 0x0000000110b3ac14 libarrow.1700.dylib`Aws::InitAPI(options=0x0000000129e0a5e0) at Aws.cpp:57:9
    frame #2: 0x000000010fc9b418 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::DoInitialize(this=0x0000000129e0a5e0, options=0x000000016fdfcad0) at s3fs.cc:3237:5
    frame #3: 0x000000010fc9b294 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x000000016fdfc960)::'lambda'()::operator()() const at s3fs.cc:3161:7
    frame #4: 0x000000010fc9b17c libarrow.1700.dylib`decltype(std::declval<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>()()) std::__1::__invoke[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__f=0x000000016fdfc960) at invoke.h:340:25
    frame #5: 0x000000010fc9b158 libarrow.1700.dylib`void std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::__execute[abi:ue170006]<>(this=0x000000016fdfc910, (null)=__tuple_indices<> @ 0x000000016fdfc86f) at mutex:632:9
    frame #6: 0x000000010fc9b12c libarrow.1700.dylib`std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::operator()[abi:ue170006](this=0x000000016fdfc910) at mutex:624:9
    frame #7: 0x000000010fc9b02c libarrow.1700.dylib`void std::__1::__call_once_proxy[abi:ue170006]<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>(__vp=0x000000016fdfc910) at mutex:660:5
    frame #8: 0x000000019f00ee44 libc++.1.dylib`std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) + 180
    frame #9: 0x000000010fc9af94 libarrow.1700.dylib`void std::__1::call_once[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__flag=0x0000000129e0a7e8, __func=0x000000016fdfc960) at mutex:677:9
    frame #10: 0x000000010fc9af18 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x0000000129e0a5e0, options=0x000000016fdfcad0) at s3fs.cc:3158:5
    frame #11: 0x000000010fc4fce4 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::EnsureAwsInstanceInitialized(options=0x000000016fdfcad0) at s3fs.cc:3252:28
    frame #12: 0x000000010fc4fb50 libarrow.1700.dylib`arrow::fs::InitializeS3(options=0x000000016fdfcad0) at s3fs.cc:3258:3
    frame #13: 0x000000010003c4e4 arrow-s3fs-test`arrow::fs::S3Environment::SetUp(this=0x0000600002ef9140) at s3_test_util.h:91:5
    frame #14: 0x000000010266c140 libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(env=0x0000600002ef9140) at gtest.cc:5734:55
    frame #15: 0x00000001026a690c libarrow_gtestd.1.11.0.dylib`std::__1::for_each[abi:ue170006]<std::__1::__wrap_iter<testing::Environment* const*>, void (*)(testing::Environment*)>(__first=(item = 0x0000600002ef9140), __last=(item = 0x0000000100000000), __f=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at for_each.h:26:5
    frame #16: 0x000000010266a74c libarrow_gtestd.1.11.0.dylib`void testing::internal::ForEach<std::__1::vector<testing::Environment*, std::__1::allocator<testing::Environment*>>, void (*)(testing::Environment*)>(c=size=2, functor=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at gtest-internal-inl.h:303:3
    frame #17: 0x00000001026694d4 libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests(this=0x0000000129e052c0) at gtest.cc:5833:7
    frame #18: 0x00000001026a2c8c libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000129e052c0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2607:10
    frame #19: 0x0000000102669000 libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000129e052c0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2643:14
    frame #20: 0x0000000102668eec libarrow_gtestd.1.11.0.dylib`testing::UnitTest::Run(this=0x00000001026c0120) at gtest.cc:5438:10
    frame #21: 0x00000001023d7ed0 libarrow_gtest_maind.1.11.0.dylib`RUN_ALL_TESTS() at gtest.h:2490:46
    frame #22: 0x00000001023d7eb4 libarrow_gtest_maind.1.11.0.dylib`main(argc=1, argv=0x000000016fdfd0c8) at gtest_main.cc:52:10
    frame #23: 0x000000019ed5a0e0 dyld`start + 2360
(lldb) continue
Process 58904 resuming
Assertion failed: (s_configManager), function GetCachedConfigValue, file ConfigAndCredentialsCacheManager.cpp, line 178.
Process 58904 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
    frame #4: 0x0000000100461f08 arrow-s3fs-test`Aws::Config::GetCachedConfigValue(key="max_attempts") at ConfigAndCredentialsCacheManager.cpp:178:13
   175
   176 	        Aws::String GetCachedConfigValue(const Aws::String &key)
   177 	        {
-> 178 	            assert(s_configManager);
   179 	            return s_configManager->GetConfig(Aws::Auth::GetConfigProfileName(), key);
   180 	        }
   181
Target 0: (arrow-s3fs-test) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
    frame #0: 0x000000019f0aaa60 libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x000000019f0e2c20 libsystem_pthread.dylib`pthread_kill + 288
    frame #2: 0x000000019efefa20 libsystem_c.dylib`abort + 180
    frame #3: 0x000000019efeed10 libsystem_c.dylib`__assert_rtn + 284
  * frame #4: 0x0000000100461f08 arrow-s3fs-test`Aws::Config::GetCachedConfigValue(key="max_attempts") at ConfigAndCredentialsCacheManager.cpp:178:13
    frame #5: 0x0000000100462470 arrow-s3fs-test`Aws::Client::InitRetryStrategy(retryMode="") at ClientConfiguration.cpp:195:29
    frame #6: 0x0000000100462160 arrow-s3fs-test`Aws::Client::ClientConfiguration::ClientConfiguration(this=0x000000016fdfbaa0) at ClientConfiguration.cpp:102:21
    frame #7: 0x0000000100448ea4 arrow-s3fs-test`Aws::Client::ClientConfiguration::ClientConfiguration(this=0x000000016fdfbaa0) at ClientConfiguration.cpp:100:1
    frame #8: 0x00000001005008c0 arrow-s3fs-test`Aws::Internal::MakeDefaultHttpResourceClientConfiguration(logtag="EC2MetadataClient") at AWSHttpResourceClient.cpp:51:33
    frame #9: 0x0000000100500854 arrow-s3fs-test`Aws::Internal::AWSHttpResourceClient::AWSHttpResourceClient(this=0x00006000004f4018, logtag="EC2MetadataClient") at AWSHttpResourceClient.cpp:94:33
    frame #10: 0x00000001005014ec arrow-s3fs-test`Aws::Internal::EC2MetadataClient::EC2MetadataClient(this=0x00006000004f4018, endpoint="http://169.254.169.254") at AWSHttpResourceClient.cpp:174:15
    frame #11: 0x0000000100501564 arrow-s3fs-test`Aws::Internal::EC2MetadataClient::EC2MetadataClient(this=0x00006000004f4018, endpoint="http://169.254.169.254") at AWSHttpResourceClient.cpp:175:9
    frame #12: 0x0000000100505e7c arrow-s3fs-test`std::__1::__shared_ptr_emplace<Aws::Internal::EC2MetadataClient, std::__1::allocator<Aws::Internal::EC2MetadataClient>>::__shared_ptr_emplace[abi:un170006]<char const*>(this=0x00006000004f4000, __a=allocator<Aws::Internal::EC2MetadataClient> @ 0x000000016fdfbd7f, __args=0x000000016fdfbea0) at shared_ptr.h:303:37
    frame #13: 0x0000000100505b64 arrow-s3fs-test`std::__1::__shared_ptr_emplace<Aws::Internal::EC2MetadataClient, std::__1::allocator<Aws::Internal::EC2MetadataClient>>::__shared_ptr_emplace[abi:un170006]<char const*>(this=0x00006000004f4000, __a=allocator<Aws::Internal::EC2MetadataClient> @ 0x000000016fdfbdaf, __args=0x000000016fdfbea0) at shared_ptr.h:292:5
    frame #14: 0x0000000100505a94 arrow-s3fs-test`std::__1::shared_ptr<Aws::Internal::EC2MetadataClient> std::__1::allocate_shared[abi:un170006]<Aws::Internal::EC2MetadataClient, std::__1::allocator<Aws::Internal::EC2MetadataClient>, char const*, void>(__a=0x000000016fdfbe37, __args=0x000000016fdfbea0) at shared_ptr.h:1023:55
    frame #15: 0x0000000100502f3c arrow-s3fs-test`std::__1::shared_ptr<Aws::Internal::EC2MetadataClient> Aws::MakeShared<Aws::Internal::EC2MetadataClient, char const*>(allocationTag="EC2MetadataClient", args=0x000000016fdfbea0) at AWSAllocator.h:51:16
    frame #16: 0x0000000110b571ac libarrow.1700.dylib`Aws::Internal::InitEC2MetadataClient() at AWSHttpResourceClient.cpp:411:35
    frame #17: 0x0000000110b3b0d0 libarrow.1700.dylib`Aws::InitAPI(options=0x0000000129e0a5e0) at Aws.cpp:147:9
    frame #18: 0x000000010fc9b418 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::DoInitialize(this=0x0000000129e0a5e0, options=0x000000016fdfcad0) at s3fs.cc:3237:5
    frame #19: 0x000000010fc9b294 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x000000016fdfc960)::'lambda'()::operator()() const at s3fs.cc:3161:7
    frame #20: 0x000000010fc9b17c libarrow.1700.dylib`decltype(std::declval<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>()()) std::__1::__invoke[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__f=0x000000016fdfc960) at invoke.h:340:25
    frame #21: 0x000000010fc9b158 libarrow.1700.dylib`void std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::__execute[abi:ue170006]<>(this=0x000000016fdfc910, (null)=__tuple_indices<> @ 0x000000016fdfc86f) at mutex:632:9
    frame #22: 0x000000010fc9b12c libarrow.1700.dylib`std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::operator()[abi:ue170006](this=0x000000016fdfc910) at mutex:624:9
    frame #23: 0x000000010fc9b02c libarrow.1700.dylib`void std::__1::__call_once_proxy[abi:ue170006]<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>(__vp=0x000000016fdfc910) at mutex:660:5
    frame #24: 0x000000019f00ee44 libc++.1.dylib`std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) + 180
    frame #25: 0x000000010fc9af94 libarrow.1700.dylib`void std::__1::call_once[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__flag=0x0000000129e0a7e8, __func=0x000000016fdfc960) at mutex:677:9
    frame #26: 0x000000010fc9af18 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x0000000129e0a5e0, options=0x000000016fdfcad0) at s3fs.cc:3158:5
    frame #27: 0x000000010fc4fce4 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::EnsureAwsInstanceInitialized(options=0x000000016fdfcad0) at s3fs.cc:3252:28
    frame #28: 0x000000010fc4fb50 libarrow.1700.dylib`arrow::fs::InitializeS3(options=0x000000016fdfcad0) at s3fs.cc:3258:3
    frame #29: 0x000000010003c4e4 arrow-s3fs-test`arrow::fs::S3Environment::SetUp(this=0x0000600002ef9140) at s3_test_util.h:91:5
    frame #30: 0x000000010266c140 libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(env=0x0000600002ef9140) at gtest.cc:5734:55
    frame #31: 0x00000001026a690c libarrow_gtestd.1.11.0.dylib`std::__1::for_each[abi:ue170006]<std::__1::__wrap_iter<testing::Environment* const*>, void (*)(testing::Environment*)>(__first=(item = 0x0000600002ef9140), __last=(item = 0x0000000100000000), __f=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at for_each.h:26:5
    frame #32: 0x000000010266a74c libarrow_gtestd.1.11.0.dylib`void testing::internal::ForEach<std::__1::vector<testing::Environment*, std::__1::allocator<testing::Environment*>>, void (*)(testing::Environment*)>(c=size=2, functor=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at gtest-internal-inl.h:303:3
    frame #33: 0x00000001026694d4 libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests(this=0x0000000129e052c0) at gtest.cc:5833:7
    frame #34: 0x00000001026a2c8c libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000129e052c0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2607:10
    frame #35: 0x0000000102669000 libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000129e052c0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2643:14
    frame #36: 0x0000000102668eec libarrow_gtestd.1.11.0.dylib`testing::UnitTest::Run(this=0x00000001026c0120) at gtest.cc:5438:10
    frame #37: 0x00000001023d7ed0 libarrow_gtest_maind.1.11.0.dylib`RUN_ALL_TESTS() at gtest.h:2490:46
    frame #38: 0x00000001023d7eb4 libarrow_gtest_maind.1.11.0.dylib`main(argc=1, argv=0x000000016fdfd0c8) at gtest_main.cc:52:10
    frame #39: 0x000000019ed5a0e0 dyld`start + 2360
breakpoint with ConfigAndCredentialsCacheManager line 127 and line 130
lldb ./debug/arrow-s3fs-test
(lldb) target create "./debug/arrow-s3fs-test"
Current executable set to '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/debug/arrow-s3fs-test' (arm64).
(lldb) breakpoint set --file ConfigAndCredentialsCacheManager.cpp --line 127
Breakpoint 1: 2 locations.
(lldb) breakpoint set --file ConfigAndCredentialsCacheManager.cpp --line 130
Breakpoint 2: 2 locations.
(lldb) run
Process 59271 launched: '/Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/debug/arrow-s3fs-test' (arm64)
Running main() from /Users/lama/workspace/arrow-new/cpp/cmake-build-debug-preset-filesystems/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 69 tests from 7 test suites.
[----------] Global test environment set-up.
Process 59271 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2
    frame #0: 0x0000000110abe958 libarrow.1700.dylib`Aws::Config::InitConfigAndCredentialsCacheManager() at ConfigAndCredentialsCacheManager.cpp:127:17
   124
   125 	        void InitConfigAndCredentialsCacheManager()
   126 	        {
-> 127 	            if (s_configManager)
   128 	            {
   129 	                return;
   130 	            }
Target 0: (arrow-s3fs-test) stopped.
(lldb) next
Process 59271 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
    frame #0: 0x0000000110abe978 libarrow.1700.dylib`Aws::Config::InitConfigAndCredentialsCacheManager() at ConfigAndCredentialsCacheManager.cpp:131:31
   128 	            {
   129 	                return;
   130 	            }
-> 131 	            s_configManager = Aws::New<ConfigAndCredentialsCacheManager>(CONFIG_CREDENTIALS_CACHE_MANAGER_TAG);
   132 	        }
   133
   134 	        void CleanupConfigAndCredentialsCacheManager()
Target 0: (arrow-s3fs-test) stopped.
(lldb) print s_configManager
(Aws::Config::ConfigAndCredentialsCacheManager *) nullptr
(lldb) next
Process 59271 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x0000000110abe984 libarrow.1700.dylib`Aws::Config::InitConfigAndCredentialsCacheManager() at ConfigAndCredentialsCacheManager.cpp:132:9
   129 	                return;
   130 	            }
   131 	            s_configManager = Aws::New<ConfigAndCredentialsCacheManager>(CONFIG_CREDENTIALS_CACHE_MANAGER_TAG);
-> 132 	        }
   133
   134 	        void CleanupConfigAndCredentialsCacheManager()
   135 	        {
Target 0: (arrow-s3fs-test) stopped.
(lldb) print s_configManager
(Aws::Config::ConfigAndCredentialsCacheManager *) 0x000000013c904080
(lldb) next
Process 59271 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x0000000110b3ac14 libarrow.1700.dylib`Aws::InitAPI(options=0x000000013c809540) at Aws.cpp:57:9
   54  	            AWS_LOGSTREAM_INFO(ALLOCATION_TAG, "Initiate AWS SDK for C++ with Version:" << Aws::String(Aws::Version::GetVersionString()));
   55  	        }
   56
-> 57  	        Aws::Config::InitConfigAndCredentialsCacheManager();
   58
   59  	        if (options.ioOptions.clientBootstrap_create_fn)
   60  	        {
Target 0: (arrow-s3fs-test) stopped.
(lldb) print s_configManager
(Aws::Config::ConfigAndCredentialsCacheManager *) nullptr
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
  * frame #0: 0x0000000110b3ac14 libarrow.1700.dylib`Aws::InitAPI(options=0x000000013c809540) at Aws.cpp:57:9
    frame #1: 0x000000010fc9b418 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::DoInitialize(this=0x000000013c809540, options=0x000000016fdfcad0) at s3fs.cc:3237:5
    frame #2: 0x000000010fc9b294 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x000000016fdfc960)::'lambda'()::operator()() const at s3fs.cc:3161:7
    frame #3: 0x000000010fc9b17c libarrow.1700.dylib`decltype(std::declval<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>()()) std::__1::__invoke[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__f=0x000000016fdfc960) at invoke.h:340:25
    frame #4: 0x000000010fc9b158 libarrow.1700.dylib`void std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::__execute[abi:ue170006]<>(this=0x000000016fdfc910, (null)=__tuple_indices<> @ 0x000000016fdfc86f) at mutex:632:9
    frame #5: 0x000000010fc9b12c libarrow.1700.dylib`std::__1::__call_once_param<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>::operator()[abi:ue170006](this=0x000000016fdfc910) at mutex:624:9
    frame #6: 0x000000010fc9b02c libarrow.1700.dylib`void std::__1::__call_once_proxy[abi:ue170006]<std::__1::tuple<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()&&>>(__vp=0x000000016fdfc910) at mutex:660:5
    frame #7: 0x000000019f00ee44 libc++.1.dylib`std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) + 180
    frame #8: 0x000000010fc9af94 libarrow.1700.dylib`void std::__1::call_once[abi:ue170006]<arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(arrow::fs::S3GlobalOptions const&)::'lambda'()>(__flag=0x000000013c809748, __func=0x000000016fdfc960) at mutex:677:9
    frame #9: 0x000000010fc9af18 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::AwsInstance::EnsureInitialized(this=0x000000013c809540, options=0x000000016fdfcad0) at s3fs.cc:3158:5
    frame #10: 0x000000010fc4fce4 libarrow.1700.dylib`arrow::fs::(anonymous namespace)::EnsureAwsInstanceInitialized(options=0x000000016fdfcad0) at s3fs.cc:3252:28
    frame #11: 0x000000010fc4fb50 libarrow.1700.dylib`arrow::fs::InitializeS3(options=0x000000016fdfcad0) at s3fs.cc:3258:3
    frame #12: 0x000000010003c4e4 arrow-s3fs-test`arrow::fs::S3Environment::SetUp(this=0x000060000302c7c0) at s3_test_util.h:91:5
    frame #13: 0x000000010266c140 libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(env=0x000060000302c7c0) at gtest.cc:5734:55
    frame #14: 0x00000001026a690c libarrow_gtestd.1.11.0.dylib`std::__1::for_each[abi:ue170006]<std::__1::__wrap_iter<testing::Environment* const*>, void (*)(testing::Environment*)>(__first=(item = 0x000060000302c7c0), __last=(item = 0x0000000100000000), __f=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at for_each.h:26:5
    frame #15: 0x000000010266a74c libarrow_gtestd.1.11.0.dylib`void testing::internal::ForEach<std::__1::vector<testing::Environment*, std::__1::allocator<testing::Environment*>>, void (*)(testing::Environment*)>(c=size=2, functor=(libarrow_gtestd.1.11.0.dylib`testing::internal::SetUpEnvironment(testing::Environment*) at gtest.cc:5734)) at gtest-internal-inl.h:303:3
    frame #16: 0x00000001026694d4 libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests(this=0x000000013c8041a0) at gtest.cc:5833:7
    frame #17: 0x00000001026a2c8c libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000000013c8041a0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2607:10
    frame #18: 0x0000000102669000 libarrow_gtestd.1.11.0.dylib`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000000013c8041a0, method=(libarrow_gtestd.1.11.0.dylib`testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5746), location="auxiliary test code (environments or event listeners)") at gtest.cc:2643:14
    frame #19: 0x0000000102668eec libarrow_gtestd.1.11.0.dylib`testing::UnitTest::Run(this=0x00000001026c0120) at gtest.cc:5438:10
    frame #20: 0x00000001023d7ed0 libarrow_gtest_maind.1.11.0.dylib`RUN_ALL_TESTS() at gtest.h:2490:46
    frame #21: 0x00000001023d7eb4 libarrow_gtest_maind.1.11.0.dylib`main(argc=1, argv=0x000000016fdfd0c8) at gtest_main.cc:52:10
    frame #22: 0x000000019ed5a0e0 dyld`start + 2360
void InitConfigAndCredentialsCacheManager()
{
    if (s_configManager)
    {
        return;
    }
    s_configManager = Aws::New<ConfigAndCredentialsCacheManager>(CONFIG_CREDENTIALS_CACHE_MANAGER_TAG);
}

It seems that s_configManager is assigned a value when s_configManager = Aws::New<ConfigAndCredentialsCacheManager>(CONFIG_CREDENTIALS_CACHE_MANAGER_TAG); is called, but it becomes nullptr as the InitConfigAndCredentialsCacheManager function exits.

@amoeba
Copy link
Member

amoeba commented Jul 10, 2024

Just FYI, I was able to reproduce the issue with that CMake config ^.

@kou
Copy link
Member

kou commented Jul 11, 2024

Could you try this?

diff --git a/cpp/src/arrow/filesystem/CMakeLists.txt b/cpp/src/arrow/filesystem/CMakeLists.txt
index 0a31a64b7a..dec4bb6e3d 100644
--- a/cpp/src/arrow/filesystem/CMakeLists.txt
+++ b/cpp/src/arrow/filesystem/CMakeLists.txt
@@ -63,6 +63,23 @@ if(ARROW_AZURE)
 endif()
 
 if(ARROW_S3)
+  set(ARROW_S3_TEST_EXTRA_LINK_LIBS)
+  # arrow_shared/arrow_static is specified implicitly via
+  # arrow_testing_shared/arrow_testing_static but we specify
+  # arrow_shared/arrow_static explicitly here to ensure using libarrow
+  # before libaws* on link. If we use libaws*.a before libarrow,
+  # static variables storage of AWS SDK for C++ in libaws*.a may be
+  # mixed with one in libarrow.
+  if(ARROW_TEST_LINKAGE STREQUAL "shared")
+    list(APPEND ARROW_S3_TEST_EXTRA_LINK_LIBS arrow_shared)
+  else()
+    list(APPEND ARROW_S3_TEST_EXTRA_LINK_LIBS arrow_static)
+  endif()
+  list(APPEND
+       ARROW_S3_TEST_EXTRA_LINK_LIBS
+       ${AWSSDK_LINK_LIBRARIES}
+       Boost::filesystem
+       Boost::system)
   add_arrow_test(s3fs_test
                  SOURCES
                  s3fs_test.cc
@@ -70,18 +87,17 @@ if(ARROW_S3)
                  EXTRA_LABELS
                  filesystem
                  EXTRA_LINK_LIBS
-                 ${AWSSDK_LINK_LIBRARIES}
-                 Boost::filesystem
-                 Boost::system)
+                 ${ARROW_S3_TEST_EXTRA_LINK_LIBS})
   if(TARGET arrow-s3fs-test)
     set(ARROW_S3FS_TEST_COMPILE_DEFINITIONS)
     get_target_property(AWS_CPP_SDK_S3_TYPE aws-cpp-sdk-s3 TYPE)
-    # We need to initialize AWS C++ SDK for direct use (not via
+    # We need to initialize AWS SDK for C++ for direct use (not via
     # arrow::fs::S3FileSystem) in arrow-s3fs-test if we use static AWS
-    # C++ SDK and hide symbols of them. Because AWS C++ SDK has
-    # internal static variables that aren't shared in libarrow and
+    # SDK for C++ and hide symbols of them. Because AWS SDK for C++
+    # has internal static variables that aren't shared in libarrow and
     # arrow-s3fs-test. It means that arrow::fs::InitializeS3() doesn't
-    # initialize AWS C++ SDK that is directly used in arrow-s3fs-test.
+    # initialize AWS SDK for C++ that is directly used in
+    # arrow-s3fs-test.
     if(AWS_CPP_SDK_S3_TYPE STREQUAL "STATIC_LIBRARY"
        AND CXX_LINKER_SUPPORTS_VERSION_SCRIPT)
       list(APPEND ARROW_S3FS_TEST_COMPILE_DEFINITIONS "AWS_CPP_SDK_S3_PRIVATE_STATIC")

@amoeba
Copy link
Member

amoeba commented Jul 11, 2024

That seems to fix it, the tests now run normally with this type of build. Though I'm seeing some test failures now and some escape sequence spam I wasn't seeing before but I changed my local minio setup since other things were wrong. I'll re-run the tests on a non-bundled build in a sec to compare.

Edit: I actually get the original failure on my usual custom CMake preset (without this patch) and, with this patch, I get the same failures and spam mentioned above. It doesn't seem like it would be related to the fix here. I've included it below for reference:

debug/arrow-s3fs-test output
❯ ./debug/arrow-s3fs-test
Running main() from /Users/bryce/src/apache/arrow/cpp/build/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 69 tests from 7 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from S3OptionsTest
[ RUN      ] S3OptionsTest.FromUri
[       OK ] S3OptionsTest.FromUri (495 ms)
[ RUN      ] S3OptionsTest.FromAccessKey
[       OK ] S3OptionsTest.FromAccessKey (0 ms)
[ RUN      ] S3OptionsTest.FromAssumeRole
[       OK ] S3OptionsTest.FromAssumeRole (5 ms)
[----------] 3 tests from S3OptionsTest (501 ms total)

[----------] 4 tests from S3RegionResolutionTest
[ RUN      ] S3RegionResolutionTest.PublicBucket
[       OK ] S3RegionResolutionTest.PublicBucket (236 ms)
[ RUN      ] S3RegionResolutionTest.RestrictedBucket
[       OK ] S3RegionResolutionTest.RestrictedBucket (240 ms)
[ RUN      ] S3RegionResolutionTest.NonExistentBucket
[       OK ] S3RegionResolutionTest.NonExistentBucket (246 ms)
[ RUN      ] S3RegionResolutionTest.InvalidBucketName
[       OK ] S3RegionResolutionTest.InvalidBucketName (0 ms)
[----------] 4 tests from S3RegionResolutionTest (724 ms total)

[----------] 2 tests from S3FileSystemRegionTest
[ RUN      ] S3FileSystemRegionTest.Default
[       OK ] S3FileSystemRegionTest.Default (2 ms)
[ RUN      ] S3FileSystemRegionTest.EnvironmentVariable
[       OK ] S3FileSystemRegionTest.EnvironmentVariable (7 ms)
[----------] 2 tests from S3FileSystemRegionTest (10 ms total)

[----------] 1 test from TestMinioServer
[ RUN      ] TestMinioServer.Connect
6/f7f6/f7f6^[\^[[45;1R^[[45;1R^[]11;rgb:f7f6/f7f6/f7f6^[\^[[45;1R^[]11;rgb:f7f6/f7f6/f7f6^[\^[[45;1R^[]11;rgb:f7f6/f7f6/f7f6^[\^[[45;1R^[]11;rgb:f7f6/f7f6/f7f6^[\^[[45;1R^[]11;rgb:f7f6/f7f6/f7f6^[\^[[45;1R^[]11;rgb:f7f6/f7f6/f7f6^[\^[[45;1R[       OK ] TestMinioServer.Connect (5426 ms)
[----------] 1 test from TestMinioServer (5426 ms total)

[----------] 32 tests from TestS3FS
[ RUN      ] TestS3FS.GetFileInfoRoot
[       OK ] TestS3FS.GetFileInfoRoot (20 ms)
[ RUN      ] TestS3FS.GetFileInfoBucket
[       OK ] TestS3FS.GetFileInfoBucket (23 ms)
[ RUN      ] TestS3FS.GetFileInfoObject
[       OK ] TestS3FS.GetFileInfoObject (52 ms)
[ RUN      ] TestS3FS.GetFileInfoSelector
[       OK ] TestS3FS.GetFileInfoSelector (58 ms)
[ RUN      ] TestS3FS.GetFileInfoSelectorRecursive
[       OK ] TestS3FS.GetFileInfoSelectorRecursive (53 ms)
[ RUN      ] TestS3FS.GetFileInfoGenerator
[       OK ] TestS3FS.GetFileInfoGenerator (57 ms)
[ RUN      ] TestS3FS.GetFileInfoGeneratorStress
[       OK ] TestS3FS.GetFileInfoGeneratorStress (7573 ms)
[ RUN      ] TestS3FS.GetFileInfoGeneratorCancelled
[       OK ] TestS3FS.GetFileInfoGeneratorCancelled (20 ms)
[ RUN      ] TestS3FS.CreateDir
/Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/s3fs_test.cc:955: Failure
Failed
Expected 'fs_->CreateDir("bucket/somefile")' to fail with IOError, but got OK
[  FAILED  ] TestS3FS.CreateDir (50 ms)
[ RUN      ] TestS3FS.DeleteFile
[       OK ] TestS3FS.DeleteFile (30 ms)
[ RUN      ] TestS3FS.DeleteDir
[       OK ] TestS3FS.DeleteDir (74 ms)
[ RUN      ] TestS3FS.DeleteDirContents
[       OK ] TestS3FS.DeleteDirContents (79 ms)
[ RUN      ] TestS3FS.DeleteDirContentsAsync
[       OK ] TestS3FS.DeleteDirContentsAsync (61 ms)
[ RUN      ] TestS3FS.CopyFile
[       OK ] TestS3FS.CopyFile (68 ms)
[ RUN      ] TestS3FS.Move
[       OK ] TestS3FS.Move (77 ms)
[ RUN      ] TestS3FS.OpenInputStream
[       OK ] TestS3FS.OpenInputStream (48 ms)
[ RUN      ] TestS3FS.OpenInputStreamMetadata
[       OK ] TestS3FS.OpenInputStreamMetadata (43 ms)
[ RUN      ] TestS3FS.OpenInputFile
[       OK ] TestS3FS.OpenInputFile (54 ms)
[ RUN      ] TestS3FS.OpenOutputStreamBackgroundWrites
[       OK ] TestS3FS.OpenOutputStreamBackgroundWrites (540 ms)
[ RUN      ] TestS3FS.OpenOutputStreamSyncWrites
[       OK ] TestS3FS.OpenOutputStreamSyncWrites (496 ms)
[ RUN      ] TestS3FS.OpenOutputStreamAbortBackgroundWrites
[       OK ] TestS3FS.OpenOutputStreamAbortBackgroundWrites (24 ms)
[ RUN      ] TestS3FS.OpenOutputStreamAbortSyncWrites
[       OK ] TestS3FS.OpenOutputStreamAbortSyncWrites (25 ms)
[ RUN      ] TestS3FS.OpenOutputStreamDestructorBackgroundWrites
[       OK ] TestS3FS.OpenOutputStreamDestructorBackgroundWrites (32 ms)
[ RUN      ] TestS3FS.OpenOutputStreamDestructorSyncWrite
[       OK ] TestS3FS.OpenOutputStreamDestructorSyncWrite (46 ms)
[ RUN      ] TestS3FS.OpenOutputStreamAsyncDestructorBackgroundWrites
[       OK ] TestS3FS.OpenOutputStreamAsyncDestructorBackgroundWrites (63 ms)
[ RUN      ] TestS3FS.OpenOutputStreamAsyncDestructorSyncWrite
[       OK ] TestS3FS.OpenOutputStreamAsyncDestructorSyncWrite (73 ms)
[ RUN      ] TestS3FS.OpenOutputStreamCloseAsyncFutureDeadlockBackgroundWrites
[       OK ] TestS3FS.OpenOutputStreamCloseAsyncFutureDeadlockBackgroundWrites (75 ms)
[ RUN      ] TestS3FS.OpenOutputStreamCloseAsyncFutureDeadlockSyncWrite
[       OK ] TestS3FS.OpenOutputStreamCloseAsyncFutureDeadlockSyncWrite (73 ms)
[ RUN      ] TestS3FS.OpenOutputStreamMetadata
[       OK ] TestS3FS.OpenOutputStreamMetadata (97 ms)
[ RUN      ] TestS3FS.FileSystemFromUri
[       OK ] TestS3FS.FileSystemFromUri (36 ms)
[ RUN      ] TestS3FS.NoCreateDeleteBucket
[       OK ] TestS3FS.NoCreateDeleteBucket (53 ms)
[ RUN      ] TestS3FS.CustomRetryStrategy
[       OK ] TestS3FS.CustomRetryStrategy (42 ms)
[----------] 32 tests from TestS3FS (10129 ms total)

[----------] 26 tests from TestS3FSGeneric
[ RUN      ] TestS3FSGeneric.Empty
[       OK ] TestS3FSGeneric.Empty (26 ms)
[ RUN      ] TestS3FSGeneric.NormalizePath
[       OK ] TestS3FSGeneric.NormalizePath (24 ms)
[ RUN      ] TestS3FSGeneric.CreateDir
/Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/test_util.cc:244: Failure
Failed
Expected 'fs->CreateDir("AB/def/EF/GH", true )' to fail with IOError, but got OK
[  FAILED  ] TestS3FSGeneric.CreateDir (101 ms)
[ RUN      ] TestS3FSGeneric.DeleteDir
[       OK ] TestS3FSGeneric.DeleteDir (161 ms)
[ RUN      ] TestS3FSGeneric.DeleteDirContents
[       OK ] TestS3FSGeneric.DeleteDirContents (83 ms)
[ RUN      ] TestS3FSGeneric.DeleteRootDirContents
[       OK ] TestS3FSGeneric.DeleteRootDirContents (37 ms)
[ RUN      ] TestS3FSGeneric.DeleteFile
[       OK ] TestS3FSGeneric.DeleteFile (57 ms)
[ RUN      ] TestS3FSGeneric.DeleteFiles
[       OK ] TestS3FSGeneric.DeleteFiles (107 ms)
[ RUN      ] TestS3FSGeneric.MoveFile
/Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/test_util.cc:450: Failure
Failed
Expected 'fs->Move("AB/pqr", "xxx/mno")' to fail with IOError, but got OK
[  FAILED  ] TestS3FSGeneric.MoveFile (127 ms)
[ RUN      ] TestS3FSGeneric.MoveDir
/Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/test_util.cc:461: Skipped
Filesystem doesn't allow moving directories
[  SKIPPED ] TestS3FSGeneric.MoveDir (20 ms)
[ RUN      ] TestS3FSGeneric.CopyFile
/Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/test_util.cc:572: Failure
Failed
Expected 'fs->CopyFile("AB/abc", "def/mno")' to fail with IOError, but got OK
[  FAILED  ] TestS3FSGeneric.CopyFile (68 ms)
[ RUN      ] TestS3FSGeneric.GetFileInfo
[       OK ] TestS3FSGeneric.GetFileInfo (60 ms)
[ RUN      ] TestS3FSGeneric.GetFileInfoVector
[       OK ] TestS3FSGeneric.GetFileInfoVector (68 ms)
[ RUN      ] TestS3FSGeneric.GetFileInfoSelector
[       OK ] TestS3FSGeneric.GetFileInfoSelector (91 ms)
[ RUN      ] TestS3FSGeneric.GetFileInfoSelectorWithRecursion
[       OK ] TestS3FSGeneric.GetFileInfoSelectorWithRecursion (91 ms)
[ RUN      ] TestS3FSGeneric.GetFileInfoAsync
[       OK ] TestS3FSGeneric.GetFileInfoAsync (54 ms)
[ RUN      ] TestS3FSGeneric.GetFileInfoGenerator
[       OK ] TestS3FSGeneric.GetFileInfoGenerator (73 ms)
[ RUN      ] TestS3FSGeneric.OpenOutputStream
[       OK ] TestS3FSGeneric.OpenOutputStream (84 ms)
[ RUN      ] TestS3FSGeneric.OpenAppendStream
/Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/test_util.cc:946: Skipped
Filesystem doesn't allow file appends
[  SKIPPED ] TestS3FSGeneric.OpenAppendStream (18 ms)
[ RUN      ] TestS3FSGeneric.OpenInputStream
[       OK ] TestS3FSGeneric.OpenInputStream (56 ms)
[ RUN      ] TestS3FSGeneric.OpenInputStreamWithFileInfo
[       OK ] TestS3FSGeneric.OpenInputStreamWithFileInfo (70 ms)
[ RUN      ] TestS3FSGeneric.OpenInputStreamAsync
[       OK ] TestS3FSGeneric.OpenInputStreamAsync (50 ms)
[ RUN      ] TestS3FSGeneric.OpenInputFile
[       OK ] TestS3FSGeneric.OpenInputFile (79 ms)
[ RUN      ] TestS3FSGeneric.OpenInputFileWithFileInfo
[       OK ] TestS3FSGeneric.OpenInputFileWithFileInfo (68 ms)
[ RUN      ] TestS3FSGeneric.OpenInputFileAsync
[       OK ] TestS3FSGeneric.OpenInputFileAsync (48 ms)
[ RUN      ] TestS3FSGeneric.SpecialChars
[       OK ] TestS3FSGeneric.SpecialChars (87 ms)
[----------] 26 tests from TestS3FSGeneric (1820 ms total)

[----------] 1 test from S3GlobalOptions
[ RUN      ] S3GlobalOptions.DefaultsLogLevel
[       OK ] S3GlobalOptions.DefaultsLogLevel (0 ms)
[----------] 1 test from S3GlobalOptions (0 ms total)

[----------] Global test environment tear-down
[==========] 69 tests from 7 test suites ran. (18664 ms total)
[  PASSED  ] 63 tests.
[  SKIPPED ] 2 tests, listed below:
[  SKIPPED ] TestS3FSGeneric.MoveDir
[  SKIPPED ] TestS3FSGeneric.OpenAppendStream
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] TestS3FS.CreateDir
[  FAILED  ] TestS3FSGeneric.CreateDir
[  FAILED  ] TestS3FSGeneric.MoveFile
[  FAILED  ] TestS3FSGeneric.CopyFile

 4 FAILED TESTS

~/src/apache/arrow/cpp/build main* ≡ ⇣ 18s
❯ ]11;rgb:f7f6/f7f6/f7f6\[45;1R]11;rgb:f7f6/f7f6/f7f6\[45;1R]11;rgb:f7f6/f7f6/f7f6\[45;1R]11;rgb:f7f6/f7f6/f7f6\[45;1R]11;rgb:f7f6/f7f6/f7f6\[45;1R

@llama90
Copy link
Contributor Author

llama90 commented Jul 11, 2024

I confirmed it too. Thank you for your effort, @kou. You are very awesome! Could I create the PR to resolve this? Or will you handle it @amoeba.

Thank you, as always.

kou pushed a commit that referenced this issue Jul 15, 2024
### Rationale for this change

To resolve conflicts with AWS SDK for C++ static variables when linked with libarrow by ensuring correct link order.

### What changes are included in this PR?

- Adjusted `CMakeLists.txt` to set `ARROW_S3_TEST_EXTRA_LINK_LIBS`.
- Ensured `libarrow` is linked before `libaws*` libraries.
- Updated `s3fs_test` configuration to use the new link order.

### Are these changes tested?

I ran the test locally and observed the same result as mentioned. Additionally, I confirmed that if `ARROW_S3` is set to OFF or if the configuration includes `exclude_tests=arrow-s3fs-test`, the test is excluded.

### Are there any user-facing changes?

No.

* GitHub Issue: #43164

Authored-by: Hyunseok Seo <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@kou
Copy link
Member

kou commented Jul 15, 2024

Issue resolved by pull request 43230
#43230

@kou kou added this to the 18.0.0 milestone Jul 15, 2024
@kou kou closed this as completed Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: C++ Type: usage Issue is a user question
Projects
None yet
Development

No branches or pull requests

3 participants