Build Information
Failed to build TypoChecker with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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 -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path: $workDir
https://github.com/t-osawa-009/TypoChecker.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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 -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/seznam/swift-uniyaml.git
[1/207] Fetching swift-uniyaml
[167/1438] Fetching swift-uniyaml, files
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.24s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.24s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (1.12s)
Computing version for https://github.com/seznam/swift-uniyaml.git
Computed https://github.com/seznam/swift-uniyaml.git at 0.11.1 (0.45s)
Creating working copy for https://github.com/seznam/swift-uniyaml.git
Working copy of https://github.com/seznam/swift-uniyaml.git resolved at 0.11.1
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling UniYAML Encoder.swift
[6/15] 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
[7/15] Emitting module UniYAML
[8/15] Compiling UniYAML Decoder.swift
[9/15] Emitting module Files
[10/15] Compiling Files Files.swift
BUILD FAILURE 6.0 linux