Build Information
Failed to build TypoChecker, reference master (d8fd92
), with Swift 6.1 for Linux on 25 Apr 2025 20:48:19 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/t-osawa-009/TypoChecker.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/t-osawa-009/TypoChecker
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d8fd920 Update README.md
Cloned https://github.com/t-osawa-009/TypoChecker.git
Revision (git rev-parse @):
d8fd920373f54a6e649a23cc6093a51db4e53985
SUCCESS checkout https://github.com/t-osawa-009/TypoChecker.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/t-osawa-009/TypoChecker.git
https://github.com/t-osawa-009/TypoChecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-uniyaml",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/seznam/swift-uniyaml.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files.git"
}
],
"manifest_display_name" : "TypoChecker",
"name" : "TypoChecker",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TypoChecker",
"targets" : [
"TypoChecker"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TypoCheckerTests",
"module_type" : "SwiftTarget",
"name" : "TypoCheckerTests",
"path" : "Tests/TypoCheckerTests",
"sources" : [
"TypoCheckerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"TypoChecker"
],
"type" : "test"
},
{
"c99name" : "TypoChecker",
"module_type" : "SwiftTarget",
"name" : "TypoChecker",
"path" : "Sources/TypoChecker",
"product_dependencies" : [
"UniYAML",
"Files"
],
"product_memberships" : [
"TypoChecker"
],
"sources" : [
"Analytics.swift",
"AnalyticsNamingTypo.swift",
"AnalyticsStringTypo.swift",
"ArgumentParser/ArgumentParser.swift",
"Configuration.swift",
"Report/JSONReport.swift",
"Report/MarkdownReport.swift",
"Report/ReportGenerator.swift",
"Report/ReportOutputer.swift",
"Report/Reportable.swift",
"Report/XcodeReport.swift",
"YAMLParser.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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
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
Fetching https://github.com/seznam/swift-uniyaml.git
Fetching https://github.com/JohnSundell/Files.git
[1/1236] Fetching files
[1237/1443] Fetching files, swift-uniyaml
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.28s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.28s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (3.13s)
Computing version for https://github.com/seznam/swift-uniyaml.git
Computed https://github.com/seznam/swift-uniyaml.git at 0.12.0 (2.54s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/seznam/swift-uniyaml.git
Working copy of https://github.com/seznam/swift-uniyaml.git resolved at 0.12.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/15] Emitting module UniYAML
[6/15] Emitting module Files
[7/15] Compiling Files Files.swift
[8/16] Compiling UniYAML Decoder.swift
[9/16] Compiling UniYAML Encoder.swift
[10/16] Compiling UniYAML YAML.swift
/host/spi-builder-workspace/.build/checkouts/swift-uniyaml/Sources/UniYAML/YAML.swift:218:12: error: cannot assign to property: 'key' is a 'let' constant
34 | let indent: Int
35 | var type: YAMLType
36 | let key: String?
| `- note: change 'let' to 'var' to make it mutable
37 | let tag: String?
38 | var value: Any?
:
216 | return nil
217 | }
218 | obj[k]!.key = k
| `- error: cannot assign to property: 'key' is a 'let' constant
219 | }
220 | indent = 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.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/6] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling UniYAML YAML.swift
/host/spi-builder-workspace/.build/checkouts/swift-uniyaml/Sources/UniYAML/YAML.swift:218:12: error: cannot assign to property: 'key' is a 'let' constant
34 | let indent: Int
35 | var type: YAMLType
36 | let key: String?
| `- note: change 'let' to 'var' to make it mutable
37 | let tag: String?
38 | var value: Any?
:
216 | return nil
217 | }
218 | obj[k]!.key = k
| `- error: cannot assign to property: 'key' is a 'let' constant
219 | }
220 | indent = 0
[3/12] Emitting module UniYAML
[4/12] Compiling UniYAML Decoder.swift
[5/12] Compiling UniYAML Encoder.swift
[6/12] Emitting module Files
BUILD FAILURE 6.1 linux