Build Information
Failed to build SwiftyXcActivityLog, reference 0.0.5 (3e59ae
), with Swift 6.0 for Linux on 2 Nov 2024 04:52:24 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 -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: 0.0.5
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
* tag 0.0.5 -> FETCH_HEAD
HEAD is now at 3e59aee Update README.md
Cloned https://github.com/KS1019/SwiftyXcActivityLog.git
Revision (git rev-parse @):
3e59aeeed824e145b89310df5de06c667adad3a8
SUCCESS checkout https://github.com/KS1019/SwiftyXcActivityLog.git at 0.0.5
========================================
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-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 -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/JohnSundell/Files
Fetching https://github.com/1024jp/GzipSwift
[1/1536] Fetching gzipswift
[1537/2767] Fetching gzipswift, files
Fetched https://github.com/1024jp/GzipSwift from cache (0.26s)
Fetched https://github.com/JohnSundell/Files from cache (0.26s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.41s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.44s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.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] Emitting module Gzip
[7/9] Compiling Gzip Data+Gzip.swift
[8/10] Compiling Files Files.swift
[9/10] Emitting module Files
[12/15] Compiling SwiftyXcActivityLog Execution.swift
[13/15] Emitting module SwiftyXcActivityLog
[14/15] Compiling SwiftyXcActivityLog Extensions.swift
[15/15] Compiling SwiftyXcActivityLog XcActivityLog.swift
/host/spi-builder-workspace/Sources/SwiftyXcActivityLog/XcActivityLog.swift:20:44: error: type 'Folder' has no member 'library'
18 | private func getProductFolder(by productName: String) -> Folder? {
19 | do {
20 | guard let folders = try Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").subfolders else { return nil }
| `- error: type 'Folder' has no member 'library'
21 | let filteredFolders = folders.filter { (folder) -> Bool in
22 | return folder.name.contains(productName)
/host/spi-builder-workspace/Sources/SwiftyXcActivityLog/XcActivityLog.swift:20:33: warning: no calls to throwing functions occur within 'try' expression
18 | private func getProductFolder(by productName: String) -> Folder? {
19 | do {
20 | guard let folders = try Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").subfolders else { return nil }
| `- warning: no calls to throwing functions occur within 'try' expression
21 | let filteredFolders = folders.filter { (folder) -> Bool in
22 | return folder.name.contains(productName)
BUILD FAILURE 6.0 linux