The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNpy, reference master (52de3b), with Swift 6.1 for Wasm on 29 May 2025 17:34:44 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/qoncept/swift-npy.git
Reference: master
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/qoncept/swift-npy
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 52de3b6 Merge pull request #4 from qoncept/fix-magic-check
Cloned https://github.com/qoncept/swift-npy.git
Revision (git rev-parse @):
52de3b6369517a1d9abdab15ba07ec01a98d8d97
SUCCESS checkout https://github.com/qoncept/swift-npy.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/qoncept/swift-npy.git
https://github.com/qoncept/swift-npy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftzip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftZip/SwiftZip.git"
    }
  ],
  "manifest_display_name" : "SwiftNpy",
  "name" : "SwiftNpy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftNpy",
      "targets" : [
        "SwiftNpy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNpyTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNpyTests",
      "path" : "Tests/SwiftNpyTests",
      "sources" : [
        "NpyLoaderTests.swift",
        "NpySaverTests.swift",
        "NpzLoaderTests.swift",
        "NpzSaverTests.swift"
      ],
      "target_dependencies" : [
        "SwiftNpy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNpy",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNpy",
      "path" : "Sources/SwiftNpy",
      "product_dependencies" : [
        "SwiftZip"
      ],
      "product_memberships" : [
        "SwiftNpy"
      ],
      "sources" : [
        "DataType.swift",
        "Npy.swift",
        "NpyHeader.swift",
        "NpyLoader.swift",
        "NpySaver.swift",
        "Npz.swift",
        "NpzLoader.swift",
        "NpzSaver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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 -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/SwiftZip/SwiftZip.git
[1/782] Fetching swiftzip
Fetched https://github.com/SwiftZip/SwiftZip.git from cache (0.43s)
Computing version for https://github.com/SwiftZip/SwiftZip.git
Computed https://github.com/SwiftZip/SwiftZip.git at 0.0.5 (4.03s)
Creating working copy for https://github.com/SwiftZip/SwiftZip.git
Working copy of https://github.com/SwiftZip/SwiftZip.git resolved at 0.0.5
Building for debugging...
[0/120] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_utf-8.c:35:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
1 error generated.
[2/120] Compiling zip_utf-8.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_add_dir.c:36:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
1 error generated.
[2/120] Compiling zip_add_dir.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_add.c:36:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
[2/120] Compiling zip_add.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_unchange_archive.c:37:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
[2/120] Compiling zip_unchange_archive.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_winzip_aes.c:34:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
[2/120] Compiling zip_winzip_aes.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_unchange_data.c:35:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
[2/120] Compiling zip_unchange_data.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/developer-xcode/zip_err_str.c:6:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
[2/120] Compiling zip_err_str.c
[2/120] 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: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...
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_winzip_aes.c:34:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
1 error generated.
[0/118] Compiling zip_winzip_aes.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_unchange_all.c:35:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
1 error generated.
[0/118] Compiling zip_unchange_all.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_unchange_data.c:35:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
1 error generated.
[0/118] Compiling zip_unchange_data.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_utf-8.c:35:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
[0/118] Compiling zip_utf-8.c
[0/118] Compiling zip_unchange.c
[0/118] Compiling zip_unchange_archive.c
[0/118] Compiling zip_string.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_strerror.c:35:
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zipint.h:37:10: fatal error: 'config.h' file not found
   37 | #include "config.h"
      |          ^~~~~~~~~~
[0/118] Compiling zip_strerror.c
BUILD FAILURE 6.1 wasm