cargo-udeps
cargo-udeps copied to clipboard
regression test failure on macOS sonoma
While trying to build bottle for Sonoma, run into the following test failure
==> cargo udeps 2>&1
sh: line 1: 9368 Abort trap: 6 cargo udeps 2>&1
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x6000024400c0'
*** First throw call stack:
(
0 CoreFoundation 0x000000018a1848c0 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000189c7deb4 objc_exception_throw + 60
2 CoreFoundation 0x000000018a2363dc -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000018a0ee9e4 ___forwarding___ + 1572
4 CoreFoundation 0x000000018a0ee300 _CF_forwarding_prep_0 + 96
5 Foundation 0x000000018b1c34f0 -[NSProcessInfo arguments] + 188
6 CoreFoundation 0x000000018a1ffff8 __getDefaultArguments_block_invoke + 96
7 libdispatch.dylib 0x0000000189e85[91](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:92)0 _dispatch_client_callout + 20
8 libdispatch.dylib 0x0000000189e8714c _dispatch_once_callout + 32
9 CoreFoundation 0x000000018a1ff994 _addBackstopValuesForIdentifierAndSource + 640
10 CoreFoundation 0x000000018a0ba254 __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
11 CoreFoundation 0x000000018a1ff63c -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
12 CoreFoundation 0x000000018a0c05c4 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
13 CoreFoundation 0x000000018a23e8bc __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
14 CoreFoundation 0x000000018a23e564 -[_CFXPreferences withSearchLists:] + 84
15 CoreFoundation 0x000000018a0bbb18 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
16 CoreFoundation 0x000000018a23e710 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
17 CoreFoundation 0x000000018a0bb440 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
18 CoreFoundation 0x000000018a0bb368 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
19 SystemConfiguration 0x000000018ae4b478 SCDynamicStoreCopyProxiesWithOptions + 180
20 cargo-udeps 0x0000000103277c7c cargo-udeps + 7126140
21 cargo-udeps 0x0000000103266518 cargo-udeps + 7054616
22 cargo-udeps 0x0000000102f99648 cargo-udeps + 4118088
23 cargo-udeps 0x000000010331f964 cargo-udeps + 7813476
24 cargo-udeps 0x0000000102f995b8 cargo-udeps + 4117944
25 dyld 0x0000000189cd55c8 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
26 dyld 0x0000000189d1a[92](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:93)0 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.209 + 340
27 dyld 0x0000000189d0dc60 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
28 dyld 0x0000000189cb52fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
Warning: test failed
29 dyld 0x0000000189d0cc98 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
30 dyld 0x0000000189d1a434 _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 516
31 dyld 0x0000000189cd1798 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 448
32 dyld 0x0000000189cd7b14 _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 36
33 dyld 0x0000000189cd1b4c _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 220
34 dyld 0x0000000189cd5654 _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 112
35 dyld 0x0000000189cd1ccc _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 304
36 dyld 0x0000000189cf6ad4 _ZN5dyld44APIs25runAllInitializersForMainEv + 464
37 dyld 0x0000000189cb9f34 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3192
38 dyld 0x0000000189cb8f44 start + 1[94](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:95)8
)
libc++abi: terminating due to uncaught exception of type NSException
Error: cargo-udeps: failed
An exception occurred within a child process:
Minitest::Assertion: Expected: [101](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:102)
Actual: [134](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:135)
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980
+1
facing this same error
same error here
reinstalling udeps seems to have fixed the issue for me
I've got the same issue. Reinstalling udeps didn't work for me.
i tried reinstall multiple time with cargo and brew but still got the same err
That's a curl bug. Upstream issue:
alexcrichton/curl-rust#524
Also related: aria2/aria2#2083 esp-rs/espflash#463 nabijaczleweli/cargo-update#240 mitsuhiko/rye#428
👋
Upstream curl issue had been fixed, new curl-sys
version had been released and seems to work on Sonoma.
See https://github.com/alexcrichton/curl-rust/issues/524#issuecomment-1753070751 for more details.
Should be good for quite some time now. Closing.