The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyXcActivityLog with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/KS1019/SwiftyXcActivityLog.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/1024jp/GzipSwift
[1/1468] Fetching gzipswift
[501/2699] Fetching gzipswift, files
Fetched https://github.com/1024jp/GzipSwift from cache (0.25s)
Fetched https://github.com/JohnSundell/Files from cache (0.27s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.1.1 (0.45s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.46s)
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.1.1
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] Emitting module Gzip
[7/9] Compiling Gzip Data+Gzip.swift
[9/10] Emitting module Files
[10/10] Compiling Files Files.swift
[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'
            guard let folders = try Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").subfolders else { return nil }
                                    ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SwiftyXcActivityLog/XcActivityLog.swift:20:33: warning: no calls to throwing functions occur within 'try' expression
            guard let folders = try Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").subfolders else { return nil }
                                ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module SwiftyXcActivityLog
[3/3] Compiling SwiftyXcActivityLog XcActivityLog.swift
/host/spi-builder-workspace/Sources/SwiftyXcActivityLog/XcActivityLog.swift:20:44: error: type 'Folder' has no member 'library'
            guard let folders = try Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").subfolders else { return nil }
                                    ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SwiftyXcActivityLog/XcActivityLog.swift:20:33: warning: no calls to throwing functions occur within 'try' expression
            guard let folders = try Folder.library?.subfolder(at: "Developer/Xcode/DerivedData").subfolders else { return nil }
                                ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2