Build Information
Failed to build Wrap, reference 5.1.0 (8b6b3b
), with Swift 5.8 for Linux on 22 Aug 2024 10:53:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/swift-operator-wrap.git
Reference: 5.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/VergeGroup/swift-operator-wrap
* tag 5.1.0 -> FETCH_HEAD
HEAD is now at 8b6b3b0 Update modify operator (#4)
Cloned https://github.com/VergeGroup/swift-operator-wrap.git
Revision (git rev-parse @):
8b6b3b0231e36e9174c849b540822365adfdbce1
SUCCESS checkout https://github.com/VergeGroup/swift-operator-wrap.git at 5.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD
https://github.com/VergeGroup/swift-operator-wrap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:c076d3ae857ca95da27bda0293ef81759bb7add70e4768513ac0cd43f6640c27
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module Wrap
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:48: error: expected ',' separator
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
,
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:48: error: unnamed parameters must be written with the empty name '_'
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
_:
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:13:36: error: expected type
public struct _FlowDownBox<Value>: ~Copyable {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:13:36: error: expected '{' in struct
public struct _FlowDownBox<Value>: ~Copyable {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: error: expected 'func' keyword in instance method declaration
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:20: error: expected '(' in argument list of function declaration
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:19: error: consecutive declarations on a line must be separated by ';'
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:61: error: expected ':' following argument label and parameter name
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:61: error: expected type
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:10: error: expected 'func' keyword in instance method declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:20: error: expected '(' in argument list of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:19: error: consecutive declarations on a line must be separated by ';'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:57: error: expected ':' following argument label and parameter name
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:57: error: expected type
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:10: error: expected 'func' keyword in instance method declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:20: error: expected '(' in argument list of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:19: error: consecutive declarations on a line must be separated by ';'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:57: error: expected ':' following argument label and parameter name
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:57: error: expected type
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:10: error: expected 'func' keyword in instance method declaration
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:20: error: expected '(' in argument list of function declaration
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:19: error: consecutive declarations on a line must be separated by ';'
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:10: error: expected 'func' keyword in instance method declaration
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:20: error: expected '(' in argument list of function declaration
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:19: error: consecutive declarations on a line must be separated by ';'
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:58: error: expected ':' following argument label and parameter name
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:58: error: expected type
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:38: error: cannot find type 'consuming' in scope
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:21: error: operator implementation without matching operator declaration
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:8: error: 'postfix' requires a function with one argument
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: error: expected '{' in body of function declaration
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:33:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:10: error: expected '{' in body of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:10: error: invalid redeclaration of 'consuming()'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:39:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:10: error: expected '{' in body of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:10: error: invalid redeclaration of 'consuming()'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:10: error: expected '{' in body of function declaration
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:10: error: invalid redeclaration of 'consuming()'
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:10: error: expected '{' in body of function declaration
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:10: error: invalid redeclaration of 'consuming()'
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
[2/2] Compiling Wrap Wrap.swift
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:48: error: expected ',' separator
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
,
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:48: error: unnamed parameters must be written with the empty name '_'
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
_:
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:6:17: error: expected ',' separator
.init(consume argument)
^
,
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:13:36: error: expected type
public struct _FlowDownBox<Value>: ~Copyable {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:13:36: error: expected '{' in struct
public struct _FlowDownBox<Value>: ~Copyable {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: error: expected 'func' keyword in instance method declaration
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:20: error: expected '(' in argument list of function declaration
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:19: error: consecutive declarations on a line must be separated by ';'
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:61: error: expected ':' following argument label and parameter name
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:61: error: expected type
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:10: error: expected 'func' keyword in instance method declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:20: error: expected '(' in argument list of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:19: error: consecutive declarations on a line must be separated by ';'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:57: error: expected ':' following argument label and parameter name
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:57: error: expected type
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:10: error: expected 'func' keyword in instance method declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:20: error: expected '(' in argument list of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:19: error: consecutive declarations on a line must be separated by ';'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:57: error: expected ':' following argument label and parameter name
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:57: error: expected type
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:10: error: expected 'func' keyword in instance method declaration
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:20: error: expected '(' in argument list of function declaration
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:19: error: consecutive declarations on a line must be separated by ';'
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:10: error: expected 'func' keyword in instance method declaration
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
func
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:20: error: expected '(' in argument list of function declaration
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:19: error: consecutive declarations on a line must be separated by ';'
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
;
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:58: error: expected ':' following argument label and parameter name
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:58: error: expected type
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
<#type#>
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:38: error: cannot find type 'consuming' in scope
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:21: error: operator implementation without matching operator declaration
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:5:8: error: 'postfix' requires a function with one argument
public postfix func &> <T>(argument: consuming T) -> _FlowDownBox<T> {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: error: expected '{' in body of function declaration
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:33:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:10: error: expected '{' in body of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:34:10: error: invalid redeclaration of 'consuming()'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:39:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:10: error: expected '{' in body of function declaration
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:41:10: error: invalid redeclaration of 'consuming()'
public consuming func `do`(_ applier: (consuming Value) throws -> Void) rethrows -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:10: error: expected '{' in body of function declaration
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:46:10: error: invalid redeclaration of 'consuming()'
public consuming func modify(_ modifier: (inout Value) throws -> Void) rethrows -> Value {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:10: error: expected '{' in body of function declaration
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:51:10: error: invalid redeclaration of 'consuming()'
public consuming func filter(_ filter: (consuming Value) -> Bool) -> Value? {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:29:10: note: 'consuming()' previously declared here
public consuming func map<U>(_ transform: (consuming Value) throws -> U) rethrows -> U {
^
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:6:9: error: cannot find 'consume' in scope
.init(consume argument)
^~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:6:8: error: argument passed to call that takes no arguments
.init(consume argument)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:30:19: error: cannot find 'value' in scope
try transform(value)
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:30:19: error: argument passed to call that takes no arguments
try transform(value)
~^~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:35:17: error: cannot find 'value' in scope
try applier(value)
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:35:17: error: argument passed to call that takes no arguments
try applier(value)
~^~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:36:12: error: cannot find 'value' in scope
return value
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:42:17: error: cannot find 'value' in scope
try applier(value)
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:42:17: error: argument passed to call that takes no arguments
try applier(value)
~^~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:43:12: error: cannot find 'value' in scope
return value
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:47:19: error: cannot find 'value' in scope
try modifier(&value)
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:48:12: error: cannot find 'value' in scope
return value
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:52:18: error: cannot find 'value' in scope
guard filter(value) else {
^~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:52:18: error: argument passed to call that takes no arguments
guard filter(value) else {
~^~~~~~
/host/spi-builder-workspace/Sources/Wrap/Wrap.swift:55:12: error: cannot find 'value' in scope
return value
^~~~~
BUILD FAILURE 5.8 linux