Build Information
Failed to build aws-xray-sdk-swift, reference main (c505ac), with Swift 6.4 for Linux on 17 Sep 2026 05:48:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pokryfka/aws-xray-sdk-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pokryfka/aws-xray-sdk-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c505ac2 docs: bump version in README
Cloned https://github.com/pokryfka/aws-xray-sdk-swift.git
Revision (git rev-parse @):
c505ac2d75ce838311365a40a7725cdfdfdcd2ec
SUCCESS checkout https://github.com/pokryfka/aws-xray-sdk-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/pokryfka/aws-xray-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/slashmo/gsoc-swift-baggage-context.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/fabianfett/pure-swift-json.git
[1/502] Fetching gsoc-swift-baggage-context
[142/1596] Fetching gsoc-swift-baggage-context, pure-swift-json
[143/9687] Fetching gsoc-swift-baggage-context, pure-swift-json, swift-log
Fetched https://github.com/slashmo/gsoc-swift-baggage-context.git (0.38s)
[355/9185] Fetching pure-swift-json, swift-log
Fetched https://github.com/fabianfett/pure-swift-json.git (0.49s)
Fetched https://github.com/apple/swift-log.git (0.49s)
[1/85950] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.82s)
Computing version for https://github.com/fabianfett/pure-swift-json.git
Computed https://github.com/fabianfett/pure-swift-json.git at 0.4.0 (3.02s)
Computing version for https://github.com/slashmo/gsoc-swift-baggage-context.git
Computed https://github.com/slashmo/gsoc-swift-baggage-context.git at 0.2.0 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.102.0 (0.35s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[1876/8773] Fetching swift-atomics, swift-system
[2290/36047] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.07s)
Fetched https://github.com/apple/swift-system.git (1.07s)
Fetched https://github.com/apple/swift-collections.git (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.102.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/slashmo/gsoc-swift-baggage-context.git
Working copy of https://github.com/slashmo/gsoc-swift-baggage-context.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/fabianfett/pure-swift-json.git
Working copy of https://github.com/fabianfett/pure-swift-json.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 982]
[Planning deferred tasks]
[181 / 347] PureSwiftJSON
[185 / 373] InternalCollectionsUtilities
[186 / 373] _NIOBase64
[187 / 373] _NIODataStructures
[210 / 373] Logging
[212 / 373] Logging
[226 / 374] PureSwiftJSON-product
[229 / 374] NIOConcurrencyHelpers
[233 / 374] Logging
[233 / 374] PureSwiftJSON
[235 / 375] PureSwiftJSON
[242 / 376] NIOConcurrencyHelpers
[248 / 377] InternalCollectionsUtilities
[253 / 377] InternalCollectionsUtilities
[255 / 377] _NIODataStructures
[267 / 383] Atomics
[280 / 401] CNIOLinux
[290 / 402] Logging
[303 / 402] Baggage-product
[309 / 403] ContainersPreview
[317 / 405] Baggage
[322 / 406]
[327 / 415] DequeModule
[328 / 415] CNIOAtomics
[331 / 415] DequeModule
[333 / 415] CNIOAtomics
[334 / 415] Atomics
[339 / 415] Atomics
[342 / 416] DequeModule
[342 / 417] DequeModule
[360 / 427] NIOCore
[360 / 428] NIOCore
[378 / 443] NIOPosix
[379 / 443] NIOPosix
[380 / 443] NIOEmbedded
[381 / 443] NIOEmbedded
[387 / 443] NIOPosix
[387 / 444] NIOPosix
[389 / 444] NIOEmbedded
[391 / 444] NIOPosix
[400 / 447] NIO
[410 / 458] NIOHTTP1
[412 / 458] NIOHTTP1
[414 / 458] NIOHTTP1
[417 / 458] NIOHTTP1
[424 / 468] AWSXRayRecorder
[425 / 468] AWSXRayRecorder
[426 / 468] AWSXRayRecorder
[427 / 468] AWSXRayRecorder
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/AWSXRayRecorder/Config.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Config.swift
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Config.swift:42:93: [1;31merror: [1;39mambiguous use of 'init'[0;0m
[0;36m40 |[0;0m self.contextMissingStrategy = contextMissingStrategy ??
[0;36m41 |[0;0m env("AWS_XRAY_CONTEXT_MISSING").flatMap(ContextMissingStrategy.init) ?? .logError
[0;36m42 |[0;0m self.logLevel = logLevel ?? env("XRAY_RECORDER_LOG_LEVEL").flatMap(Logger.Level.init) ?? .info
[0;36m|[0;0m `- [1;31merror: [1;39mambiguous use of 'init'[0;0m
[0;36m43 |[0;0m self.serviceVersion = serviceVersion ?? "aws-xray-sdk-swift"
[0;36m44 |[0;0m }
Logging.Logger.Level.init:3:19: [1;39mnote: [1;39mfound this candidate in module 'Logging'[0;0m
[0;36m1 |[0;0m struct Logger {
[0;36m2 |[0;0m enum Level {
[0;36m3 |[0;0m @inlinable public init?(rawValue: String) }
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate in module 'Logging'[0;0m
[0;36m4 |[0;0m }
[0;36m5 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logger.swift:1312:12: [1;39mnote: [1;39mfound this candidate in module 'Logging'[0;0m
[0;36m1310 |[0;0m /// Creates a log level from its textual representation.
[0;36m1311 |[0;0m /// - Parameter description: A textual representation of the log level, case insensitive.
[0;36m1312 |[0;0m public init?(_ description: String) {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate in module 'Logging'[0;0m
[0;36m1313 |[0;0m self.init(rawValue: description.lowercased())
[0;36m1314 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/AWSXRayRecorder/AWS.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/AnyCodable/AnyCodable.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/AnyCodable/AnyDecodable.swift -primary-file /host/spi-builder-workspace/Sources/AWSXRayRecorder/AnyCodable/AnyEncodable.swift -primary-file /host/spi-builder-workspace/Sources/AWSXRayRecorder/Baggage.swift -primary-file /host/spi-builder-workspace/Sources/AWSXRayRecorder/Config.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Emitter+NIO.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Emitter.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Exception.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/HTTP.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/NoOpRecorder.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/NoOpSegment.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Random.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+Helpers.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Segment+NIOHTTP.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/StringCompat.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Timestamp.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Trace.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Utils/Locks+Synchronized.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Utils/Locks.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/supplementaryOutputs-42 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOAtomics.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AWSXRayRecorder -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/AWSXRayRecorder_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/AnyEncodable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Baggage.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Config.o -index-unit-output-path /aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/AnyEncodable.o -index-unit-output-path /aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Baggage.o -index-unit-output-path /aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Config.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux