The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RNGExtension, reference 1.0.2 (5e7d03), with Swift 6.1 for Android on 27 May 2025 09:18:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/t-ae/rng-extension.git
Reference: 1.0.2
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/t-ae/rng-extension
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 5e7d036 Remove Normal's dependency on Uniform
Cloned https://github.com/t-ae/rng-extension.git
Revision (git rev-parse @):
5e7d03633ada369b6c550f08c5a18b3a77d59e85
SUCCESS checkout https://github.com/t-ae/rng-extension.git at 1.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/t-ae/rng-extension.git
https://github.com/t-ae/rng-extension.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RNGExtension",
  "name" : "RNGExtension",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RNGExtension",
      "targets" : [
        "RNGExtension"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RNGExtensionTests",
      "module_type" : "SwiftTarget",
      "name" : "RNGExtensionTests",
      "path" : "Tests/RNGExtensionTests",
      "sources" : [
        "RNGExtensionTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "RNGExtension"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RNGExtension",
      "module_type" : "SwiftTarget",
      "name" : "RNGExtension",
      "path" : "Sources/RNGExtension",
      "product_memberships" : [
        "RNGExtension"
      ],
      "sources" : [
        "RNGExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/4] Emitting module RNGExtension
[4/4] Compiling RNGExtension RNGExtension.swift
/host/spi-builder-workspace/Sources/RNGExtension/RNGExtension.swift:52:24: error: cannot convert value of type 'Double' to specified type 'Float'
50 |     /// Returns a value from N(mu, sigma^2) distribution.
51 |     public mutating func next(mu: Float, sigma: Float) -> Float {
52 |         let x: Float = sqrt(-2*log1p(-base.next12()+1))
   |                        `- error: cannot convert value of type 'Double' to specified type 'Float'
53 |         let y: Float = sin(2 * .pi * base.next12())
54 |         return sigma * x * y + mu
/host/spi-builder-workspace/Sources/RNGExtension/RNGExtension.swift:53:24: error: cannot convert value of type 'Double' to specified type 'Float'
51 |     public mutating func next(mu: Float, sigma: Float) -> Float {
52 |         let x: Float = sqrt(-2*log1p(-base.next12()+1))
53 |         let y: Float = sin(2 * .pi * base.next12())
   |                        `- error: cannot convert value of type 'Double' to specified type 'Float'
54 |         return sigma * x * y + mu
55 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/3] Emitting module RNGExtension
[3/3] Compiling RNGExtension RNGExtension.swift
/host/spi-builder-workspace/Sources/RNGExtension/RNGExtension.swift:52:24: error: cannot convert value of type 'Double' to specified type 'Float'
50 |     /// Returns a value from N(mu, sigma^2) distribution.
51 |     public mutating func next(mu: Float, sigma: Float) -> Float {
52 |         let x: Float = sqrt(-2*log1p(-base.next12()+1))
   |                        `- error: cannot convert value of type 'Double' to specified type 'Float'
53 |         let y: Float = sin(2 * .pi * base.next12())
54 |         return sigma * x * y + mu
/host/spi-builder-workspace/Sources/RNGExtension/RNGExtension.swift:53:24: error: cannot convert value of type 'Double' to specified type 'Float'
51 |     public mutating func next(mu: Float, sigma: Float) -> Float {
52 |         let x: Float = sqrt(-2*log1p(-base.next12()+1))
53 |         let y: Float = sin(2 * .pi * base.next12())
   |                        `- error: cannot convert value of type 'Double' to specified type 'Float'
54 |         return sigma * x * y + mu
55 |     }
BUILD FAILURE 6.1 android