Build Information
Failed to build swift-networking, reference 1.2.1 (699c4f
), with Swift 5.9 for Linux on 29 Jan 2025 09:17:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telemtobi/swift-networking.git
Reference: 1.2.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/telemtobi/swift-networking
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at 699c4fe Merge pull request #14 from TelemTobi/patch/sendable_issue
Cloned https://github.com/telemtobi/swift-networking.git
Revision (git rev-parse @):
699c4fe5c8c4b09b2bf9a7b6ef7e2596950b3018
SUCCESS checkout https://github.com/telemtobi/swift-networking.git at 1.2.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/telemtobi/swift-networking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/18] Emitting module Networking
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
func mapRequest(_ request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
internal let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:160: error: cannot find type 'URLSessionDelegate' in scope
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject')
internal let urlSession: URLSession
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:15:18: warning: stored property 'loggingQueue' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'DispatchQueue'
internal let loggingQueue = DispatchQueue(label: #function)
^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: consecutive declarations on a line must be separated by ';'
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
;
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: expected declaration
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:8: note: in extension of 'URLRequest'
public extension URLRequest {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLResponse+Networking.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
public extension URLResponse {
^ ~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:21: error: type annotation missing in pattern
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:21: error: enums must not contain stored properties
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:9: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:21: error: type annotation missing in pattern
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:21: error: enums must not contain stored properties
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:9: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^~~~~~~~~~~
[2/20] Compiling Networking JsonMapper.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:21: error: type annotation missing in pattern
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:21: error: enums must not contain stored properties
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:9: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:21: error: type annotation missing in pattern
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:21: error: enums must not contain stored properties
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:9: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^~~~~~~~~~~
[3/20] Compiling Networking Networking.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:21: error: type annotation missing in pattern
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:21: error: enums must not contain stored properties
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:9: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:21: error: type annotation missing in pattern
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:21: error: enums must not contain stored properties
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:9: error: 'nonisolated' can not be applied to stored properties
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^~~~~~~~~~~
[4/20] Compiling Networking Authenticator.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
func mapRequest(_ request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
let statusCode = response?.status ?? .ok
~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:59:39: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:62:29: error: cannot convert value of type 'any Error' to expected argument type 'F'
return .failure(error)
^
as! F
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:85:43: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
[5/20] Compiling Networking NetworkingController+Logging.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
func mapRequest(_ request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
let statusCode = response?.status ?? .ok
~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:59:39: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:62:29: error: cannot convert value of type 'any Error' to expected argument type 'F'
return .failure(error)
^
as! F
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:85:43: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
[6/20] Compiling Networking NetworkingController+Mapping.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
func mapRequest(_ request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
let statusCode = response?.status ?? .ok
~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:59:39: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:62:29: error: cannot convert value of type 'any Error' to expected argument type 'F'
return .failure(error)
^
as! F
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:85:43: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
[7/20] Compiling Networking String+Extension.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
[8/20] Compiling Networking Task+Extension.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
[9/20] Compiling Networking HttpStatus.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
[10/20] Compiling Networking HttpTask.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
[11/20] Compiling Networking URLResponse+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLResponse+Networking.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
public extension URLResponse {
^ ~~~~~~~~~~~
[12/20] Compiling Networking HttpMethod.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLResponse+Networking.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
public extension URLResponse {
^ ~~~~~~~~~~~
[13/20] Compiling Networking AnyEncodable.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
[14/20] Compiling Networking Error+Extension.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
[15/20] Compiling Networking NetworkingController.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
func mapRequest(_ request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
internal let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:160: error: cannot find type 'URLSessionDelegate' in scope
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject')
internal let urlSession: URLSession
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:15:18: warning: stored property 'loggingQueue' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'DispatchQueue'
internal let loggingQueue = DispatchQueue(label: #function)
^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.urlSession = URLSession(
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
delegateQueue: nil
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:84:39: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:87:29: error: cannot convert value of type 'any Error' to expected argument type 'F'
return .failure(error)
^
as! F
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:102:43: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
;
[16/20] Compiling Networking DecodableError.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
func mapRequest(_ request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
internal let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:160: error: cannot find type 'URLSessionDelegate' in scope
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject')
internal let urlSession: URLSession
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:15:18: warning: stored property 'loggingQueue' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'DispatchQueue'
internal let loggingQueue = DispatchQueue(label: #function)
^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.urlSession = URLSession(
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
delegateQueue: nil
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:84:39: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:87:29: error: cannot convert value of type 'any Error' to expected argument type 'F'
return .failure(error)
^
as! F
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:102:43: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
;
[17/20] Compiling Networking Endpoint.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
func mapRequest(_ request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
internal let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:160: error: cannot find type 'URLSessionDelegate' in scope
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:25: error: generic parameter 'T' is not used in function signature
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: error: expected '{' in body of function declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:30: error: generic parameter 'T' is not used in function signature
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:18: error: expected '{' in body of function declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:34: error: generic parameter 'T' is not used in function signature
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:18: error: expected '{' in body of function declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject')
internal let urlSession: URLSession
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:15:18: warning: stored property 'loggingQueue' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'DispatchQueue'
internal let loggingQueue = DispatchQueue(label: #function)
^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.urlSession = URLSession(
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
delegateQueue: nil
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:84:39: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:87:29: error: cannot convert value of type 'any Error' to expected argument type 'F'
return .failure(error)
^
as! F
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:102:43: error: generic parameter 'T' could not be inferred
let result: T = try await request(endpoint)
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:17: note: in call to function 'request'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:46:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var delayInterval: TimeInterval = 1.0
^
;
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:20: error: expected 'var' keyword in property declaration
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
var
/host/spi-builder-workspace/Sources/Networking/Networking.swift:49:28: error: consecutive declarations on a line must be separated by ';'
nonisolated(unsafe) static var shouldPrintLogs: Bool = false
^
;
[18/20] Compiling Networking Data+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: consecutive declarations on a line must be separated by ';'
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
;
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: expected declaration
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:8: note: in extension of 'URLRequest'
public extension URLRequest {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
[19/20] Compiling Networking URL+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: consecutive declarations on a line must be separated by ';'
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
;
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: expected declaration
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:8: note: in extension of 'URLRequest'
public extension URLRequest {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
[20/20] Compiling Networking URLRequest+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:17:90: error: expected declaration
public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:95:102: error: expected declaration
private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:128:95: error: expected declaration
private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:3:1: note: in extension of 'NetworkingController'
extension NetworkingController {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: consecutive declarations on a line must be separated by ';'
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:50:77: error: expected declaration
public func request<T: Decodable & Sendable>(_ endpoint: E) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: consecutive declarations on a line must be separated by ';'
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:112:89: error: expected declaration
private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: consecutive declarations on a line must be separated by ';'
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
;
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:152:82: error: expected declaration
private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
^
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:4:20: note: in declaration of 'NetworkingController'
public final class NetworkingController<E: Endpoint, F: DecodableError>: Sendable {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: consecutive declarations on a line must be separated by ';'
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
;
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:6:38: error: expected declaration
init(_ endpoint: Endpoint) throws(Networking.Error) {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:8: note: in extension of 'URLRequest'
public extension URLRequest {
^
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux