The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ShaderListPlugin, reference main (77d02c), with Swift 6.1 for Linux on 27 Nov 2025 19:25:46 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/metal-shader-list-plugin.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/Kosikowski/metal-shader-list-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 77d02c9 Bump actions/checkout from 5 to 6 (#4)
Cloned https://github.com/Kosikowski/metal-shader-list-plugin.git
Revision (git rev-parse @):
77d02c91e50a105888045055a42e94e950907231
SUCCESS checkout https://github.com/Kosikowski/metal-shader-list-plugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kosikowski/metal-shader-list-plugin.git
https://github.com/Kosikowski/metal-shader-list-plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "ShaderListPlugin",
  "name" : "ShaderListPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ShaderListPlugin",
      "targets" : [
        "ShaderListPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "ShaderEnumGenerator",
      "targets" : [
        "ShaderEnumGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShaderListPlugin",
      "module_type" : "PluginTarget",
      "name" : "ShaderListPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "ShaderListPlugin"
      ],
      "sources" : [
        "ShaderListPlugin.swift"
      ],
      "target_dependencies" : [
        "ShaderEnumGenerator"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ShaderEnumGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "ShaderEnumGeneratorTests",
      "path" : "Sources/ShaderEnumGeneratorTests",
      "sources" : [
        "RemovingAllCommentsEdgeCaseTests.swift",
        "ShaderEnumGeneratorCoreTests.swift"
      ],
      "target_dependencies" : [
        "ShaderEnumGeneratorCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShaderEnumGeneratorCore",
      "module_type" : "SwiftTarget",
      "name" : "ShaderEnumGeneratorCore",
      "path" : "Sources/ShaderEnumGeneratorCore",
      "product_memberships" : [
        "ShaderListPlugin",
        "ShaderEnumGenerator"
      ],
      "sources" : [
        "ShaderEnumGeneratorCore.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ShaderEnumGenerator",
      "module_type" : "SwiftTarget",
      "name" : "ShaderEnumGenerator",
      "path" : "Sources/ShaderEnumGenerator",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ShaderListPlugin",
        "ShaderEnumGenerator"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ShaderEnumGeneratorCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/16860] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.63s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.18s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
[1/1] Compiling plugin ShaderListPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/24] Write sources
[11/24] Write swift-version-24593BA9C3E375BF.txt
[13/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/32] Emitting module ArgumentParserToolInfo
[15/33] Wrapping AST for ArgumentParserToolInfo for debugging
[17/77] Emitting module ArgumentParserToolInfo
[18/77] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/78] Wrapping AST for ArgumentParserToolInfo for debugging
[21/122] Compiling ArgumentParser CollectionExtensions.swift
[22/122] Compiling ArgumentParser Mutex.swift
[23/122] Compiling ArgumentParser Platform.swift
[24/122] Compiling ArgumentParser SequenceExtensions.swift
[25/122] Compiling ArgumentParser StringExtensions.swift
[26/122] Compiling ArgumentParser SwiftExtensions.swift
[27/128] Compiling ArgumentParser Tree.swift
[28/128] Compiling ArgumentParser CodingKeyValidator.swift
[29/128] Compiling ArgumentParser NonsenseFlagsValidator.swift
[30/128] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/128] Compiling ArgumentParser PositionalArgumentsValidator.swift
[32/128] Compiling ArgumentParser UniqueNamesValidator.swift
[33/128] Compiling ShaderEnumGeneratorCore ShaderEnumGeneratorCore.swift
[34/128] Emitting module ShaderEnumGeneratorCore
[35/129] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/129] Compiling ArgumentParser CompletionsGenerator.swift
[37/129] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/129] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/129] Compiling ArgumentParser Argument.swift
[40/129] Compiling ArgumentParser ArgumentDiscussion.swift
[41/129] Emitting module ShaderEnumGeneratorCore
[42/129] Compiling ShaderEnumGeneratorCore ShaderEnumGeneratorCore.swift
[51/130] Compiling ArgumentParser OptionGroup.swift
[52/130] Compiling ArgumentParser AsyncParsableCommand.swift
[53/130] Compiling ArgumentParser CommandConfiguration.swift
[54/130] Compiling ArgumentParser CommandGroup.swift
[55/130] Compiling ArgumentParser EnumerableFlag.swift
[56/130] Compiling ArgumentParser ExpressibleByArgument.swift
[56/136] Wrapping AST for ShaderEnumGeneratorCore for debugging
[58/136] Compiling ArgumentParser ArgumentVisibility.swift
[59/136] Compiling ArgumentParser CompletionKind.swift
[60/136] Compiling ArgumentParser Errors.swift
[61/136] Compiling ArgumentParser Flag.swift
[62/136] Compiling ArgumentParser NameSpecification.swift
[63/136] Compiling ArgumentParser Option.swift
[64/136] Emitting module ArgumentParser
[71/136] Compiling ArgumentParser ArgumentHelp.swift
[71/136] Wrapping AST for ShaderEnumGeneratorCore for debugging
[73/136] Emitting module ArgumentParser
[81/136] Compiling ArgumentParser InputKey.swift
[82/136] Compiling ArgumentParser InputOrigin.swift
[83/136] Compiling ArgumentParser Name.swift
[84/136] Compiling ArgumentParser Parsed.swift
[85/136] Compiling ArgumentParser ParsedValues.swift
[86/136] Compiling ArgumentParser ParserError.swift
[87/136] Compiling ArgumentParser SplitArguments.swift
[88/136] Compiling ArgumentParser DumpHelpGenerator.swift
[89/136] Compiling ArgumentParser HelpCommand.swift
[90/136] Compiling ArgumentParser HelpGenerator.swift
[91/136] Compiling ArgumentParser MessageInfo.swift
[92/136] Compiling ArgumentParser UsageGenerator.swift
[93/136] Compiling ArgumentParser Tree.swift
[94/136] Compiling ArgumentParser CodingKeyValidator.swift
[95/136] Compiling ArgumentParser NonsenseFlagsValidator.swift
[96/136] Compiling ArgumentParser ParsableArgumentsValidation.swift
[97/136] Compiling ArgumentParser PositionalArgumentsValidator.swift
[98/136] Compiling ArgumentParser UniqueNamesValidator.swift
[111/136] Compiling ArgumentParser ParsableArguments.swift
[112/136] Compiling ArgumentParser ParsableCommand.swift
[113/136] Compiling ArgumentParser ArgumentDecoder.swift
[114/136] Compiling ArgumentParser ArgumentDefinition.swift
[115/136] Compiling ArgumentParser ArgumentSet.swift
[116/136] Compiling ArgumentParser CommandParser.swift
[117/137] Wrapping AST for ArgumentParser for debugging
[133/142] Emitting module ShaderEnumGenerator
/host/spi-builder-workspace/Sources/ShaderEnumGenerator/main.swift:15:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     // MARK: Static Properties
14 |
15 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |         commandName: "ShaderEnumGenerator",
17 |         abstract: "Generates a Swift enum source file from Metal shader function declarations."
[134/142] Compiling ShaderEnumGenerator main.swift
/host/spi-builder-workspace/Sources/ShaderEnumGenerator/main.swift:15:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     // MARK: Static Properties
14 |
15 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |         commandName: "ShaderEnumGenerator",
17 |         abstract: "Generates a Swift enum source file from Metal shader function declarations."
/host/spi-builder-workspace/Sources/ShaderEnumGenerator/main.swift:47:70: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 |             try swiftCode.write(toFile: output, atomically: true, encoding: .utf8)
46 |         } catch {
47 |             fputs("Failed to write output to \(output): \(error)\n", stderr)
   |                                                                      `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
48 |             Foundation.exit(2)
49 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[135/143] Wrapping AST for ShaderEnumGenerator for debugging
[136/143] Write Objects.LinkFileList
[138/143] Compiling ShaderEnumGenerator main.swift
/host/spi-builder-workspace/Sources/ShaderEnumGenerator/main.swift:15:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     // MARK: Static Properties
14 |
15 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |         commandName: "ShaderEnumGenerator",
17 |         abstract: "Generates a Swift enum source file from Metal shader function declarations."
/host/spi-builder-workspace/Sources/ShaderEnumGenerator/main.swift:47:70: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 |             try swiftCode.write(toFile: output, atomically: true, encoding: .utf8)
46 |         } catch {
47 |             fputs("Failed to write output to \(output): \(error)\n", stderr)
   |                                                                      `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
48 |             Foundation.exit(2)
49 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[139/143] Emitting module ShaderEnumGenerator
/host/spi-builder-workspace/Sources/ShaderEnumGenerator/main.swift:15:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     // MARK: Static Properties
14 |
15 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |         commandName: "ShaderEnumGenerator",
17 |         abstract: "Generates a Swift enum source file from Metal shader function declarations."
[140/144] Wrapping AST for ShaderEnumGenerator for debugging
[141/144] Write Objects.LinkFileList
[142/144] Linking ShaderEnumGenerator
[143/144] Linking ShaderEnumGenerator-tool
Build complete! (18.48s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "ShaderListPlugin",
  "name" : "ShaderListPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ShaderListPlugin",
      "targets" : [
        "ShaderListPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "ShaderEnumGenerator",
      "targets" : [
        "ShaderEnumGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShaderListPlugin",
      "module_type" : "PluginTarget",
      "name" : "ShaderListPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "ShaderListPlugin"
      ],
      "sources" : [
        "ShaderListPlugin.swift"
      ],
      "target_dependencies" : [
        "ShaderEnumGenerator"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ShaderEnumGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "ShaderEnumGeneratorTests",
      "path" : "Sources/ShaderEnumGeneratorTests",
      "sources" : [
        "RemovingAllCommentsEdgeCaseTests.swift",
        "ShaderEnumGeneratorCoreTests.swift"
      ],
      "target_dependencies" : [
        "ShaderEnumGeneratorCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShaderEnumGeneratorCore",
      "module_type" : "SwiftTarget",
      "name" : "ShaderEnumGeneratorCore",
      "path" : "Sources/ShaderEnumGeneratorCore",
      "product_memberships" : [
        "ShaderListPlugin",
        "ShaderEnumGenerator"
      ],
      "sources" : [
        "ShaderEnumGeneratorCore.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ShaderEnumGenerator",
      "module_type" : "SwiftTarget",
      "name" : "ShaderEnumGenerator",
      "path" : "Sources/ShaderEnumGenerator",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ShaderListPlugin",
        "ShaderEnumGenerator"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ShaderEnumGeneratorCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.