The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftMockGenerator, reference main (d8938b), with Swift 6.1 for Android on 15 Nov 2025 12:16:25 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/manucodin/SwiftMockGenerator.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/manucodin/SwiftMockGenerator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8938bb Release 0.5.5
Cloned https://github.com/manucodin/SwiftMockGenerator.git
Revision (git rev-parse @):
d8938bb0bbba97ac6815a3a840d9e751a5ee2d7e
SUCCESS checkout https://github.com/manucodin/SwiftMockGenerator.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/manucodin/SwiftMockGenerator.git
https://github.com/manucodin/SwiftMockGenerator.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"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    }
  ],
  "manifest_display_name" : "SwiftMockGenerator",
  "name" : "SwiftMockGenerator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-mock-generator",
      "targets" : [
        "SwiftMockGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftMockGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMockGeneratorTests",
      "path" : "Tests/SwiftMockGeneratorTests",
      "sources" : [
        "BDDStyleTests.swift",
        "DummyGeneratorCoverageTests.swift",
        "FinalCoverageBoostTests.swift",
        "SimplifiedCoverageTests.swift",
        "SpyGeneratorCoverageTests.swift",
        "StubGeneratorCoverageTests.swift",
        "SwiftMockGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftMockGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftMockGenerator",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMockGenerator",
      "path" : "Sources/SwiftMockGenerator",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "swift-mock-generator"
      ],
      "sources" : [
        "Generators/Implementations/DummyGenerator.swift",
        "Generators/Implementations/SpyGenerator.swift",
        "Generators/Implementations/StubGenerator.swift",
        "Generators/MockGenerator.swift",
        "Generators/Protocol/MockGeneratorProtocol.swift",
        "Models/Models.swift",
        "Parser/SyntaxParser.swift",
        "SwiftMockGenerator.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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
Fetching https://github.com/apple/swift-syntax
[1/16686] Fetching swift-argument-parser
[16687/89450] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (8.10s)
Fetched https://github.com/apple/swift-syntax from cache (8.15s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 509.1.1 (10.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.59s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 509.1.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/21] Emitting module ArgumentParserToolInfo
[11/21] Emitting module SwiftSyntax509
[12/21] Compiling SwiftSyntax509 Empty.swift
[13/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/23] Wrapping AST for SwiftSyntax509 for debugging
[16/48] Wrapping AST for ArgumentParserToolInfo for debugging
[18/112] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[19/112] Compiling SwiftSyntax Syntax.swift
[20/112] Compiling SwiftSyntax SyntaxArena.swift
[21/112] Compiling SwiftSyntax SyntaxChildren.swift
[22/112] Compiling SwiftSyntax SyntaxCollection.swift
[23/112] Compiling SwiftSyntax SyntaxData.swift
[24/118] Compiling SwiftSyntax AbsolutePosition.swift
[25/118] Compiling SwiftSyntax Assert.swift
[26/118] Compiling SwiftSyntax BumpPtrAllocator.swift
[27/118] Compiling SwiftSyntax CommonAncestor.swift
[28/118] Compiling SwiftSyntax Convenience.swift
[29/118] Compiling SwiftSyntax MemoryLayout.swift
[30/118] Compiling SwiftSyntax MissingNodeInitializers.swift
[31/118] Compiling SwiftSyntax RawSyntax.swift
[32/118] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[33/118] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[34/118] Compiling SwiftSyntax RawSyntaxTokenView.swift
[35/118] Compiling SwiftSyntax SourceLength.swift
[36/118] Compiling SwiftSyntax SourceLocation.swift
[37/118] Compiling SwiftSyntax SourcePresence.swift
[39/118] Compiling SwiftSyntax SyntaxText.swift
[40/118] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[41/118] Compiling SwiftSyntax TokenDiagnostic.swift
[42/118] Compiling SwiftSyntax TokenSyntax.swift
[43/118] Compiling SwiftSyntax Trivia.swift
[44/124] Compiling ArgumentParser Tree.swift
[45/124] Compiling ArgumentParser CodingKeyValidator.swift
[46/124] Compiling ArgumentParser NonsenseFlagsValidator.swift
[47/124] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/124] Compiling ArgumentParser PositionalArgumentsValidator.swift
[49/124] Compiling ArgumentParser UniqueNamesValidator.swift
[50/124] Emitting module ArgumentParser
[58/124] Compiling SwiftSyntax SyntaxBaseNodes.swift
[59/124] Compiling SwiftSyntax SyntaxVisitor.swift
[60/124] Compiling SwiftSyntax TokenKind.swift
[61/124] Compiling SwiftSyntax Tokens.swift
[62/124] Compiling SwiftSyntax TriviaPieces.swift
[63/124] Compiling SwiftSyntax RawSyntaxNodes.swift
[76/124] Compiling SwiftSyntax Utils.swift
[77/124] Compiling SwiftSyntax SyntaxCollections.swift
[78/124] Compiling SwiftSyntax SyntaxEnum.swift
[79/124] Compiling SwiftSyntax SyntaxKind.swift
[80/124] Compiling SwiftSyntax SyntaxRewriter.swift
[81/124] Compiling SwiftSyntax SyntaxTraits.swift
[82/124] Compiling SwiftSyntax SyntaxTransform.swift
[83/124] Compiling SwiftSyntax ChildNameForKeyPath.swift
[84/124] Compiling SwiftSyntax Keyword.swift
[85/124] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[86/124] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[87/124] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[88/125] Wrapping AST for ArgumentParser for debugging
[90/125] Emitting module SwiftSyntax
[114/125] Compiling SwiftSyntax SyntaxTypeNodes.swift
[121/126] Wrapping AST for SwiftSyntax for debugging
[123/164] Compiling SwiftParser Modifiers.swift
[124/164] Compiling SwiftParser Names.swift
[125/164] Compiling SwiftParser Nominals.swift
[126/164] Compiling SwiftParser Parameters.swift
[127/164] Compiling SwiftParser ParseSourceFile.swift
[128/169] Emitting module SwiftParser
[129/169] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[130/169] Compiling SwiftParser StringLiterals.swift
[131/169] Compiling SwiftParser SwiftParserCompatibility.swift
[132/169] Compiling SwiftParser SyntaxUtils.swift
[133/169] Compiling SwiftParser TokenConsumer.swift
[134/169] Compiling SwiftParser Lexer.swift
[135/169] Compiling SwiftParser RegexLiteralLexer.swift
[136/169] Compiling SwiftParser UnicodeScalarExtensions.swift
[137/169] Compiling SwiftParser Lookahead.swift
[138/169] Compiling SwiftParser LoopProgressCondition.swift
[139/169] Compiling SwiftParser TokenPrecedence.swift
[140/169] Compiling SwiftParser TokenSpec.swift
[141/169] Compiling SwiftParser TokenSpecSet.swift
[142/169] Compiling SwiftParser TopLevel.swift
[143/169] Compiling SwiftParser TriviaParser.swift
[144/169] Compiling SwiftParser Attributes.swift
[145/169] Compiling SwiftParser Availability.swift
[146/169] Compiling SwiftParser CharacterInfo.swift
[147/169] Compiling SwiftParser CollectionNodes+Parsable.swift
[148/169] Compiling SwiftParser Declarations.swift
[149/169] Compiling SwiftParser Directives.swift
[150/169] Compiling SwiftParser Parser.swift
[151/169] Compiling SwiftParser Patterns.swift
[152/169] Compiling SwiftParser Recovery.swift
[153/169] Compiling SwiftParser Specifiers.swift
[154/169] Compiling SwiftParser Statements.swift
[155/169] Compiling SwiftParser ExperimentalFeatures.swift
[156/169] Compiling SwiftParser Expressions.swift
[157/169] Compiling SwiftParser IncrementalParseTransition.swift
[158/169] Compiling SwiftParser Cursor.swift
[159/169] Compiling SwiftParser Lexeme.swift
[160/169] Compiling SwiftParser LexemeSequence.swift
[161/169] Compiling SwiftParser Types.swift
[162/169] Compiling SwiftParser IsLexerClassified.swift
[163/169] Compiling SwiftParser LayoutNodes+Parsable.swift
[164/169] Compiling SwiftParser Parser+TokenSpecSet.swift
[165/169] Compiling SwiftParser TokenSpecStaticMembers.swift
[166/170] Wrapping AST for SwiftParser for debugging
[168/178] Compiling SwiftMockGenerator SyntaxParser.swift
[169/178] Compiling SwiftMockGenerator MockGeneratorProtocol.swift
[170/178] Compiling SwiftMockGenerator Models.swift
[171/179] Compiling SwiftMockGenerator MockGenerator.swift
[172/179] Compiling SwiftMockGenerator StubGenerator.swift
[173/179] Compiling SwiftMockGenerator DummyGenerator.swift
[174/179] Emitting module SwiftMockGenerator
/host/spi-builder-workspace/Sources/SwiftMockGenerator/SwiftMockGenerator.swift:6: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
 4 | @main
 5 | struct SwiftMockGenerator: AsyncParsableCommand {
 6 |     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
 7 |         commandName: "swift-mock-generator",
 8 |         abstract: "Generate Swift mocks from annotated source code",
[175/179] Compiling SwiftMockGenerator SpyGenerator.swift
[176/179] Compiling SwiftMockGenerator SwiftMockGenerator.swift
/host/spi-builder-workspace/Sources/SwiftMockGenerator/SwiftMockGenerator.swift:6: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
 4 | @main
 5 | struct SwiftMockGenerator: AsyncParsableCommand {
 6 |     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
 7 |         commandName: "swift-mock-generator",
 8 |         abstract: "Generate Swift mocks from annotated source code",
[177/180] Wrapping AST for SwiftMockGenerator for debugging
[178/180] Write Objects.LinkFileList
[179/180] Linking swift-mock-generator
Build complete! (179.15s)
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"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    }
  ],
  "manifest_display_name" : "SwiftMockGenerator",
  "name" : "SwiftMockGenerator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-mock-generator",
      "targets" : [
        "SwiftMockGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftMockGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMockGeneratorTests",
      "path" : "Tests/SwiftMockGeneratorTests",
      "sources" : [
        "BDDStyleTests.swift",
        "DummyGeneratorCoverageTests.swift",
        "FinalCoverageBoostTests.swift",
        "SimplifiedCoverageTests.swift",
        "SpyGeneratorCoverageTests.swift",
        "StubGeneratorCoverageTests.swift",
        "SwiftMockGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftMockGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftMockGenerator",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMockGenerator",
      "path" : "Sources/SwiftMockGenerator",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "swift-mock-generator"
      ],
      "sources" : [
        "Generators/Implementations/DummyGenerator.swift",
        "Generators/Implementations/SpyGenerator.swift",
        "Generators/Implementations/StubGenerator.swift",
        "Generators/MockGenerator.swift",
        "Generators/Protocol/MockGeneratorProtocol.swift",
        "Models/Models.swift",
        "Parser/SyntaxParser.swift",
        "SwiftMockGenerator.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.