The Swift Package Index logo.Swift Package Index

Build Information

Failed to build s4nnc, reference main (c91108), with Swift 6.1 for Wasm on 1 May 2026 10:44:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/s4nnc.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/liuliu/s4nnc
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c91108d Update deps.bzl
Cloned https://github.com/liuliu/s4nnc.git
Revision (git rev-parse @):
c91108d94ebadc53b7e782e90c51e48c1162c4de
SUCCESS checkout https://github.com/liuliu/s4nnc.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/liuliu/s4nnc.git
https://github.com/liuliu/s4nnc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/liuliu/ccv.git
[1/40243] Fetching ccv
Fetched https://github.com/liuliu/ccv.git from cache (40.87s)
Fetching https://github.com/weiyanlin117/swift-fpzip-support.git
[1/135] Fetching swift-fpzip-support
Fetched https://github.com/weiyanlin117/swift-fpzip-support.git from cache (1.41s)
Fetching https://github.com/apple/swift-protobuf.git
[1/47761] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (11.43s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.74s)
Creating working copy for https://github.com/weiyanlin117/swift-fpzip-support.git
Working copy of https://github.com/weiyanlin117/swift-fpzip-support.git resolved at 0ec6d4668c9c83bc3da0f8b2d6dfc46da0b98609
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at d57a5aecf24a25b32ec4a74be2f5d0a995a47c4b
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at fbd61a676d79cbde05cd4fda3cc46e94d6b8f0eb
Creating working copy for https://github.com/liuliu/ccv.git
Working copy of https://github.com/liuliu/ccv.git resolved at 0b3bb15153c19f120a9e41f842c26e6ab6c09ece
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/314] Write sources
[2/314] Copying PrivacyInfo.xcprivacy
[3/314] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_addons.c:2:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_nnc_easy.h:270:24: error: use of undeclared identifier 'PAGE_SIZE'
  270 |                 return ((data_size + PAGE_SIZE - 1) & -PAGE_SIZE);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_nnc_easy.h:270:42: error: use of undeclared identifier 'PAGE_SIZE'
  270 |                 return ((data_size + PAGE_SIZE - 1) & -PAGE_SIZE);
      |                                                        ^
2 errors generated.
[7/314] Compiling C_swiftpm_nnc ccv_cnnp_dataframe_addons.c
[7/314] Compiling lib_nnc_mps_compat ccv_nnc_palettize.m
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_csv.c:2:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_nnc_easy.h:270:24: error: use of undeclared identifier 'PAGE_SIZE'
  270 |                 return ((data_size + PAGE_SIZE - 1) & -PAGE_SIZE);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_nnc_easy.h:270:42: error: use of undeclared identifier 'PAGE_SIZE'
  270 |                 return ((data_size + PAGE_SIZE - 1) & -PAGE_SIZE);
      |                                                        ^
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_csv.c:7:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_csv.c:149:3: error: call to undeclared function 'munmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  149 |                 munmap(csv->mmap, csv->file_size);
      |                 ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_csv.c:171:10: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  171 |                 data = mmap(NULL, file_size, PROT_READ, MAP_SHARED, fd, 0);
      |                        ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_csv.c:171:32: error: use of undeclared identifier 'PROT_READ'
  171 |                 data = mmap(NULL, file_size, PROT_READ, MAP_SHARED, fd, 0);
      |                                              ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_csv.c:171:43: error: use of undeclared identifier 'MAP_SHARED'
  171 |                 data = mmap(NULL, file_size, PROT_READ, MAP_SHARED, fd, 0);
      |                                                         ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_csv.c:338:4: error: call to undeclared function 'munmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  338 |                         munmap(data, file_size);
      |                         ^
[7/314] Compiling C_swiftpm_nnc ccv_cnnp_dataframe_csv.c
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishKernel.cpp:1:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishKernel.hpp:4:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/3rdparty/metal-cpp/Metal.hpp:58:10: fatal error: 'objc/runtime.h' file not found
   58 | #[7/314] Compiling SwishKernel.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishDescriptor.cpp:1:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishDescriptor.hpp:4:10: fatal error: 'simd/simd.h' file not found
    4 | #include <simd/simd.h>
      |          ^~~~~~~~~~~~~
[7/314] Compiling SwishDescriptor.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_mps.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_mps.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/_ccv_nnc_stream.h:14:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/co.h:6:10: fatal error: 'pthread.h' file not found
    6 | #include <pthread.h>
      |          ^~~~~~~~~~~
[7/314] Compiling lib_nnc_mps_compat ccv_nnc_mps.m
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_cnnp_dataframe_core.c:2:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_nnc_easy.h:270:24: error: use of undeclared identifier 'PAGE_SIZE'
  270 |                 return ((data_size + PAGE_SIZE - 1) & -PAGE_SIZE);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/ccv_nnc_easy.h:270:42: error: use of undeclared identifier 'PAGE_SIZE'
  270 |                 return ((data_size + PAGE_SIZE - 1) & -PAGE_SIZE);
      |                                                        ^
[7/314] Compiling C_swiftpm_nnc ccv_cnnp_dataframe_core.c
[7/314] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/test/main.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/test/coreml/main.swift
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/308] Compiling CSystem shims.c
[2/308] Compiling version.cpp
[3/308] Compiling rcdecoder.cpp
[4/308] Compiling rcencoder.cpp
[5/308] Compiling rcqsmodel.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_palettize.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_mps.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/_ccv_nnc_stream.h:14:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/co.h:6:10: fatal error: 'pthread.h' file not found
    6 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/308] Compiling lib_nnc_mps_compat ccv_nnc_palettize.m
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_mps.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_mps.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/_ccv_nnc_stream.h:14:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/co.h:6:10: fatal error: 'pthread.h' file not found
    6 | #include <pthread.h>
      |          ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishDescriptor.cpp:1:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishDescriptor.hpp:4:10: fatal error: 'simd/simd.h' file not found
    4 | #include <simd/simd.h>
      |          ^~~~~~~~~~~~~
[6/308] Compiling read.cpp
[6/308] Compiling write.cpp
[6/308] Compiling lib_nnc_mps_compat ccv_nnc_mps.m
[6/308] Compiling SwishDescriptor.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishKernel.cpp:1:
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/kernels/SwishKernel.hpp:4:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mfa/3rdparty/metal-cpp/Metal.hpp:58:10: fatal error: 'objc/runtime.h' file not found
   58 | #include <objc/runtime.h>
      |          ^~~~~~~~~~~~~~~~
[6/308] Compiling SwishKernel.cpp
[6/308] Compiling SoftplusKernel.cpp
[6/308] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm