Build Information
Failed to build SwiftExtras, reference main (f47501
), with Swift 6.1 for Wasm on 8 Sep 2025 14:34:11 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/SwiftExtras.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/0xWDG/SwiftExtras
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f475017 Improve Carousel
Cloned https://github.com/0xWDG/SwiftExtras.git
Revision (git rev-parse @):
f4750172d8a283b4a612b8d6a7791b5a5387e1ba
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/SwiftExtras.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/0xWDG/SwiftExtras.git
https://github.com/0xWDG/SwiftExtras.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "oslogviewer",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xWDG/OSLogViewer.git"
}
],
"manifest_display_name" : "SwiftExtras",
"name" : "SwiftExtras",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "SwiftExtras",
"targets" : [
"SwiftExtras"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftExtrasTests",
"module_type" : "SwiftTarget",
"name" : "SwiftExtrasTests",
"path" : "Tests/SwiftExtrasTests",
"sources" : [
"SwiftExtrasTests.swift"
],
"target_dependencies" : [
"SwiftExtras"
],
"type" : "test"
},
{
"c99name" : "SwiftExtras",
"module_type" : "SwiftTarget",
"name" : "SwiftExtras",
"path" : "Sources/SwiftExtras",
"product_dependencies" : [
"OSLogViewer"
],
"product_memberships" : [
"SwiftExtras"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SwiftExtras/Assets.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftExtras/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Classes/BackgroundRemover.swift",
"Classes/SensoryFeedback.swift",
"Enums/AppInfo.swift",
"Enums/Device.swift",
"Extensions/Binding+onChange.swift",
"Extensions/CGFloat+.swift",
"Extensions/Collection+.swift",
"Extensions/Collection+safeIndex.swift",
"Extensions/Color+Identifiable.swift",
"Extensions/Color+colorBlind.swift",
"Extensions/Color+components.swift",
"Extensions/Color+default.swift",
"Extensions/Color+dynamicColor.swift",
"Extensions/Color+init.swift",
"Extensions/Color+random.swift",
"Extensions/Data+Compression.swift",
"Extensions/Date+.swift",
"Extensions/Date+Identifiable.swift",
"Extensions/Date+getFormattedDate.swift",
"Extensions/Error+errorCode.swift",
"Extensions/Image+Platform.swift",
"Extensions/Int+.swift",
"Extensions/Locale+Utilities.swift",
"Extensions/LocalizedStringKey+.swift",
"Extensions/LocalizedStringKey+Identifiable.swift",
"Extensions/Logger+.swift",
"Extensions/NotificationName+.swift",
"Extensions/ProcessInfo+Utilities.swift",
"Extensions/Sequence+.swift",
"Extensions/String/String+ANSIColors.swift",
"Extensions/String/String+Base64.swift",
"Extensions/String/String+HTML.swift",
"Extensions/String/String+IdentifiableString.swift",
"Extensions/String/String+clean.swift",
"Extensions/String/String+contains.swift",
"Extensions/String/String+error.swift",
"Extensions/String/String+hashed.swift",
"Extensions/String/String+slugified.swift",
"Extensions/String/String+subscript.swift",
"Extensions/String/String+trimmed.swift",
"Extensions/String/String+url.swift",
"Extensions/StringProtocol+.swift",
"Extensions/Text+Gradient.swift",
"Extensions/TimeInterval+.swift",
"Extensions/UIDevice+Utilities.swift",
"Extensions/URL+.swift",
"Extensions/UserDefaults+subscript.swift",
"Extensions/View/View+Error.swift",
"Extensions/View/View+Frame.swift",
"Extensions/View/View+Log.swift",
"Extensions/View/View+Task.swift",
"Extensions/View/View+colorScheme.swift",
"Extensions/View/View+getRootViewController.swift",
"Extensions/View/View+horizontallyCentered.swift",
"Extensions/View/View+modifier.swift",
"Extensions/View/View+onLandscape.swift",
"Extensions/View/View+readOffsetX.swift",
"Extensions/View/View+render.swift",
"Extensions/View/View+sizeSaver.swift",
"Functions/kMeansCluster.swift",
"Layout/WStack.swift",
"Modifiers/Button+longPress.swift",
"Modifiers/KeyboardDismissModifier.swift",
"Modifiers/PulsatingEffect.swift",
"Modifiers/ShakeEffect.swift",
"MultiPlatform/NSPasteboard+string.swift",
"MultiPlatform/PlatformTypes.swift",
"MultiPlatform/PlatformViewRepresentable.swift",
"MultiPlatform/openURL.swift",
"Operators/RegularExpressionOperator.swift",
"Operators/optionalBinding.swift",
"Representables/MailView.swift",
"Representables/SFSafari.swift",
"Representables/WebView.swift",
"Shapes/HexShape.swift",
"Structs/SEAcknowledgement.swift",
"Structs/SEChangeLogEntry.swift",
"Structs/SocialIcons.swift",
"Styles/BorderedToggleStyle.swift",
"Styles/ColoredButtonStyle.swift",
"Styles/GrayButtonStyle.swift",
"Styles/ListButtonStyle.swift",
"Styles/PlainBorderedToggleStyle.swift",
"Styles/ToggleButtonStyle.swift",
"SwiftExtras.swift",
"SwiftUI/AsyncView.swift",
"SwiftUI/CardView.swift",
"SwiftUI/CarouselView.swift",
"SwiftUI/ConfettiView.swift",
"SwiftUI/DisclosureSection.swift",
"SwiftUI/FloatingTextField.swift",
"SwiftUI/HorizontalStepper.swift",
"SwiftUI/IndexedList.swift",
"SwiftUI/LimitedTextField.swift",
"SwiftUI/MonthYearPickerView.swift",
"SwiftUI/MultiSelectPickerView.swift",
"SwiftUI/MultiSelectView.swift",
"SwiftUI/SEAcknowledgementView.swift",
"SwiftUI/SEChangeLogView.swift",
"SwiftUI/SESettingsView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/0xWDG/OSLogViewer.git
[1/1585] Fetching oslogviewer
Fetched https://github.com/0xWDG/OSLogViewer.git from cache (0.34s)
Creating working copy for https://github.com/0xWDG/OSLogViewer.git
Working copy of https://github.com/0xWDG/OSLogViewer.git resolved at main (e45ebc5)
Building for debugging...
[0/8] Copying Info.plist
[1/8] Write sources
[1/8] Copying Localizable.xcstrings
[1/8] Write sources
[1/8] Copying Info.plist
[5/8] Copying Localizable.xcstrings
[6/8] Copying Assets.xcassets
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/13] Compiling OSLogViewer OSLogViewer.swift
[10/13] Emitting module OSLogViewer
[11/13] Compiling OSLogViewer OSLogExtractor.swift
[12/13] Compiling OSLogViewer OSLogViewer.Colors.swift
[13/13] Compiling OSLogViewer resource_bundle_accessor.swift
[15/104] Compiling SwiftExtras View+getRootViewController.swift
[16/104] Compiling SwiftExtras View+horizontallyCentered.swift
[17/104] Compiling SwiftExtras View+modifier.swift
[18/104] Compiling SwiftExtras View+onLandscape.swift
[19/104] Compiling SwiftExtras View+readOffsetX.swift
[20/104] Compiling SwiftExtras View+render.swift
[21/104] Compiling SwiftExtras View+sizeSaver.swift
[22/104] Compiling SwiftExtras kMeansCluster.swift
[23/104] Compiling SwiftExtras WStack.swift
[24/104] Compiling SwiftExtras Button+longPress.swift
[25/104] Compiling SwiftExtras KeyboardDismissModifier.swift
[26/104] Compiling SwiftExtras PulsatingEffect.swift
[27/104] Compiling SwiftExtras ShakeEffect.swift
[28/116] Compiling SwiftExtras SocialIcons.swift
[29/116] Compiling SwiftExtras BorderedToggleStyle.swift
[30/116] Compiling SwiftExtras ColoredButtonStyle.swift
[31/116] Compiling SwiftExtras GrayButtonStyle.swift
[32/116] Compiling SwiftExtras ListButtonStyle.swift
[33/116] Compiling SwiftExtras PlainBorderedToggleStyle.swift
[34/116] Compiling SwiftExtras ToggleButtonStyle.swift
[35/116] Compiling SwiftExtras SwiftExtras.swift
[36/116] Compiling SwiftExtras AsyncView.swift
[37/116] Compiling SwiftExtras CardView.swift
[38/116] Compiling SwiftExtras CarouselView.swift
[39/116] Compiling SwiftExtras ConfettiView.swift
[40/116] Compiling SwiftExtras String+trimmed.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[41/116] Compiling SwiftExtras String+url.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[42/116] Compiling SwiftExtras StringProtocol+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[43/116] Compiling SwiftExtras Text+Gradient.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[44/116] Compiling SwiftExtras TimeInterval+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[45/116] Compiling SwiftExtras UIDevice+Utilities.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[46/116] Compiling SwiftExtras URL+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[47/116] Compiling SwiftExtras UserDefaults+subscript.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[48/116] Compiling SwiftExtras View+Error.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[49/116] Compiling SwiftExtras View+Frame.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[50/116] Compiling SwiftExtras View+Log.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[51/116] Compiling SwiftExtras View+Task.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[52/116] Compiling SwiftExtras View+colorScheme.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[53/116] Compiling SwiftExtras NSPasteboard+string.swift
[54/116] Compiling SwiftExtras PlatformTypes.swift
[55/116] Compiling SwiftExtras PlatformViewRepresentable.swift
[56/116] Compiling SwiftExtras openURL.swift
[57/116] Compiling SwiftExtras RegularExpressionOperator.swift
[58/116] Compiling SwiftExtras optionalBinding.swift
[59/116] Compiling SwiftExtras MailView.swift
[60/116] Compiling SwiftExtras SFSafari.swift
[61/116] Compiling SwiftExtras WebView.swift
[62/116] Compiling SwiftExtras HexShape.swift
[63/116] Compiling SwiftExtras SEAcknowledgement.swift
[64/116] Compiling SwiftExtras SEChangeLogEntry.swift
[65/116] Compiling SwiftExtras DisclosureSection.swift
[66/116] Compiling SwiftExtras FloatingTextField.swift
[67/116] Compiling SwiftExtras HorizontalStepper.swift
[68/116] Compiling SwiftExtras IndexedList.swift
[69/116] Compiling SwiftExtras LimitedTextField.swift
[70/116] Compiling SwiftExtras MonthYearPickerView.swift
[71/116] Compiling SwiftExtras MultiSelectPickerView.swift
[72/116] Compiling SwiftExtras MultiSelectView.swift
[73/116] Compiling SwiftExtras SEAcknowledgementView.swift
[74/116] Compiling SwiftExtras SEChangeLogView.swift
[75/116] Compiling SwiftExtras SESettingsView.swift
[76/116] Compiling SwiftExtras resource_bundle_accessor.swift
[77/116] Compiling SwiftExtras BackgroundRemover.swift
[78/116] Compiling SwiftExtras SensoryFeedback.swift
[79/116] Compiling SwiftExtras AppInfo.swift
[80/116] Compiling SwiftExtras Device.swift
[81/116] Compiling SwiftExtras Binding+onChange.swift
[82/116] Compiling SwiftExtras CGFloat+.swift
[83/116] Compiling SwiftExtras Collection+.swift
[84/116] Compiling SwiftExtras Collection+safeIndex.swift
[85/116] Compiling SwiftExtras Color+Identifiable.swift
[86/116] Compiling SwiftExtras Color+colorBlind.swift
[87/116] Compiling SwiftExtras Color+components.swift
[88/116] Compiling SwiftExtras Color+default.swift
[89/116] Compiling SwiftExtras Color+dynamicColor.swift
[90/116] Emitting module SwiftExtras
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[91/116] Compiling SwiftExtras Color+init.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[92/116] Compiling SwiftExtras Color+random.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[93/116] Compiling SwiftExtras Data+Compression.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[94/116] Compiling SwiftExtras Date+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[95/116] Compiling SwiftExtras Date+Identifiable.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[96/116] Compiling SwiftExtras Date+getFormattedDate.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[97/116] Compiling SwiftExtras Error+errorCode.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[98/116] Compiling SwiftExtras Image+Platform.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[99/116] Compiling SwiftExtras Int+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[100/116] Compiling SwiftExtras Locale+Utilities.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[101/116] Compiling SwiftExtras LocalizedStringKey+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[102/116] Compiling SwiftExtras LocalizedStringKey+Identifiable.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[103/116] Compiling SwiftExtras Logger+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:132:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 |
131 | /// First day of the week
132 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Array of capitalized first letters of the weekdays
[104/116] Compiling SwiftExtras NotificationName+.swift
[105/116] Compiling SwiftExtras ProcessInfo+Utilities.swift
[106/116] Compiling SwiftExtras Sequence+.swift
[107/116] Compiling SwiftExtras String+ANSIColors.swift
[108/116] Compiling SwiftExtras String+Base64.swift
[109/116] Compiling SwiftExtras String+HTML.swift
[110/116] Compiling SwiftExtras String+IdentifiableString.swift
[111/116] Compiling SwiftExtras String+clean.swift
[112/116] Compiling SwiftExtras String+contains.swift
[113/116] Compiling SwiftExtras String+error.swift
[114/116] Compiling SwiftExtras String+hashed.swift
[115/116] Compiling SwiftExtras String+slugified.swift
[116/116] Compiling SwiftExtras String+subscript.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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling OSLogViewer OSLogViewer.swift
[3/6] Compiling OSLogViewer resource_bundle_accessor.swift
[4/6] Compiling OSLogViewer OSLogExtractor.swift
[5/6] Emitting module OSLogViewer
[6/6] Compiling OSLogViewer OSLogViewer.Colors.swift
[8/97] Emitting module SwiftExtras
[9/109] Compiling SwiftExtras SocialIcons.swift
[10/109] Compiling SwiftExtras BorderedToggleStyle.swift
[11/109] Compiling SwiftExtras ColoredButtonStyle.swift
[12/109] Compiling SwiftExtras GrayButtonStyle.swift
[13/109] Compiling SwiftExtras ListButtonStyle.swift
[14/109] Compiling SwiftExtras PlainBorderedToggleStyle.swift
[15/109] Compiling SwiftExtras ToggleButtonStyle.swift
[16/109] Compiling SwiftExtras SwiftExtras.swift
[17/109] Compiling SwiftExtras AsyncView.swift
[18/109] Compiling SwiftExtras CardView.swift
[19/109] Compiling SwiftExtras CarouselView.swift
[20/109] Compiling SwiftExtras ConfettiView.swift
[21/109] Compiling SwiftExtras View+getRootViewController.swift
[22/109] Compiling SwiftExtras View+horizontallyCentered.swift
[23/109] Compiling SwiftExtras View+modifier.swift
[24/109] Compiling SwiftExtras View+onLandscape.swift
[25/109] Compiling SwiftExtras View+readOffsetX.swift
[26/109] Compiling SwiftExtras View+render.swift
[27/109] Compiling SwiftExtras View+sizeSaver.swift
[28/109] Compiling SwiftExtras kMeansCluster.swift
[29/109] Compiling SwiftExtras WStack.swift
[30/109] Compiling SwiftExtras Button+longPress.swift
[31/109] Compiling SwiftExtras KeyboardDismissModifier.swift
[32/109] Compiling SwiftExtras PulsatingEffect.swift
[33/109] Compiling SwiftExtras ShakeEffect.swift
[34/109] Compiling SwiftExtras DisclosureSection.swift
[35/109] Compiling SwiftExtras FloatingTextField.swift
[36/109] Compiling SwiftExtras HorizontalStepper.swift
[37/109] Compiling SwiftExtras IndexedList.swift
[38/109] Compiling SwiftExtras LimitedTextField.swift
[39/109] Compiling SwiftExtras MonthYearPickerView.swift
[40/109] Compiling SwiftExtras MultiSelectPickerView.swift
[41/109] Compiling SwiftExtras MultiSelectView.swift
[42/109] Compiling SwiftExtras SEAcknowledgementView.swift
[43/109] Compiling SwiftExtras SEChangeLogView.swift
[44/109] Compiling SwiftExtras SESettingsView.swift
[45/109] Compiling SwiftExtras resource_bundle_accessor.swift
[46/109] Compiling SwiftExtras BackgroundRemover.swift
[47/109] Compiling SwiftExtras SensoryFeedback.swift
[48/109] Compiling SwiftExtras AppInfo.swift
[49/109] Compiling SwiftExtras Device.swift
[50/109] Compiling SwiftExtras Binding+onChange.swift
[51/109] Compiling SwiftExtras CGFloat+.swift
[52/109] Compiling SwiftExtras Collection+.swift
[53/109] Compiling SwiftExtras Collection+safeIndex.swift
[54/109] Compiling SwiftExtras Color+Identifiable.swift
[55/109] Compiling SwiftExtras Color+colorBlind.swift
[56/109] Compiling SwiftExtras Color+components.swift
[57/109] Compiling SwiftExtras Color+default.swift
[58/109] Compiling SwiftExtras Color+dynamicColor.swift
[59/109] Compiling SwiftExtras NSPasteboard+string.swift
[60/109] Compiling SwiftExtras PlatformTypes.swift
[61/109] Compiling SwiftExtras PlatformViewRepresentable.swift
[62/109] Compiling SwiftExtras openURL.swift
[63/109] Compiling SwiftExtras RegularExpressionOperator.swift
[64/109] Compiling SwiftExtras optionalBinding.swift
[65/109] Compiling SwiftExtras MailView.swift
[66/109] Compiling SwiftExtras SFSafari.swift
[67/109] Compiling SwiftExtras WebView.swift
[68/109] Compiling SwiftExtras HexShape.swift
[69/109] Compiling SwiftExtras SEAcknowledgement.swift
[70/109] Compiling SwiftExtras SEChangeLogEntry.swift
[71/109] Compiling SwiftExtras Color+init.swift
[72/109] Compiling SwiftExtras Color+random.swift
[73/109] Compiling SwiftExtras Data+Compression.swift
[74/109] Compiling SwiftExtras Date+.swift
[75/109] Compiling SwiftExtras Date+Identifiable.swift
[76/109] Compiling SwiftExtras Date+getFormattedDate.swift
[77/109] Compiling SwiftExtras Error+errorCode.swift
[78/109] Compiling SwiftExtras Image+Platform.swift
[79/109] Compiling SwiftExtras Int+.swift
[80/109] Compiling SwiftExtras Locale+Utilities.swift
[81/109] Compiling SwiftExtras LocalizedStringKey+.swift
[82/109] Compiling SwiftExtras LocalizedStringKey+Identifiable.swift
[83/109] Compiling SwiftExtras Logger+.swift
[84/109] Compiling SwiftExtras NotificationName+.swift
[85/109] Compiling SwiftExtras ProcessInfo+Utilities.swift
[86/109] Compiling SwiftExtras Sequence+.swift
[87/109] Compiling SwiftExtras String+ANSIColors.swift
[88/109] Compiling SwiftExtras String+Base64.swift
[89/109] Compiling SwiftExtras String+HTML.swift
[90/109] Compiling SwiftExtras String+IdentifiableString.swift
[91/109] Compiling SwiftExtras String+clean.swift
[92/109] Compiling SwiftExtras String+contains.swift
[93/109] Compiling SwiftExtras String+error.swift
[94/109] Compiling SwiftExtras String+hashed.swift
[95/109] Compiling SwiftExtras String+slugified.swift
[96/109] Compiling SwiftExtras String+subscript.swift
[97/109] Compiling SwiftExtras String+trimmed.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[98/109] Compiling SwiftExtras String+url.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[99/109] Compiling SwiftExtras StringProtocol+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[100/109] Compiling SwiftExtras Text+Gradient.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[101/109] Compiling SwiftExtras TimeInterval+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[102/109] Compiling SwiftExtras UIDevice+Utilities.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[103/109] Compiling SwiftExtras URL+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[104/109] Compiling SwiftExtras UserDefaults+subscript.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[105/109] Compiling SwiftExtras View+Error.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[106/109] Compiling SwiftExtras View+Frame.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[107/109] Compiling SwiftExtras View+Log.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[108/109] Compiling SwiftExtras View+Task.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
[109/109] Compiling SwiftExtras View+colorScheme.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:21:23: error: cannot find 'URLRequest' in scope
19 | /// - Returns: A Boolean value indicating whether the URL is reachable.
20 | public func isReachable() async -> Bool {
21 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = "HEAD"
23 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:25:54: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | return (response as? HTTPURLResponse)?.statusCode == 200
27 | } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:26:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
24 | do {
25 | let (_, response) = try await URLSession.shared.data(for: request)
26 | return (response as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | } catch {
28 | return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:37:23: error: cannot find 'URLRequest' in scope
35 | /// - Returns: A Boolean value indicating whether the URL is reachable.
36 | public func isReachable(completion: @escaping (Bool) -> Void) {
37 | var request = URLRequest(url: self)
| `- error: cannot find 'URLRequest' in scope
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:39:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 | var request = URLRequest(url: self)
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
41 | }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:40:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
38 | request.httpMethod = "HEAD"
39 | URLSession.shared.dataTask(with: request) { _, response, _ in
40 | completion((response as? HTTPURLResponse)?.statusCode == 200)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
41 | }
42 | .resume()
BUILD FAILURE 6.1 wasm