Build Information
Failed to build SwiftyXcActivityLog, reference main (d4108a
), with Swift 6.0 for Linux on 2 Nov 2024 04:52:33 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.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KS1019/SwiftyXcActivityLog.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/KS1019/SwiftyXcActivityLog
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d4108a2 Update README.md
Cloned https://github.com/KS1019/SwiftyXcActivityLog.git
Revision (git rev-parse @):
d4108a25581d3a59b97384ec9bb2b2f8ba0108f3
SUCCESS checkout https://github.com/KS1019/SwiftyXcActivityLog.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/KS1019/SwiftyXcActivityLog.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -strict-concurrency=complete 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/1024jp/GzipSwift
Fetching https://github.com/JohnSundell/Files
[1/1536] Fetching gzipswift
[63/2767] Fetching gzipswift, files
Fetched https://github.com/1024jp/GzipSwift from cache (0.21s)
Fetched https://github.com/JohnSundell/Files from cache (0.21s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.48s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.50s)
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Building for debugging...
[0/5] Write sources
[3/5] Compiling system-zlib anchor.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/9] Compiling Gzip Data+Gzip.swift
[7/9] Emitting module Gzip
[9/10] Compiling Files Files.swift
[10/10] Emitting module Files
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/15] Compiling SwiftyXcActivityLog Execution.swift
[13/15] Compiling SwiftyXcActivityLog Extensions.swift
[14/15] Emitting module SwiftyXcActivityLog
/host/spi-builder-workspace/Sources/SwiftyXcActivityLog/XcActivityLog.swift:18:90: error: type 'Folder' has no member 'library'
16 | }
17 |
18 | private func getProductFolder(by productName: String, in root: String = (try? Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").path) ?? "") -> Folder? {
| `- error: type 'Folder' has no member 'library'
19 | do {
20 | let folders = try Folder(path: root).subfolders
[15/15] Compiling SwiftyXcActivityLog XcActivityLog.swift
/host/spi-builder-workspace/Sources/SwiftyXcActivityLog/XcActivityLog.swift:18:90: error: type 'Folder' has no member 'library'
16 | }
17 |
18 | private func getProductFolder(by productName: String, in root: String = (try? Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").path) ?? "") -> Folder? {
| `- error: type 'Folder' has no member 'library'
19 | do {
20 | let folders = try Folder(path: root).subfolders
BUILD FAILURE 6.0 linux