The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Helical, reference main (c4cf40), with Swift 6.1 for Wasm on 26 Jul 2025 01:32:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tomasf/Helical.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tomasf/Helical
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c4cf408 Update README.md
Cloned https://github.com/tomasf/Helical.git
Revision (git rev-parse @):
c4cf40863b26bb3dd15f77504eb9d97e2c6d4535
SUCCESS checkout https://github.com/tomasf/Helical.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tomasf/Helical.git
https://github.com/tomasf/Helical.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cadova",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tomasf/Cadova.git"
    }
  ],
  "manifest_display_name" : "Helical",
  "name" : "Helical",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Helical",
      "targets" : [
        "Helical"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Helical-Demo",
      "targets" : [
        "Demo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Helical",
      "module_type" : "SwiftTarget",
      "name" : "Helical",
      "path" : "Sources/Helical",
      "product_dependencies" : [
        "Cadova"
      ],
      "product_memberships" : [
        "Helical",
        "Helical-Demo"
      ],
      "sources" : [
        "Bolt/Bolt.swift",
        "Bolt/Parts/Heads/BoltHeadShape.swift",
        "Bolt/Parts/Heads/CountersunkBoltHeadShape.swift",
        "Bolt/Parts/Heads/CylindricalBoltHeadShape.swift",
        "Bolt/Parts/Heads/PolygonalBoltHeadShape.swift",
        "Bolt/Parts/Heads/ProfiledBoltHeadShape.swift",
        "Bolt/Parts/Points/BoltPoint.swift",
        "Bolt/Parts/Points/ProfiledBoltPoint.swift",
        "Bolt/Parts/Sockets/BoltHeadSocket.swift",
        "Bolt/Parts/Sockets/Phillips.swift",
        "Bolt/Parts/Sockets/PhillipsBoltHeadSocket.swift",
        "Bolt/Parts/Sockets/PolygonalBoltHeadSocket.swift",
        "Bolt/Parts/Sockets/SlottedBoltHeadSocket.swift",
        "Bolt/Parts/Sockets/Torx.swift",
        "Bolt/Parts/Sockets/TorxHeadSocket.swift",
        "Bolt/Standards/Bolt+HexHead.swift",
        "Bolt/Standards/Bolt+HexSocketCountersunk.swift",
        "Bolt/Standards/Bolt+HexSocketHeadCap.swift",
        "Bolt/Standards/Bolt+PhillipsCheeseHead.swift",
        "Bolt/Standards/Bolt+PhillipsCountersunk.swift",
        "Bolt/Standards/Bolt+SetScrew.swift",
        "Bolt/Standards/Bolt+SlottedCountersunk.swift",
        "Bolt/Standards/Bolt+TorxCountersunk.swift",
        "Holes/BoltHeadRecess.swift",
        "Holes/BoltHeadRecessShapes.swift",
        "Holes/ClearanceHole.swift",
        "Holes/ThreadedHole.swift",
        "Nut/Bodies/FlangedNutBody.swift",
        "Nut/Bodies/PolygonalNutBody.swift",
        "Nut/Bodies/TSlotNutBody.swift",
        "Nut/Nut.swift",
        "Nut/Standards/Nut+Hex.swift",
        "Nut/Standards/Nut+Square.swift",
        "Nut/Standards/Nut+TSlot.swift",
        "Thread/Environment+Thread.swift",
        "Thread/Screw.swift",
        "Thread/ScrewThread+ISOMetric.swift",
        "Thread/ScrewThread+Standard.swift",
        "Thread/ScrewThread.swift",
        "Thread/SolidThreadform.swift",
        "Thread/TrapezoidalThreadForm.swift",
        "Washers/Washer+Standard.swift",
        "Washers/Washer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Demo",
      "module_type" : "SwiftTarget",
      "name" : "Demo",
      "path" : "Sources/Demo",
      "product_dependencies" : [
        "Cadova"
      ],
      "product_memberships" : [
        "Helical-Demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Helical"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/tomasf/Cadova.git
[1/11609] Fetching cadova
Fetched https://github.com/tomasf/Cadova.git from cache (1.66s)
Computing version for https://github.com/tomasf/Cadova.git
Computed https://github.com/tomasf/Cadova.git at 0.1.2 (2.44s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/tomasf/FindFont.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/tomasf/freetype-spm.git
Fetching https://github.com/tomasf/manifold-swift.git
Fetching https://github.com/tomasf/ThreeMF.git
[1/534] Fetching manifold-swift
[535/666] Fetching manifold-swift, findfont
[536/675] Fetching manifold-swift, findfont, freetype-spm
[676/4542] Fetching manifold-swift, findfont, freetype-spm, swift-log
[1025/5004] Fetching manifold-swift, findfont, freetype-spm, swift-log, threemf
[4899/21901] Fetching manifold-swift, findfont, freetype-spm, swift-log, threemf, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.50s)
Fetched https://github.com/tomasf/manifold-swift.git from cache (1.50s)
Fetched https://github.com/tomasf/ThreeMF.git from cache (1.52s)
Fetched https://github.com/tomasf/FindFont.git from cache (1.57s)
Fetched https://github.com/tomasf/freetype-spm.git from cache (1.57s)
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
Computing version for https://github.com/tomasf/FindFont.git
Computed https://github.com/tomasf/FindFont.git at 1.0.0 (2.34s)
Computing version for https://github.com/tomasf/freetype-spm.git
Computed https://github.com/tomasf/freetype-spm.git at 1.0.1 (0.67s)
Computing version for https://github.com/tomasf/ThreeMF.git
Computed https://github.com/tomasf/ThreeMF.git at 0.1.0 (0.54s)
Fetching https://github.com/tomasf/Zip.git
Fetching https://github.com/tomasf/Nodal.git
[1/186] Fetching zip
[187/846] Fetching zip, nodal
Fetched https://github.com/tomasf/Zip.git from cache (0.31s)
Fetched https://github.com/tomasf/Nodal.git from cache (0.31s)
Computing version for https://github.com/tomasf/manifold-swift.git
Computed https://github.com/tomasf/manifold-swift.git at 0.2.1 (0.88s)
Computing version for https://github.com/tomasf/Nodal.git
Computed https://github.com/tomasf/Nodal.git at 0.3.1 (0.53s)
Computing version for https://github.com/tomasf/Zip.git
Computed https://github.com/tomasf/Zip.git at 2.1.0 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.56s)
Creating working copy for https://github.com/tomasf/Nodal.git
Working copy of https://github.com/tomasf/Nodal.git resolved at 0.3.1
Creating working copy for https://github.com/tomasf/manifold-swift.git
Working copy of https://github.com/tomasf/manifold-swift.git resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/tomasf/FindFont.git
Working copy of https://github.com/tomasf/FindFont.git resolved at 1.0.0
Creating working copy for https://github.com/tomasf/Zip.git
Working copy of https://github.com/tomasf/Zip.git resolved at 2.1.0
Creating working copy for https://github.com/tomasf/freetype-spm.git
Working copy of https://github.com/tomasf/freetype-spm.git resolved at 1.0.1
Creating working copy for https://github.com/tomasf/ThreeMF.git
Working copy of https://github.com/tomasf/ThreeMF.git resolved at 0.1.0
Creating working copy for https://github.com/tomasf/Cadova.git
Working copy of https://github.com/tomasf/Cadova.git resolved at 0.1.2
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Demo/nutsAndWashers.stl
    /host/spi-builder-workspace/Sources/Demo/bolts.stl
Building for debugging...
[0/137] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/version.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/version.h:22:
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
1 error generated.
[3/137] Compiling version.cpp
[3/137] Compiling thread_request_serializer.cpp
[3/137] Compiling threading_control.cpp
[3/137] Compiling clipper.offset.cpp
[3/137] Compiling pugixml.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/tools_api/ittnotify_static.c:19:
/host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/tools_api/ittnotify_config.h:279:10: fatal error: 'pthread.h' file not found
  279 | #include <pthread.h>
      |          ^~~~~~~~~~~
[3/137] Compiling ittnotify_static.c
[3/137] Compiling clipper.engine.cpp
[3/137] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Demo/bolts.stl
    /host/spi-builder-workspace/Sources/Demo/nutsAndWashers.stl
[0/1] Planning build
Building for debugging...
[0/134] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/version.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/version.h:22:
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
1 error generated.
[14/134] Compiling version.cpp
[14/134] Compiling pugixml.cpp
[14/134] Compiling tcm_adaptor.cpp
[14/134] Compiling threading_control.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/tools_api/ittnotify_static.c:19:
/host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/tools_api/ittnotify_config.h:279:10: fatal error: 'pthread.h' file not found
  279 | #include <pthread.h>
      |          ^~~~~~~~~~~
[14/134] Compiling ittnotify_static.c
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/thread_request_serializer.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/src/tbb/misc.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/.build/checkouts/manifold-swift/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
[14/134] Compiling thread_request_serializer.cpp
[14/134] Compiling thread_dispatcher.cpp
[14/134] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm