Build Information
Failed to build swiftui-showcase, reference 0.20.0 (0cbe15
), with Swift 5.10 for Linux on 21 Feb 2025 22:25:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipedro/swiftui-showcase.git
Reference: 0.20.0
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/ipedro/swiftui-showcase
* tag 0.20.0 -> FETCH_HEAD
HEAD is now at 0cbe15c fix lint warnings
Cloned https://github.com/ipedro/swiftui-showcase.git
Revision (git rev-parse @):
0cbe15c54635638dc5b00d76bdadf9de105a9275
SUCCESS checkout https://github.com/ipedro/swiftui-showcase.git at 0.20.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/ipedro/swiftui-showcase.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.QFbDRY/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.pOb0eR/spi-builder-workspace-manifest"])
error: fatalError
/host/spi-builder-workspace/Package.swift:5:56: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
let isDevelopment = !Context.packageDirectory.contains("/checkouts/")
^
BUILD FAILURE 5.10 linux