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 0.4.3 (0a3eeb), with Swift 6.1 for Linux on 27 Apr 2025 14:59:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 0.4.3
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
 * tag               0.4.3      -> FETCH_HEAD
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 0.4.3
========================================
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-3":/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/pointfreeco/swift-dependencies.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
[3837/10037] Fetching swift-log, swift-dependencies
[2357/6201] Fetching swift-dependencies
Fetched https://github.com/apple/swift-log from cache (0.37s)
[6202/21151] Fetching swift-dependencies, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (0.87s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 0.6.0 (1.44s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/2410] Fetching combine-schedulers
[2411/3262] Fetching combine-schedulers, swift-concurrency-extras
[2548/4554] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[4555/9942] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.33s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.33s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.33s)
[701/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.68s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (1.32s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.56s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.66s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.52s)
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/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-dependencies.git
Working copy of https://github.com/pointfreeco/swift-dependencies.git resolved at 0.6.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
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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/30] Write sources
[5/30] Copying ex3-user.txt
[5/30] Copying ex3-assistant.txt
[5/30] Copying system.txt
[5/30] Copying ex2-user.txt
[5/30] Copying ex2-assistant.txt
[5/30] Copying ex1-user.txt
[5/30] Write sources
[12/30] Copying ex1-assistant.txt
[16/30] Write sources
[18/30] Write swift-version-24593BA9C3E375BF.txt
[20/59] Emitting module ConcurrencyExtras
[21/60] Compiling ConcurrencyExtras UncheckedSendable.swift
[22/60] Emitting module ArgumentParserToolInfo
[23/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/61] Wrapping AST for ArgumentParserToolInfo for debugging
[26/99] Emitting module Logging
[27/99] Compiling Logging Locks.swift
[28/99] Compiling Logging MetadataProvider.swift
[29/99] Compiling Logging LogHandler.swift
[30/99] Compiling Logging Logging.swift
[32/100] Compiling ConcurrencyExtras ActorIsolated.swift
[33/100] Compiling ConcurrencyExtras Task.swift
[34/100] Compiling Example User.swift
[35/100] Compiling ConcurrencyExtras MainSerialExecutor.swift
[36/100] Emitting module XCTestDynamicOverlay
[37/101] Compiling ConcurrencyExtras LockIsolated.swift
[38/101] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[39/101] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[40/101] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[41/101] Compiling XCTestDynamicOverlay Deprecations.swift
[42/101] Compiling XCTestDynamicOverlay Unimplemented.swift
[43/101] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[44/101] Compiling XCTestDynamicOverlay XCTFail.swift
[45/101] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[46/101] Compiling ConcurrencyExtras AsyncStream.swift
[47/101] Compiling ConcurrencyExtras Locking.swift
[47/102] Wrapping AST for Logging for debugging
[49/102] Compiling Example MovieWritingOptions.swift
[50/102] 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/102] 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.
[52/102] Compiling Example GifLoop.swift
[53/102] Compiling Example Post.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 Example MovieWritingOptions.swift
[4/42] Compiling Example GifLoop.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/42] 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.
[6/42] Compiling Logging LogHandler.swift
[7/42] Emitting module ConcurrencyExtras
[8/43] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[9/43] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[10/43] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[11/44] Compiling XCTestDynamicOverlay XCTFail.swift
[12/44] 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.
[13/44] Compiling ConcurrencyExtras AsyncStream.swift
[14/44] Compiling Logging MetadataProvider.swift
[15/44] Compiling Example User.swift
[16/44] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[17/44] Compiling ConcurrencyExtras Locking.swift
[18/44] Compiling ConcurrencyExtras LockIsolated.swift
[19/44] Compiling Logging Locks.swift
[20/44] Compiling ConcurrencyExtras UncheckedSendable.swift
[21/44] Compiling Example Post.swift
[22/44] Compiling ConcurrencyExtras MainSerialExecutor.swift
[23/44] Compiling ConcurrencyExtras Task.swift
[24/44] Compiling ConcurrencyExtras ActorIsolated.swift
[25/45] Emitting module XCTestDynamicOverlay
[26/45] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[27/45] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[28/45] Compiling XCTestDynamicOverlay Deprecations.swift
[29/45] Emitting module ArgumentParserToolInfo
[30/45] Emitting module Logging
BUILD FAILURE 6.1 linux