The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyXcActivityLog with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KS1019/SwiftyXcActivityLog.git
Reference: 0.0.5
Cloned https://github.com/KS1019/SwiftyXcActivityLog.git into spi-builder-workspace
SUCCESS checkout https://github.com/KS1019/SwiftyXcActivityLog.git at 0.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/JohnSundell/Files
[1/1465] Fetching gzipswift
[1466/2696] Fetching gzipswift, files
Fetched https://github.com/1024jp/GzipSwift (0.24s)
Fetched https://github.com/JohnSundell/Files (0.24s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.1.1 (0.30s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.30s)
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/1] Compiling system-zlib anchor.c
[2/5] Compiling Gzip Data+Gzip.swift
[3/5] Emitting module Gzip
[6/7] Emitting module Files
[7/7] Compiling Files Files.swift
[10/13] Compiling SwiftyXcActivityLog Extensions.swift
[11/13] 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 }
                                ^
[12/13] Emitting module SwiftyXcActivityLog
[13/13] Compiling SwiftyXcActivityLog Execution.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2