The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DRBGs, reference 0.4.0 (8f3cfd), with Swift 6.1 for Android on 29 May 2025 22:29:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/DRBGs.git
Reference: 0.4.0
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
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 8f3cfd0 Add xoshiro512 DRBGs (#20)
Cloned https://github.com/sbooth/DRBGs.git
Revision (git rev-parse @):
8f3cfd026cdd3a913a09e7471571843eb6c5b792
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/DRBGs.git at 0.4.0
========================================
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
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DRBGs",
  "name" : "DRBGs",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DRBGs",
      "targets" : [
        "DRBGs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DRBGsTests",
      "module_type" : "SwiftTarget",
      "name" : "DRBGsTests",
      "path" : "Tests/DRBGsTests",
      "sources" : [
        "DRBGsTests.swift"
      ],
      "target_dependencies" : [
        "DRBGs"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DRBGs",
      "module_type" : "SwiftTarget",
      "name" : "DRBGs",
      "path" : "Sources/DRBGs",
      "product_memberships" : [
        "DRBGs"
      ],
      "sources" : [
        "FixedWidthInteger+Rotation.swift",
        "RandomNumberGenerator+unitDouble.swift",
        "SplitMix64.swift",
        "Xoroshiro128Plus.swift",
        "Xoroshiro128PlusPlus.swift",
        "Xoroshiro128StarStar.swift",
        "Xoshiro256Plus.swift",
        "Xoshiro256PlusPlus.swift",
        "Xoshiro256StarStar.swift",
        "Xoshiro512Plus.swift",
        "Xoshiro512PlusPlus.swift",
        "Xoshiro512StarStar.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling DRBGs SplitMix64.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:12:8: error: Unsupported Platform
10 | import Glibc
11 | #else
12 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:12: error: cannot find 'open' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |            `- error: cannot find 'open' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:33: error: cannot find 'O_RDONLY' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |                                 `- error: cannot find 'O_RDONLY' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:25:4: error: cannot find 'close' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
25 | 			close(fd)
   |    `- error: cannot find 'close' in scope
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:27:3: error: cannot find 'read' in scope
25 | 			close(fd)
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
   |   `- error: cannot find 'read' in scope
28 | 	}
29 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:12: error: cannot find 'open' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:33: error: cannot find 'O_RDONLY' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:54:4: error: cannot find 'close' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
 54 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:56:3: error: cannot find 'read' in scope
 54 | 			close(fd)
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 57 | 	}
 58 |
[4/14] Compiling DRBGs Xoroshiro128Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:12:8: error: Unsupported Platform
10 | import Glibc
11 | #else
12 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:12: error: cannot find 'open' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |            `- error: cannot find 'open' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:33: error: cannot find 'O_RDONLY' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |                                 `- error: cannot find 'O_RDONLY' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:25:4: error: cannot find 'close' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
25 | 			close(fd)
   |    `- error: cannot find 'close' in scope
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:27:3: error: cannot find 'read' in scope
25 | 			close(fd)
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
   |   `- error: cannot find 'read' in scope
28 | 	}
29 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:12: error: cannot find 'open' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:33: error: cannot find 'O_RDONLY' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:54:4: error: cannot find 'close' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
 54 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:56:3: error: cannot find 'read' in scope
 54 | 			close(fd)
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 57 | 	}
 58 |
[5/15] Compiling DRBGs Xoshiro512PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
[6/15] Compiling DRBGs Xoshiro512Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:42:12: error: cannot find 'open' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:42:33: error: cannot find 'O_RDONLY' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:45:4: error: cannot find 'close' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
 45 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:47:3: error: cannot find 'read' in scope
 45 | 			close(fd)
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 48 | 	}
 49 |
[7/15] Compiling DRBGs Xoshiro256StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
[8/15] Compiling DRBGs Xoshiro256Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:12: error: cannot find 'open' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:33: error: cannot find 'O_RDONLY' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:45:4: error: cannot find 'close' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
 45 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:47:3: error: cannot find 'read' in scope
 45 | 			close(fd)
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 48 | 	}
 49 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
[9/15] Compiling DRBGs Xoshiro256PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:12: error: cannot find 'open' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:33: error: cannot find 'O_RDONLY' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:45:4: error: cannot find 'close' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
 45 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:47:3: error: cannot find 'read' in scope
 45 | 			close(fd)
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 48 | 	}
 49 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
[10/15] Compiling DRBGs Xoroshiro128PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/15] Compiling DRBGs Xoroshiro128StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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 |
[12/15] Compiling DRBGs Xoshiro512StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/15] Compiling DRBGs FixedWidthInteger+Rotation.swift
[14/15] Compiling DRBGs RandomNumberGenerator+unitDouble.swift
[15/15] Emitting module DRBGs
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:12:8: error: Unsupported Platform
10 | import Glibc
11 | #else
12 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling DRBGs FixedWidthInteger+Rotation.swift
[3/13] Compiling DRBGs RandomNumberGenerator+unitDouble.swift
[4/14] Compiling DRBGs Xoshiro512Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:42:12: error: cannot find 'open' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:42:33: error: cannot find 'O_RDONLY' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:45:4: error: cannot find 'close' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
 45 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:47:3: error: cannot find 'read' in scope
 45 | 			close(fd)
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 48 | 	}
 49 |
[5/14] Compiling DRBGs Xoshiro512PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
[6/14] Compiling DRBGs Xoshiro256StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/14] Emitting module DRBGs
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:12:8: error: Unsupported Platform
10 | import Glibc
11 | #else
12 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
[8/14] Compiling DRBGs Xoroshiro128PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/14] Compiling DRBGs Xoroshiro128StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128PlusPlus.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/Xoroshiro128StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/Xoroshiro128StarStar.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/14] Compiling DRBGs SplitMix64.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:12:8: error: Unsupported Platform
10 | import Glibc
11 | #else
12 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:12: error: cannot find 'open' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |            `- error: cannot find 'open' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:33: error: cannot find 'O_RDONLY' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |                                 `- error: cannot find 'O_RDONLY' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:25:4: error: cannot find 'close' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
25 | 			close(fd)
   |    `- error: cannot find 'close' in scope
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:27:3: error: cannot find 'read' in scope
25 | 			close(fd)
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
   |   `- error: cannot find 'read' in scope
28 | 	}
29 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:12: error: cannot find 'open' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:33: error: cannot find 'O_RDONLY' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:54:4: error: cannot find 'close' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
 54 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:56:3: error: cannot find 'read' in scope
 54 | 			close(fd)
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 57 | 	}
 58 |
[11/14] Compiling DRBGs Xoroshiro128Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:12:8: error: Unsupported Platform
10 | import Glibc
11 | #else
12 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:12: error: cannot find 'open' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |            `- error: cannot find 'open' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:22:33: error: cannot find 'O_RDONLY' in scope
20 | 	/// Initializes the generator with a random seed
21 | 	public init() {
22 | 		let fd = open("/dev/urandom", O_RDONLY)
   |                                 `- error: cannot find 'O_RDONLY' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:25:4: error: cannot find 'close' in scope
23 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
24 | 		defer {
25 | 			close(fd)
   |    `- error: cannot find 'close' in scope
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
/host/spi-builder-workspace/Sources/DRBGs/SplitMix64.swift:27:3: error: cannot find 'read' in scope
25 | 			close(fd)
26 | 		}
27 | 		read(fd, &state, MemoryLayout<UInt64>.size)
   |   `- error: cannot find 'read' in scope
28 | 	}
29 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:12: error: cannot find 'open' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:51:33: error: cannot find 'O_RDONLY' in scope
 49 | 	/// Initializes the generator with a random seed
 50 | 	public init() {
 51 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:54:4: error: cannot find 'close' in scope
 52 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 53 | 		defer {
 54 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoroshiro128Plus.swift:56:3: error: cannot find 'read' in scope
 54 | 			close(fd)
 55 | 		}
 56 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 57 | 	}
 58 |
[12/14] Compiling DRBGs Xoshiro256Plus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:12: error: cannot find 'open' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:33: error: cannot find 'O_RDONLY' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:45:4: error: cannot find 'close' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
 45 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:47:3: error: cannot find 'read' in scope
 45 | 			close(fd)
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 48 | 	}
 49 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
[13/14] Compiling DRBGs Xoshiro256PlusPlus.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:12: error: cannot find 'open' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:42:33: error: cannot find 'O_RDONLY' in scope
 40 | 	/// Initializes the generator with a random seed
 41 | 	public init() {
 42 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:45:4: error: cannot find 'close' in scope
 43 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 44 | 		defer {
 45 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256Plus.swift:47:3: error: cannot find 'read' in scope
 45 | 			close(fd)
 46 | 		}
 47 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 48 | 	}
 49 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro256PlusPlus.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
[14/14] Compiling DRBGs Xoshiro512StarStar.swift
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:12:8: error: Unsupported Platform
 10 | import Glibc
 11 | #else
 12 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:38:12: error: cannot find 'open' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |            `- error: cannot find 'open' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:38:33: error: cannot find 'O_RDONLY' in scope
 36 | 	/// Initializes the generator with a random seed
 37 | 	public init() {
 38 | 		let fd = open("/dev/urandom", O_RDONLY)
    |                                 `- error: cannot find 'O_RDONLY' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:41:4: error: cannot find 'close' in scope
 39 | 		precondition(fd >= 0, "Unable to open /dev/urandom")
 40 | 		defer {
 41 | 			close(fd)
    |    `- error: cannot find 'close' in scope
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
/host/spi-builder-workspace/Sources/DRBGs/Xoshiro512StarStar.swift:43:3: error: cannot find 'read' in scope
 41 | 			close(fd)
 42 | 		}
 43 | 		read(fd, &state, MemoryLayout<StateType>.size)
    |   `- error: cannot find 'read' in scope
 44 | 	}
 45 |
BUILD FAILURE 6.1 android