Build Information
Failed to build CanProceed, reference main (f88d24
), with Swift 5.8 for macOS (SPM) on 18 Aug 2024 13:56:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 5.8
Building package at path: $PWD
https://github.com/ptsochantaris/can-proceed.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Emitting module Lista
[2/2] Compiling Lista Lista.swift
[3/8] Compiling CanProceed Collection+Extension.swift
[4/8] Compiling CanProceed GroupMemberRecord.swift
[5/8] Compiling CanProceed Decision.swift
[6/8] Compiling CanProceed Agent.swift
/Users/admin/builder/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 {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/Agent.swift:35:13: error: non-void function should return a value
return if let mostPermissible, let mostDisallowing {
^
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/Agent.swift:37:22: error: reference to member 'allowed' cannot be resolved without a contextual type
.allowed
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/Agent.swift:39:22: error: reference to member 'disallowed' cannot be resolved without a contextual type
.disallowed
~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/Agent.swift:42:18: error: reference to member 'disallowed' cannot be resolved without a contextual type
.disallowed
~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/Agent.swift:44:18: error: reference to member 'allowed' cannot be resolved without a contextual type
.allowed
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/Agent.swift:46:18: error: reference to member 'noComment' cannot be resolved without a contextual type
.noComment
~^~~~~~~~~
[7/8] Emitting module CanProceed
[8/8] Compiling CanProceed CanProceed.swift
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:106:28: error: expected initial value after '='
var text: String = if let host {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:107:13: warning: string literal is unused
"Host: \(host)\n\n"
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:109:13: warning: string literal is unused
""
^~
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:206:13: error: empty collection literal requires an explicit type
[]
^~
/Users/admin/builder/spi-builder-workspace/Sources/CanProceed/CanProceed.swift:206:13: warning: expression of type '[Any]' is unused
[]
^~
/Users/admin/builder/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)) }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fetching https://github.com/ptsochantaris/lista
[1/127] Fetching lista
Fetched https://github.com/ptsochantaris/lista (0.68s)
Creating working copy for https://github.com/ptsochantaris/lista
Working copy of https://github.com/ptsochantaris/lista resolved at main
BUILD FAILURE 5.8 macosSpm