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 xtree, reference main (c4744b), with Swift 6.1 for Wasm on 12 Jun 2025 11:30:25 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.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/swiftyfinch/xtree.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/swiftyfinch/xtree
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c4744be Remove reviewers from dependabot config
Cloned https://github.com/swiftyfinch/xtree.git
Revision (git rev-parse @):
c4744be866e168c629493371693da03c2a4cc06a
SUCCESS checkout https://github.com/swiftyfinch/xtree.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftyfinch/xtree.git
https://github.com/swiftyfinch/xtree.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.1.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj"
    },
    {
      "identity" : "fish",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftyfinch/Fish"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "zipfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.19",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/weichsel/ZIPFoundation"
    }
  ],
  "manifest_display_name" : "xtree",
  "name" : "xtree",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "xtree",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XTreeKit",
      "targets" : [
        "XTreeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XTreeKit",
      "module_type" : "SwiftTarget",
      "name" : "XTreeKit",
      "path" : "Sources/XTreeKit",
      "product_dependencies" : [
        "Fish",
        "XcodeProj",
        "Yams"
      ],
      "product_memberships" : [
        "xtree",
        "XTreeKit"
      ],
      "sources" : [
        "Common/Environment.swift",
        "Common/Extensions/Collection+Concurrent.swift",
        "Common/Inputs/InputFileCacher.swift",
        "Common/Inputs/InputInMemoryCacher.swift",
        "Common/Inputs/InputReader.swift",
        "Common/Inputs/PodfileLockReader.swift",
        "Common/Inputs/XcodeProjectReader.swift",
        "Common/Inputs/YAMLFileManager.swift",
        "Common/RegexBuilder.swift",
        "Common/SHA1Hasher.swift",
        "Common/System.swift",
        "Common/Terminal.swift",
        "Common/Tree/TreeBuilder.swift",
        "Common/Tree/TreeFilter.swift",
        "Common/Tree/TreeNode.swift",
        "Common/Tree/TreeSorter.swift",
        "Managers/FrequencyManager.swift",
        "Managers/ImpactManager.swift",
        "Managers/ParentsManager.swift",
        "Managers/TreeManager.swift",
        "Vault/Vault.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser",
        "Fish",
        "Rainbow",
        "ZIPFoundation"
      ],
      "product_memberships" : [
        "xtree"
      ],
      "sources" : [
        "Commands/Common/InputOptions.swift",
        "Commands/Common/TreeOptions.swift",
        "Commands/Frequency.swift",
        "Commands/Impact.swift",
        "Commands/Parents.swift",
        "Commands/Print.swift",
        "Commands/Update.swift",
        "Common/CommonFlags.swift",
        "Common/Environment.swift",
        "Common/Extensions/Rainbow/Rainbow+Namespace.swift",
        "Common/Extensions/Rainbow/Rainbow+Padding.swift",
        "Common/Extensions/Rainbow/Rainbow+RawCount.swift",
        "Common/Extensions/Rainbow/Rainbow+Split.swift",
        "Common/Extensions/Rainbow/Rainbow+WordWrappedLines.swift",
        "Common/Help/Drawing/BoxPainter.swift",
        "Common/Help/Drawing/Palette.swift",
        "Common/Help/HelpDumper.swift",
        "Common/Help/HelpPrinter.swift",
        "Common/ParsableCommand+ParseCommand.swift",
        "Common/ParsableCommand+ParseCommandType.swift",
        "Services/ErrorWrapper.swift",
        "Services/GitHubUpdater.swift",
        "Services/TreePrinter.swift",
        "xtree.swift"
      ],
      "target_dependencies" : [
        "XTreeKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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/tuist/XcodeProj
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/swiftyfinch/Fish
Fetching https://github.com/weichsel/ZIPFoundation
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
[1/23321] Fetching xcodeproj
[235/23414] Fetching xcodeproj, fish
[561/24610] Fetching xcodeproj, fish, rainbow
[2923/35469] Fetching xcodeproj, fish, rainbow, yams
[10680/41043] Fetching xcodeproj, fish, rainbow, yams, zipfoundation
[14208/56423] Fetching xcodeproj, fish, rainbow, yams, zipfoundation, swift-argument-parser
Fetched https://github.com/weichsel/ZIPFoundation from cache (0.71s)
[46257/50849] Fetching xcodeproj, fish, rainbow, yams, swift-argument-parser
Fetched https://github.com/swiftyfinch/Fish from cache (1.76s)
Fetched https://github.com/onevcat/Rainbow from cache (1.77s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.77s)
Fetched https://github.com/tuist/XcodeProj from cache (1.80s)
Fetched https://github.com/jpsim/Yams from cache (1.80s)
Computing version for https://github.com/weichsel/ZIPFoundation
Computed https://github.com/weichsel/ZIPFoundation at 0.9.19 (3.26s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.1 (0.47s)
Computing version for https://github.com/swiftyfinch/Fish
Computed https://github.com/swiftyfinch/Fish at 0.1.3 (2.01s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (1.94s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.44s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.4.2 (0.44s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/1411] Fetching pathkit
[1412/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.24s)
Fetched https://github.com/tadija/AEXML.git from cache (0.24s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.48s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.23s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.65s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.46s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/swiftyfinch/Fish
Working copy of https://github.com/swiftyfinch/Fish resolved at 0.1.3
Creating working copy for https://github.com/weichsel/ZIPFoundation
Working copy of https://github.com/weichsel/ZIPFoundation resolved at 0.9.19
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 9.4.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling writer.c
[13/32] Compiling reader.c
[14/32] Compiling parser.c
[15/32] Compiling api.c
[16/32] Compiling emitter.c
[17/32] Compiling scanner.c
[18/32] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/109] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/109] Emitting module ZIPFoundation
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[22/111] Emitting module ArgumentParserToolInfo
[23/111] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/112] Emitting module Rainbow
[25/112] Compiling Yams AliasDereferencingStrategy.swift
[26/112] Compiling Yams Anchor.swift
[27/113] Compiling Rainbow String+Rainbow.swift
[28/113] Compiling Rainbow StringGenerator.swift
[29/113] Wrapping AST for ArgumentParserToolInfo for debugging
[31/113] Compiling Rainbow Style.swift
[32/151] 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
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
[33/151] Emitting module Fish
[34/151] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/151] Compiling ArgumentParser ZshCompletionsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write swift-version-24593BA9C3E375BF.txt
[3/92] Compiling AEXML Builders.swift
[4/92] Emitting module AEXML
[5/92] Emitting module Fish
[6/93] Compiling Rainbow StringGenerator.swift
[7/95] Compiling Yams RedundancyAliasingStrategy.swift
[8/95] Compiling Yams Representer.swift
[9/95] Compiling Yams Node.Mapping.swift
[10/95] Compiling Yams Decoder.swift
[11/95] Compiling Yams Mark.swift
[12/95] Compiling Yams Node.Alias.swift
[13/95] Compiling Yams Tag.swift
[14/95] Compiling Yams YamlAnchorProviding.swift
[15/97] Compiling AEXML Options.swift
[16/97] Compiling AEXML Error.swift
[17/97] Compiling AEXML Parser.swift
[18/97] Compiling Yams Node.Scalar.swift
[19/97] Compiling Yams Node.Sequence.swift
[20/97] Compiling Yams Node.swift
[21/97] Compiling Yams Parser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/97] Emitting module ZIPFoundation
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[25/99] Compiling Yams Resolver.swift
[26/99] Compiling Yams String+Yams.swift
[27/99] Emitting module ArgumentParserToolInfo
[28/99] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/100] Compiling Fish IFolder.swift
[30/100] Compiling Fish IItem.swift
[31/100] Compiling Rainbow OutputTarget.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/101] 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
[35/101] 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
[36/101] Compiling Rainbow Rainbow.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
BUILD FAILURE 6.1 wasm