Build Information
Failed to build WandNetwork, reference 2.0.10 (5eecbb), with Swift 6.1 for Linux on 6 Mar 2026 08:56:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/The-Wand/Network.git
Reference: 2.0.10
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/The-Wand/Network
* tag 2.0.10 -> FETCH_HEAD
HEAD is now at 5eecbb7 Update to Wand 2.0.10
Cloned https://github.com/The-Wand/Network.git
Revision (git rev-parse @):
5eecbb71ef0973d7467e459b91fdb43b27ba2e0e
SUCCESS checkout https://github.com/The-Wand/Network.git at 2.0.10
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/The-Wand/Network.git
https://github.com/The-Wand/Network.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "any",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/The-Wand/Any.git"
},
{
"identity" : "wand",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.10",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/The-Wand/Wand.git"
}
],
"manifest_display_name" : "WandNetwork",
"name" : "WandNetwork",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "WandNetwork",
"targets" : [
"WandNetwork"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "wandTests",
"module_type" : "SwiftTarget",
"name" : "wandTests",
"path" : "Tests/wandTests",
"product_dependencies" : [
"Any_"
],
"sources" : [
"Network/NWPath_Tests.swift",
"Unit/Unit.swift",
"Unit/XCTestCase.swift"
],
"target_dependencies" : [
"WandNetwork"
],
"type" : "test"
},
{
"c99name" : "WandNetwork",
"module_type" : "SwiftTarget",
"name" : "WandNetwork",
"path" : "Sources/WandNetwork",
"product_dependencies" : [
"Wand"
],
"product_memberships" : [
"WandNetwork"
],
"sources" : [
"NWPathMonitor_Obtainable.swift",
"NWPath_Ask.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/The-Wand/Any.git
Fetching https://github.com/The-Wand/Wand.git
[1/8965] Fetching wand
[629/9242] Fetching wand, any
Fetched https://github.com/The-Wand/Any.git from cache (1.25s)
Fetched https://github.com/The-Wand/Wand.git from cache (1.26s)
Computing version for https://github.com/The-Wand/Any.git
Computed https://github.com/The-Wand/Any.git at 1.0.3 (1.94s)
Computing version for https://github.com/The-Wand/Wand.git
Computed https://github.com/The-Wand/Wand.git at 2.0.15 (0.75s)
Creating working copy for https://github.com/The-Wand/Wand.git
Working copy of https://github.com/The-Wand/Wand.git resolved at 2.0.15
Creating working copy for https://github.com/The-Wand/Any.git
Working copy of https://github.com/The-Wand/Any.git resolved at 1.0.3
warning: 'wand': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Wand.md
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/30] Emitting module Wand
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[5/33] Compiling Wand Describing_Data.swift
[6/33] Compiling Wand Expressible.swift
[7/33] Compiling Wand ExpressibleByArray.swift
[8/33] Compiling Wand Addons.swift
[9/33] Compiling Wand All.swift
[10/33] Compiling Wand Any.swift
[11/33] Compiling Wand Counting.swift
[12/33] Compiling Wand State.swift
[13/33] Compiling Wand Weak.swift
[14/33] Compiling Wand Obtainable.swift
[15/33] Compiling Wand Ubiquitous.swift
[16/33] Compiling Wand ExpressibleByDictionary.swift
[17/33] Compiling Wand Log.swift
[18/33] Compiling Wand Memory.swift
[19/33] Compiling Wand Wanded.swift
[20/33] Compiling Wand |.swift
[21/33] Compiling Wand CoreGraphics_Convertible.swift
[22/33] Compiling Wand Numbers_Convertible.swift
[23/33] Compiling Wand Asking.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[24/33] Compiling Wand AskingNil.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[25/33] Compiling Wand Core.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[26/33] Compiling Wand Key.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[27/33] Compiling Wand String_Convertible.swift
[28/33] Compiling Wand Describing.swift
[29/33] Compiling Wand Describing_Character.swift
[30/33] Compiling Wand Error.swift
[31/33] Compiling Wand Error?.swift
[32/33] Compiling Wand Option.swift
[33/33] Compiling Wand Ask.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/wandTests/Package.xctestplan
warning: 'wand': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Wand.md
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling Wand Wanded.swift
[3/28] Compiling Wand |.swift
[4/28] Compiling Wand CoreGraphics_Convertible.swift
[5/28] Compiling Wand Numbers_Convertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/31] Emitting module Wand
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[7/31] Compiling Wand State.swift
[8/31] Compiling Wand Weak.swift
[9/31] Compiling Wand Obtainable.swift
[10/31] Compiling Wand Ubiquitous.swift
[11/31] Compiling Wand Addons.swift
[12/31] Compiling Wand All.swift
[13/31] Compiling Wand Any.swift
[14/31] Compiling Wand Counting.swift
[15/31] Compiling Wand Describing_Data.swift
[16/31] Compiling Wand Expressible.swift
[17/31] Compiling Wand ExpressibleByArray.swift
[18/31] Compiling Wand String_Convertible.swift
[19/31] Compiling Wand Describing.swift
[20/31] Compiling Wand Describing_Character.swift
[21/31] Compiling Wand Asking.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[22/31] Compiling Wand AskingNil.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[23/31] Compiling Wand Core.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[24/31] Compiling Wand Key.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:120:36: error: cannot find 'USEC_PER_SEC' in scope
118 |
119 | let time = Date().timeIntervalSince1970
120 | let id = Int(time * Double(USEC_PER_SEC))
| `- error: cannot find 'USEC_PER_SEC' in scope
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:122:23: error: cannot find 'URLRequest' in scope
120 | let id = Int(time * Double(USEC_PER_SEC))
121 |
122 | var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
| `- error: cannot find 'URLRequest' in scope
123 | request.httpMethod = "POST"
124 | request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
139 |
140 | }
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:138:36: error: cannot infer contextual base in reference to member 'background'
136 | ])
137 |
138 | URLSession(configuration: .background(withIdentifier: "com.apple.wand")).dataTask(with: request).resume()
| `- error: cannot infer contextual base in reference to member 'background'
139 |
140 | }
[25/31] Compiling Wand Error.swift
[26/31] Compiling Wand Error?.swift
[27/31] Compiling Wand Option.swift
[28/31] Compiling Wand Ask.swift
[29/31] Compiling Wand ExpressibleByDictionary.swift
[30/31] Compiling Wand Log.swift
[31/31] Compiling Wand Memory.swift
BUILD FAILURE 6.1 linux