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

Successful build of Genesis, reference master (f09679), with Swift 6.0 for Linux on 29 Nov 2024 14:57:06 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/Genesis.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/yonaskolb/Genesis
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f096796 Update README.md
Cloned https://github.com/yonaskolb/Genesis.git
Revision (git rev-parse @):
f0967966fafba5a36665778a91c9d1e8245cb7fd
SUCCESS checkout https://github.com/yonaskolb/Genesis.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yonaskolb/Genesis.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/SwiftGen/StencilSwiftKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
[1088/5419] Fetching pathkit, stencilswiftkit
[1893/6545] Fetching pathkit, stencilswiftkit, rainbow
[1991/11619] Fetching pathkit, stencilswiftkit, rainbow, swiftcli
[8214/21555] Fetching pathkit, stencilswiftkit, rainbow, swiftcli, yams
Fetched https://github.com/onevcat/Rainbow from cache (0.29s)
[5975/19018] Fetching stencilswiftkit, swiftcli, yams
Fetched https://github.com/kylef/PathKit from cache (0.29s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.29s)
[1000/13944] Fetching stencilswiftkit, yams
Fetched https://github.com/jpsim/Yams from cache (1.71s)
Fetched https://github.com/SwiftGen/StencilSwiftKit from cache (1.72s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (1.79s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (1.78s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.20s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit
Computed https://github.com/SwiftGen/StencilSwiftKit at 2.10.1 (0.43s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
[510/5698] Fetching komondor, stencil
[364/5189] Fetching stencil
Fetched https://github.com/shibapm/Komondor.git from cache (0.20s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.30s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.42s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/960] Fetching shellout
[961/1540] Fetching shellout, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.21s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.21s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.42s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.43s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.42s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.44s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.43s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.1.3
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit
Working copy of https://github.com/SwiftGen/StencilSwiftKit resolved at 2.10.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Building for debugging...
[0/27] Write sources
[9/27] Compiling reader.c
[10/27] Compiling writer.c
[11/27] Compiling api.c
[12/27] Compiling parser.c
[13/27] Compiling emitter.c
[14/27] Compiling scanner.c
[15/27] Write swift-version-24593BA9C3E375BF.txt
[17/76] Emitting module Rainbow
[18/76] Compiling SwiftCLI ArgumentList.swift
[19/76] Compiling SwiftCLI ArgumentListManipulator.swift
[20/77] Compiling Rainbow Style.swift
[21/77] Compiling Rainbow String+Rainbow.swift
[22/77] Compiling Rainbow StringGenerator.swift
[23/77] Compiling Yams String+Yams.swift
[24/77] Compiling Yams Tag.swift
[25/78] Compiling SwiftCLI Compatibility.swift
[26/78] Compiling SwiftCLI CompletionGenerator.swift
[27/78] Compiling SwiftCLI Error.swift
[28/78] Compiling SwiftCLI HelpCommand.swift
[29/78] Compiling SwiftCLI HelpMessageGenerator.swift
[30/78] Compiling SwiftCLI Input.swift
[33/78] Compiling SwiftCLI Parser.swift
[34/78] Compiling SwiftCLI Path.swift
[35/78] Compiling SwiftCLI Stream.swift
[36/78] Compiling SwiftCLI Task.swift
[37/80] Compiling Yams Constructor.swift
[38/80] Compiling SwiftCLI Command.swift
[39/80] Compiling Rainbow Rainbow.swift
[42/80] Compiling Rainbow OutputTarget.swift
[43/80] Compiling Yams Representer.swift
[44/80] Compiling Yams Resolver.swift
[45/81] Compiling SwiftCLI Term.swift
[46/81] Compiling SwiftCLI Validation.swift
[50/81] Emitting module Yams
[53/81] Compiling SwiftCLI ValueBox.swift
[54/81] Compiling SwiftCLI VersionCommand.swift
[58/81] Emitting module SwiftCLI
[59/81] Emitting module PathKit
[60/81] Compiling PathKit PathKit.swift
[60/82] Wrapping AST for Rainbow for debugging
[62/82] Compiling Yams YamlError.swift
[74/84] Wrapping AST for PathKit for debugging
[75/84] Wrapping AST for Yams for debugging
[76/97] Wrapping AST for SwiftCLI for debugging
[78/106] Compiling Stencil Context.swift
[79/106] Compiling Stencil DynamicMemberLookup.swift
[80/106] Compiling Stencil Environment.swift
[81/108] Emitting module Stencil
[82/108] Compiling Stencil Loader.swift
[83/108] Compiling Stencil Node.swift
[84/108] Compiling Stencil NowTag.swift
[85/108] Compiling Stencil IfTag.swift
[86/108] Compiling Stencil Include.swift
[87/108] Compiling Stencil Inheritance.swift
[88/108] Compiling Stencil KeyPath.swift
[89/108] Compiling Stencil LazyValueWrapper.swift
[90/108] Compiling Stencil Lexer.swift
[91/108] Compiling Stencil Parser.swift
[92/108] Compiling Stencil Template.swift
[93/108] Compiling Stencil Tokenizer.swift
[94/108] Compiling Stencil Errors.swift
[95/108] Compiling Stencil Expression.swift
[96/108] Compiling Stencil Extension.swift
[97/108] Compiling Stencil FilterTag.swift
[98/108] Compiling Stencil Filters.swift
[99/108] Compiling Stencil ForTag.swift
[100/108] Compiling Stencil TrimBehaviour.swift
[101/108] Compiling Stencil Variable.swift
[102/109] Wrapping AST for Stencil for debugging
[104/121] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[105/122] Compiling StencilSwiftKit ImportNode.swift
[106/122] Compiling StencilSwiftKit MapNode.swift
[107/122] Compiling StencilSwiftKit SetNode.swift
[108/122] Compiling StencilSwiftKit Parameters.swift
[109/122] Compiling StencilSwiftKit SwiftIdentifier.swift
[110/122] Compiling StencilSwiftKit Environment.swift
[111/122] Compiling StencilSwiftKit Filters+Numbers.swift
[112/122] Emitting module StencilSwiftKit
[113/122] Compiling StencilSwiftKit CallMacroNodes.swift
[114/122] Compiling StencilSwiftKit Context.swift
[115/122] Compiling StencilSwiftKit Filters+Strings.swift
[116/122] Compiling StencilSwiftKit Filters.swift
[117/123] Wrapping AST for StencilSwiftKit for debugging
[119/129] Emitting module GenesisKit
/host/spi-builder-workspace/Sources/GenesisKit/TemplateGenerator.swift:187:10: warning: associated value 'missingOption' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
185 |     case templateSyntax(TemplateSyntaxError)
186 |     case missingTemplate(TemplateDoesNotExist)
187 |     case missingOption(Option)
    |          `- warning: associated value 'missingOption' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
188 | }
189 |
/host/spi-builder-workspace/Sources/GenesisKit/Option.swift:2:15: note: consider making struct 'Option' conform to the 'Sendable' protocol
 1 |
 2 | public struct Option: Equatable, Decodable {
   |               `- note: consider making struct 'Option' conform to the 'Sendable' protocol
 3 |
 4 |     public var name: String
[120/129] Compiling GenesisKit File.swift
[121/129] Compiling GenesisKit Input.swift
[122/129] Compiling GenesisKit Option.swift
[123/129] Compiling GenesisKit GenesisTemplate.swift
[124/129] Compiling GenesisKit TemplateGenerator.swift
/host/spi-builder-workspace/Sources/GenesisKit/TemplateGenerator.swift:187:10: warning: associated value 'missingOption' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
185 |     case templateSyntax(TemplateSyntaxError)
186 |     case missingTemplate(TemplateDoesNotExist)
187 |     case missingOption(Option)
    |          `- warning: associated value 'missingOption' of 'Sendable'-conforming enum 'GeneratorError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
188 | }
189 |
/host/spi-builder-workspace/Sources/GenesisKit/Option.swift:2:15: note: consider making struct 'Option' conform to the 'Sendable' protocol
 1 |
 2 | public struct Option: Equatable, Decodable {
   |               `- note: consider making struct 'Option' conform to the 'Sendable' protocol
 3 |
 4 |     public var name: String
[125/130] Wrapping AST for GenesisKit for debugging
[127/134] Compiling GenesisCLI Streams.swift
/host/spi-builder-workspace/Sources/GenesisCLI/Streams.swift:6:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Streams' may have shared mutable state; this is an error in the Swift 6 language mode
 2 | import SwiftCLI
 3 |
 4 | public struct Streams {
   |               `- note: consider making struct 'Streams' conform to the 'Sendable' protocol
 5 |
 6 |     public static let `default` = Streams()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Streams' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     public let out: WritableStream
[128/134] Compiling GenesisCLI GenesisCLI.swift
/host/spi-builder-workspace/Sources/GenesisCLI/Streams.swift:6:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Streams' may have shared mutable state; this is an error in the Swift 6 language mode
 2 | import SwiftCLI
 3 |
 4 | public struct Streams {
   |               `- note: consider making struct 'Streams' conform to the 'Sendable' protocol
 5 |
 6 |     public static let `default` = Streams()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Streams' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     public let out: WritableStream
[129/134] Emitting module GenesisCLI
/host/spi-builder-workspace/Sources/GenesisCLI/Streams.swift:6:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Streams' may have shared mutable state; this is an error in the Swift 6 language mode
 2 | import SwiftCLI
 3 |
 4 | public struct Streams {
   |               `- note: consider making struct 'Streams' conform to the 'Sendable' protocol
 5 |
 6 |     public static let `default` = Streams()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Streams' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     public let out: WritableStream
[130/134] Compiling GenesisCLI GenerateCommand.swift
[131/135] Wrapping AST for GenesisCLI for debugging
[133/137] Emitting module Genesis
[134/137] Compiling Genesis main.swift
[135/138] Wrapping AST for Genesis for debugging
[136/138] Write Objects.LinkFileList
[137/138] Linking genesis
Build complete! (35.40s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    }
  ],
  "manifest_display_name" : "Genesis",
  "name" : "Genesis",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "genesis",
      "targets" : [
        "Genesis"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenesisKit",
      "targets" : [
        "GenesisKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GenesisKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GenesisKitTests",
      "path" : "Tests/GenesisKitTests",
      "sources" : [
        "Fixtures.swift",
        "GeneratorTests.swift",
        "TemplateTests.swift",
        "WritingTests.swift"
      ],
      "target_dependencies" : [
        "GenesisKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GenesisKit",
      "module_type" : "SwiftTarget",
      "name" : "GenesisKit",
      "path" : "Sources/GenesisKit",
      "product_dependencies" : [
        "SwiftCLI",
        "StencilSwiftKit",
        "Yams",
        "PathKit",
        "Rainbow"
      ],
      "product_memberships" : [
        "genesis",
        "GenesisKit"
      ],
      "sources" : [
        "File.swift",
        "GenesisTemplate.swift",
        "Input.swift",
        "Option.swift",
        "TemplateGenerator.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenesisCLITests",
      "module_type" : "SwiftTarget",
      "name" : "GenesisCLITests",
      "path" : "Tests/GenesisCLITests",
      "sources" : [
        "CLITests.swift"
      ],
      "target_dependencies" : [
        "GenesisCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GenesisCLI",
      "module_type" : "SwiftTarget",
      "name" : "GenesisCLI",
      "path" : "Sources/GenesisCLI",
      "product_dependencies" : [
        "SwiftCLI"
      ],
      "product_memberships" : [
        "genesis"
      ],
      "sources" : [
        "GenerateCommand.swift",
        "GenesisCLI.swift",
        "Streams.swift"
      ],
      "target_dependencies" : [
        "GenesisKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Genesis",
      "module_type" : "SwiftTarget",
      "name" : "Genesis",
      "path" : "Sources/Genesis",
      "product_memberships" : [
        "genesis"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "GenesisCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.