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

Error compiling async-http-client on 6.0.3-RELEASE arm64-apple-macosx15.0 #78644

Open
AndrewBarba opened this issue Jan 15, 2025 · 2 comments
Open
Labels
arm64 Architecture: arm64 (aarch64) — any 64-bit ARM bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software macOS Platform: macOS

Comments

@AndrewBarba
Copy link

Description

When attempting to build async-http-client on 6.0.3-RELEASE arm64-apple-macosx15.0 the compiler crashes at NIOTransportServices/NWErrorHandler.swift:28:20

Notably, compiling NIOTransportServices directly works fine. As well as the non-macos variants of 6.0.3-RELEASE.

Reproduction

git clone https://github.com/swift-server/async-http-client.git
cd async-http-client
git checkout 1.24.0
swift build

Stack dump

warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
Building for debugging...
error: compile command failed due to signal 6 (use -v to see invocation)
Failed to reconstruct type for $s6Darwin14POSIXErrorCodeOD
Original type:
(enum_type decl="_errno.(file).POSIXErrorCode")
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Pass '-Xfrontend -disable-round-trip-debug-types' to disable this assertion.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.      Program arguments: /Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/AnyAsyncSequence.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/AnyAsyncSequenceProucerDelete.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/AsyncLazySequence.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/HTTPClient+execute.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/HTTPClient+shutdown.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/HTTPClientRequest+Prepared.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/HTTPClientRequest+auth.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/HTTPClientRequest.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/HTTPClientResponse.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/SingleIteratorPrecondition.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/Transaction+StateMachine.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/Transaction.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/Base64.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/BasicAuth.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/BestEffortHashableTLSConfiguration.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/Configuration+BrowserLike.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/ChannelHandler/HTTP1ProxyConnectHandler.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/ChannelHandler/SOCKSEventsHandler.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/ChannelHandler/TLSEventsHandler.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ClientChannelHandler.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1Connection.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ConnectionStateMachine.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP2/HTTP2ClientRequestHandler.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP2/HTTP2Connection.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP2/HTTP2IdleHandler.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionEvent.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool+Factory.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool+Manager.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPConnectionPool.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPExecutableRequest.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPRequestStateMachine+Demand.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPRequestStateMachine.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/RequestBodyLength.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/RequestFramingMetadata.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/RequestOptions.swift "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+Backoff.swift" "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+HTTP1Connections.swift" "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+HTTP1StateMachine.swift" "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+HTTP2Connections.swift" "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+HTTP2StateMachine.swift" "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+RequestQueue.swift" "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/State Machine/HTTPConnectionPool+StateMachine.swift" /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/ConnectionTarget.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/DeconstructedURL.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/FileDownloadDelegate.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/FoundationExtensions.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/HTTPClient+HTTPCookie.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/HTTPClient+Proxy.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/HTTPHandler.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/LRUCache.swift -primary-file /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/NIOTransportServices/NWErrorHandler.swift -primary-file /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/NIOTransportServices/NWWaitingHandler.swift -primary-file /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/NIOTransportServices/TLSConfiguration.swift -primary-file /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/RedirectState.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/RequestBag+StateMachine.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/RequestBag.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/RequestValidation.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/SSLContextCache.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/Scheme.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/Singleton.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/StringConvertibleInstances.swift /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/Utils.swift -supplementary-output-file-map /var/folders/d5/p1591xln3wd7pwj97ymk9nb00000gn/T/TemporaryDirectory.XVPaBI/supplementaryOutputs-12 -target arm64-apple-macosx10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -I /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/Modules -I /Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/usr/lib/swift/macosx/testing -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -plugin-path /Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/usr/lib/swift/host/plugins/testing -resource-dir /Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/andrewbarba/Code/SwiftCloud/async-http-client -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio-extras/Sources/CNIOExtrasZlib/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CNIOLLHTTP.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CNIOWASI.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CNIOLinux.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CNIODarwin.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CNIOAtomics.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -fmodule-map-file=/Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/CAsyncHTTPClient.build/module.modulemap -Xcc -I -Xcc /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/CAsyncHTTPClient/include -Xcc -isysroot -Xcc /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -Xcc -F -Xcc /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name AsyncHTTPClient -plugin-path /Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 15.2 -target-sdk-name macosx15.2 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/AsyncHTTPClient.build/NWErrorHandler.swift.o -o /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/AsyncHTTPClient.build/NWWaitingHandler.swift.o -o /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/AsyncHTTPClient.build/TLSConfiguration.swift.o -o /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/AsyncHTTPClient.build/RedirectState.swift.o -index-store-path /Users/andrewbarba/Code/SwiftCloud/async-http-client/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1.      Apple Swift version 6.0.3 (swift-6.0.3-RELEASE)
2.      Compiling with effective version 5.10
3.      While evaluating request IRGenRequest(IR Generation for file "/Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/NIOTransportServices/NWErrorHandler.swift")
4.      While emitting IR SIL function "@$s15AsyncHTTPClient0B0C12NWPOSIXErrorV9errorCode6Darwin010POSIXErrorE0Ovg".
 for getter for errorCode (at /Users/andrewbarba/Code/SwiftCloud/async-http-client/Sources/AsyncHTTPClient/NIOTransportServices/NWErrorHandler.swift:28:20)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x00000001097a00f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x000000010979e8c4 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x00000001097a0740 SignalHandler(int) + 304
3  libsystem_platform.dylib 0x0000000189bf2e04 _sigtramp + 56
4  libsystem_pthread.dylib  0x0000000189bbbf70 pthread_kill + 288
5  libsystem_c.dylib        0x0000000189ac8908 abort + 128
6  swift-frontend           0x0000000109857910 (anonymous namespace)::IRGenDebugInfoImpl::getOrCreateType(swift::irgen::DebugTypeInfo) (.cold.24) + 0
7  swift-frontend           0x00000001047c258c (anonymous namespace)::IRGenDebugInfoImpl::getOrCreateType(swift::irgen::DebugTypeInfo) + 3792
8  swift-frontend           0x00000001047c2904 (anonymous namespace)::IRGenDebugInfoImpl::createParameterTypes(swift::CanTypeWrapper<swift::SILFunctionType>) + 784
9  swift-frontend           0x00000001047bb2d0 (anonymous namespace)::IRGenDebugInfoImpl::emitFunction(swift::SILDebugScope const*, llvm::Function*, swift::SILFunctionTypeRepresentation, swift::SILType, swift::DeclContext*, llvm::StringRef) + 2124
10 swift-frontend           0x00000001047fc5d0 (anonymous namespace)::IRGenSILFunction::emitSILFunction() + 824
11 swift-frontend           0x00000001047fbd04 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 1592
12 swift-frontend           0x000000010469bdd0 swift::irgen::IRGenerator::emitGlobalTopLevel(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&) + 740
13 swift-frontend           0x00000001047adc5c swift::IRGenRequest::evaluate(swift::Evaluator&, swift::IRGenDescriptor) const + 2172
14 swift-frontend           0x00000001047fb1c0 swift::GeneratedModule swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule (swift::IRGenDescriptor), (swift::RequestFlags)9>::callDerived<0ul>(swift::Evaluator&, std::__1::integer_sequence<unsigned long, 0ul>) const + 200
15 swift-frontend           0x00000001047b6214 swift::IRGenRequest::OutputType swift::Evaluator::getResultUncached<swift::IRGenRequest, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()>(swift::IRGenRequest const&, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()) + 212
16 swift-frontend           0x00000001047afc74 swift::performIRGeneration(swift::FileUnit*, swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::GlobalVariable**) + 208
17 swift-frontend           0x00000001042ba2bc generateIR(swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, llvm::GlobalVariable*&, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>) + 156
18 swift-frontend           0x00000001042b6cf0 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1416
19 swift-frontend           0x00000001042b6150 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 656
20 swift-frontend           0x00000001042c1e5c withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 160
21 swift-frontend           0x00000001042b8028 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
22 swift-frontend           0x00000001042b76fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2344
23 swift-frontend           0x00000001040cdedc swift::mainEntry(int, char const**) + 3096
24 dyld                     0x000000018983c274 start + 2840

Expected behavior

Builds correctly

Environment

Apple Swift version 6.0.3 (swift-6.0.3-RELEASE)
Target: arm64-apple-macosx15.0

Additional information

No response

@AndrewBarba AndrewBarba added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software triage needed This issue needs more specific labels labels Jan 15, 2025
@finagolfin finagolfin added arm64 Architecture: arm64 (aarch64) — any 64-bit ARM macOS Platform: macOS and removed triage needed This issue needs more specific labels labels Jan 16, 2025
@finagolfin
Copy link
Member

Can you check if this is fixed in the 6.2 trunk snapshot compiler?

@toffaletti
Copy link
Contributor

Same issue as #76788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm64 Architecture: arm64 (aarch64) — any 64-bit ARM bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. crash Bug: A crash, i.e., an abnormal termination of software macOS Platform: macOS
Projects
None yet
Development

No branches or pull requests

3 participants