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 XCLogParser, reference v0.2.42 (5facac), with Swift 6.1 for Wasm on 12 Jun 2025 13:49:15 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/MobileNativeFoundation/XCLogParser.git
Reference: v0.2.42
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/MobileNativeFoundation/XCLogParser
 * tag               v0.2.42    -> FETCH_HEAD
HEAD is now at 5facacc Merge pull request #234 from MobileNativeFoundation/0.2.42-release
Cloned https://github.com/MobileNativeFoundation/XCLogParser.git
Revision (git rev-parse @):
5facacc3813b38514e759c5ce5aec4b0fdcfa8d1
SUCCESS checkout https://github.com/MobileNativeFoundation/XCLogParser.git at v0.2.42
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MobileNativeFoundation/XCLogParser.git
https://github.com/MobileNativeFoundation/XCLogParser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "gzipswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1024jp/GzipSwift"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "exact" : [
          "1.3.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "XCLogParser",
  "name" : "XCLogParser",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "xclogparser",
      "targets" : [
        "XCLogParserApp"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XCLogParser",
      "targets" : [
        "XCLogParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeHasher",
      "module_type" : "SwiftTarget",
      "name" : "XcodeHasher",
      "path" : "Sources/XcodeHasher",
      "product_dependencies" : [
        "CryptoSwift"
      ],
      "product_memberships" : [
        "xclogparser",
        "XCLogParser"
      ],
      "sources" : [
        "XcodeHasher.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCLogParserTests",
      "module_type" : "SwiftTarget",
      "name" : "XCLogParserTests",
      "path" : "Tests/XCLogParserTests",
      "sources" : [
        "ActivityParserTests.swift",
        "BuildStatusSanitizerTests.swift",
        "BuildStep+TestUtils.swift",
        "ChromeTracerOutputTests.swift",
        "ClangCompilerParserTests.swift",
        "IssuesReporterTests.swift",
        "LexRedactorTests.swift",
        "LexerTests.swift",
        "LogFinderTests.swift",
        "LogManifestTests.swift",
        "ParserTests.swift",
        "ReporterTests.swift",
        "String+BuildSpecificInformationRemovalTests.swift",
        "SwiftCompilerParserTests.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "XCLogParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCLogParserApp",
      "module_type" : "SwiftTarget",
      "name" : "XCLogParserApp",
      "path" : "Sources/XCLogParserApp",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xclogparser"
      ],
      "sources" : [
        "commands/DumpCommand.swift",
        "commands/MainCommand.swift",
        "commands/ManifestCommand.swift",
        "commands/Optional+Blank.swift",
        "commands/ParseCommand.swift",
        "commands/String+Blank.swift",
        "commands/VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "XCLogParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCLogParser",
      "module_type" : "SwiftTarget",
      "name" : "XCLogParser",
      "path" : "Sources/XCLogParser",
      "product_dependencies" : [
        "Gzip",
        "PathKit"
      ],
      "product_memberships" : [
        "xclogparser",
        "XCLogParser"
      ],
      "sources" : [
        "XCLogParserError.swift",
        "activityparser/ActivityParser.swift",
        "activityparser/IDEActivityModel.swift",
        "commands/Action.swift",
        "commands/ActionOptions.swift",
        "commands/Command.swift",
        "commands/CommandHandler.swift",
        "commands/LogOptions.swift",
        "commands/Version.swift",
        "extensions/ArrayExtension.swift",
        "extensions/EncodableExtension.swift",
        "extensions/NSRegularExpressionExtension.swift",
        "extensions/URLExtension.swift",
        "generated/HtmlReporterResources.swift",
        "lexer/LexRedactor.swift",
        "lexer/Lexer.swift",
        "lexer/LexerModel.swift",
        "lexer/LogRedactor.swift",
        "lexer/String+BuildSpecificInformationRemoval.swift",
        "loglocation/LogError.swift",
        "loglocation/LogFinder.swift",
        "loglocation/LogLoader.swift",
        "logmanifest/LogManifest.swift",
        "logmanifest/LogManifestModel.swift",
        "output/FileOutput.swift",
        "output/ReporterOutput.swift",
        "output/StandardOutput.swift",
        "parser/BuildStatusSanitizer.swift",
        "parser/BuildStep+Builder.swift",
        "parser/BuildStep+Parser.swift",
        "parser/BuildStep.swift",
        "parser/ClangCompilerParser.swift",
        "parser/Contains.swift",
        "parser/IDEActivityLogSection+Builders.swift",
        "parser/IDEActivityLogSection+Parsing.swift",
        "parser/LinkerStatistics.swift",
        "parser/MachineNameReader.swift",
        "parser/Notice+Parser.swift",
        "parser/Notice.swift",
        "parser/NoticeType.swift",
        "parser/ParserBuildSteps.swift",
        "parser/Prefix.swift",
        "parser/StringExtension.swift",
        "parser/Suffix.swift",
        "parser/SwiftCompilerFunctionTimeOptionParser.swift",
        "parser/SwiftCompilerParser.swift",
        "parser/SwiftCompilerTimeOptionParser.swift",
        "parser/SwiftCompilerTypeCheckOptionParser.swift",
        "parser/SwiftFunctionTime.swift",
        "parser/SwiftTypeCheck.swift",
        "reporter/ChromeTracerReporter.swift",
        "reporter/FlatJsonReporter.swift",
        "reporter/HtmlReporter.swift",
        "reporter/IssuesReporter.swift",
        "reporter/JsonReporter.swift",
        "reporter/LogReporter.swift",
        "reporter/Reporter.swift",
        "reporter/SummaryJsonReporter.swift"
      ],
      "target_dependencies" : [
        "XcodeHasher"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser
[1/1557] Fetching gzipswift
[1558/14498] Fetching gzipswift, cryptoswift
[2335/15909] Fetching gzipswift, cryptoswift, pathkit
Fetched https://github.com/1024jp/GzipSwift from cache (0.30s)
[3353/14352] Fetching cryptoswift, pathkit
[3354/29732] Fetching cryptoswift, pathkit, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (1.00s)
[27545/28321] Fetching cryptoswift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.55s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.69s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.79s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.3 (1.66s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.95s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.14s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.3
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
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/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/21] Write sources
[9/21] Compiling system-zlib anchor.c
[10/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/95] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[13/104] Emitting module ArgumentParserToolInfo
[14/104] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/105] Wrapping AST for ArgumentParserToolInfo for debugging
[17/143] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[18/143] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[19/143] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[20/143] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[21/143] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[22/143] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[23/143] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[24/143] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[25/143] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[26/143] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/143] 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 |
[28/143] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/143] 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
[30/143] 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
[31/143] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[32/143] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[33/143] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[34/143] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[35/143] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[36/143] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[37/143] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[38/143] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
[39/143] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:10: error: no such module 'Glibc'
 20 |   import Darwin
 21 | #else
 22 |   import Glibc
    |          `- error: no such module 'Glibc'
 23 | #endif
 24 |
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 GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/86] 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 |
[4/86] 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 |
[5/86] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/86] 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
BUILD FAILURE 6.1 wasm