Build Information
Failed to build GCOverseer, reference main (d4541a
), with Swift 6.0 for Linux on 6 Dec 2024 20:41:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/backslash-f/gcoverseer.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/backslash-f/gcoverseer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d4541ab Update README.md
Cloned https://github.com/backslash-f/gcoverseer.git
Revision (git rev-parse @):
d4541abe00b3015e90df523134644224dea7ebf0
SUCCESS checkout https://github.com/backslash-f/gcoverseer.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/backslash-f/gcoverseer.git
https://github.com/backslash-f/gcoverseer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "applogger",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/backslash-f/applogger"
},
{
"identity" : "swift-testing",
"requirement" : {
"branch" : [
"swift-6.0.2-RELEASE"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-testing.git"
}
],
"manifest_display_name" : "GCOverseer",
"name" : "GCOverseer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "18.0"
}
],
"products" : [
{
"name" : "GCOverseer",
"targets" : [
"GCOverseer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "GCOverseerTests",
"module_type" : "SwiftTarget",
"name" : "GCOverseerTests",
"path" : "Tests",
"product_dependencies" : [
"Testing"
],
"sources" : [
"Controllers.swift",
"DefaultValues.swift",
"Mocks/MockGCController.swift",
"Mocks/MockGCMotion.swift",
"Mocks/MockGCPhysicalInputProfile.swift"
],
"target_dependencies" : [
"GCOverseer"
],
"type" : "test"
},
{
"c99name" : "GCOverseer",
"module_type" : "SwiftTarget",
"name" : "GCOverseer",
"path" : "Sources/GCOverseer",
"product_dependencies" : [
"AppLogger"
],
"product_memberships" : [
"GCOverseer"
],
"sources" : [
"GCOverseer+Interface.swift",
"GCOverseer+Logging.swift",
"GCOverseer.swift",
"GCOverseerProtocol.swift",
"GameControllerEvent.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-testing.git
[1/16477] Fetching swift-testing
Fetched https://github.com/apple/swift-testing.git from cache (1.05s)
Fetching https://github.com/backslash-f/applogger
Fetching https://github.com/swiftlang/swift-syntax.git
[1/110] Fetching applogger
Fetched https://github.com/backslash-f/applogger from cache (0.50s)
[1/66935] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.91s)
Computing version for https://github.com/backslash-f/applogger
Computed https://github.com/backslash-f/applogger at 2.0.1 (0.36s)
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at swift-6.0.2-RELEASE (cd448bb)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/backslash-f/applogger
Working copy of https://github.com/backslash-f/applogger resolved at 2.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module AppLogger
/host/spi-builder-workspace/.build/checkouts/applogger/Sources/AppLogger/AppLogger.swift:9:8: error: no such module 'os'
7 |
8 | import Foundation
9 | import os
| `- error: no such module 'os'
10 |
11 | /// Logs app info by using the newest Swift unified logging APIs.
[5/5] Compiling AppLogger AppLogger.swift
/host/spi-builder-workspace/.build/checkouts/applogger/Sources/AppLogger/AppLogger.swift:9:8: error: no such module 'os'
7 |
8 | import Foundation
9 | import os
| `- error: no such module 'os'
10 |
11 | /// Logs app info by using the newest Swift unified logging APIs.
BUILD FAILURE 6.0 linux