The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DoccGPT, reference 0.4.3 (0a3eeb), with Swift 6.1 for Wasm on 28 May 2025 16:42:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/pointfreeco/swift-dependencies.git
Fetching https://github.com/apple/swift-argument-parser
[1/3836] Fetching swift-log
[3837/10085] Fetching swift-log, swift-dependencies
Fetched https://github.com/apple/swift-log from cache (0.43s)
[2188/6249] Fetching swift-dependencies
[6250/21600] Fetching swift-dependencies, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (0.97s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.97s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 0.6.0 (1.67s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
[1/2410] Fetching combine-schedulers
[2411/3262] Fetching combine-schedulers, swift-concurrency-extras
[3263/4554] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[3897/10012] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.51s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.51s)
[4539/7868] Fetching combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.11s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.13s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (1.94s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (1.31s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (1.31s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.51s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.46s)
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/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/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/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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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/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
[1/30] Copying system.txt
[1/30] Copying ex3-user.txt
[1/30] Copying ex3-assistant.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
[18/30] Write swift-version-24593BA9C3E375BF.txt
[20/59] Emitting module ConcurrencyExtras
[21/60] Compiling XCTestDynamicOverlay Deprecations.swift
[22/60] Emitting module ArgumentParserToolInfo
[23/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/62] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[26/62] Compiling ConcurrencyExtras ActorIsolated.swift
[27/62] Compiling ConcurrencyExtras UncheckedSendable.swift
[27/62] Wrapping AST for ArgumentParserToolInfo for debugging
[29/100] Compiling Logging MetadataProvider.swift
[30/100] Compiling Logging LogHandler.swift
[31/100] Compiling Logging Locks.swift
[32/100] Emitting module Logging
[33/100] Compiling Logging Logging.swift
[34/101] Compiling ConcurrencyExtras LockIsolated.swift
[36/101] Compiling XCTestDynamicOverlay Unimplemented.swift
[37/101] Compiling XCTestDynamicOverlay XCTFail.swift
[38/101] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[39/101] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[39/101] Wrapping AST for Logging for debugging
[41/101] Compiling Example User.swift
[42/101] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[43/101] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[44/101] Compiling Example MovieWritingOptions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/101] 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.
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:19:19: error: cannot find type 'DispatchQoS' in scope
17 |
18 |   /// The quality of service class to use for the write operation.
19 |   public var qos: DispatchQoS.QoSClass = .default
   |                   `- error: cannot find type 'DispatchQoS' in scope
20 |
21 |   /// Whether to skip failed images when writing the GIF.
[46/101] Compiling Example GifLoop.swift
[47/101] 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.
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:19:19: error: cannot find type 'DispatchQoS' in scope
17 |
18 |   /// The quality of service class to use for the write operation.
19 |   public var qos: DispatchQoS.QoSClass = .default
   |                   `- error: cannot find type 'DispatchQoS' in scope
20 |
21 |   /// Whether to skip failed images when writing the GIF.
[48/101] Compiling Example Post.swift
[49/101] Compiling ConcurrencyExtras MainSerialExecutor.swift
[50/101] Compiling ConcurrencyExtras Locking.swift
[51/101] Compiling ConcurrencyExtras Task.swift
[52/101] Emitting module XCTestDynamicOverlay
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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.
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:19:19: error: cannot find type 'DispatchQoS' in scope
17 |
18 |   /// The quality of service class to use for the write operation.
19 |   public var qos: DispatchQoS.QoSClass = .default
   |                   `- error: cannot find type 'DispatchQoS' in scope
20 |
21 |   /// Whether to skip failed images when writing the GIF.
[4/42] Compiling ConcurrencyExtras MainSerialExecutor.swift
[5/43] Compiling Example GifLoop.swift
[6/43] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[7/44] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[8/44] Compiling Logging MetadataProvider.swift
[9/44] Compiling Logging Locks.swift
[10/44] Compiling Logging LogHandler.swift
[11/44] Compiling ConcurrencyExtras ActorIsolated.swift
[12/44] Compiling ConcurrencyExtras AsyncStream.swift
[13/44] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[14/44] Emitting module ConcurrencyExtras
[15/44] Compiling ConcurrencyExtras Locking.swift
[16/44] Compiling ConcurrencyExtras LockIsolated.swift
[17/44] Compiling Example User.swift
[18/44] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[19/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.
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:19:19: error: cannot find type 'DispatchQoS' in scope
17 |
18 |   /// The quality of service class to use for the write operation.
19 |   public var qos: DispatchQoS.QoSClass = .default
   |                   `- error: cannot find type 'DispatchQoS' in scope
20 |
21 |   /// Whether to skip failed images when writing the GIF.
[20/44] Compiling XCTestDynamicOverlay XCTFail.swift
[21/44] Compiling Example MovieWritingOptions.swift
[22/44] Compiling Example Post.swift
[23/44] Compiling ConcurrencyExtras Task.swift
[24/44] Emitting module ArgumentParserToolInfo
[25/44] Compiling XCTestDynamicOverlay XCTIsTesting.swift
BUILD FAILURE 6.1 wasm