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 0.9.0 (fe00b6), with Swift 6.0 for Linux on 29 Nov 2024 14:57:12 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 0.9.0
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
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at fe00b6c allow array option to be a string with commas
Cloned https://github.com/yonaskolb/Genesis.git
Revision (git rev-parse @):
fe00b6c9ab984849bbee890e9936c2a9271cb899
SUCCESS checkout https://github.com/yonaskolb/Genesis.git at 0.9.0
========================================
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-4606859-2":/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/kylef/PathKit
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/SwiftGen/StencilSwiftKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/jakeheis/SwiftCLI
[1/5074] Fetching swiftcli
[712/6200] Fetching swiftcli, rainbow
[859/10208] Fetching swiftcli, rainbow, stencilswiftkit
[4875/20144] Fetching swiftcli, rainbow, stencilswiftkit, yams
[4876/21555] Fetching swiftcli, rainbow, stencilswiftkit, yams, pathkit
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.80s)
[3934/16481] Fetching rainbow, stencilswiftkit, yams, pathkit
Fetched https://github.com/jpsim/Yams from cache (2.57s)
[4221/6545] Fetching rainbow, stencilswiftkit, pathkit
Fetched https://github.com/onevcat/Rainbow from cache (3.64s)
Fetched https://github.com/kylef/PathKit from cache (3.65s)
Fetched https://github.com/SwiftGen/StencilSwiftKit from cache (3.69s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.50s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (2.77s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.53s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.36s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit
Computed https://github.com/SwiftGen/StencilSwiftKit at 2.10.1 (0.73s)
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/stencilproject/Stencil.git
[1/5189] Fetching stencil
[157/5698] Fetching stencil, komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.28s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.28s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.46s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
[961/1540] Fetching shellout, packageconfig
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.20s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.20s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.45s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.44s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.46s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.48s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.47s)
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/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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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
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/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
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/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/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Building for debugging...
[0/27] Write sources
[9/27] Compiling reader.c
[9/27] Compiling writer.c
[11/27] Compiling parser.c
[12/27] Compiling emitter.c
[13/27] Compiling api.c
[14/27] Write swift-version-24593BA9C3E375BF.txt
[15/27] Compiling scanner.c
[17/76] Emitting module SwiftCLI
[18/78] Compiling Yams Mark.swift
[19/78] Compiling Yams Node.Mapping.swift
[20/79] Compiling SwiftCLI ValueBox.swift
[21/79] Compiling SwiftCLI VersionCommand.swift
[22/79] Compiling Rainbow String+Rainbow.swift
[23/79] Compiling Rainbow StringGenerator.swift
[24/80] Compiling Rainbow Style.swift
[25/80] Compiling SwiftCLI Term.swift
[26/80] Compiling SwiftCLI Validation.swift
[27/80] Compiling Yams Node.Sequence.swift
[28/80] Compiling Yams Representer.swift
[29/80] Compiling Yams Resolver.swift
[30/80] Compiling Yams Node.swift
[31/80] Compiling Yams Parser.swift
[32/80] Compiling Yams Node.Scalar.swift
[33/80] Compiling Yams String+Yams.swift
[34/80] Compiling Yams Tag.swift
[35/80] Emitting module PathKit
[36/80] Compiling PathKit PathKit.swift
[37/80] Compiling SwiftCLI OptionRegistry.swift
[38/80] Compiling SwiftCLI Parameter.swift
[39/80] Compiling SwiftCLI Parser.swift
[42/80] Compiling SwiftCLI Task.swift
[43/81] Compiling Yams Constructor.swift
[44/81] Compiling Yams Decoder.swift
[45/81] Compiling Rainbow OutputTarget.swift
[47/81] Compiling Yams Encoder.swift
[52/81] Compiling Yams Emitter.swift
[56/82] Emitting module Yams
[64/82] Wrapping AST for PathKit for debugging
[70/82] Compiling Rainbow Rainbow.swift
[71/82] Emitting module Rainbow
[71/82] Wrapping AST for SwiftCLI for debugging
[73/96] Compiling Yams YamlError.swift
[75/106] Wrapping AST for Rainbow for debugging
[76/106] Wrapping AST for Yams 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 KeyPath.swift
[86/108] Compiling Stencil LazyValueWrapper.swift
[87/108] Compiling Stencil Lexer.swift
[88/108] Compiling Stencil Parser.swift
[89/108] Compiling Stencil Template.swift
[90/108] Compiling Stencil Tokenizer.swift
[91/108] Compiling Stencil IfTag.swift
[92/108] Compiling Stencil Include.swift
[93/108] Compiling Stencil Inheritance.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/121] Compiling StencilSwiftKit SetNode.swift
[106/122] Compiling StencilSwiftKit ImportNode.swift
[107/122] Compiling StencilSwiftKit MapNode.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] Compiling StencilSwiftKit CallMacroNodes.swift
[113/122] Compiling StencilSwiftKit Context.swift
[114/122] Emitting module StencilSwiftKit
[115/122] Compiling StencilSwiftKit Filters+Strings.swift
[116/122] Compiling StencilSwiftKit Filters.swift
[117/123] Wrapping AST for StencilSwiftKit for debugging
[119/129] Compiling GenesisKit File.swift
[120/129] Compiling GenesisKit GenesisTemplate.swift
[121/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
[122/129] Compiling GenesisKit Input.swift
[123/129] Compiling GenesisKit Option.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] Compiling GenesisCLI GenerateCommand.swift
[130/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
[131/135] Wrapping AST for GenesisCLI for debugging
[133/137] Compiling Genesis main.swift
[134/137] Emitting module Genesis
[135/138] Wrapping AST for Genesis for debugging
[136/138] Write Objects.LinkFileList
[137/138] Linking genesis
Build complete! (44.13s)
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.