The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ShaderListPlugin, reference v1.1.1 (3194de), with Swift 6.1 for Android on 17 Jul 2025 19:13:08 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/metal-shader-list-plugin.git
Reference: v1.1.1
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
 * tag               v1.1.1     -> FETCH_HEAD
HEAD is now at 3194de1 Improved shader name parsing and CI (#2)
Cloned https://github.com/Kosikowski/metal-shader-list-plugin.git
Revision (git rev-parse @):
3194de1e1187959fc54324e39e0f6dedeb5f3f7b
SUCCESS checkout https://github.com/Kosikowski/metal-shader-list-plugin.git at v1.1.1
========================================
Build
========================================
Selected platform:         android
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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/15524] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.95s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.55s)
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.1
[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] Emitting module ArgumentParserToolInfo
[15/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/34] Emitting module ShaderEnumGeneratorCore
[18/34] Wrapping AST for ArgumentParserToolInfo for debugging
[22/122] Compiling ArgumentParser OptionGroup.swift
[23/122] Compiling ArgumentParser AsyncParsableCommand.swift
[24/122] Compiling ArgumentParser CommandConfiguration.swift
[25/122] Compiling ArgumentParser CommandGroup.swift
[26/122] Compiling ArgumentParser EnumerableFlag.swift
[27/122] Compiling ArgumentParser ExpressibleByArgument.swift
[28/128] Emitting module ArgumentParser
[29/128] Compiling ShaderEnumGeneratorCore ShaderEnumGeneratorCore.swift
[30/128] Emitting module ShaderEnumGeneratorCore
[31/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/128] Compiling ArgumentParser CompletionsGenerator.swift
[33/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/128] Compiling ArgumentParser Argument.swift
[36/128] Compiling ArgumentParser ArgumentDiscussion.swift
[37/128] Compiling ArgumentParser ArgumentHelp.swift
[38/135] Compiling ArgumentParser CollectionExtensions.swift
[39/135] Compiling ArgumentParser Mutex.swift
[40/135] Compiling ArgumentParser Platform.swift
[41/135] Compiling ArgumentParser SequenceExtensions.swift
[42/135] Compiling ArgumentParser StringExtensions.swift
[43/135] Compiling ArgumentParser SwiftExtensions.swift
[45/135] Emitting module ArgumentParser
[51/135] Wrapping AST for ShaderEnumGeneratorCore for debugging
[60/135] Compiling ArgumentParser Tree.swift
[61/135] Compiling ArgumentParser CodingKeyValidator.swift
[62/135] Compiling ArgumentParser NonsenseFlagsValidator.swift
[63/135] Compiling ArgumentParser ParsableArgumentsValidation.swift
[64/135] Compiling ArgumentParser PositionalArgumentsValidator.swift
[65/135] Compiling ArgumentParser UniqueNamesValidator.swift
[72/135] Compiling ArgumentParser ArgumentVisibility.swift
[73/135] Compiling ArgumentParser CompletionKind.swift
[74/135] Compiling ArgumentParser Errors.swift
[75/135] Compiling ArgumentParser Flag.swift
[76/135] Compiling ArgumentParser NameSpecification.swift
[77/135] Compiling ArgumentParser Option.swift
[78/135] Compiling ArgumentParser ParsableArguments.swift
[79/135] Compiling ArgumentParser ParsableCommand.swift
[80/135] Compiling ArgumentParser ArgumentDecoder.swift
[81/135] Compiling ArgumentParser ArgumentDefinition.swift
[82/135] Compiling ArgumentParser ArgumentSet.swift
[83/135] Compiling ArgumentParser CommandParser.swift
[84/135] Compiling ShaderEnumGeneratorCore ShaderEnumGeneratorCore.swift
[91/136] Compiling ArgumentParser SplitArguments.swift
[92/136] Compiling ArgumentParser DumpHelpGenerator.swift
[93/136] Compiling ArgumentParser HelpCommand.swift
[94/136] Compiling ArgumentParser HelpGenerator.swift
[95/136] Compiling ArgumentParser MessageInfo.swift
[96/136] Compiling ArgumentParser UsageGenerator.swift
[97/136] Compiling ArgumentParser InputKey.swift
[98/136] Compiling ArgumentParser InputOrigin.swift
[99/136] Compiling ArgumentParser Name.swift
[100/136] Compiling ArgumentParser Parsed.swift
[101/136] Compiling ArgumentParser ParsedValues.swift
[102/136] Compiling ArgumentParser ParserError.swift
[103/137] Wrapping AST for ShaderEnumGeneratorCore for debugging
[117/137] Wrapping AST for ArgumentParser for debugging
[132/140] 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."
[133/140] 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
[133/141] Wrapping AST for ArgumentParser for debugging
[135/143] Wrapping AST for ShaderEnumGenerator for debugging
[136/143] Write Objects.LinkFileList
[138/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."
[139/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 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[139/144] Linking ShaderEnumGenerator-tool
[141/144] Wrapping AST for ShaderEnumGenerator for debugging
[142/144] Write Objects.LinkFileList
[143/144] Linking ShaderEnumGenerator
Build complete! (32.09s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.