alexcrichton / curl-rust

Rust bindings to libcurl
MIT License
1k stars 234 forks source link

Link with CoreServices to fix macOs curl init crash #530

Closed SomeoneToIgnore closed 8 months ago

SomeoneToIgnore commented 9 months ago

Closes https://github.com/alexcrichton/curl-rust/issues/524

Fix macOs Sonoma curl initialization crash: https://github.com/curl/curl/issues/11893 by linking with CoreServices as the corresponding curl fix did: https://github.com/curl/curl/commit/6ab7e1990bd548059f08c471d20537bca13c67b6

SomeoneToIgnore commented 9 months ago

I am trying to fix the initialization crash with this patch, but when I apply patch on top of https://github.com/sagebind/isahc and run cargo test, I get the same error as in the issue above:

diff --git a/Cargo.toml b/Cargo.toml
index d797d20..af49991 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,12 +50,14 @@ waker-fn = "1" # async primitive

 # underlying HTTP engine that powers Isahc
 [dependencies.curl]
-version = "0.4.43"
+git = "https://github.com/SomeoneToIgnore/curl-rust"
+branch = "update-curl"
 default-features = false

 # access to certain curl APIs not exposed in safe wrapper
 [dependencies.curl-sys]
-version = "0.4.55"
+git = "https://github.com/SomeoneToIgnore/curl-rust"
+branch = "update-curl"
 default-features = false

 # used in TLS cert parsing
diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml
index ddbf688..d3c12d4 100644
--- a/benchmarks/Cargo.toml
+++ b/benchmarks/Cargo.toml
@@ -6,11 +6,14 @@ publish = false

 [dependencies]
 criterion = "0.4"
-curl = "0.4.42"
 rayon = "1"
 rouille = "3"
 reqwest = { version = "0.11.10", features = ["blocking"] }

+[dependencies.curl]
+git = "https://github.com/SomeoneToIgnore/curl-rust"
+branch = "update-curl"
+
 [dependencies.isahc]
 path = ".."

Yet, it appears in curl changelog for curl and libcurl 8.4.0

cmake, configure: also link with CoreServices [32]

is present that includes https://github.com/curl/curl/commit/6ab7e1990bd548059f08c471d20537bca13c67b6

What am I doing wrong and how could I fix curl init for Sonoma?

ehuss commented 9 months ago

Thanks for trying to help! However, I think this has several issues:

A. We have to wait for 8.4 to be released before the version can be updated. B. Updating involves more than just bumping the version number. The submodule and build scripts need to be updated (https://github.com/alexcrichton/curl-rust/pull/528 is a recent example). C. Updating won't fix the issue you are experiencing. The Rust package does not use cmake to build, and it looks like the upstream changes were specifically in the cmake scripts. The build.rs would need to be updated to mirror whatever changes were done upstream.

SomeoneToIgnore commented 9 months ago

Thank you for the elaborations, I have gotten confused by the changelog entry and missed the actual release being absent. Is there a way to use master branch of curl locally to test the upcoming 8.4.0 version somehow? I think I'll be able to address the rest of the feedback as soon as I can make it practical.

SomeoneToIgnore commented 9 months ago

I have pushed the build.rs update and ensured that the updated curl-sys submodule (to latest master commit which is 65729f65c7c5 there currently) fixes isahc test failures. Looks like all that's left is to wait for the proper curl release and update it here — I plan to do that when it happens, but please let me know if I overlooked things and there's something else to do.

One side note: curl build seems to emit a lot of warnings currently:

curl deprecation warnings during build ```log warning: curl/lib/mprintf.c:975:10: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] warning: (sprintf)(work, formatbuf, p->data.dnum); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here warning: __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg' warning: #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) warning: ^ warning: 1 warning generated. warning: curl/lib/vtls/sectransp.c:1207:7: warning: 'CFURLCreateDataAndPropertiesFromResource' is deprecated: first deprecated in macOS 10.9 - For resource data, use the CFReadStream API. For file resource properties, use CFURLCopyResourcePropertiesForKeys. [-Wdeprecated-declarations] warning: CFURLCreateDataAndPropertiesFromResource(NULL, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h:52:9: note: 'CFURLCreateDataAndPropertiesFromResource' has been explicitly marked deprecated here warning: Boolean CFURLCreateDataAndPropertiesFromResource(CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode) API_DEPRECATED("For resource data, use the CFReadStream API. For file resource properties, use CFURLCopyResourcePropertiesForKeys.", macos(10.0,10.9), ios(2.0,7.0), watchos(2.0,2.0), tvos(9.0,9.0)); warning: ^ warning: curl/lib/vtls/sectransp.c:1320:20: warning: 'kTLSProtocol1' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: *darwinver = kTLSProtocol1; warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:157:5: note: 'kTLSProtocol1' has been explicitly marked deprecated here warning: kTLSProtocol1 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 4, warning: ^ warning: curl/lib/vtls/sectransp.c:1323:20: warning: 'kTLSProtocol11' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: *darwinver = kTLSProtocol11; warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:158:5: note: 'kTLSProtocol11' has been explicitly marked deprecated here warning: kTLSProtocol11 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 7, warning: ^ warning: curl/lib/vtls/sectransp.c:1326:20: warning: 'kTLSProtocol12' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: *darwinver = kTLSProtocol12; warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:159:5: note: 'kTLSProtocol12' has been explicitly marked deprecated here warning: kTLSProtocol12 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 8, warning: ^ warning: curl/lib/vtls/sectransp.c:1332:22: warning: 'kTLSProtocol13' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: *darwinver = kTLSProtocol13; warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:161:5: note: 'kTLSProtocol13' has been explicitly marked deprecated here warning: kTLSProtocol13 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 10, warning: ^ warning: curl/lib/vtls/sectransp.c:1386:6: warning: 'SSLSetProtocolVersionMax' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: if(SSLSetProtocolVersionMax) { warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:494:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked deprecated here warning: SSLSetProtocolVersionMax (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1387:34: warning: 'kTLSProtocol1' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: SSLProtocol darwin_ver_min = kTLSProtocol1; warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:157:5: note: 'kTLSProtocol1' has been explicitly marked deprecated here warning: kTLSProtocol1 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 4, warning: ^ warning: curl/lib/vtls/sectransp.c:1388:34: warning: 'kTLSProtocol1' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: SSLProtocol darwin_ver_max = kTLSProtocol1; warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:157:5: note: 'kTLSProtocol1' has been explicitly marked deprecated here warning: kTLSProtocol1 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 4, warning: ^ warning: curl/lib/vtls/sectransp.c:1402:11: warning: 'SSLSetProtocolVersionMin' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMin(backend->ssl_ctx, darwin_ver_min); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:458:1: note: 'SSLSetProtocolVersionMin' has been explicitly marked deprecated here warning: SSLSetProtocolVersionMin (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1403:11: warning: 'SSLSetProtocolVersionMax' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMax(backend->ssl_ctx, darwin_ver_max); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:494:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked deprecated here warning: SSLSetProtocolVersionMax (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1488:9: warning: 'SSLGetNumberSupportedCiphers' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLGetNumberSupportedCiphers(ssl_ctx, &all_ciphers_count); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:818:1: note: 'SSLGetNumberSupportedCiphers' has been explicitly marked deprecated here warning: SSLGetNumberSupportedCiphers (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1505:9: warning: 'SSLGetSupportedCiphers' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLGetSupportedCiphers(ssl_ctx, all_ciphers, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:832:1: note: 'SSLGetSupportedCiphers' has been explicitly marked deprecated here warning: SSLGetSupportedCiphers (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1527:9: warning: 'SSLSetEnabledCiphers' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetEnabledCiphers(ssl_ctx, allowed_ciphers, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:865:1: note: 'SSLSetEnabledCiphers' has been explicitly marked deprecated here warning: SSLSetEnabledCiphers (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1631:9: warning: 'SSLSetEnabledCiphers' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetEnabledCiphers(ssl_ctx, selected_ciphers, ciphers_count); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:865:1: note: 'SSLSetEnabledCiphers' has been explicitly marked deprecated here warning: SSLSetEnabledCiphers (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1671:6: warning: 'SSLCreateContext' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: if(SSLCreateContext) { /* use the newer API if available */ warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:316:1: note: 'SSLCreateContext' has been explicitly marked deprecated here warning: SSLCreateContext(CFAllocatorRef __nullable alloc, SSLProtocolSide protocolSide, SSLConnectionType connectionType) warning: ^ warning: curl/lib/vtls/sectransp.c:1674:24: warning: 'SSLCreateContext' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: backend->ssl_ctx = SSLCreateContext(NULL, kSSLClientSide, kSSLStreamType); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:316:1: note: 'SSLCreateContext' has been explicitly marked deprecated here warning: SSLCreateContext(CFAllocatorRef __nullable alloc, SSLProtocolSide protocolSide, SSLConnectionType connectionType) warning: ^ warning: curl/lib/vtls/sectransp.c:1674:47: warning: 'kSSLClientSide' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: backend->ssl_ctx = SSLCreateContext(NULL, kSSLClientSide, kSSLStreamType); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:218:5: note: 'kSSLClientSide' has been explicitly marked deprecated here warning: kSSLClientSide CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0) warning: ^ warning: curl/lib/vtls/sectransp.c:1674:63: warning: 'kSSLStreamType' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: backend->ssl_ctx = SSLCreateContext(NULL, kSSLClientSide, kSSLStreamType); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:223:5: note: 'kSSLStreamType' has been explicitly marked deprecated here warning: kSSLStreamType CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0), warning: ^ warning: curl/lib/vtls/sectransp.c:1705:6: warning: 'SSLSetProtocolVersionMax' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: if(SSLSetProtocolVersionMax) { warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:494:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked deprecated here warning: SSLSetProtocolVersionMax (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1708:13: warning: 'SSLSetProtocolVersionMin' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMin(backend->ssl_ctx, kTLSProtocol1); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:458:1: note: 'SSLSetProtocolVersionMin' has been explicitly marked deprecated here warning: SSLSetProtocolVersionMin (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1708:56: warning: 'kTLSProtocol1' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMin(backend->ssl_ctx, kTLSProtocol1); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:157:5: note: 'kTLSProtocol1' has been explicitly marked deprecated here warning: kTLSProtocol1 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 4, warning: ^ warning: curl/lib/vtls/sectransp.c:1711:15: warning: 'SSLSetProtocolVersionMax' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMax(backend->ssl_ctx, kTLSProtocol13); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:494:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked deprecated here warning: SSLSetProtocolVersionMax (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1711:58: warning: 'kTLSProtocol13' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMax(backend->ssl_ctx, kTLSProtocol13); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:161:5: note: 'kTLSProtocol13' has been explicitly marked deprecated here warning: kTLSProtocol13 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 10, warning: ^ warning: curl/lib/vtls/sectransp.c:1714:15: warning: 'SSLSetProtocolVersionMax' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMax(backend->ssl_ctx, kTLSProtocol12); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:494:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked deprecated here warning: SSLSetProtocolVersionMax (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1714:58: warning: 'kTLSProtocol12' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: (void)SSLSetProtocolVersionMax(backend->ssl_ctx, kTLSProtocol12); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:159:5: note: 'kTLSProtocol12' has been explicitly marked deprecated here warning: kTLSProtocol12 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 8, warning: ^ warning: curl/lib/vtls/sectransp.c:1829:13: warning: 'SSLSetALPNProtocols' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetALPNProtocols(backend->ssl_ctx, alpnArr); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1332:1: note: 'SSLSetALPNProtocols' has been explicitly marked deprecated here warning: SSLSetALPNProtocols (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1897:13: warning: 'SSLSetCertificate' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetCertificate(backend->ssl_ctx, certs); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:637:1: note: 'SSLSetCertificate' has been explicitly marked deprecated here warning: SSLSetCertificate (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1958:6: warning: 'SSLSetSessionOption' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: if(SSLSetSessionOption && darwinver_maj >= 13) { warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:384:1: note: 'SSLSetSessionOption' has been explicitly marked deprecated here warning: SSLSetSessionOption (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1964:11: warning: 'SSLSetSessionOption' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetSessionOption(backend->ssl_ctx, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:384:1: note: 'SSLSetSessionOption' has been explicitly marked deprecated here warning: SSLSetSessionOption (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:1965:31: warning: 'kSSLSessionOptionBreakOnServerAuth' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: kSSLSessionOptionBreakOnServerAuth, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:99:2: note: 'kSSLSessionOptionBreakOnServerAuth' has been explicitly marked deprecated here warning: kSSLSessionOptionBreakOnServerAuth CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0) = 0, warning: ^ warning: curl/lib/vtls/sectransp.c:2012:11: warning: 'SSLSetPeerDomainName' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetPeerDomainName(backend->ssl_ctx, snihost, snilen); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:686:1: note: 'SSLSetPeerDomainName' has been explicitly marked deprecated here warning: SSLSetPeerDomainName (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2049:6: warning: 'SSLSetSessionOption' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: if(SSLSetSessionOption) { warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:384:1: note: 'SSLSetSessionOption' has been explicitly marked deprecated here warning: SSLSetSessionOption (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2050:5: warning: 'SSLSetSessionOption' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: SSLSetSessionOption(backend->ssl_ctx, kSSLSessionOptionSendOneByteRecord, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:384:1: note: 'SSLSetSessionOption' has been explicitly marked deprecated here warning: SSLSetSessionOption (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2050:43: warning: 'kSSLSessionOptionSendOneByteRecord' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: SSLSetSessionOption(backend->ssl_ctx, kSSLSessionOptionSendOneByteRecord, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:123:5: note: 'kSSLSessionOptionSendOneByteRecord' has been explicitly marked deprecated here warning: kSSLSessionOptionSendOneByteRecord CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0) = 4, warning: ^ warning: curl/lib/vtls/sectransp.c:2052:5: warning: 'SSLSetSessionOption' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: SSLSetSessionOption(backend->ssl_ctx, kSSLSessionOptionFalseStart, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:384:1: note: 'SSLSetSessionOption' has been explicitly marked deprecated here warning: SSLSetSessionOption (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2052:43: warning: 'kSSLSessionOptionFalseStart' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: SSLSetSessionOption(backend->ssl_ctx, kSSLSessionOptionFalseStart, warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:117:5: note: 'kSSLSessionOptionFalseStart' has been explicitly marked deprecated here warning: kSSLSessionOptionFalseStart CF_ENUM_DEPRECATED(10_2, 10_15, 2_0, 13_0) = 3, warning: ^ warning: curl/lib/vtls/sectransp.c:2066:13: warning: 'SSLSetPeerID' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetPeerID(backend->ssl_ctx, ssl_sessionid, ssl_sessionid_len); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1285:1: note: 'SSLSetPeerID' has been explicitly marked deprecated here warning: SSLSetPeerID (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2086:13: warning: 'SSLSetPeerID' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetPeerID(backend->ssl_ctx, ssl_sessionid, ssl_sessionid_len); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1285:1: note: 'SSLSetPeerID' has been explicitly marked deprecated here warning: SSLSetPeerID (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2103:9: warning: 'SSLSetIOFuncs' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetIOFuncs(backend->ssl_ctx, bio_cf_in_read, bio_cf_out_write); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:418:1: note: 'SSLSetIOFuncs' has been explicitly marked deprecated here warning: SSLSetIOFuncs (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2109:9: warning: 'SSLSetConnection' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLSetConnection(backend->ssl_ctx, cf); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:657:1: note: 'SSLSetConnection' has been explicitly marked deprecated here warning: SSLSetConnection (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2317:9: warning: 'SSLCopyPeerTrust' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: ret = SSLCopyPeerTrust(ctx, &trust); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1261:1: note: 'SSLCopyPeerTrust' has been explicitly marked deprecated here warning: SSLCopyPeerTrust (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2340:9: warning: 'SecTrustEvaluate' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: ret = SecTrustEvaluate(trust, &trust_eval); warning: ^~~~~~~~~~~~~~~~ warning: SecTrustEvaluateWithError warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:364:10: note: 'SecTrustEvaluate' has been explicitly marked deprecated here warning: OSStatus SecTrustEvaluate(SecTrustRef trust, SecTrustResultType *result) warning: ^ warning: curl/lib/vtls/sectransp.c:2437:11: warning: 'SSLCopyPeerTrust' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: ret = SSLCopyPeerTrust(ctx, &trust); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1261:1: note: 'SSLCopyPeerTrust' has been explicitly marked deprecated here warning: SSLCopyPeerTrust (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2441:14: warning: 'SecTrustCopyPublicKey' is deprecated: first deprecated in macOS 11.0 [-Wdeprecated-declarations] warning: keyRef = SecTrustCopyPublicKey(trust); warning: ^~~~~~~~~~~~~~~~~~~~~ warning: SecTrustCopyKey warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:476:11: note: 'SecTrustCopyPublicKey' has been explicitly marked deprecated here warning: SecKeyRef SecTrustCopyPublicKey(SecTrustRef trust) warning: ^ warning: curl/lib/vtls/sectransp.c:2543:9: warning: 'SSLHandshake' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLHandshake(backend->ssl_ctx); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1641:1: note: 'SSLHandshake' has been explicitly marked deprecated here warning: SSLHandshake (SSLContextRef context) warning: ^ warning: curl/lib/vtls/sectransp.c:2780:11: warning: 'SSLGetNegotiatedCipher' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLGetNegotiatedCipher(backend->ssl_ctx, &cipher); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1314:1: note: 'SSLGetNegotiatedCipher' has been explicitly marked deprecated here warning: SSLGetNegotiatedCipher (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2781:11: warning: 'SSLGetNegotiatedProtocolVersion' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLGetNegotiatedProtocolVersion(backend->ssl_ctx, &protocol); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:803:1: note: 'SSLGetNegotiatedProtocolVersion' has been explicitly marked deprecated here warning: SSLGetNegotiatedProtocolVersion (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2783:12: warning: 'kSSLProtocol2' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: case kSSLProtocol2: warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:164:5: note: 'kSSLProtocol2' has been explicitly marked deprecated here warning: kSSLProtocol2 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 1, warning: ^ warning: curl/lib/vtls/sectransp.c:2787:12: warning: 'kSSLProtocol3' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: case kSSLProtocol3: warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:165:5: note: 'kSSLProtocol3' has been explicitly marked deprecated here warning: kSSLProtocol3 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 2, warning: ^ warning: curl/lib/vtls/sectransp.c:2791:12: warning: 'kTLSProtocol1' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: case kTLSProtocol1: warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:157:5: note: 'kTLSProtocol1' has been explicitly marked deprecated here warning: kTLSProtocol1 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 4, warning: ^ warning: curl/lib/vtls/sectransp.c:2796:12: warning: 'kTLSProtocol11' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: case kTLSProtocol11: warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:158:5: note: 'kTLSProtocol11' has been explicitly marked deprecated here warning: kTLSProtocol11 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 7, warning: ^ warning: curl/lib/vtls/sectransp.c:2800:12: warning: 'kTLSProtocol12' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: case kTLSProtocol12: warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:159:5: note: 'kTLSProtocol12' has been explicitly marked deprecated here warning: kTLSProtocol12 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 8, warning: ^ warning: curl/lib/vtls/sectransp.c:2806:12: warning: 'kTLSProtocol13' is deprecated: first deprecated in macOS 10.15 [-Wdeprecated-declarations] warning: case kTLSProtocol13: warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:161:5: note: 'kTLSProtocol13' has been explicitly marked deprecated here warning: kTLSProtocol13 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 10, warning: ^ warning: curl/lib/vtls/sectransp.c:2821:15: warning: 'SSLCopyALPNProtocols' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLCopyALPNProtocols(backend->ssl_ctx, &alpnArr); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1354:1: note: 'SSLCopyALPNProtocols' has been explicitly marked deprecated here warning: SSLCopyALPNProtocols (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2949:6: warning: 'SecTrustCopyPublicKey' is deprecated: first deprecated in macOS 11.0 [-Wdeprecated-declarations] warning: if(SecTrustCopyPublicKey) { warning: ^~~~~~~~~~~~~~~~~~~~~ warning: SecTrustCopyKey warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:476:11: note: 'SecTrustCopyPublicKey' has been explicitly marked deprecated here warning: SecKeyRef SecTrustCopyPublicKey(SecTrustRef trust) warning: ^ warning: curl/lib/vtls/sectransp.c:2951:11: warning: 'SSLCopyPeerTrust' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLCopyPeerTrust(backend->ssl_ctx, &trust); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1261:1: note: 'SSLCopyPeerTrust' has been explicitly marked deprecated here warning: SSLCopyPeerTrust (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:2959:23: warning: 'SecTrustGetCertificateAtIndex' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] warning: server_cert = SecTrustGetCertificateAtIndex(trust, i); warning: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: SecTrustCopyCertificateChain warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:523:19: note: 'SecTrustGetCertificateAtIndex' has been explicitly marked deprecated here warning: SecCertificateRef SecTrustGetCertificateAtIndex(SecTrustRef trust, CFIndex ix) warning: ^ warning: curl/lib/vtls/sectransp.c:3163:11: warning: 'SSLClose' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: (void)SSLClose(backend->ssl_ctx); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1731:1: note: 'SSLClose' has been explicitly marked deprecated here warning: SSLClose (SSLContextRef context) warning: ^ warning: curl/lib/vtls/sectransp.c:3165:8: warning: 'SSLCreateContext' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: if(SSLCreateContext) warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:316:1: note: 'SSLCreateContext' has been explicitly marked deprecated here warning: SSLCreateContext(CFAllocatorRef __nullable alloc, SSLProtocolSide protocolSide, SSLConnectionType connectionType) warning: ^ warning: curl/lib/vtls/sectransp.c:3271:11: warning: 'SSLGetBufferedReadSize' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLGetBufferedReadSize(backend->ssl_ctx, &buffer); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1705:1: note: 'SSLGetBufferedReadSize' has been explicitly marked deprecated here warning: SSLGetBufferedReadSize (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:3314:6: warning: 'SSLSetSessionOption' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: if(SSLSetSessionOption) warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:384:1: note: 'SSLSetSessionOption' has been explicitly marked deprecated here warning: SSLSetSessionOption (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:3351:11: warning: 'SSLWrite' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLWrite(backend->ssl_ctx, NULL, 0UL, &processed); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1670:1: note: 'SSLWrite' has been explicitly marked deprecated here warning: SSLWrite (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:3370:11: warning: 'SSLWrite' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLWrite(backend->ssl_ctx, mem, len, &processed); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1670:1: note: 'SSLWrite' has been explicitly marked deprecated here warning: SSLWrite (SSLContextRef context, warning: ^ warning: curl/lib/vtls/sectransp.c:3406:9: warning: 'SSLRead' is deprecated: first deprecated in macOS 10.15 - No longer supported. Use Network.framework. [-Wdeprecated-declarations] warning: err = SSLRead(backend->ssl_ctx, buf, buffersize, &processed); warning: ^ warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:1689:1: note: 'SSLRead' has been explicitly marked deprecated here warning: SSLRead (SSLContextRef context, warning: ^ warning: 64 warnings generated. Compiling isahc v1.7.0 (/Users/someonetoignore/Downloads/isahc) Finished test [unoptimized + debuginfo] target(s) in 13.34s Running unittests src/lib.rs (target/debug/deps/isahc-bc75b44d80256336) .... snip ```

that seems unrelated to current crash fix, so leaving as is but looks rather dangerous.

ehuss commented 9 months ago

Is there a particular reason to wait for a new release to fix the linking issue? Are there changes on the curl side that are needed?

SomeoneToIgnore commented 9 months ago

You're right indeed, we don't have to update curl at all, just fix the build.rs Sorry for circling around and confusing you, have pushed that single change and ensured that isahc tests now do not have the original error.

SomeoneToIgnore commented 8 months ago

@ehuss do you think we can merge this (or whatever other fix on your mind)? Even cargo-update is broken on Sonoma which makes me especially sad, and I'd like to fix it.

speelbarrow commented 8 months ago

@ehuss do you think we can merge this (or whatever other fix on your mind)? Even cargo-update is broken on Sonoma which makes me especially sad, and I'd like to fix it.

Take a look at the workarounds I suggested on nabijaczleweli/cargo-update#240

SomeoneToIgnore commented 8 months ago

Thank you, that would fix cargo-update, but there are more crates that fail for me (one has a transitive dependency on isahc and working around that is even more tedious) and instead of working around every one of them, I would love to have them all fixed, would that be possible to do somehow?

ehuss commented 8 months ago

I would recommend also applying this change to make it easier for the maintainers to publish a new version.

--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "curl-sys"
-version = "0.4.66+curl-8.3.0"
+version = "0.4.67+curl-8.3.0"
 authors = ["Alex Crichton <alex@alexcrichton.com>"]
 links = "curl"
 build = "build.rs"
SomeoneToIgnore commented 8 months ago

Thank you, Monday starts to look not that bad after this. I've bumped the version, as proposed.

SomeoneToIgnore commented 8 months ago

@alexcrichton , seems that you're the one who can help with the final steps to fix Sonoma's issues with curl: if the PR looks fine to you, could you please merge it and make another release?