The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPFFFT, reference 0.1.1 (a0628a), with Swift 6.1 for Wasm on 29 May 2025 21:47:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkl1337/SwiftPFFFT.git
Reference: 0.1.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/jkl1337/SwiftPFFFT
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at a0628a5 Add CI
Cloned https://github.com/jkl1337/SwiftPFFFT.git
Revision (git rev-parse @):
a0628a5725023b188c3798f7feaeda8cf2547ffd
SUCCESS checkout https://github.com/jkl1337/SwiftPFFFT.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jkl1337/SwiftPFFFT.git
https://github.com/jkl1337/SwiftPFFFT.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "c99",
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "SwiftPFFFT",
  "name" : "SwiftPFFFT",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PFFFT",
      "targets" : [
        "PFFFT",
        "PFFFTLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PFFFTTests",
      "module_type" : "SwiftTarget",
      "name" : "PFFFTTests",
      "path" : "Tests/PFFFTTests",
      "sources" : [
        "PFFFTTests.swift"
      ],
      "target_dependencies" : [
        "PFFFT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PFFFTLib",
      "module_type" : "ClangTarget",
      "name" : "PFFFTLib",
      "path" : "Sources/PFFFTLib",
      "product_memberships" : [
        "PFFFT"
      ],
      "sources" : [
        "pffft.c",
        "pffft_common.c",
        "pffft_double.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PFFFT",
      "module_type" : "SwiftTarget",
      "name" : "PFFFT",
      "path" : "Sources/PFFFT",
      "product_dependencies" : [
        "Numerics"
      ],
      "product_memberships" : [
        "PFFFT"
      ],
      "sources" : [
        "Buffer.swift",
        "FFT.swift",
        "PFFFT.swift",
        "Setup.swift",
        "SetupCache.swift"
      ],
      "target_dependencies" : [
        "PFFFTLib"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.74s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (4.79s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Building for debugging...
[0/9] Write sources
[4/9] Compiling PFFFTLib pffft_common.c
[5/9] Compiling _NumericsShims _NumericsShims.c
In file included from /host/spi-builder-workspace/Sources/PFFFTLib/pffft.c:98:
/host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_float.h:68:13: warning: building float with simd disabled ! [-W#pragma-messages]
   68 | #    pragma message( "building float with simd disabled !" )
      |             ^
In file included from /host/spi-builder-workspace/Sources/PFFFTLib/pffft.c:98:
In file included from /host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_float.h:73:
/host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_scalar_float.h:42:9: warning: /host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_scalar_float.h: float SCALAR4 macros are defined [-W#pragma-messages]
   42 | #pragma message( __FILE__ ": float SCALAR4 macros are defined" )
      |         ^
2 warnings generated.
[6/9] Compiling PFFFTLib pffft.c
In file included from /host/spi-builder-workspace/Sources/PFFFTLib/pffft_double.c:110:
/host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_double.h:68:13: warning: building double with simd disabled ! [-W#pragma-messages]
   68 | #    pragma message( "building double with simd disabled !" )
      |             ^
In file included from /host/spi-builder-workspace/Sources/PFFFTLib/pffft_double.c:110:
In file included from /host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_double.h:73:
/host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_scalar_double.h:42:9: warning: /host/spi-builder-workspace/Sources/PFFFTLib/simd/pf_scalar_double.h: double SCALAR4 macros are defined [-W#pragma-messages]
   42 | #pragma message( __FILE__ ": double SCALAR4 macros are defined" )
      |         ^
2 warnings generated.
[7/9] Compiling PFFFTLib pffft_double.c
[7/9] Write swift-version-24593BA9C3E375BF.txt
[10/19] Compiling RealModule AugmentedArithmetic.swift
[11/19] Compiling RealModule Double+Real.swift
[12/20] Compiling RealModule Float80+Real.swift
[13/20] Compiling RealModule Real.swift
[14/20] Compiling RealModule RealFunctions.swift
[15/20] Compiling RealModule AlgebraicField.swift
[16/20] Compiling RealModule ApproximateEquality.swift
[17/20] Emitting module RealModule
[18/20] Compiling RealModule Float+Real.swift
[19/20] Compiling RealModule ElementaryFunctions.swift
[20/20] Compiling RealModule Float16+Real.swift
[22/26] Compiling ComplexModule ElementaryFunctions.swift
[23/26] Compiling ComplexModule Differentiable.swift
[24/26] Compiling ComplexModule Arithmetic.swift
[25/26] Compiling ComplexModule Complex.swift
[26/26] Emitting module ComplexModule
[28/29] Compiling Numerics Numerics.swift
[29/29] Emitting module Numerics
[31/36] Compiling PFFFT Buffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/36] Compiling PFFFT FFT.swift
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:17: error: cannot find 'DispatchQueue' in scope
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                 `- error: cannot find 'DispatchQueue' in scope
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:88: error: cannot infer contextual base in reference to member 'concurrent'
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
16 |
17 |     public init() {}
[33/36] Emitting module PFFFT
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:17: error: cannot find 'DispatchQueue' in scope
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                 `- error: cannot find 'DispatchQueue' in scope
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:88: error: cannot infer contextual base in reference to member 'concurrent'
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
16 |
17 |     public init() {}
[34/36] Compiling PFFFT Setup.swift
[35/36] Compiling PFFFT PFFFT.swift
[36/36] Compiling PFFFT SetupCache.swift
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:17: error: cannot find 'DispatchQueue' in scope
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                 `- error: cannot find 'DispatchQueue' in scope
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:88: error: cannot infer contextual base in reference to member 'concurrent'
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:25:32: error: cannot infer contextual base in reference to member 'barrier'
23 |         }
24 |         if setup == nil {
25 |             queue.sync(flags: .barrier) {
   |                                `- error: cannot infer contextual base in reference to member 'barrier'
26 |                 let key = CacheKey(n: n, type: type)
27 |                 setup = cache[key]
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:40:28: error: cannot infer contextual base in reference to member 'barrier'
38 |
39 |     public func clear() {
40 |         queue.sync(flags: .barrier) {
   |                            `- error: cannot infer contextual base in reference to member 'barrier'
41 |             cache.removeAll()
42 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling RealModule Real.swift
[3/11] Compiling RealModule Float80+Real.swift
[4/12] Compiling RealModule Float16+Real.swift
[5/12] Compiling RealModule RealFunctions.swift
[6/12] Compiling RealModule AugmentedArithmetic.swift
[7/12] Compiling RealModule Double+Real.swift
[8/12] Compiling RealModule AlgebraicField.swift
[9/12] Compiling RealModule ApproximateEquality.swift
[10/12] Compiling RealModule ElementaryFunctions.swift
[11/12] Compiling RealModule Float+Real.swift
[12/12] Emitting module RealModule
[14/18] Compiling ComplexModule Differentiable.swift
[15/18] Compiling ComplexModule ElementaryFunctions.swift
[16/18] Emitting module ComplexModule
[17/18] Compiling ComplexModule Complex.swift
[18/18] Compiling ComplexModule Arithmetic.swift
[20/21] Emitting module Numerics
[21/21] Compiling Numerics Numerics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/28] Emitting module PFFFT
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:17: error: cannot find 'DispatchQueue' in scope
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                 `- error: cannot find 'DispatchQueue' in scope
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:88: error: cannot infer contextual base in reference to member 'concurrent'
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
16 |
17 |     public init() {}
[24/28] Compiling PFFFT Setup.swift
[25/28] Compiling PFFFT PFFFT.swift
[26/28] Compiling PFFFT SetupCache.swift
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:17: error: cannot find 'DispatchQueue' in scope
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                 `- error: cannot find 'DispatchQueue' in scope
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:88: error: cannot infer contextual base in reference to member 'concurrent'
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:25:32: error: cannot infer contextual base in reference to member 'barrier'
23 |         }
24 |         if setup == nil {
25 |             queue.sync(flags: .barrier) {
   |                                `- error: cannot infer contextual base in reference to member 'barrier'
26 |                 let key = CacheKey(n: n, type: type)
27 |                 setup = cache[key]
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:40:28: error: cannot infer contextual base in reference to member 'barrier'
38 |
39 |     public func clear() {
40 |         queue.sync(flags: .barrier) {
   |                            `- error: cannot infer contextual base in reference to member 'barrier'
41 |             cache.removeAll()
42 |         }
[27/28] Compiling PFFFT FFT.swift
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:17: error: cannot find 'DispatchQueue' in scope
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                 `- error: cannot find 'DispatchQueue' in scope
16 |
17 |     public init() {}
/host/spi-builder-workspace/Sources/PFFFT/SetupCache.swift:15:88: error: cannot infer contextual base in reference to member 'concurrent'
13 |
14 |     var cache: [CacheKey: Setup?] = [:]
15 |     let queue = DispatchQueue(label: String(describing: SetupCache.self), attributes: .concurrent)
   |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
16 |
17 |     public init() {}
[28/28] Compiling PFFFT Buffer.swift
BUILD FAILURE 6.1 wasm