The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build TypoChecker, reference master (d8fd92), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 20:53:30 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/t-osawa-009/TypoChecker.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/seznam/swift-uniyaml.git
[1/207] Fetching swift-uniyaml
[39/1443] Fetching swift-uniyaml, files
Fetched https://github.com/JohnSundell/Files.git from cache (0.89s)
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.89s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (1.60s)
Computing version for https://github.com/seznam/swift-uniyaml.git
Computed https://github.com/seznam/swift-uniyaml.git at 0.11.1 (0.58s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/seznam/swift-uniyaml.git
Working copy of https://github.com/seznam/swift-uniyaml.git resolved at 0.11.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "typochecker",
      "name": "TypoChecker",
      "url": "https://github.com/t-osawa-009/TypoChecker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TypoChecker",
      "dependencies": [
        {
          "identity": "swift-uniyaml",
          "name": "UniYAML",
          "url": "https://github.com/seznam/swift-uniyaml.git",
          "version": "0.12.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-uniyaml",
          "dependencies": [
          ]
        },
        {
          "identity": "files",
          "name": "Files",
          "url": "https://github.com/JohnSundell/Files.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/t-osawa-009/TypoChecker.git
[1/339] Fetching typochecker
Fetched https://github.com/t-osawa-009/TypoChecker.git from cache (0.67s)
Fetching https://github.com/JohnSundell/Files.git from cache
Fetching https://github.com/seznam/swift-uniyaml.git from cache
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.48s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.48s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.55s)
Computing version for https://github.com/seznam/swift-uniyaml.git
Computed https://github.com/seznam/swift-uniyaml.git at 0.12.0 (0.71s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/t-osawa-009/TypoChecker.git
Working copy of https://github.com/t-osawa-009/TypoChecker.git resolved at master (d8fd920)
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
Found 2 product dependencies
  - UniYAML
  - Files
========================================
Build
========================================
Selected platform:         macosSpm
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
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/8] Write sources
[2/8] Write TypoChecker-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/14] Compiling UniYAML Encoder.swift
[7/14] Compiling UniYAML YAML.swift
/Users/admin/builder/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/14] Compiling UniYAML Decoder.swift
[9/14] Emitting module UniYAML
[10/14] Compiling Files Files.swift
[11/14] Emitting module Files
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/10] Compiling UniYAML Encoder.swift
[3/10] Compiling UniYAML Decoder.swift
[4/10] Emitting module UniYAML
[5/10] Compiling UniYAML YAML.swift
/Users/admin/builder/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/10] Emitting module Files
BUILD FAILURE 6.1 macosSpm