cargo-outdated
cargo-outdated copied to clipboard
Issue running `cargo outdated` on macOS Sonoma
I am running 14.0 (23A344)
. After reinstalling cargo-outdated
due to some issues with OpenSSL, I encountered this issue:
% cargo outdated
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x600000e68140'
*** First throw call stack:
(
0 CoreFoundation 0x00000001877a88c0 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x00000001872a1eb4 objc_exception_throw + 60
2 CoreFoundation 0x000000018785a3dc -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00000001877129e4 ___forwarding___ + 1572
4 CoreFoundation 0x0000000187712300 _CF_forwarding_prep_0 + 96
5 Foundation 0x00000001887e74f0 -[NSProcessInfo arguments] + 188
6 CoreFoundation 0x0000000187823ff8 __getDefaultArguments_block_invoke + 96
7 libdispatch.dylib 0x00000001874a9910 _dispatch_client_callout + 20
8 libdispatch.dylib 0x00000001874ab14c _dispatch_once_callout + 32
9 CoreFoundation 0x0000000187823994 _addBackstopValuesForIdentifierAndSource + 640
10 CoreFoundation 0x00000001876de254 __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
11 CoreFoundation 0x000000018782363c -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
12 CoreFoundation 0x00000001876e45c4 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
13 CoreFoundation 0x00000001878628bc __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
14 CoreFoundation 0x0000000187862564 -[_CFXPreferences withSearchLists:] + 84
15 CoreFoundation 0x00000001876dfb18 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
16 CoreFoundation 0x0000000187862710 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
17 CoreFoundation 0x00000001876df440 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
18 CoreFoundation 0x00000001876df368 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
19 SystemConfiguration 0x000000018846f478 SCDynamicStoreCopyProxiesWithOptions + 180
20 cargo-outdated 0x0000000102897ee8 Curl_macos_init + 16
21 cargo-outdated 0x0000000102886138 curl_global_init + 176
22 cargo-outdated 0x000000010257e1f4 _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h38c995a65cc85da9E + 36
23 cargo-outdated 0x0000000102914410 _ZN3std10sys_common4once5queue4Once4call17h91f439c46837f92aE + 1180
24 cargo-outdated 0x00000001025807a4 _ZN4curl9INIT_CTOR9init_ctor17he8dfb5d648f1d0f5E + 96
25 dyld 0x00000001872f95c8 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
26 dyld 0x000000018733e920 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.209 + 340
27 dyld 0x0000000187331c60 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
28 dyld 0x00000001872d92fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
29 dyld 0x0000000187330c98 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
30 dyld 0x000000018733e434 _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 516
31 dyld 0x00000001872f5798 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 448
32 dyld 0x00000001872fbb14 _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 36
33 dyld 0x00000001872f5b4c _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 220
34 dyld 0x00000001872f9654 _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 112
35 dyld 0x00000001872f5ccc _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 304
36 dyld 0x000000018731aad4 _ZN5dyld44APIs25runAllInitializersForMainEv + 464
37 dyld 0x00000001872ddf34 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3192
38 dyld 0x00000001872dcf44 start + 1948
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort cargo outdated
I have the same issue.
This is being caused by https://github.com/alexcrichton/curl-rust/issues/524
A fix for this is available, and running: cargo update -p curl-sys
will update the curl-sys dependency in the Cargo.lock
.
If you have a broken cargo-outdated
, you should just need to reinstall it with cargo install --force cargo-outdated
. That should rebuild it with the working curl-sys
.