Build Information
Successful build of SwiftCompilationDatabase, reference master (810f04), with Swift 6.1 for Wasm on 27 May 2025 18:35:47 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jerrymarino/SwiftCompilationDatabase.git
Reference: master
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/jerrymarino/SwiftCompilationDatabase
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 810f040 Spartan Message Parser library
Cloned https://github.com/jerrymarino/SwiftCompilationDatabase.git
Revision (git rev-parse @):
810f040e97ebe97210d64a644d8d386e35a6358d
SUCCESS checkout https://github.com/jerrymarino/SwiftCompilationDatabase.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jerrymarino/SwiftCompilationDatabase.git
https://github.com/jerrymarino/SwiftCompilationDatabase.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCompilationDatabase",
"name" : "SwiftCompilationDatabase",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LogParser",
"targets" : [
"SwiftCompilationDatabase"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftCompilationDatabase",
"targets" : [
"SwiftCompilationDatabase"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftCompilationDatabase",
"module_type" : "SwiftTarget",
"name" : "SwiftCompilationDatabase",
"path" : "Sources/SwiftCompilationDatabase",
"product_memberships" : [
"LogParser",
"SwiftCompilationDatabase"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LogParser"
],
"type" : "executable"
},
{
"c99name" : "LogParser",
"module_type" : "SwiftTarget",
"name" : "LogParser",
"path" : "Sources/LogParser",
"product_memberships" : [
"LogParser",
"SwiftCompilationDatabase"
],
"sources" : [
"LogParser.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling LogParser LogParser.swift
/host/spi-builder-workspace/Sources/LogParser/LogParser.swift:30:10: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
28 | return LogParser
29 | .readInput(logPath: logPath)
30 | .flatMap { try? JSONDecoder().decode(Message.self, from: $0 ) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
31 | }
32 |
/host/spi-builder-workspace/Sources/LogParser/LogParser.swift:36:28: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
34 | public func renderCompileCommands(messages: [Message],
35 | dir: String = FileManager.default.currentDirectoryPath) -> String {
36 | let entries = messages.flatMap {
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
37 | msg -> String? in
38 | // Load compile inputs
[5/9] Emitting module LogParser
[6/10] Wrapping AST for LogParser for debugging
[8/12] Emitting module SwiftCompilationDatabase
[9/12] Compiling SwiftCompilationDatabase main.swift
[10/13] Wrapping AST for SwiftCompilationDatabase for debugging
[11/13] Write Objects.LinkFileList
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[12/13] Linking SwiftCompilationDatabase.wasm
Build complete! (10.02s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCompilationDatabase",
"name" : "SwiftCompilationDatabase",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LogParser",
"targets" : [
"SwiftCompilationDatabase"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftCompilationDatabase",
"targets" : [
"SwiftCompilationDatabase"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftCompilationDatabase",
"module_type" : "SwiftTarget",
"name" : "SwiftCompilationDatabase",
"path" : "Sources/SwiftCompilationDatabase",
"product_memberships" : [
"LogParser",
"SwiftCompilationDatabase"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LogParser"
],
"type" : "executable"
},
{
"c99name" : "LogParser",
"module_type" : "SwiftTarget",
"name" : "LogParser",
"path" : "Sources/LogParser",
"product_memberships" : [
"LogParser",
"SwiftCompilationDatabase"
],
"sources" : [
"LogParser.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.