The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TypoChecker, reference master (d8fd92), with Swift 6.1 for Wasm on 27 May 2025 17:50:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/t-osawa-009/TypoChecker.git
Reference: master
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/t-osawa-009/TypoChecker
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d8fd920 Update README.md
Cloned https://github.com/t-osawa-009/TypoChecker.git
Revision (git rev-parse @):
d8fd920373f54a6e649a23cc6093a51db4e53985
SUCCESS checkout https://github.com/t-osawa-009/TypoChecker.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/t-osawa-009/TypoChecker.git
https://github.com/t-osawa-009/TypoChecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-uniyaml",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/seznam/swift-uniyaml.git"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files.git"
    }
  ],
  "manifest_display_name" : "TypoChecker",
  "name" : "TypoChecker",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TypoChecker",
      "targets" : [
        "TypoChecker"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypoCheckerTests",
      "module_type" : "SwiftTarget",
      "name" : "TypoCheckerTests",
      "path" : "Tests/TypoCheckerTests",
      "sources" : [
        "TypoCheckerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TypoChecker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypoChecker",
      "module_type" : "SwiftTarget",
      "name" : "TypoChecker",
      "path" : "Sources/TypoChecker",
      "product_dependencies" : [
        "UniYAML",
        "Files"
      ],
      "product_memberships" : [
        "TypoChecker"
      ],
      "sources" : [
        "Analytics.swift",
        "AnalyticsNamingTypo.swift",
        "AnalyticsStringTypo.swift",
        "ArgumentParser/ArgumentParser.swift",
        "Configuration.swift",
        "Report/JSONReport.swift",
        "Report/MarkdownReport.swift",
        "Report/ReportGenerator.swift",
        "Report/ReportOutputer.swift",
        "Report/Reportable.swift",
        "Report/XcodeReport.swift",
        "YAMLParser.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/seznam/swift-uniyaml.git
Fetching https://github.com/JohnSundell/Files.git
[1/207] Fetching swift-uniyaml
[208/1443] Fetching swift-uniyaml, files
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.56s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.56s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (2.86s)
Computing version for https://github.com/seznam/swift-uniyaml.git
Computed https://github.com/seznam/swift-uniyaml.git at 0.12.0 (2.48s)
Creating working copy for https://github.com/seznam/swift-uniyaml.git
Working copy of https://github.com/seznam/swift-uniyaml.git resolved at 0.12.0
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling UniYAML YAML.swift
/host/spi-builder-workspace/.build/checkouts/swift-uniyaml/Sources/UniYAML/YAML.swift:218:12: error: cannot assign to property: 'key' is a 'let' constant
 34 | 	let indent: Int
 35 | 	var type: YAMLType
 36 | 	let key: String?
    |  `- note: change 'let' to 'var' to make it mutable
 37 | 	let tag: String?
 38 | 	var value: Any?
    :
216 | 				return nil
217 | 			}
218 | 			obj[k]!.key = k
    |            `- error: cannot assign to property: 'key' is a 'let' constant
219 | 		}
220 | 		indent = 0
[6/15] Compiling UniYAML Decoder.swift
[7/15] Compiling UniYAML Encoder.swift
[8/15] Emitting module UniYAML
[9/15] Compiling Files Files.swift
[10/15] Emitting module Files
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling Files Files.swift
[3/12] Emitting module Files
[5/13] Compiling UniYAML Encoder.swift
[6/13] Emitting module UniYAML
[7/13] Compiling UniYAML Decoder.swift
[8/13] Compiling UniYAML YAML.swift
/host/spi-builder-workspace/.build/checkouts/swift-uniyaml/Sources/UniYAML/YAML.swift:218:12: error: cannot assign to property: 'key' is a 'let' constant
 34 | 	let indent: Int
 35 | 	var type: YAMLType
 36 | 	let key: String?
    |  `- note: change 'let' to 'var' to make it mutable
 37 | 	let tag: String?
 38 | 	var value: Any?
    :
216 | 				return nil
217 | 			}
218 | 			obj[k]!.key = k
    |            `- error: cannot assign to property: 'key' is a 'let' constant
219 | 		}
220 | 		indent = 0
[8/13] Wrapping AST for Files for debugging
BUILD FAILURE 6.1 wasm