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

Failed to build DoccGPT, reference main (0a3eeb), with Swift 6.1 for Linux on 27 Apr 2025 14:59:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalonunez/docc-gpt.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/gonzalonunez/docc-gpt
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0a3eeb6 Add new models (#24)
Cloned https://github.com/gonzalonunez/docc-gpt.git
Revision (git rev-parse @):
0a3eeb6aebfeff5dcafc302d0b2f2e53b6ad237e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gonzalonunez/docc-gpt.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gonzalonunez/docc-gpt.git
https://github.com/gonzalonunez/docc-gpt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "swift-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-dependencies.git"
    }
  ],
  "manifest_display_name" : "DoccGPT",
  "name" : "DoccGPT",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "docc-gpt",
      "targets" : [
        "docc-gpt"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "docc_gpt",
      "module_type" : "SwiftTarget",
      "name" : "docc-gpt",
      "path" : "Sources/docc-gpt",
      "product_dependencies" : [
        "ArgumentParser",
        "Dependencies",
        "Logging"
      ],
      "product_memberships" : [
        "docc-gpt"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/docc-gpt/Resources/ex1-assistant.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/docc-gpt/Resources/ex1-user.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/docc-gpt/Resources/ex2-assistant.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/docc-gpt/Resources/ex2-user.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/docc-gpt/Resources/ex3-assistant.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/docc-gpt/Resources/ex3-user.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/docc-gpt/Resources/system.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Dependencies.swift",
        "DoccGPT.swift",
        "DoccGPTRunner.swift",
        "DoccGPTRunnerError.swift",
        "NetworkSession.swift",
        "OpenAI.swift",
        "OpenAIService.swift",
        "RateLimiter.swift",
        "Request.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "GifLoop.swift",
        "GifWritingOptions.swift",
        "MovieWritingOptions.swift",
        "Post.swift",
        "User.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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
Fetching https://github.com/pointfreeco/swift-dependencies.git
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
[3837/10037] Fetching swift-log, swift-dependencies
[10038/24987] Fetching swift-log, swift-dependencies, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (0.58s)
[8321/18786] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log from cache (0.96s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.96s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 0.6.0 (1.56s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
[1/852] Fetching swift-concurrency-extras
[249/3262] Fetching swift-concurrency-extras, combine-schedulers
[683/4554] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.27s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.27s)
[1293/6680] Fetching swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.61s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.62s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (1.20s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.57s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.65s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.62s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.50s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies.git
Working copy of https://github.com/pointfreeco/swift-dependencies.git resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/30] Write sources
[1/30] Copying ex3-user.txt
[1/30] Copying ex2-user.txt
[1/30] Copying ex2-assistant.txt
[1/30] Copying ex1-user.txt
[1/30] Copying ex1-assistant.txt
[1/30] Write sources
[2/30] Copying system.txt
[3/30] Copying ex3-assistant.txt
[3/30] Write sources
[18/30] Write swift-version-24593BA9C3E375BF.txt
[20/59] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[21/60] Compiling XCTestDynamicOverlay Unimplemented.swift
[22/60] Compiling Example GifLoop.swift
[23/60] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[24/60] Emitting module ArgumentParserToolInfo
[25/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/61] Wrapping AST for ArgumentParserToolInfo for debugging
[28/99] Compiling Example Post.swift
[29/99] Compiling Example MovieWritingOptions.swift
[30/99] Compiling Example User.swift
[31/99] Compiling ConcurrencyExtras Task.swift
[32/99] Compiling Logging MetadataProvider.swift
[33/99] Emitting module ConcurrencyExtras
[34/99] Compiling Logging LogHandler.swift
[35/99] Compiling Logging Locks.swift
[36/99] Emitting module Logging
[37/99] Compiling Logging Logging.swift
[38/101] Compiling XCTestDynamicOverlay XCTFail.swift
[39/101] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[40/101] Compiling ArgumentParser ArgumentVisibility.swift
[41/101] Compiling ArgumentParser CompletionKind.swift
[42/101] Compiling ArgumentParser Errors.swift
[43/101] Compiling ArgumentParser Flag.swift
[44/101] Compiling ArgumentParser NameSpecification.swift
[45/101] Compiling ArgumentParser Option.swift
[46/106] Compiling XCTestDynamicOverlay Deprecations.swift
[47/106] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[48/106] Emitting module XCTestDynamicOverlay
[49/106] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[50/106] Compiling ConcurrencyExtras MainSerialExecutor.swift
[51/106] Compiling ConcurrencyExtras Locking.swift
[52/106] Compiling ConcurrencyExtras ActorIsolated.swift
[53/106] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[54/106] Compiling ConcurrencyExtras AsyncStream.swift
[55/106] Compiling ConcurrencyExtras LockIsolated.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/107] Emitting module Example
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
11 |
12 |   /// The loop behavior of the GIF.
13 |   public var gifLoop: GifLoop = .infinite
   |                       `- error: cannot find type 'GifLoop' in scope
14 |
15 |   /// Whether to overwrite an existing file with the same name.
[58/107] Compiling Example GifWritingOptions.swift
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
11 |
12 |   /// The loop behavior of the GIF.
13 |   public var gifLoop: GifLoop = .infinite
   |                       `- error: cannot find type 'GifLoop' in scope
14 |
15 |   /// Whether to overwrite an existing file with the same name.
[60/107] Compiling ConcurrencyExtras UncheckedSendable.swift
[62/108] Emitting module ArgumentParser
[63/108] Compiling ArgumentParser BashCompletionsGenerator.swift
[64/108] Compiling ArgumentParser CompletionsGenerator.swift
[65/108] Compiling ArgumentParser FishCompletionsGenerator.swift
[66/108] Compiling ArgumentParser ZshCompletionsGenerator.swift
[67/108] Compiling ArgumentParser Argument.swift
[68/108] Compiling ArgumentParser ArgumentHelp.swift
[68/108] Wrapping AST for Logging for debugging
[68/108] Wrapping AST for XCTestDynamicOverlay for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
[3/42] Compiling Logging LogHandler.swift
[4/42] Compiling Example GifLoop.swift
[5/42] Compiling Example GifWritingOptions.swift
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
11 |
12 |   /// The loop behavior of the GIF.
13 |   public var gifLoop: GifLoop = .infinite
   |                       `- error: cannot find type 'GifLoop' in scope
14 |
15 |   /// Whether to overwrite an existing file with the same name.
[6/42] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[7/42] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[8/43] Compiling XCTestDynamicOverlay XCTFail.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/43] Compiling Example MovieWritingOptions.swift
[10/43] Emitting module Example
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
11 |
12 |   /// The loop behavior of the GIF.
13 |   public var gifLoop: GifLoop = .infinite
   |                       `- error: cannot find type 'GifLoop' in scope
14 |
15 |   /// Whether to overwrite an existing file with the same name.
[11/43] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[12/43] Compiling ConcurrencyExtras Locking.swift
[13/43] Compiling ConcurrencyExtras LockIsolated.swift
[14/43] Compiling ConcurrencyExtras MainSerialExecutor.swift
[15/44] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[16/44] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[17/44] Compiling ConcurrencyExtras ActorIsolated.swift
[18/44] Compiling ConcurrencyExtras AsyncStream.swift
[19/44] Emitting module ConcurrencyExtras
[20/44] Compiling Example User.swift
[21/44] Compiling Example Post.swift
[22/44] Compiling Logging Locks.swift
[23/44] Emitting module Logging
[24/44] Compiling ConcurrencyExtras Task.swift
[25/44] Emitting module XCTestDynamicOverlay
[26/44] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[27/44] Emitting module ArgumentParserToolInfo
[28/44] Compiling Logging MetadataProvider.swift
BUILD FAILURE 6.1 linux