Build Information
Failed to build CanProceed, reference main (f88d24
), with Swift 5.8 for Linux on 18 Aug 2024 13:54:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.50.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptsochantaris/can-proceed.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f88d24f Extra tests for end-of-url signifier
Cloned https://github.com/ptsochantaris/can-proceed.git
Revision (git rev-parse @):
f88d24f2404343c46ebb9bb9cda1d420c558436a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ptsochantaris/can-proceed.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD
https://github.com/ptsochantaris/can-proceed.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:7873cccef54cb75372976ae5e423e0f226d26579c9a85ad800680ee8634eb108
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/ptsochantaris/lista
[1/127] Fetching lista
Fetched https://github.com/ptsochantaris/lista (0.17s)
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] Emitting module Lista
[2/2] Compiling Lista Lista.swift
[5/10] Compiling CanProceed Decision.swift
[6/10] Compiling CanProceed Collection+Extension.swift
[7/10] Emitting module CanProceed
[8/10] Compiling CanProceed Agent.swift
/host/spi-builder-workspace/Sources/CanProceed/Agent.swift:35:19: error: consecutive statements on a line must be separated by ';'
return if let mostPermissible, let mostDisallowing {
^
;
/host/spi-builder-workspace/Sources/CanProceed/Agent.swift:35:13: error: non-void function should return a value
return if let mostPermissible, let mostDisallowing {
^
/host/spi-builder-workspace/Sources/CanProceed/Agent.swift:37:22: error: reference to member 'allowed' cannot be resolved without a contextual type
.allowed
~^~~~~~~
/host/spi-builder-workspace/Sources/CanProceed/Agent.swift:39:22: error: reference to member 'disallowed' cannot be resolved without a contextual type
.disallowed
~^~~~~~~~~~
/host/spi-builder-workspace/Sources/CanProceed/Agent.swift:42:18: error: reference to member 'disallowed' cannot be resolved without a contextual type
.disallowed
~^~~~~~~~~~
/host/spi-builder-workspace/Sources/CanProceed/Agent.swift:44:18: error: reference to member 'allowed' cannot be resolved without a contextual type
.allowed
~^~~~~~~
/host/spi-builder-workspace/Sources/CanProceed/Agent.swift:46:18: error: reference to member 'noComment' cannot be resolved without a contextual type
.noComment
~^~~~~~~~~
[9/10] Compiling CanProceed CanProceed.swift
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:106:28: error: expected initial value after '='
var text: String = if let host {
^
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:106:27: error: consecutive statements on a line must be separated by ';'
var text: String = if let host {
^
;
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:107:13: warning: string literal is unused
"Host: \(host)\n\n"
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:109:13: warning: string literal is unused
""
^~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:206:13: error: empty collection literal requires an explicit type
[]
^~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:206:13: warning: expression of type '[Any]' is unused
[]
^~
/host/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:208:52: warning: result of call to 'map' is unused
text.matches(of: #/(\w+-)?\w+:\s\S*/#).map { cleanSpaces(String($0.output.0)) }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/10] Compiling CanProceed GroupMemberRecord.swift
BUILD FAILURE 5.8 linux