Build Information
Failed to build SwiftPresso, reference main (51394b
), with Swift 5.9 for Linux on 18 Sep 2024 10:19:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Livsy90/SwiftPresso.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/Livsy90/SwiftPresso
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 51394bd Update README.md
Cloned https://github.com/Livsy90/SwiftPresso.git
Revision (git rev-parse @):
51394bd90f619479b9162fbafa71ae96f4595eda
SUCCESS checkout https://github.com/Livsy90/SwiftPresso.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/Livsy90/SwiftPresso.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/Livsy90/SkavokNetworking.git
Fetching https://github.com/Livsy90/ApricotNavigation.git
[1/46] Fetching skavoknetworking
[33/71] Fetching skavoknetworking, apricotnavigation
Fetched https://github.com/Livsy90/ApricotNavigation.git (0.32s)
Fetched https://github.com/Livsy90/SkavokNetworking.git (0.32s)
Computing version for https://github.com/Livsy90/ApricotNavigation.git
Computed https://github.com/Livsy90/ApricotNavigation.git at 1.0.0 (0.30s)
Computing version for https://github.com/Livsy90/SkavokNetworking.git
Computed https://github.com/Livsy90/SkavokNetworking.git at 1.0.2 (0.31s)
Creating working copy for https://github.com/Livsy90/ApricotNavigation.git
Working copy of https://github.com/Livsy90/ApricotNavigation.git resolved at 1.0.0
Creating working copy for https://github.com/Livsy90/SkavokNetworking.git
Working copy of https://github.com/Livsy90/SkavokNetworking.git resolved at 1.0.2
Building for debugging...
[1/11] Compiling ApricotNavigation Router.swift
/host/spi-builder-workspace/.build/checkouts/ApricotNavigation/Sources/ApricotNavigation/Router/Router.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/11] Emitting module ApricotNavigation
/host/spi-builder-workspace/.build/checkouts/ApricotNavigation/Sources/ApricotNavigation/Router/Router.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/11] Compiling ApricotNavigation AnyIdentifiable.swift
/host/spi-builder-workspace/.build/checkouts/ApricotNavigation/Sources/ApricotNavigation/Router/Router.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:7:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:12:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:13:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:18:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:19:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:36:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:37:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:52:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:53:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:70:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:71:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:86:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:87:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:92:69: error: cannot find type 'URLRequest' in scope
func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:13: error: cannot convert return expression of type 'Int' to return type 'Response<T>'
try await send(request, delegate: nil, configure: nil)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:19: error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:19: note: use 'SwiftGlibc.' to reference the global function in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
SwiftGlibc.
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:23: error: extraneous argument labels 'delegate:configure:' in call
try await send(request, delegate: nil, configure: nil)
^ ~~~~~~~~~~ ~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:62: error: missing argument for parameter #4 in call
try await send(request, delegate: nil, configure: nil)
^
, <#Int32#>
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:24: error: cannot convert value of type 'Request<T>' to expected argument type 'Int32'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:59: error: 'nil' is not compatible with expected argument type 'Int'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:13: error: cannot convert return expression of type 'Int' to return type 'Response<Void>'
try await send(request, delegate: nil, configure: nil)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:19: error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:19: note: use 'SwiftGlibc.' to reference the global function in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
SwiftGlibc.
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:23: error: extraneous argument labels 'delegate:configure:' in call
try await send(request, delegate: nil, configure: nil)
^ ~~~~~~~~~~ ~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:62: error: missing argument for parameter #4 in call
try await send(request, delegate: nil, configure: nil)
^
, <#Int32#>
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:24: error: cannot convert value of type 'Request<Void>' to expected argument type 'Int32'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:59: error: 'nil' is not compatible with expected argument type 'Int'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:107:25: error: extra arguments at positions #3, #4 in call
try await upload(for: request, from: data, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:106:10: note: 'upload(for:from:)' declared here
func upload(for request: Request<Void>, from data: Data) async throws -> Response<Void> {
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:107:62: error: 'nil' requires a contextual type
try await upload(for: request, from: data, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:107:78: error: 'nil' requires a contextual type
try await upload(for: request, from: data, delegate: nil, configure: nil)
^
BUILD FAILURE 5.9 linux