Build Information
Failed to build Background, reference main (fa91e3
), with Swift 6.1 for Linux on 30 Apr 2025 23:52:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/Background.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/ChimeHQ/Background
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fa91e36 Make sure to keep watchOS excluded
Cloned https://github.com/ChimeHQ/Background.git
Revision (git rev-parse @):
fa91e36048fa85748cbbb5af4c5de027ef6cb9e2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Background.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/ChimeHQ/Background.git
https://github.com/ChimeHQ/Background.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Background",
"name" : "Background",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "maccatalyst",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Background",
"targets" : [
"Background"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BackgroundTests",
"module_type" : "SwiftTarget",
"name" : "BackgroundTests",
"path" : "Tests/BackgroundTests",
"sources" : [
"BackgroundTests.swift",
"HTTPHeaderTests.swift",
"NetworkResponseTests.swift"
],
"target_dependencies" : [
"Background"
],
"type" : "test"
},
{
"c99name" : "Background",
"module_type" : "SwiftTarget",
"name" : "Background",
"path" : "Sources/Background",
"product_memberships" : [
"Background"
],
"sources" : [
"BackgroundTaskConfiguration.swift",
"Downloader.swift",
"NetworkResponse.swift",
"TaskScheduler.swift",
"URLResponse+Utilities.swift",
"URLSessionDelegateAdapter.swift",
"Uploader.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module Background
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[4/10] Compiling Background BackgroundTaskConfiguration.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[5/10] Compiling Background Downloader.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[6/10] Compiling Background URLSessionDelegateAdapter.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[7/10] Compiling Background Uploader.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[8/10] Compiling Background TaskScheduler.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[9/10] Compiling Background URLResponse+Utilities.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[10/10] Compiling Background NetworkResponse.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Background URLSessionDelegateAdapter.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[3/9] Compiling Background URLResponse+Utilities.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[4/9] Compiling Background Uploader.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[5/9] Compiling Background TaskScheduler.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[6/9] Compiling Background NetworkResponse.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Emitting module Background
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[8/9] Compiling Background Downloader.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
[9/9] Compiling Background BackgroundTaskConfiguration.swift
/host/spi-builder-workspace/Sources/Background/Downloader.swift:2:8: error: no such module 'OSLog'
1 | import Foundation
2 | import OSLog
| `- error: no such module 'OSLog'
3 |
4 | /// Manages background downloads
BUILD FAILURE 6.1 linux