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 LeakDetect, reference 0.0.8 (68fb46), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 17:04:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-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/yume190/LeakDetect.git
Reference: 0.0.8
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/yume190/LeakDetect
 * tag               0.0.8      -> FETCH_HEAD
HEAD is now at 68fb463 update version
Cloned https://github.com/yume190/LeakDetect.git
Revision (git rev-parse @):
68fb463a84fd06ea3d3d78faee55f3d3ed13f853
SUCCESS checkout https://github.com/yume190/LeakDetect.git at 0.0.8
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yume190/LeakDetect.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/zonble/HumanString.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/16144] Fetching sourcekitten
[2/16322] Fetching sourcekitten, humanstring
[1148/17518] Fetching sourcekitten, humanstring, rainbow
[1825/18929] Fetching sourcekitten, humanstring, rainbow, pathkit
Fetched https://github.com/zonble/HumanString.git from cache (0.33s)
[4615/18751] Fetching sourcekitten, rainbow, pathkit
Fetching https://github.com/yume190/TypeFill
[5030/29625] Fetching sourcekitten, rainbow, pathkit, yams
[14787/31289] Fetching sourcekitten, rainbow, pathkit, yams, typefill
[15096/46669] Fetching sourcekitten, rainbow, pathkit, yams, typefill, swift-argument-parser
Fetched https://github.com/yume190/TypeFill from cache (1.33s)
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.77s)
Fetched https://github.com/kylef/PathKit from cache (2.57s)
Fetched https://github.com/onevcat/Rainbow from cache (2.57s)
Fetched https://github.com/jpsim/SourceKitten from cache (2.58s)
Fetched https://github.com/jpsim/Yams from cache (2.60s)
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.79s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (10.74s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.35s)
Computing version for https://github.com/zonble/HumanString.git
Computed https://github.com/zonble/HumanString.git at 0.1.1 (1.07s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.34s)
Computing version for https://github.com/yume190/TypeFill
Computed https://github.com/yume190/TypeFill at 0.4.9 (0.43s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.25s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (1.95s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.54s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.1 (0.70s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.50s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.16s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.72s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.68s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.72s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.4
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/zonble/HumanString.git
Working copy of https://github.com/zonble/HumanString.git resolved at 0.1.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/yume190/TypeFill
Working copy of https://github.com/yume190/TypeFill resolved at 0.4.9
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/51] Write sources
[15/51] Copying PrivacyInfo.xcprivacy
[15/51] Write sources
[18/51] Compiling Clang_C Clang_C.c
[19/51] Compiling SourceKit SourceKit.c
[20/51] Write swift-version-24593BA9C3E375BF.txt
[21/51] Compiling writer.c
[22/51] Compiling reader.c
[23/75] Compiling api.c
[24/85] Compiling parser.c
[25/128] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/141] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[27/230] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/250] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[30/264] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[31/264] Compiling Rainbow String+Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[32/264] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[33/264] Compiling Yams YamlAnchorProviding.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[34/266] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[35/266] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[38/266] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[39/266] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[40/266] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[41/266] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[42/266] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[43/266] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[44/266] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/266] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[46/269] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[47/269] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[48/269] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[49/269] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[50/269] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/Deserialization/XMLAttributeDeserializable.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | /// Provides XMLAttribute deserialization / type transformation support
[51/269] Compiling CryptoSwift Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[52/269] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[53/269] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[54/269] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[55/269] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[56/269] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[57/269] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[58/269] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[59/269] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[60/269] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[61/269] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[62/269] Compiling CryptoSwift XChaCha20.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[63/269] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[64/269] Compiling CryptoSwift resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[65/269] Compiling Yams AliasDereferencingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[66/269] Compiling Yams Anchor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[67/269] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[68/269] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[69/269] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm