The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CancelForPromiseKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/dougzilla32/CancelForPromiseKit.git
Reference: 1.1.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/dougzilla32/CancelForPromiseKit
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at bbf3686 Update all project and library versions to 1.1.0
Submodule path 'Extensions/Alamofire': checked out '1fa2d042fb0e9f606d56258eca7780809cd0c5b8'
Submodule path 'Extensions/CoreLocation': checked out 'e8400ec19d6d2d9b1ea5b201eccc2f03372a6cde'
Submodule path 'Extensions/Foundation': checked out '9486447341315fb968b1de3388237a3e69fdf4e4'
Submodule path 'dougzilla32.github.io': checked out '93fa12f9248192ea9ca26ae7503a15a25a00d2d5'
Submodule 'Extensions/Alamofire' (https://github.com/dougzilla32/CPKAlamofire) registered for path 'Extensions/Alamofire'
Submodule 'Extensions/CoreLocation' (https://github.com/dougzilla32/CPKCoreLocation) registered for path 'Extensions/CoreLocation'
Submodule 'Extensions/Foundation' (https://github.com/dougzilla32/CPKFoundation) registered for path 'Extensions/Foundation'
Submodule 'dougzilla32.github.io' (https://github.com/dougzilla32/dougzilla32.github.io) registered for path 'dougzilla32.github.io'
Cloning into '/host/spi-builder-workspace/Extensions/Alamofire'...
Cloning into '/host/spi-builder-workspace/Extensions/CoreLocation'...
Cloning into '/host/spi-builder-workspace/Extensions/Foundation'...
Cloning into '/host/spi-builder-workspace/dougzilla32.github.io'...
Cloned https://github.com/dougzilla32/CancelForPromiseKit.git
Revision (git rev-parse @):
bbf3686777d7918bfb082178f4eefdec9f813135
SUCCESS checkout https://github.com/dougzilla32/CancelForPromiseKit.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/dougzilla32/CancelForPromiseKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.CwCJNG/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "4", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "4.0.0", "/host/spi-builder-workspace/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.nmWAPG/spi-builder-workspace-manifest"])
error: fatalError
/host/spi-builder-workspace/Package.swift:16:30: error: cannot convert value of type 'Int' to expected element type 'SwiftVersion'
pkg.swiftLanguageVersions = [3, 4]
                             ^
/host/spi-builder-workspace/Package.swift:16:33: error: cannot convert value of type 'Int' to expected element type 'SwiftVersion'
pkg.swiftLanguageVersions = [3, 4]
                                ^
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.MzMx30/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "4", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "4.0.0", "/host/spi-builder-workspace/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.6aSCUA/spi-builder-workspace-manifest"])
error: fatalError
/host/spi-builder-workspace/Package.swift:16:30: error: cannot convert value of type 'Int' to expected element type 'SwiftVersion'
pkg.swiftLanguageVersions = [3, 4]
                             ^
/host/spi-builder-workspace/Package.swift:16:33: error: cannot convert value of type 'Int' to expected element type 'SwiftVersion'
pkg.swiftLanguageVersions = [3, 4]
                                ^
BUILD FAILURE 5.10 linux

Build Machine: Linux 1