Build Information
Failed to build swift-nbt, reference main (20349a
), with Swift 6.1 for Wasm on 28 May 2025 12:33:26 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/ezfe/swift-nbt.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/ezfe/swift-nbt
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 20349a3 Merge pull request #2 from thtTNT/main
Cloned https://github.com/ezfe/swift-nbt.git
Revision (git rev-parse @):
20349a3a0a7607352a1d3141160c44a3f0d9ada6
SUCCESS checkout https://github.com/ezfe/swift-nbt.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ezfe/swift-nbt.git
https://github.com/ezfe/swift-nbt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "gzipswift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.2.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/1024jp/GzipSwift.git"
}
],
"manifest_display_name" : "swift-nbt",
"name" : "swift-nbt",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MinecraftNBT",
"targets" : [
"MinecraftNBT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MinecraftTools",
"targets" : [
"MinecraftTools"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "NBTStructures",
"module_type" : "SwiftTarget",
"name" : "NBTStructures",
"path" : "Sources/NBTStructures",
"product_memberships" : [
"MinecraftTools"
],
"sources" : [
"Level.swift"
],
"type" : "library"
},
{
"c99name" : "MinecraftTools",
"module_type" : "SwiftTarget",
"name" : "MinecraftTools",
"path" : "Sources/MinecraftTools",
"product_memberships" : [
"MinecraftTools"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MinecraftNBT",
"DataTools",
"NBTStructures"
],
"type" : "executable"
},
{
"c99name" : "MinecraftNBTTests",
"module_type" : "SwiftTarget",
"name" : "MinecraftNBTTests",
"path" : "Tests/MinecraftNBTTests",
"sources" : [
"DataStreamTests.swift",
"DescriptionTests.swift",
"Tags/Lists/GenericListTests.swift",
"ValuesTests.swift"
],
"target_dependencies" : [
"MinecraftNBT"
],
"type" : "test"
},
{
"c99name" : "MinecraftNBT",
"module_type" : "SwiftTarget",
"name" : "MinecraftNBT",
"path" : "Sources/MinecraftNBT",
"product_dependencies" : [
"OrderedCollections",
"Gzip"
],
"product_memberships" : [
"MinecraftNBT",
"MinecraftTools"
],
"sources" : [
"DataStream+readPayload.swift",
"NBTDecoder/NBTDecoder.swift",
"NBTDecoder/NBTDecodingStorage.swift",
"NBTDecoder/NBTReferencingDecoder.swift",
"NBTEncoder/NBTEncoder.swift",
"NBTEncoder/NBTEncodingStorage.swift",
"NBTEncoder/NBTReferencingEncoder.swift",
"NBTStructure.swift",
"NBTTagType.swift",
"Tags/NBTCompound.swift",
"Tags/NBTList.swift",
"Tags/NBTValue.swift",
"Values.swift"
],
"target_dependencies" : [
"DataTools"
],
"type" : "library"
},
{
"c99name" : "DataToolsTests",
"module_type" : "SwiftTarget",
"name" : "DataToolsTests",
"path" : "Tests/DataToolsTests",
"sources" : [
"DataStreamTests.swift",
"FloatTests.swift",
"IntegerDeserializationTests.swift",
"IntegerSerializationTests.swift",
"StringTests.swift"
],
"target_dependencies" : [
"DataTools"
],
"type" : "test"
},
{
"c99name" : "DataTools",
"module_type" : "SwiftTarget",
"name" : "DataTools",
"path" : "Sources/DataTools",
"product_memberships" : [
"MinecraftNBT",
"MinecraftTools"
],
"sources" : [
"DataAccumulator.swift",
"DataStream.swift",
"Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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-docc-plugin.git
Fetching https://github.com/1024jp/GzipSwift.git
[1/1549] Fetching gzipswift
[1550/3598] Fetching gzipswift, swift-docc-plugin
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.35s)
[267/2049] Fetching swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.51s)
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.27s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (2.41s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.96s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
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.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.2.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/20] Write sources
[9/20] Compiling system-zlib anchor.c
[10/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/42] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[13/42] Emitting module DataTools
[14/42] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/42] Compiling InternalCollectionsUtilities Debugging.swift
[16/43] Compiling InternalCollectionsUtilities Descriptions.swift
[17/43] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/43] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[20/43] Compiling InternalCollectionsUtilities _SortedCollection.swift
[21/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[22/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[23/43] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/43] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/43] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[26/43] Compiling InternalCollectionsUtilities Integer rank.swift
[27/43] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/43] Emitting module InternalCollectionsUtilities
[30/44] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[31/44] Compiling DataTools Extensions.swift
[32/44] Compiling DataTools DataAccumulator.swift
[33/44] Compiling DataTools DataStream.swift
[35/45] Emitting module NBTStructures
[36/45] Compiling NBTStructures Level.swift
[37/46] Wrapping AST for InternalCollectionsUtilities for debugging
[38/101] Wrapping AST for DataTools for debugging
[38/101] Wrapping AST for NBTStructures for debugging
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/12] Write swift-version-24593BA9C3E375BF.txt
[4/34] Emitting module DataTools
[5/34] Compiling DataTools DataAccumulator.swift
[6/34] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[7/34] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[8/34] Compiling InternalCollectionsUtilities Debugging.swift
[9/35] Compiling InternalCollectionsUtilities Descriptions.swift
[10/35] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[11/35] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[12/35] Compiling InternalCollectionsUtilities UInt+reversed.swift
[13/35] Compiling DataTools DataStream.swift
[14/35] Compiling DataTools Extensions.swift
[15/36] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/36] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[17/36] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[18/36] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/36] Compiling InternalCollectionsUtilities Integer rank.swift
[21/36] Emitting module NBTStructures
[22/36] Compiling NBTStructures Level.swift
BUILD FAILURE 6.1 wasm