Build Information
Failed to build steamworks-swift, reference main (134e1d
), with Swift 6.1 for Wasm on 31 May 2025 00:16:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/johnfairh/steamworks-swift.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/johnfairh/steamworks-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 134e1d8 Version 1.2.0
Submodule path 'sdk': checked out '4187957e10434cec6ce93af4d04763ec7e458fdd'
Submodule 'sdk' (https://github.com/johnfairh/steamworks-swift-sdk) registered for path 'sdk'
Cloning into '/host/spi-builder-workspace/sdk'...
Cloned https://github.com/johnfairh/steamworks-swift.git
Revision (git rev-parse @):
134e1d8475e516ab51c63c429bada112697ac07f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/johnfairh/steamworks-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/johnfairh/steamworks-swift.git
https://github.com/johnfairh/steamworks-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++11",
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.5",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-atomics",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
}
],
"manifest_display_name" : "steamworks-swift",
"name" : "steamworks-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Steamworks",
"targets" : [
"Steamworks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SteamworksEncryptedAppTicket",
"targets" : [
"SteamworksEncryptedAppTicket"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SteamworksHelpers",
"targets" : [
"SteamworksHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Client",
"targets" : [
"Client"
],
"type" : {
"executable" : null
}
},
{
"name" : "TicketClient",
"targets" : [
"TicketClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "Generate",
"targets" : [
"Generate"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TicketClient",
"module_type" : "SwiftTarget",
"name" : "TicketClient",
"path" : "Sources/TicketClient",
"product_memberships" : [
"TicketClient"
],
"sources" : [
"TicketClient.swift"
],
"target_dependencies" : [
"SteamworksEncryptedAppTicket",
"SteamworksHelpers"
],
"type" : "executable"
},
{
"c99name" : "SteamworksTests",
"module_type" : "SwiftTarget",
"name" : "SteamworksTests",
"path" : "Tests/SteamworksTests",
"sources" : [
"TestApiInput.swift",
"TestApiMatchmaking.swift",
"TestApiNetworking.swift",
"TestApiServer.swift",
"TestApiSimple.swift",
"TestCallbackImpl.swift",
"TestExecutor.swift",
"TestGenNames.swift",
"TestGenTypes.swift",
"TestGenVersion.swift",
"TestHtmlSurface.swift",
"TestSteamID.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"Steamworks",
"SteamworksHelpers",
"SteamworksConcurrency",
"LibGenerate"
],
"type" : "test"
},
{
"c99name" : "SteamworksHelpers",
"module_type" : "SwiftTarget",
"name" : "SteamworksHelpers",
"path" : "Sources/SteamworksHelpers",
"product_memberships" : [
"SteamworksHelpers",
"Client",
"TicketClient"
],
"sources" : [
"SteamFriends+Helpers.swift",
"SteamHTTP+Helpers.swift",
"SteamInventory+Helpers.swift",
"SteamMatchmaking+Helpers.swift",
"SteamNetworkingSockets+Helpers.swift",
"SteamNetworkingUtils+Helpers.swift",
"SteamParties+Helpers.swift",
"SteamRemotePlay+Helpers.swift",
"SteamUGC+Helpers.swift",
"SteamUser+Helpers.swift",
"SteamUtils+Helpers.swift"
],
"target_dependencies" : [
"Steamworks"
],
"type" : "library"
},
{
"c99name" : "SteamworksEncryptedAppTicket",
"module_type" : "SwiftTarget",
"name" : "SteamworksEncryptedAppTicket",
"path" : "Sources/SteamworksEncryptedAppTicket",
"product_memberships" : [
"SteamworksEncryptedAppTicket",
"TicketClient"
],
"sources" : [
"SteamEncryptedAppTicket.swift"
],
"target_dependencies" : [
"Steamworks",
"CSteamworksEncryptedAppTicket"
],
"type" : "library"
},
{
"c99name" : "SteamworksConcurrency",
"module_type" : "SwiftTarget",
"name" : "SteamworksConcurrency",
"path" : "Sources/SteamworksConcurrency",
"product_dependencies" : [
"Atomics"
],
"sources" : [
"SteamExecutor.swift"
],
"target_dependencies" : [
"Steamworks"
],
"type" : "library"
},
{
"c99name" : "Steamworks",
"module_type" : "SwiftTarget",
"name" : "Steamworks",
"path" : "Sources/Steamworks",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"Steamworks",
"SteamworksEncryptedAppTicket",
"SteamworksHelpers",
"Client",
"TicketClient"
],
"sources" : [
"GameID.swift",
"Generated/Constants.swift",
"Generated/Enums.swift",
"Generated/SteamApps.swift",
"Generated/SteamBaseAPI+Callbacks.swift",
"Generated/SteamBaseAPI+Version.swift",
"Generated/SteamFriends.swift",
"Generated/SteamGameSearch.swift",
"Generated/SteamGameServer.swift",
"Generated/SteamGameServerStats.swift",
"Generated/SteamHTMLSurface.swift",
"Generated/SteamHTTP.swift",
"Generated/SteamInput.swift",
"Generated/SteamInventory.swift",
"Generated/SteamMatchmaking.swift",
"Generated/SteamMatchmakingServers.swift",
"Generated/SteamMusic.swift",
"Generated/SteamMusicRemote.swift",
"Generated/SteamNetworkingFakeUDPPort.swift",
"Generated/SteamNetworkingMessages.swift",
"Generated/SteamNetworkingSockets.swift",
"Generated/SteamNetworkingUtils.swift",
"Generated/SteamParentalSettings.swift",
"Generated/SteamParties.swift",
"Generated/SteamRemotePlay.swift",
"Generated/SteamRemoteStorage.swift",
"Generated/SteamScreenshots.swift",
"Generated/SteamTimeline.swift",
"Generated/SteamUGC.swift",
"Generated/SteamUser.swift",
"Generated/SteamUserStats.swift",
"Generated/SteamUtils.swift",
"Generated/SteamVideo.swift",
"Generated/Structs.swift",
"Generated/Typedefs.swift",
"Lock.swift",
"ManualInterfaces.swift",
"ManualTypes.swift",
"SteamAPI.swift",
"SteamBaseAPI.swift",
"SteamGameServerAPI.swift",
"SteamID.swift",
"SteamMatchmakingServers+Manual.swift",
"TypeUtils.swift"
],
"target_dependencies" : [
"CSteamworks"
],
"type" : "library"
},
{
"c99name" : "LibGenerate",
"module_type" : "SwiftTarget",
"name" : "LibGenerate",
"path" : "Sources/LibGenerate",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"Generate"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/LibGenerate/Resources/EXPECTED_SDK",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/LibGenerate/Resources/steam_api_extra.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/LibGenerate/Resources/steam_api_patch.yaml",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Callbacks.swift",
"Constants.swift",
"DocStructure.swift",
"Enums.swift",
"Errors.swift",
"Generated.swift",
"Generator.swift",
"IO.swift",
"Interfaces.swift",
"Metadata.swift",
"Regexp.swift",
"SteamNames.swift",
"SteamSwiftTypes.swift",
"String+Utils.swift",
"Structs.swift",
"Typedefs.swift",
"Version.swift"
],
"type" : "library"
},
{
"c99name" : "Generate",
"module_type" : "SwiftTarget",
"name" : "Generate",
"path" : "Sources/Generate",
"product_memberships" : [
"Generate"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LibGenerate"
],
"type" : "executable"
},
{
"c99name" : "Client",
"module_type" : "SwiftTarget",
"name" : "Client",
"path" : "Sources/Client",
"product_memberships" : [
"Client"
],
"sources" : [
"Client.swift"
],
"target_dependencies" : [
"Steamworks",
"SteamworksHelpers"
],
"type" : "executable"
},
{
"c99name" : "CSteamworksEncryptedAppTicket",
"module_type" : "SystemLibraryTarget",
"name" : "CSteamworksEncryptedAppTicket",
"path" : "Sources/CSteamworksEncryptedAppTicket",
"product_memberships" : [
"SteamworksEncryptedAppTicket",
"TicketClient"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "CSteamworks",
"module_type" : "SystemLibraryTarget",
"name" : "CSteamworks",
"path" : "Sources/CSteamworks",
"product_memberships" : [
"Steamworks",
"SteamworksEncryptedAppTicket",
"SteamworksHelpers",
"Client",
"TicketClient"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-atomics.git
[1/1717] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/jpsim/Yams.git
[1/2049] Fetching swift-docc-plugin
[227/5885] Fetching swift-docc-plugin, swift-log
[1263/16542] Fetching swift-docc-plugin, swift-log, yams
Fetched https://github.com/apple/swift-log.git from cache (2.40s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.42s)
Fetched https://github.com/jpsim/Yams.git from cache (2.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (6.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.81s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.76s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.05s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
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.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at main (d61ca10)
warning: couldn't find pc file for steamworks-swift
warning: couldn't find pc file for steamworks-swift
warning: couldn't find pc file for steamworks-swift
warning: couldn't find pc file for steamworks-swift
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/37] Write sources
[4/37] Copying steam_api_extra.json
[5/37] Copying steam_api_patch.yaml
[6/37] Write sources
[6/37] Copying EXPECTED_SDK
[6/37] Write sources
[15/37] Compiling reader.c
[16/37] Compiling api.c
[17/37] Compiling parser.c
[18/37] Compiling writer.c
[18/37] Write swift-version-24593BA9C3E375BF.txt
[20/37] Compiling emitter.c
[21/37] Compiling scanner.c
[23/62] Emitting module Logging
[24/62] Emitting module Yams
[25/64] Compiling Yams Tag.swift
[26/64] Compiling Yams YamlAnchorProviding.swift
[27/64] Compiling Logging Locks.swift
[28/64] Compiling Logging MetadataProvider.swift
[29/64] Compiling Logging Logging.swift
[30/64] Compiling Logging LogHandler.swift
[32/65] Compiling Yams Node.Scalar.swift
[33/65] Compiling Yams Node.Sequence.swift
[34/65] Compiling Yams Node.swift
[35/65] Compiling Yams Mark.swift
[36/65] Compiling Yams Node.Alias.swift
[37/65] Compiling Yams Node.Mapping.swift
[38/65] Compiling Yams Resolver.swift
[39/65] Compiling Yams String+Yams.swift
[40/65] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[41/65] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[42/65] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[43/65] Compiling Yams YamlError.swift
[44/65] Compiling Yams YamlTagProviding.swift
[44/65] Wrapping AST for Logging for debugging
[46/105] Compiling Steamworks SteamFriends.swift
[47/105] Compiling Steamworks SteamGameSearch.swift
[48/105] Compiling Steamworks SteamGameServer.swift
[49/105] Compiling Steamworks SteamGameServerStats.swift
[50/105] Compiling Steamworks SteamHTMLSurface.swift
[51/105] Compiling Steamworks SteamHTTP.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
warning: couldn't find pc file for steamworks-swift
warning: couldn't find pc file for steamworks-swift
warning: couldn't find pc file for steamworks-swift
warning: couldn't find pc file for steamworks-swift
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/18] Write swift-version-24593BA9C3E375BF.txt
[4/43] Compiling Logging MetadataProvider.swift
[5/43] Compiling Yams Tag.swift
[6/43] Compiling Yams YamlAnchorProviding.swift
[7/45] Compiling Yams Resolver.swift
[8/45] Compiling Yams String+Yams.swift
[9/45] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[10/45] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[11/45] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[12/45] Compiling Yams Node.Scalar.swift
[13/45] Compiling Yams Node.Sequence.swift
[14/45] Compiling Yams Node.swift
[15/45] Emitting module Yams
[16/45] Compiling Yams Mark.swift
[17/45] Compiling Yams Node.Alias.swift
[18/45] Compiling Yams Node.Mapping.swift
[19/45] Compiling Logging Locks.swift
[20/45] Emitting module Logging
[21/45] Compiling Logging LogHandler.swift
[22/45] Compiling Logging Logging.swift
[24/46] Compiling Yams YamlError.swift
[25/46] Compiling Yams YamlTagProviding.swift
[26/46] Compiling Yams AliasDereferencingStrategy.swift
[27/46] Compiling Yams Anchor.swift
[28/46] Compiling Yams Constructor.swift
[29/46] Compiling Yams Decoder.swift
[30/46] Compiling Yams Emitter.swift
[31/46] Compiling Yams Encoder.swift
BUILD FAILURE 6.1 wasm