Add the following code to Sources/NIOCore/ByteBuffer-multi-int.swift (or a new file in the NIOCore target):
extension ByteBuffer {
mutating func readMultipleIntegers<each T: FixedWidthInteger>(endianness: Endianness = .big, as: (repeat each T).Type = (repeat each T).self) -> (repeat each T)? {
var bytesRequired = 0
repeat bytesRequired += MemoryLayout<each T>.size
guard self.readableBytes >= bytesRequired else { return nil }
func callback(_ ptr: UnsafeRawBufferPointer) -> (Int, (repeat each T)) {
assert(ptr.count >= bytesRequired)
var offset = 0, result: (repeat each T)
switch endianness {
case .big: result = (repeat ((each T).init(bigEndian: ptr.load(fromByteOffset: offset, as: (each T).self)), offset += MemoryLayout<each T>.size).0)
case .little: result = (repeat ((each T).init(littleEndian: ptr.load(fromByteOffset: offset, as: (each T).self)), offset += MemoryLayout<each T>.size).0)
}
return (offset, result)
}
return self.readWithUnsafeReadableBytes(callback)
}
}
swift build
(Note: I have not been able to reliably reduce this repro any further yet.)
The resulting crash in a Docker container (swiftlang/swift:nightly-5.9-jammy@a08599087f732e78b9680ae21cb45d08b16f3d3787184b6714dae57644b2d0ff, tag swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-24-a) is an assertion failure:
swift-frontend: /home/build-user/swift/lib/IRGen/GenArchetype.cpp:78: swift::irgen::MetadataResponse swift::irgen::emitArchetypeTypeMetadataRef(swift::irgen::IRGenFunction &, swift::CanArchetypeType, swift::irgen::DynamicMetadataRequest): Assertion `archetype->getParent() && "Not a nested archetype"' failed.
3. While evaluating request IRGenRequest(IR Generation for file "/src/Sources/NIOCore/ByteBuffer-multi-int.swift")
4. While emitting IR SIL function "@$s7NIOCore10ByteBufferV20readMultipleIntegers10endianness2asxxQp_tSgAA10EndiannessO_xxQp_tmtRvzs17FixedWidthIntegerRzlF".
for 'readMultipleIntegers(endianness:as:)' (at /src/Sources/NIOCore/ByteBuffer-multi-int.swift:18:14)
(full trace is attached)
Expected behavior
The build completes and the variadic method is usable.
Docker Desktop for Mac 4.22.1, swiftlang/swift:nightly-5.9-jammy image with sha256 a08599087f732e78b9680ae21cb45d08b16f3d3787184b6714dae57644b2d0ff, tag swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-24-a, Swift version 5.9-dev (LLVM 46ac717ed0ec21c, Swift 05fe36c7b352712)
Description Returning a value whose type is a parameter pack captured and returned by a nested function or a closure crashes the compiler.
Steps to reproduce
git clone https://github.com/apple/swift-nio.git
cd swift-nio
git checkout 7d9f892d8339148e9b00b0f4722afafbecfd14e5
Add the following code to
Sources/NIOCore/ByteBuffer-multi-int.swift
(or a new file in the NIOCore target):swift build
(Note: I have not been able to reliably reduce this repro any further yet.)
The resulting crash in a Docker container (
swiftlang/swift:nightly-5.9-jammy@a08599087f732e78b9680ae21cb45d08b16f3d3787184b6714dae57644b2d0ff
, tagswift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-24-a
) is an assertion failure:(full trace is attached)
Expected behavior The build completes and the variadic method is usable.
Environment
swiftlang/swift:nightly-5.9-jammy
image with sha256a08599087f732e78b9680ae21cb45d08b16f3d3787184b6714dae57644b2d0ff
, tagswift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-24-a
,Swift version 5.9-dev (LLVM 46ac717ed0ec21c, Swift 05fe36c7b352712)
Additional context
Full trace from Xcode 15 beta 7
``` SwiftCompile normal arm64 Compiling\ ByteBuffer-aux.swift,\ ByteBuffer-conversions.swift,\ ByteBuffer-core.swift,\ ByteBuffer-hexdump.swift,\ ByteBuffer-int.swift,\ ByteBuffer-lengthPrefix.swift,\ ByteBuffer-multi-int.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-aux.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-conversions.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-core.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-hexdump.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-int.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-lengthPrefix.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-multi-int.swift (in target 'NIOCore' from project 'swift-nio') cd /Users/gwynne/Desktop/Swift/swift-nio builtin-swiftTaskExecution -- /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ActorExecutor.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AddressedEnvelope.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncAwaitSupport.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelInboundStream.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelInboundStreamChannelHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelOutboundWriter.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelOutboundWriterHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/CloseRatchet.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOAsyncSequenceProducer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOAsyncSequenceProducerStrategies.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOAsyncWriter.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOThrowingAsyncSequenceProducer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/BSDSocketAPI.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-aux.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-conversions.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-core.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-hexdump.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-int.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-lengthPrefix.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-multi-int.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-views.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Channel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelHandlers.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelInvoker.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelOption.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelPipeline.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/CircularBuffer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Codec.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ConvenienceOptionSupport.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/DeadChannel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/DispatchQueue+WithFuture.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoop+Deprecated.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoop.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoopFuture+Deprecated.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoopFuture+WithEventLoop.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoopFuture.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/FileDescriptor.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/FileHandle.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/FileRegion.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/GlobalSingletons.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IO.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IOData.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IPProtocol.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IntegerBitPacking.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IntegerTypes.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Interfaces.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Linux.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/MarkedCircularBuffer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/MulticastChannel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOAny.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOCloseOnErrorHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOLoopBound.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOSendable.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/PointerHelpers.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/RecvByteBufferAllocator.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SingleStepByteToMessageDecoder.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SocketAddresses.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SocketOptionProvider.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SystemCallHelpers.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/TimeAmount+Duration.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/TypeAssistedChannelHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/UniversalBootstrapSupport.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Utilities.swift -supplementary-output-file-map /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/supplementaryOutputs-220 -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -I /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug -I /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/gwynne/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/NIOCore_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/gwynne/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/gwynne/Desktop/Swift/swift-nio -resource-dir /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/GeneratedModuleMaps/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOAtomics.modulemap -Xcc -ivfsstatcache -Xcc /Users/gwynne/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/macosx14.0-23A5326c-f7e79a2b09dbe2c8a4ba251adb57f722.sdkstatcache -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/swift-overrides.hmap -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/SourcePackages/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIOWindows/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIOLinux/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIODarwin/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIOAtomics/include -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/include -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/DerivedSources-normal/arm64 -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/DerivedSources/arm64 -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NIOCore -frontend-parseable-output -disable-clang-spi -target-sdk-version 14.0 -target-sdk-name macosx14.0 -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-aux.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-conversions.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-core.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-hexdump.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-int.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-lengthPrefix.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-multi-int.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-aux.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-conversions.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-core.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-hexdump.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-int.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-lengthPrefix.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-multi-int.o -index-store-path /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Index.noindex/DataStore -index-system-modules Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace. Stack dump: 0. Program arguments: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ActorExecutor.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AddressedEnvelope.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncAwaitSupport.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelInboundStream.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelInboundStreamChannelHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelOutboundWriter.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/AsyncChannelOutboundWriterHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncChannel/CloseRatchet.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOAsyncSequenceProducer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOAsyncSequenceProducerStrategies.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOAsyncWriter.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/AsyncSequences/NIOThrowingAsyncSequenceProducer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/BSDSocketAPI.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-aux.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-conversions.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-core.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-hexdump.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-int.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-lengthPrefix.swift -primary-file /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-multi-int.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-views.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Channel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelHandlers.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelInvoker.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelOption.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ChannelPipeline.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/CircularBuffer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Codec.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ConvenienceOptionSupport.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/DeadChannel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/DispatchQueue+WithFuture.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoop+Deprecated.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoop.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoopFuture+Deprecated.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoopFuture+WithEventLoop.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/EventLoopFuture.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/FileDescriptor.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/FileHandle.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/FileRegion.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/GlobalSingletons.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IO.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IOData.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IPProtocol.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IntegerBitPacking.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/IntegerTypes.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Interfaces.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Linux.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/MarkedCircularBuffer.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/MulticastChannel.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOAny.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOCloseOnErrorHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOLoopBound.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/NIOSendable.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/PointerHelpers.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/RecvByteBufferAllocator.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SingleStepByteToMessageDecoder.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SocketAddresses.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SocketOptionProvider.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/SystemCallHelpers.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/TimeAmount+Duration.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/TypeAssistedChannelHandler.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/UniversalBootstrapSupport.swift /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/Utilities.swift -supplementary-output-file-map /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/supplementaryOutputs-220 -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -I /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug -I /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/PackageFrameworks -F /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/gwynne/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/NIOCore_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/gwynne/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/gwynne/Desktop/Swift/swift-nio -resource-dir /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file=/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOLinux.modulemap -Xcc -fmodule-map-file=/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/GeneratedModuleMaps/CNIODarwin.modulemap -Xcc -fmodule-map-file=/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOAtomics.modulemap -Xcc -ivfsstatcache -Xcc /Users/gwynne/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/macosx14.0-23A5326c-f7e79a2b09dbe2c8a4ba251adb57f722.sdkstatcache -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/swift-overrides.hmap -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/SourcePackages/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIOWindows/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIOLinux/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIODarwin/include -Xcc -I/Users/gwynne/Desktop/Swift/swift-nio/Sources/CNIOAtomics/include -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Products/Debug/include -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/DerivedSources-normal/arm64 -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/DerivedSources/arm64 -Xcc -I/Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -module-name NIOCore -frontend-parseable-output -disable-clang-spi -target-sdk-version 14.0 -target-sdk-name macosx14.0 -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/swift/host/plugins#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/local/lib/swift/host/plugins#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-aux.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-conversions.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-core.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-hexdump.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-int.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-lengthPrefix.o -o /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Build/Intermediates.noindex/swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-multi-int.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-aux.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-conversions.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-core.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-hexdump.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-int.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-lengthPrefix.o -index-unit-output-path /swift-nio.build/Debug/NIOCore.build/Objects-normal/arm64/ByteBuffer-multi-int.o -index-store-path /Users/gwynne/Library/Developer/Xcode/DerivedData/swift-nio-djlnjnykewgbotfwcdtsscbkbhpg/Index.noindex/DataStore -index-system-modules 1. Apple Swift version 5.9 (swiftlang-5.9.0.128.106 clang-1500.0.40.1) 2. Compiling with the current language version 3. While evaluating request IRGenRequest(IR Generation for file "/Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-multi-int.swift") 4. While emitting IR SIL function "@$s7NIOCore10ByteBufferV20readMultipleIntegers10endianness2asxxQp_tSgAA10EndiannessO_xxQp_tmtRvzs17FixedWidthIntegerRzlF". for 'readMultipleIntegers(endianness:as:)' (at /Users/gwynne/Desktop/Swift/swift-nio/Sources/NIOCore/ByteBuffer-multi-int.swift:18:14) 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 0x0000000104cef7b4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x000000010786df0c llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x00000001035af720 SignalHandler(int) + 352 3 libsystem_platform.dylib 0x0000000196072a24 _sigtramp + 56 4 swift-frontend 0x0000000105f5491c swift::irgen::emitArchetypeTypeMetadataRef(swift::irgen::IRGenFunction&, swift::CanTypeWrapperFull trace from 5.9 nightly Docker image
``` swift-frontend: /home/build-user/swift/lib/IRGen/GenArchetype.cpp:78: swift::irgen::MetadataResponse swift::irgen::emitArchetypeTypeMetadataRef(swift::irgen::IRGenFunction &, swift::CanArchetypeType, swift::irgen::DynamicMetadataRequest): Assertion `archetype->getParent() && "Not a nested archetype"' failed. Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace. Stack dump: 0. Program arguments: /usr/bin/swift-frontend -frontend -c /src/Sources/NIOCore/ActorExecutor.swift /src/Sources/NIOCore/AddressedEnvelope.swift /src/Sources/NIOCore/AsyncAwaitSupport.swift /src/Sources/NIOCore/AsyncChannel/AsyncChannel.swift /src/Sources/NIOCore/AsyncChannel/AsyncChannelInboundStream.swift /src/Sources/NIOCore/AsyncChannel/AsyncChannelInboundStreamChannelHandler.swift /src/Sources/NIOCore/AsyncChannel/AsyncChannelOutboundWriter.swift /src/Sources/NIOCore/AsyncChannel/AsyncChannelOutboundWriterHandler.swift /src/Sources/NIOCore/AsyncChannel/CloseRatchet.swift /src/Sources/NIOCore/AsyncSequences/NIOAsyncSequenceProducer.swift /src/Sources/NIOCore/AsyncSequences/NIOAsyncSequenceProducerStrategies.swift /src/Sources/NIOCore/AsyncSequences/NIOAsyncWriter.swift /src/Sources/NIOCore/AsyncSequences/NIOThrowingAsyncSequenceProducer.swift /src/Sources/NIOCore/BSDSocketAPI.swift /src/Sources/NIOCore/ByteBuffer-aux.swift /src/Sources/NIOCore/ByteBuffer-conversions.swift /src/Sources/NIOCore/ByteBuffer-core.swift -primary-file /src/Sources/NIOCore/ByteBuffer-hexdump.swift -primary-file /src/Sources/NIOCore/ByteBuffer-int.swift -primary-file /src/Sources/NIOCore/ByteBuffer-lengthPrefix.swift -primary-file /src/Sources/NIOCore/ByteBuffer-multi-int.swift /src/Sources/NIOCore/ByteBuffer-views.swift /src/Sources/NIOCore/Channel.swift /src/Sources/NIOCore/ChannelHandler.swift /src/Sources/NIOCore/ChannelHandlers.swift /src/Sources/NIOCore/ChannelInvoker.swift /src/Sources/NIOCore/ChannelOption.swift /src/Sources/NIOCore/ChannelPipeline.swift /src/Sources/NIOCore/CircularBuffer.swift /src/Sources/NIOCore/Codec.swift /src/Sources/NIOCore/ConvenienceOptionSupport.swift /src/Sources/NIOCore/DeadChannel.swift /src/Sources/NIOCore/DispatchQueue+WithFuture.swift /src/Sources/NIOCore/EventLoop+Deprecated.swift /src/Sources/NIOCore/EventLoop.swift /src/Sources/NIOCore/EventLoopFuture+Deprecated.swift /src/Sources/NIOCore/EventLoopFuture+WithEventLoop.swift /src/Sources/NIOCore/EventLoopFuture.swift /src/Sources/NIOCore/FileDescriptor.swift /src/Sources/NIOCore/FileHandle.swift /src/Sources/NIOCore/FileRegion.swift /src/Sources/NIOCore/GlobalSingletons.swift /src/Sources/NIOCore/IO.swift /src/Sources/NIOCore/IOData.swift /src/Sources/NIOCore/IPProtocol.swift /src/Sources/NIOCore/IntegerBitPacking.swift /src/Sources/NIOCore/IntegerTypes.swift /src/Sources/NIOCore/Interfaces.swift /src/Sources/NIOCore/Linux.swift /src/Sources/NIOCore/MarkedCircularBuffer.swift /src/Sources/NIOCore/MulticastChannel.swift /src/Sources/NIOCore/NIOAny.swift /src/Sources/NIOCore/NIOCloseOnErrorHandler.swift /src/Sources/NIOCore/NIOLoopBound.swift /src/Sources/NIOCore/NIOSendable.swift /src/Sources/NIOCore/PointerHelpers.swift /src/Sources/NIOCore/RecvByteBufferAllocator.swift /src/Sources/NIOCore/SingleStepByteToMessageDecoder.swift /src/Sources/NIOCore/SocketAddresses.swift /src/Sources/NIOCore/SocketOptionProvider.swift /src/Sources/NIOCore/SystemCallHelpers.swift /src/Sources/NIOCore/TimeAmount+Duration.swift /src/Sources/NIOCore/TypeAssistedChannelHandler.swift /src/Sources/NIOCore/UniversalBootstrapSupport.swift /src/Sources/NIOCore/Utilities.swift -supplementary-output-file-map /tmp/TemporaryDirectory.XmwX09/supplementaryOutputs-5 -target aarch64-unknown-linux-gnu -Xllvm -aarch64-use-tbi -disable-objc-interop -I /src/.build/aarch64-unknown-linux-gnu/debug -color-diagnostics -enable-testing -g -module-cache-path /src/.build/aarch64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file=/src/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -I -Xcc /src/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -fmodule-map-file=/src/Sources/CNIOWindows/include/module.modulemap -Xcc -I -Xcc /src/Sources/CNIOWindows/include -Xcc -fmodule-map-file=/src/.build/aarch64-unknown-linux-gnu/debug/CNIOLinux.build/module.modulemap -Xcc -I -Xcc /src/Sources/CNIOLinux/include -Xcc -fmodule-map-file=/src/.build/aarch64-unknown-linux-gnu/debug/CNIODarwin.build/module.modulemap -Xcc -I -Xcc /src/Sources/CNIODarwin/include -Xcc -fmodule-map-file=/src/.build/aarch64-unknown-linux-gnu/debug/CNIOAtomics.build/module.modulemap -Xcc -I -Xcc /src/Sources/CNIOAtomics/include -Xcc -fPIC -module-name NIOCore -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /src/.build/aarch64-unknown-linux-gnu/debug/NIOCore.build/ByteBuffer-hexdump.swift.o -o /src/.build/aarch64-unknown-linux-gnu/debug/NIOCore.build/ByteBuffer-int.swift.o -o /src/.build/aarch64-unknown-linux-gnu/debug/NIOCore.build/ByteBuffer-lengthPrefix.swift.o -o /src/.build/aarch64-unknown-linux-gnu/debug/NIOCore.build/ByteBuffer-multi-int.swift.o -index-store-path /src/.build/aarch64-unknown-linux-gnu/debug/index/store -index-system-modules 1. Swift version 5.9-dev (LLVM 46ac717ed0ec21c, Swift 05fe36c7b352712) 2. Compiling with the current language version 3. While evaluating request IRGenRequest(IR Generation for file "/src/Sources/NIOCore/ByteBuffer-multi-int.swift") 4. While emitting IR SIL function "@$s7NIOCore10ByteBufferV20readMultipleIntegers10endianness2asxxQp_tSgAA10EndiannessO_xxQp_tmtRvzs17FixedWidthIntegerRzlF". for 'readMultipleIntegers(endianness:as:)' (at /src/Sources/NIOCore/ByteBuffer-multi-int.swift:18:14) 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): /usr/bin/swift-frontend(+0x6a07f74)[0xaaaae64e7f74] /usr/bin/swift-frontend(+0x6a05f64)[0xaaaae64e5f64] /usr/bin/swift-frontend(+0x6a08390)[0xaaaae64e8390] linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xffff9882b790] /lib/aarch64-linux-gnu/libc.so.6(+0x7f200)[0xffff97cdf200] /lib/aarch64-linux-gnu/libc.so.6(raise+0x1c)[0xffff97c9a67c] /lib/aarch64-linux-gnu/libc.so.6(abort+0xe4)[0xffff97c87130] /lib/aarch64-linux-gnu/libc.so.6(+0x33fd0)[0xffff97c93fd0] /lib/aarch64-linux-gnu/libc.so.6(__assert_perror_fail+0x0)[0xffff97c94040] /usr/bin/swift-frontend(+0x11b4748)[0xaaaae0c94748] /usr/bin/swift-frontend(+0x11743b4)[0xaaaae0c543b4] /usr/bin/swift-frontend(+0x1173b0c)[0xaaaae0c53b0c] /usr/bin/swift-frontend(+0x1176e78)[0xaaaae0c56e78] /usr/bin/swift-frontend(+0x12a0714)[0xaaaae0d80714] /usr/bin/swift-frontend(+0x12a0638)[0xaaaae0d80638] /usr/bin/swift-frontend(+0x12bce40)[0xaaaae0d9ce40] /usr/bin/swift-frontend(+0x1373acc)[0xaaaae0e53acc] /usr/bin/swift-frontend(+0x13505f8)[0xaaaae0e305f8] /usr/bin/swift-frontend(+0x133fdf0)[0xaaaae0e1fdf0] /usr/bin/swift-frontend(+0x133daec)[0xaaaae0e1daec] /usr/bin/swift-frontend(+0x1214cfc)[0xaaaae0cf4cfc] /usr/bin/swift-frontend(+0x10e29d4)[0xaaaae0bc29d4] /usr/bin/swift-frontend(+0x1135f64)[0xaaaae0c15f64] /usr/bin/swift-frontend(+0x10f19d8)[0xaaaae0bd19d8] /usr/bin/swift-frontend(+0x10e4f1c)[0xaaaae0bc4f1c] /usr/bin/swift-frontend(+0xda5648)[0xaaaae0885648] /usr/bin/swift-frontend(+0xda192c)[0xaaaae088192c] /usr/bin/swift-frontend(+0xda09bc)[0xaaaae08809bc] /usr/bin/swift-frontend(+0xdb2a0c)[0xaaaae0892a0c] /usr/bin/swift-frontend(+0xda3340)[0xaaaae0883340] /usr/bin/swift-frontend(+0xda22d0)[0xaaaae08822d0] /usr/bin/swift-frontend(+0xc26034)[0xaaaae0706034] /lib/aarch64-linux-gnu/libc.so.6(+0x273fc)[0xffff97c873fc] /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0x98)[0xffff97c874cc] /usr/bin/swift-frontend(+0xc24d30)[0xaaaae0704d30] ```