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 syntax-highlight, reference main (61ea28), with Swift 6.1 for Linux on 27 Apr 2025 02:07:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/syntax-highlight.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/nerdsupremacist/syntax-highlight
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 61ea287 updating syntax tree
Cloned https://github.com/nerdsupremacist/syntax-highlight.git
Revision (git rev-parse @):
61ea287164c6453925d7967f9d7fa6b236752e3d
SUCCESS checkout https://github.com/nerdsupremacist/syntax-highlight.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nerdsupremacist/syntax-highlight.git
https://github.com/nerdsupremacist/syntax-highlight.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "syntaxtree",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nerdsupremacist/SyntaxTree.git"
    }
  ],
  "manifest_display_name" : "syntax-highlight",
  "name" : "syntax-highlight",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SyntaxHighlight",
      "targets" : [
        "SyntaxHighlight"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SyntaxHighlight",
      "module_type" : "SwiftTarget",
      "name" : "SyntaxHighlight",
      "path" : "Sources/SyntaxHighlight",
      "product_dependencies" : [
        "SyntaxTree"
      ],
      "product_memberships" : [
        "SyntaxHighlight"
      ],
      "sources" : [
        "Format.swift",
        "Parser+attributedString.swift",
        "Parser+highlight.swift",
        "Parser+html.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.20s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.77s)
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/10] Compiling SyntaxTree Location.swift
[5/10] Compiling SyntaxTree MutableSyntaxTree.swift
[6/10] Compiling SyntaxTree SyntaxTreeFactory.swift
[7/10] Compiling SyntaxTree SyntaxTree.swift
[8/10] Compiling SyntaxTree LineColumnIndex.swift
[9/10] Emitting module SyntaxTree
[10/10] Compiling SyntaxTree Kind.swift
[12/16] Compiling SyntaxHighlight Parser+highlight.swift
[13/16] Emitting module SyntaxHighlight
[14/16] Compiling SyntaxHighlight Parser+html.swift
[15/16] Compiling SyntaxHighlight Format.swift
[16/16] Compiling SyntaxHighlight Parser+attributedString.swift
/host/spi-builder-workspace/Sources/SyntaxHighlight/Parser+attributedString.swift:25:49: error: missing argument for parameter 'string' in call
23 |     internal init(attributes: @escaping (Kind?, [String : Any]) -> [NSAttributedString.Key : Any]?) {
24 |         self.attributes = attributes
25 |         self.string = NSMutableAttributedString()
   |                                                 `- error: missing argument for parameter 'string' in call
26 |     }
27 |
Foundation.NSMutableAttributedString.init:2:17: note: 'init(string:)' declared here
1 | class NSMutableAttributedString {
2 | override public init(string: String)}
  |                 `- note: 'init(string:)' declared here
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling SyntaxTree SyntaxTreeFactory.swift
[3/8] Compiling SyntaxTree MutableSyntaxTree.swift
[4/8] Compiling SyntaxTree Location.swift
[5/8] Compiling SyntaxTree Kind.swift
[6/8] Emitting module SyntaxTree
[7/8] Compiling SyntaxTree LineColumnIndex.swift
[8/8] Compiling SyntaxTree SyntaxTree.swift
[10/14] Emitting module SyntaxHighlight
[11/14] Compiling SyntaxHighlight Format.swift
[12/14] Compiling SyntaxHighlight Parser+highlight.swift
[13/14] Compiling SyntaxHighlight Parser+attributedString.swift
/host/spi-builder-workspace/Sources/SyntaxHighlight/Parser+attributedString.swift:25:49: error: missing argument for parameter 'string' in call
23 |     internal init(attributes: @escaping (Kind?, [String : Any]) -> [NSAttributedString.Key : Any]?) {
24 |         self.attributes = attributes
25 |         self.string = NSMutableAttributedString()
   |                                                 `- error: missing argument for parameter 'string' in call
26 |     }
27 |
Foundation.NSMutableAttributedString.init:2:17: note: 'init(string:)' declared here
1 | class NSMutableAttributedString {
2 | override public init(string: String)}
  |                 `- note: 'init(string:)' declared here
3 |
[14/14] Compiling SyntaxHighlight Parser+html.swift
BUILD FAILURE 6.1 linux