The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Benchmark, reference 0.3.1 (6f247d), with Swift 6.3 for Wasm on 10 Apr 2026 18:40:03 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/my-mail-ru/swift-benchmark.git
Reference: 0.3.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/my-mail-ru/swift-benchmark
 * tag               0.3.1      -> FETCH_HEAD
HEAD is now at 6f247d0 Swift 4.0
Cloned https://github.com/my-mail-ru/swift-benchmark.git
Revision (git rev-parse @):
6f247d04a4edec8d300f61f420af61e51ac0c875
SUCCESS checkout https://github.com/my-mail-ru/swift-benchmark.git at 0.3.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/my-mail-ru/swift-benchmark.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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module Benchmark
/host/spi-builder-workspace/Sources/Benchmark.swift:11:11: error: cannot find type 'timespec' in scope
 9 | public struct Sample : CustomStringConvertible {
10 | 	public let count: Int
11 | 	let wcl: timespec
   |           `- error: cannot find type 'timespec' in scope
12 | 	let usr: timeval
13 | 	let sys: timeval
/host/spi-builder-workspace/Sources/Benchmark.swift:12:11: error: cannot find type 'timeval' in scope
10 | 	public let count: Int
11 | 	let wcl: timespec
12 | 	let usr: timeval
   |           `- error: cannot find type 'timeval' in scope
13 | 	let sys: timeval
14 |
/host/spi-builder-workspace/Sources/Benchmark.swift:13:11: error: cannot find type 'timeval' in scope
11 | 	let wcl: timespec
12 | 	let usr: timeval
13 | 	let sys: timeval
   |           `- error: cannot find type 'timeval' in scope
14 |
15 | 	public var wallclock: Double { return Double(wcl) }
/host/spi-builder-workspace/Sources/timespec.swift:7:42: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:14: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:29: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:42: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:14: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:29: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:32:15: error: cannot find type 'timespec' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timespec) {
   |               `- error: cannot find type 'timespec' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_nsec) / 1000000000
34 | 	}
/host/spi-builder-workspace/Sources/timespec.swift:37:11: error: cannot find type 'timespec' in scope
35 | }
36 |
37 | extension timespec : CustomStringConvertible {
   |           `- error: cannot find type 'timespec' in scope
38 | 	public var description: String {
39 | 		return "\(Double(self))"
/host/spi-builder-workspace/Sources/timeval.swift:7:40: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:14: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:28: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:40: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:14: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:28: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:32:15: error: cannot find type 'timeval' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timeval) {
   |               `- error: cannot find type 'timeval' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_usec) / 1000000
34 | 	}
/host/spi-builder-workspace/Sources/timeval.swift:37:11: error: cannot find type 'timeval' in scope
35 | }
36 |
37 | extension timeval : CustomStringConvertible {
   |           `- error: cannot find type 'timeval' in scope
38 | 	public var description: String {
39 | 		return "\(Double(self))"
[4/6] Compiling Benchmark timespec.swift
/host/spi-builder-workspace/Sources/timespec.swift:7:42: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:14: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:29: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:42: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:14: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:29: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:32:15: error: cannot find type 'timespec' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timespec) {
   |               `- error: cannot find type 'timespec' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_nsec) / 1000000000
34 | 	}
/host/spi-builder-workspace/Sources/timespec.swift:37:11: error: cannot find type 'timespec' in scope
35 | }
36 |
37 | extension timespec : CustomStringConvertible {
   |           `- error: cannot find type 'timespec' in scope
38 | 	public var description: String {
39 | 		return "\(Double(self))"
/host/spi-builder-workspace/Sources/timespec.swift:8:15: error: cannot find 'timespec' in scope
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
 8 | 	var result = timespec(
   |               `- error: cannot find 'timespec' in scope
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
10 | 		tv_nsec: lhs.tv_nsec + rhs.tv_nsec
/host/spi-builder-workspace/Sources/timeval.swift:7:40: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:14: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:28: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:20:15: error: cannot find 'timespec' in scope
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
20 | 	var result = timespec(
   |               `- error: cannot find 'timespec' in scope
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
22 | 		tv_nsec: lhs.tv_nsec - rhs.tv_nsec
/host/spi-builder-workspace/Sources/timeval.swift:19:40: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:14: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:28: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:32:15: error: cannot find type 'timeval' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timeval) {
   |               `- error: cannot find type 'timeval' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_usec) / 1000000
34 | 	}
[5/6] Compiling Benchmark Benchmark.swift
/host/spi-builder-workspace/Sources/Benchmark.swift:11:11: error: cannot find type 'timespec' in scope
 9 | public struct Sample : CustomStringConvertible {
10 | 	public let count: Int
11 | 	let wcl: timespec
   |           `- error: cannot find type 'timespec' in scope
12 | 	let usr: timeval
13 | 	let sys: timeval
/host/spi-builder-workspace/Sources/Benchmark.swift:12:11: error: cannot find type 'timeval' in scope
10 | 	public let count: Int
11 | 	let wcl: timespec
12 | 	let usr: timeval
   |           `- error: cannot find type 'timeval' in scope
13 | 	let sys: timeval
14 |
/host/spi-builder-workspace/Sources/Benchmark.swift:13:11: error: cannot find type 'timeval' in scope
11 | 	let wcl: timespec
12 | 	let usr: timeval
13 | 	let sys: timeval
   |           `- error: cannot find type 'timeval' in scope
14 |
15 | 	public var wallclock: Double { return Double(wcl) }
/host/spi-builder-workspace/Sources/timespec.swift:32:15: error: cannot find type 'timespec' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timespec) {
   |               `- error: cannot find type 'timespec' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_nsec) / 1000000000
34 | 	}
/host/spi-builder-workspace/Sources/timeval.swift:32:15: error: cannot find type 'timeval' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timeval) {
   |               `- error: cannot find type 'timeval' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_usec) / 1000000
34 | 	}
/host/spi-builder-workspace/Sources/timespec.swift:7:42: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:14: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:29: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:40: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:14: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:28: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/Benchmark.swift:18:34: error: value of optional type 'Double?' must be unwrapped to a value of type 'Double'
16 | 	public var user: Double { return Double(usr) }
17 | 	public var system: Double { return Double(sys) }
18 | 	public var cpu: Double { return Double(usr + sys) }
   |                                  |- error: value of optional type 'Double?' must be unwrapped to a value of type 'Double'
   |                                  |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
   |                                  `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
19 |
20 | 	public var description: String {
/host/spi-builder-workspace/Sources/Benchmark.swift:26:19: error: cannot find 'timespec' in scope
24 |
25 | public func benchmark(count: Int = 1, _ body: () throws -> Void) rethrows -> Sample {
26 | 	var clockStart = timespec()
   |                   `- error: cannot find 'timespec' in scope
27 | 	var clockFinish = timespec()
28 | 	var start = rusage()
/host/spi-builder-workspace/Sources/Benchmark.swift:27:20: error: cannot find 'timespec' in scope
25 | public func benchmark(count: Int = 1, _ body: () throws -> Void) rethrows -> Sample {
26 | 	var clockStart = timespec()
27 | 	var clockFinish = timespec()
   |                    `- error: cannot find 'timespec' in scope
28 | 	var start = rusage()
29 | 	var finish = rusage()
/host/spi-builder-workspace/Sources/Benchmark.swift:28:14: error: cannot find 'rusage' in scope
26 | 	var clockStart = timespec()
27 | 	var clockFinish = timespec()
28 | 	var start = rusage()
   |              `- error: cannot find 'rusage' in scope
29 | 	var finish = rusage()
30 | 	if #available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {
/host/spi-builder-workspace/Sources/Benchmark.swift:29:15: error: cannot find 'rusage' in scope
27 | 	var clockFinish = timespec()
28 | 	var start = rusage()
29 | 	var finish = rusage()
   |               `- error: cannot find 'rusage' in scope
30 | 	if #available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {
31 | 		clock_gettime(CLOCK_MONOTONIC, &clockStart)
/host/spi-builder-workspace/Sources/Benchmark.swift:31:3: error: cannot find 'clock_gettime' in scope
29 | 	var finish = rusage()
30 | 	if #available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {
31 | 		clock_gettime(CLOCK_MONOTONIC, &clockStart)
   |   `- error: cannot find 'clock_gettime' in scope
32 | 	}
33 | 	getrusage(rusageSelf(), &start)
/host/spi-builder-workspace/Sources/Benchmark.swift:31:17: error: cannot find 'CLOCK_MONOTONIC' in scope
29 | 	var finish = rusage()
30 | 	if #available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {
31 | 		clock_gettime(CLOCK_MONOTONIC, &clockStart)
   |                 `- error: cannot find 'CLOCK_MONOTONIC' in scope
32 | 	}
33 | 	getrusage(rusageSelf(), &start)
/host/spi-builder-workspace/Sources/Benchmark.swift:33:2: error: cannot find 'getrusage' in scope
31 | 		clock_gettime(CLOCK_MONOTONIC, &clockStart)
32 | 	}
33 | 	getrusage(rusageSelf(), &start)
   |  `- error: cannot find 'getrusage' in scope
34 | 	for _ in 0..<count {
35 | 		try body()
/host/spi-builder-workspace/Sources/Benchmark.swift:37:2: error: cannot find 'getrusage' in scope
35 | 		try body()
36 | 	}
37 | 	getrusage(rusageSelf(), &finish)
   |  `- error: cannot find 'getrusage' in scope
38 | 	if #available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {
39 | 		clock_gettime(CLOCK_MONOTONIC, &clockFinish)
/host/spi-builder-workspace/Sources/Benchmark.swift:39:3: error: cannot find 'clock_gettime' in scope
37 | 	getrusage(rusageSelf(), &finish)
38 | 	if #available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {
39 | 		clock_gettime(CLOCK_MONOTONIC, &clockFinish)
   |   `- error: cannot find 'clock_gettime' in scope
40 | 	}
41 | 	let wcl = clockFinish - clockStart
/host/spi-builder-workspace/Sources/Benchmark.swift:39:17: error: cannot find 'CLOCK_MONOTONIC' in scope
37 | 	getrusage(rusageSelf(), &finish)
38 | 	if #available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {
39 | 		clock_gettime(CLOCK_MONOTONIC, &clockFinish)
   |                 `- error: cannot find 'CLOCK_MONOTONIC' in scope
40 | 	}
41 | 	let wcl = clockFinish - clockStart
/host/spi-builder-workspace/Sources/timespec.swift:19:42: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:14: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:29: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:40: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:14: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:28: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/Benchmark.swift:65:10: error: cannot find 'RUSAGE_SELF' in scope
63 | #else
64 | 	private func rusageSelf() -> Int32 {
65 | 		return RUSAGE_SELF
   |          `- error: cannot find 'RUSAGE_SELF' in scope
66 | 	}
67 | #endif
[6/6] Compiling Benchmark timeval.swift
/host/spi-builder-workspace/Sources/timeval.swift:7:40: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:14: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:7:28: error: cannot find type 'timeval' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
 8 | 	var result = timeval(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:40: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                                        `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:14: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |              `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:19:28: error: cannot find type 'timeval' in scope
17 | }
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
   |                            `- error: cannot find type 'timeval' in scope
20 | 	var result = timeval(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:32:15: error: cannot find type 'timeval' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timeval) {
   |               `- error: cannot find type 'timeval' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_usec) / 1000000
34 | 	}
/host/spi-builder-workspace/Sources/timeval.swift:37:11: error: cannot find type 'timeval' in scope
35 | }
36 |
37 | extension timeval : CustomStringConvertible {
   |           `- error: cannot find type 'timeval' in scope
38 | 	public var description: String {
39 | 		return "\(Double(self))"
/host/spi-builder-workspace/Sources/timeval.swift:8:15: error: cannot find 'timeval' in scope
 6 |
 7 | func + (lhs: timeval, rhs: timeval) -> timeval {
 8 | 	var result = timeval(
   |               `- error: cannot find 'timeval' in scope
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
10 | 		tv_usec: lhs.tv_usec + rhs.tv_usec
/host/spi-builder-workspace/Sources/timespec.swift:7:42: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:14: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:7:29: error: cannot find type 'timespec' in scope
 5 | #endif
 6 |
 7 | func + (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
 8 | 	var result = timespec(
 9 | 		tv_sec: lhs.tv_sec + rhs.tv_sec,
/host/spi-builder-workspace/Sources/timeval.swift:20:15: error: cannot find 'timeval' in scope
18 |
19 | func - (lhs: timeval, rhs: timeval) -> timeval {
20 | 	var result = timeval(
   |               `- error: cannot find 'timeval' in scope
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
22 | 		tv_usec: lhs.tv_usec - rhs.tv_usec
/host/spi-builder-workspace/Sources/timespec.swift:19:42: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                                          `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:14: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |              `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:19:29: error: cannot find type 'timespec' in scope
17 | }
18 |
19 | func - (lhs: timespec, rhs: timespec) -> timespec {
   |                             `- error: cannot find type 'timespec' in scope
20 | 	var result = timespec(
21 | 		tv_sec: lhs.tv_sec - rhs.tv_sec,
/host/spi-builder-workspace/Sources/timespec.swift:32:15: error: cannot find type 'timespec' in scope
30 |
31 | extension FloatingPoint {
32 | 	init(_ time: timespec) {
   |               `- error: cannot find type 'timespec' in scope
33 | 		self = Self(time.tv_sec) + Self(time.tv_nsec) / 1000000000
34 | 	}
BUILD FAILURE 6.3 wasm