Build Information
Failed to build DRBGs, reference main (82e589), with Swift 6.1 for Android on 30 Apr 2026 21:59:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/DRBGs.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/sbooth/DRBGs
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 82e589c Format workflow steps in swift.yml (#33)
Cloned https://github.com/sbooth/DRBGs.git
Revision (git rev-parse @):
82e589c9b05aa4ae82f73812382fd040405007ea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/DRBGs.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/sbooth/DRBGs.git
https://github.com/sbooth/DRBGs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling DRBGs WYRand.swift
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:12: error: cannot find 'open' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:33: error: cannot find 'O_RDONLY' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:31:4: error: cannot find 'close' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
31 | close(fd)
| `- error: cannot find 'close' in scope
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:33:3: error: cannot find 'read' in scope
31 | close(fd)
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:12: error: cannot find 'open' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:33: error: cannot find 'O_RDONLY' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:55:4: error: cannot find 'close' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
55 | close(fd)
| `- error: cannot find 'close' in scope
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:57:3: error: cannot find 'read' in scope
55 | close(fd)
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
58 | }
59 |
[4/16] Compiling DRBGs Xoroshiro128Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:12: error: cannot find 'open' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:33: error: cannot find 'O_RDONLY' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:31:4: error: cannot find 'close' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
31 | close(fd)
| `- error: cannot find 'close' in scope
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:33:3: error: cannot find 'read' in scope
31 | close(fd)
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:12: error: cannot find 'open' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:33: error: cannot find 'O_RDONLY' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:55:4: error: cannot find 'close' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
55 | close(fd)
| `- error: cannot find 'close' in scope
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:57:3: error: cannot find 'read' in scope
55 | close(fd)
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
58 | }
59 |
[5/17] Compiling DRBGs Xoroshiro128PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
[6/17] Compiling DRBGs Xoroshiro128StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
[7/17] Compiling DRBGs Xoshiro512StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
[8/17] Compiling DRBGs RandomNumberGenerator+unitFloat.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:12: error: cannot find 'open' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:33: error: cannot find 'O_RDONLY' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:26:4: error: cannot find 'close' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
26 | close(fd)
| `- error: cannot find 'close' in scope
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:28:3: error: cannot find 'read' in scope
26 | close(fd)
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
| `- error: cannot find 'read' in scope
29 | }
30 |
[9/17] Compiling DRBGs SplitMix64.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:12: error: cannot find 'open' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:33: error: cannot find 'O_RDONLY' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:26:4: error: cannot find 'close' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
26 | close(fd)
| `- error: cannot find 'close' in scope
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:28:3: error: cannot find 'read' in scope
26 | close(fd)
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
| `- error: cannot find 'read' in scope
29 | }
30 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] Compiling DRBGs FixedWidthInteger+Rotation.swift
[11/17] Compiling DRBGs RandomNumberGenerator+unitDouble.swift
[12/17] Emitting module DRBGs
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
[13/17] Compiling DRBGs Xoshiro512PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
[14/17] Compiling DRBGs Xoshiro256Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
[15/17] Compiling DRBGs Xoshiro256PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
[16/17] Compiling DRBGs Xoshiro256StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
[17/17] Compiling DRBGs Xoshiro512Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling DRBGs Xoroshiro128PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
[3/15] Compiling DRBGs Xoroshiro128StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:12: error: cannot find 'open' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:40:33: error: cannot find 'O_RDONLY' in scope
38 | /// Initializes the generator with a random seed
39 | public init() {
40 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:43:4: error: cannot find 'close' in scope
41 | precondition(fd >= 0, "Unable to open /dev/urandom")
42 | defer {
43 | close(fd)
| `- error: cannot find 'close' in scope
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:45:3: error: cannot find 'read' in scope
43 | close(fd)
44 | }
45 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
46 | }
47 |
[4/15] Compiling DRBGs RandomNumberGenerator+unitFloat.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:12: error: cannot find 'open' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:33: error: cannot find 'O_RDONLY' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:26:4: error: cannot find 'close' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
26 | close(fd)
| `- error: cannot find 'close' in scope
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:28:3: error: cannot find 'read' in scope
26 | close(fd)
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
| `- error: cannot find 'read' in scope
29 | }
30 |
[5/15] Compiling DRBGs SplitMix64.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:12: error: cannot find 'open' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:23:33: error: cannot find 'O_RDONLY' in scope
21 | /// Initializes the generator with a random seed
22 | public init() {
23 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:26:4: error: cannot find 'close' in scope
24 | precondition(fd >= 0, "Unable to open /dev/urandom")
25 | defer {
26 | close(fd)
| `- error: cannot find 'close' in scope
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:28:3: error: cannot find 'read' in scope
26 | close(fd)
27 | }
28 | read(fd, &state, MemoryLayout<UInt64>.size)
| `- error: cannot find 'read' in scope
29 | }
30 |
[6/15] Compiling DRBGs WYRand.swift
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:12: error: cannot find 'open' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:33: error: cannot find 'O_RDONLY' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:31:4: error: cannot find 'close' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
31 | close(fd)
| `- error: cannot find 'close' in scope
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:33:3: error: cannot find 'read' in scope
31 | close(fd)
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:12: error: cannot find 'open' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:33: error: cannot find 'O_RDONLY' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:55:4: error: cannot find 'close' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
55 | close(fd)
| `- error: cannot find 'close' in scope
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:57:3: error: cannot find 'read' in scope
55 | close(fd)
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
58 | }
59 |
[7/15] Compiling DRBGs Xoroshiro128Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:12: error: cannot find 'open' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:28:33: error: cannot find 'O_RDONLY' in scope
26 | /// Initializes the generator with a random seed
27 | public init() {
28 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:31:4: error: cannot find 'close' in scope
29 | precondition(fd >= 0, "Unable to open /dev/urandom")
30 | defer {
31 | close(fd)
| `- error: cannot find 'close' in scope
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:33:3: error: cannot find 'read' in scope
31 | close(fd)
32 | }
33 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:12: error: cannot find 'open' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:52:33: error: cannot find 'O_RDONLY' in scope
50 | /// Initializes the generator with a random seed
51 | public init() {
52 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:55:4: error: cannot find 'close' in scope
53 | precondition(fd >= 0, "Unable to open /dev/urandom")
54 | defer {
55 | close(fd)
| `- error: cannot find 'close' in scope
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:57:3: error: cannot find 'read' in scope
55 | close(fd)
56 | }
57 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
58 | }
59 |
[8/16] Compiling DRBGs Xoshiro512PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
[9/16] Compiling DRBGs Xoshiro256Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
[10/16] Compiling DRBGs Xoshiro256PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
[11/16] Compiling DRBGs Xoshiro256StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
[12/16] Compiling DRBGs Xoshiro512Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:12: error: cannot find 'open' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:43:33: error: cannot find 'O_RDONLY' in scope
41 | /// Initializes the generator with a random seed
42 | public init() {
43 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:46:4: error: cannot find 'close' in scope
44 | precondition(fd >= 0, "Unable to open /dev/urandom")
45 | defer {
46 | close(fd)
| `- error: cannot find 'close' in scope
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:48:3: error: cannot find 'read' in scope
46 | close(fd)
47 | }
48 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
49 | }
50 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/16] Compiling DRBGs FixedWidthInteger+Rotation.swift
[14/16] Compiling DRBGs RandomNumberGenerator+unitDouble.swift
[15/16] Emitting module DRBGs
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/WYRand.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
[16/16] Compiling DRBGs Xoshiro512StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:13:8: error: Unsupported Platform
11 | import Glibc
12 | #else
13 | #error("Unsupported Platform")
| `- error: Unsupported Platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:39:12: error: cannot find 'open' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'open' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:39:33: error: cannot find 'O_RDONLY' in scope
37 | /// Initializes the generator with a random seed
38 | public init() {
39 | let fd = open("/dev/urandom", O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:42:4: error: cannot find 'close' in scope
40 | precondition(fd >= 0, "Unable to open /dev/urandom")
41 | defer {
42 | close(fd)
| `- error: cannot find 'close' in scope
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:44:3: error: cannot find 'read' in scope
42 | close(fd)
43 | }
44 | read(fd, &state, MemoryLayout<StateType>.size)
| `- error: cannot find 'read' in scope
45 | }
46 |
BUILD FAILURE 6.1 android