The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CanProceed with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptsochantaris/can-proceed.git
Reference: 1.0.1
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/ptsochantaris/can-proceed
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 5d47608 Bumped up iOS support to correct level
Cloned https://github.com/ptsochantaris/can-proceed.git
Revision (git rev-parse @):
5d476082d14e4761b5d76c19b060224c1cb60b25
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ptsochantaris/can-proceed.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ptsochantaris/can-proceed.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/ptsochantaris/lista
[1/127] Fetching lista
Fetched https://github.com/ptsochantaris/lista (0.23s)
Creating working copy for https://github.com/ptsochantaris/lista
Working copy of https://github.com/ptsochantaris/lista resolved at main
Building for debugging...
[1/2] Compiling Lista Lista.swift
[2/2] Emitting module Lista
[5/10] Compiling CanProceed Collection+Extension.swift
[6/10] Compiling CanProceed Decision.swift
[7/10] Compiling CanProceed GroupMemberRecord.swift
[8/10] Compiling CanProceed Agent.swift
[9/10] Emitting module CanProceed
[10/10] Compiling CanProceed CanProceed.swift
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:172:13: error: empty collection literal requires an explicit type
            []
            ^~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:172:13: warning: expression of type '[Any]' is unused
            []
            ^~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:174:52: warning: result of call to 'map' is unused
            text.matches(of: #/(\w+-)?\w+:\s\S*/#).map { cleanSpaces(String($0.output.0)) }
                                                   ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1709242515, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1709242515, nanoseconds: 369645000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CanProceed.build/master.priors'
[1/6] Compiling CanProceed Collection+Extension.swift
[2/6] Compiling CanProceed Decision.swift
[3/6] Compiling CanProceed GroupMemberRecord.swift
[4/6] Compiling CanProceed Agent.swift
[5/6] Emitting module CanProceed
[6/6] Compiling CanProceed CanProceed.swift
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:172:13: error: empty collection literal requires an explicit type
            []
            ^~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:172:13: warning: expression of type '[Any]' is unused
            []
            ^~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:174:52: warning: result of call to 'map' is unused
            text.matches(of: #/(\w+-)?\w+:\s\S*/#).map { cleanSpaces(String($0.output.0)) }
                                                   ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILD FAILURE 5.8 linux