The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BaseMath, reference 1.0.1 (449475), with Swift 6.1 for Wasm on 27 May 2025 10:57:19 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jph00/basemath.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/jph00/basemath
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 449475d mix max abs and more sums
Cloned https://github.com/jph00/basemath.git
Revision (git rev-parse @):
449475d45ed2cd97498c92164bfdc8dbd9f53429
SUCCESS checkout https://github.com/jph00/basemath.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jph00/basemath.git
https://github.com/jph00/basemath.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BaseMath",
  "name" : "BaseMath",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BaseMath",
      "targets" : [
        "BaseMath"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CBaseMath",
      "module_type" : "ClangTarget",
      "name" : "CBaseMath",
      "path" : "Sources/CBaseMath",
      "product_memberships" : [
        "BaseMath"
      ],
      "sources" : [
        "CBaseMath.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BaseMathTests",
      "module_type" : "SwiftTarget",
      "name" : "BaseMathTests",
      "path" : "Tests/BaseMathTests",
      "sources" : [
        "BaseMathTests.swift"
      ],
      "target_dependencies" : [
        "BaseMath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BaseMath",
      "module_type" : "SwiftTarget",
      "name" : "BaseMath",
      "path" : "Sources/BaseMath",
      "product_memberships" : [
        "BaseMath"
      ],
      "sources" : [
        "BaseMath.swift",
        "BaseVector.swift",
        "Storage.swift"
      ],
      "target_dependencies" : [
        "CBaseMath"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CBaseMath CBaseMath.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling BaseMath Storage.swift
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:23:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | }
22 |
23 | extension UnsafeMutableBufferPointer: BaseVector,ExpressibleByArrayLiteral,Equatable where Element:SupportsBasicMath {
   | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |   public typealias ArrayLiteralElement=Element
25 |
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:7:37: warning: initialization of 'UnsafeMutablePointer<Element>' results in a dangling pointer
 5 |
 6 |   public func copy() -> Array { return (self as NSCopying).copy(with: nil) as! Array }
 7 |   public var p:MutPtrT {get {return UnsafeMutablePointer(mutating: self)}}
   |                                     |                              |- note: implicit argument conversion from 'Array<Element>' to 'UnsafePointer<Element>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
   |                                     |                              `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                                     `- warning: initialization of 'UnsafeMutablePointer<Element>' results in a dangling pointer
 8 | }
 9 |
[5/7] Emitting module BaseMath
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:23:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | }
22 |
23 | extension UnsafeMutableBufferPointer: BaseVector,ExpressibleByArrayLiteral,Equatable where Element:SupportsBasicMath {
   | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |   public typealias ArrayLiteralElement=Element
25 |
[6/7] Compiling BaseMath BaseMath.swift
[7/7] Compiling BaseMath BaseVector.swift
Build complete! (8.62s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BaseMath",
  "name" : "BaseMath",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BaseMath",
      "targets" : [
        "BaseMath"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CBaseMath",
      "module_type" : "ClangTarget",
      "name" : "CBaseMath",
      "path" : "Sources/CBaseMath",
      "product_memberships" : [
        "BaseMath"
      ],
      "sources" : [
        "CBaseMath.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BaseMathTests",
      "module_type" : "SwiftTarget",
      "name" : "BaseMathTests",
      "path" : "Tests/BaseMathTests",
      "sources" : [
        "BaseMathTests.swift"
      ],
      "target_dependencies" : [
        "BaseMath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BaseMath",
      "module_type" : "SwiftTarget",
      "name" : "BaseMath",
      "path" : "Sources/BaseMath",
      "product_memberships" : [
        "BaseMath"
      ],
      "sources" : [
        "BaseMath.swift",
        "BaseVector.swift",
        "Storage.swift"
      ],
      "target_dependencies" : [
        "CBaseMath"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.