The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Wand_Weather, reference main (6d9983), with Swift 6.2 for Wasm on 6 Mar 2026 09:09:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/The-Wand/Weather.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/The-Wand/Weather
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6d99832 Make it builds for 3.0.5
Cloned https://github.com/The-Wand/Weather.git
Revision (git rev-parse @):
6d99832268ea690eda21876734b378b3b74f0234
SUCCESS checkout https://github.com/The-Wand/Weather.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/The-Wand/Weather.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/the-wand/Any.git
Fetching https://github.com/the-wand/URL.git
Fetching https://github.com/the-wand/Wand.git
Fetching https://github.com/the-wand/Location.git
[1/3410] Fetching location
[1161/3687] Fetching location, any
[1348/12652] Fetching location, any, wand
[1617/17348] Fetching location, any, wand, url
Fetched https://github.com/the-wand/Any.git from cache (0.75s)
[6825/17071] Fetching location, wand, url
Fetched https://github.com/the-wand/URL.git from cache (1.16s)
Fetched https://github.com/the-wand/Location.git from cache (1.16s)
Fetched https://github.com/the-wand/Wand.git from cache (1.23s)
Computing version for https://github.com/the-wand/URL.git
Computed https://github.com/the-wand/URL.git at 3.0.5 (2.40s)
Computing version for https://github.com/the-wand/Location.git
Computed https://github.com/the-wand/Location.git at 3.0.5 (0.66s)
Computing version for https://github.com/the-wand/Wand.git
Computed https://github.com/the-wand/Wand.git at 3.0.5 (1.03s)
Computing version for https://github.com/the-wand/Any.git
Computed https://github.com/the-wand/Any.git at 1.0.3 (0.48s)
Creating working copy for https://github.com/the-wand/Location.git
Working copy of https://github.com/the-wand/Location.git resolved at 3.0.5
Creating working copy for https://github.com/the-wand/URL.git
Working copy of https://github.com/the-wand/URL.git resolved at 3.0.5
Creating working copy for https://github.com/the-wand/Any.git
Working copy of https://github.com/the-wand/Any.git resolved at 1.0.3
Creating working copy for https://github.com/the-wand/Wand.git
Working copy of https://github.com/the-wand/Wand.git resolved at 3.0.5
warning: 'wand': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Wand.md
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/41] Emitting module Wand
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:133:27: error: cannot find 'USEC_PER_SEC' in scope
131 |
132 |         let time: Int = Date().timeIntervalSince1970|
133 |         let usec = time * USEC_PER_SEC|
    |                           `- error: cannot find 'USEC_PER_SEC' in scope
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:135:23: error: cannot find 'URLRequest' in scope
133 |         let usec = time * USEC_PER_SEC|
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
    |                       `- error: cannot find 'URLRequest' in scope
136 |         request.httpMethod = "POST"
137 |         request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
152 |     }
153 |
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:36: error: cannot infer contextual base in reference to member 'default'
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'default'
152 |     }
153 |
[7/45] Compiling Wand Describing_Data.swift
[8/45] Compiling Wand Expecting.swift
[9/45] Compiling Wand Core+Wanded.swift
[10/45] Compiling Wand NW.swift
[11/45] Compiling Wand Obtainable.swift
[12/45] Compiling Wand CoreGraphics_Convertable.swift
[13/45] Compiling Wand Numbers_Convertable.swift
[14/45] Compiling Wand String_Convertable.swift
[15/45] Compiling Wand Describing.swift
[16/45] Compiling Wand Describing_Character.swift
[17/45] Compiling Wand &.swift
[18/45] Compiling Wand AndT.swift
[19/45] Compiling Wand AndU.swift
[20/45] Compiling Wand Operation.swift
[21/45] Compiling Wand ?.swift
[22/45] Compiling Wand Expressible.swift
[23/45] Compiling Wand ExpressibleByArray.swift
[24/45] Compiling Wand ExpressibleByDictionary.swift
[25/45] Compiling Wand Key.swift
[26/45] Compiling Wand Weak.swift
[27/45] Compiling Wand Ubiquitous.swift
[28/45] Compiling Wand WandFramerProtocol.swift
[29/45] Compiling Wand Wanded.swift
[30/45] Compiling Wand |.swift
[31/45] Compiling Wand Log.swift
[32/45] Compiling Wand Memory.swift
[33/45] Compiling Wand Addons.swift
[34/45] Compiling Wand All.swift
[35/45] Compiling Wand Any.swift
[36/45] Compiling Wand Counting.swift
[37/45] Compiling Wand Sequence.swift
[38/45] Compiling Wand Task.swift
[39/45] Compiling Wand Ask.Nil.swift
[40/45] Compiling Wand Ask.T.swift
[41/45] Compiling Wand Error.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:133:27: error: cannot find 'USEC_PER_SEC' in scope
131 |
132 |         let time: Int = Date().timeIntervalSince1970|
133 |         let usec = time * USEC_PER_SEC|
    |                           `- error: cannot find 'USEC_PER_SEC' in scope
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:135:23: error: cannot find 'URLRequest' in scope
133 |         let usec = time * USEC_PER_SEC|
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
    |                       `- error: cannot find 'URLRequest' in scope
136 |         request.httpMethod = "POST"
137 |         request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
152 |     }
153 |
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:36: error: cannot infer contextual base in reference to member 'default'
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'default'
152 |     }
153 |
[42/45] Compiling Wand Error?.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:133:27: error: cannot find 'USEC_PER_SEC' in scope
131 |
132 |         let time: Int = Date().timeIntervalSince1970|
133 |         let usec = time * USEC_PER_SEC|
    |                           `- error: cannot find 'USEC_PER_SEC' in scope
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:135:23: error: cannot find 'URLRequest' in scope
133 |         let usec = time * USEC_PER_SEC|
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
    |                       `- error: cannot find 'URLRequest' in scope
136 |         request.httpMethod = "POST"
137 |         request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
152 |     }
153 |
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:36: error: cannot infer contextual base in reference to member 'default'
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'default'
152 |     }
153 |
[43/45] Compiling Wand Option.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:133:27: error: cannot find 'USEC_PER_SEC' in scope
131 |
132 |         let time: Int = Date().timeIntervalSince1970|
133 |         let usec = time * USEC_PER_SEC|
    |                           `- error: cannot find 'USEC_PER_SEC' in scope
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:135:23: error: cannot find 'URLRequest' in scope
133 |         let usec = time * USEC_PER_SEC|
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
    |                       `- error: cannot find 'URLRequest' in scope
136 |         request.httpMethod = "POST"
137 |         request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
152 |     }
153 |
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:36: error: cannot infer contextual base in reference to member 'default'
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'default'
152 |     }
153 |
[44/45] Compiling Wand Ask.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:133:27: error: cannot find 'USEC_PER_SEC' in scope
131 |
132 |         let time: Int = Date().timeIntervalSince1970|
133 |         let usec = time * USEC_PER_SEC|
    |                           `- error: cannot find 'USEC_PER_SEC' in scope
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:135:23: error: cannot find 'URLRequest' in scope
133 |         let usec = time * USEC_PER_SEC|
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
    |                       `- error: cannot find 'URLRequest' in scope
136 |         request.httpMethod = "POST"
137 |         request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
152 |     }
153 |
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:36: error: cannot infer contextual base in reference to member 'default'
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'default'
152 |     }
153 |
[45/45] Compiling Wand Core.swift
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:133:27: error: cannot find 'USEC_PER_SEC' in scope
131 |
132 |         let time: Int = Date().timeIntervalSince1970|
133 |         let usec = time * USEC_PER_SEC|
    |                           `- error: cannot find 'USEC_PER_SEC' in scope
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:135:23: error: cannot find 'URLRequest' in scope
133 |         let usec = time * USEC_PER_SEC|
134 |
135 |         var request = URLRequest(url: URL(string: "https://api.mixpanel.com/import")!)
    |                       `- error: cannot find 'URLRequest' in scope
136 |         request.httpMethod = "POST"
137 |         request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:9: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
152 |     }
153 |
/host/spi-builder-workspace/.build/checkouts/Wand/Sources/Wand/Core/Core.swift:151:36: error: cannot infer contextual base in reference to member 'default'
149 |         ])
150 |
151 |         URLSession(configuration: .default).dataTask(with: request).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'default'
152 |     }
153 |
BUILD FAILURE 6.2 wasm