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 main (0a3eeb), with Swift 6.1 for Wasm on 28 May 2025 16:41:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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:         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-4606859-2":/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/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/10085] Fetching swift-log, swift-dependencies
[5712/25436] Fetching swift-log, swift-dependencies, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (1.49s)
Fetched https://github.com/apple/swift-log from cache (1.49s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.50s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 0.6.0 (2.13s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/852] Fetching swift-concurrency-extras
[249/3262] Fetching swift-concurrency-extras, combine-schedulers
[3263/4554] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4555/10012] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.39s)
[4740/9160] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.41s)
[4539/7868] Fetching combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.76s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.77s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (1.44s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.59s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.62s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.60s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.61s)
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-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/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/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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.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
[6/30] Copying system.txt
[8/30] Copying ex2-assistant.txt
[8/30] Copying ex1-user.txt
[9/30] Copying ex2-user.txt
[11/30] Copying ex1-assistant.txt
[12/30] Write sources
[18/30] Write swift-version-24593BA9C3E375BF.txt
[20/59] Emitting module ConcurrencyExtras
[21/60] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[22/61] Compiling ConcurrencyExtras UncheckedSendable.swift
[23/61] Compiling ConcurrencyExtras MainSerialExecutor.swift
[24/61] Emitting module ArgumentParserToolInfo
[25/61] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/62] Compiling Logging MetadataProvider.swift
[27/62] Compiling Logging LogHandler.swift
[28/62] Compiling Logging Locks.swift
[29/62] Compiling Logging Logging.swift
[30/62] Emitting module Logging
[32/63] Compiling XCTestDynamicOverlay Unimplemented.swift
[33/63] Compiling XCTestDynamicOverlay XCTFail.swift
[35/63] Compiling Example User.swift
[35/63] Wrapping AST for ArgumentParserToolInfo for debugging
[37/63] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[38/63] Compiling ConcurrencyExtras LockIsolated.swift
[39/63] Compiling ConcurrencyExtras Locking.swift
[40/63] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[41/63] Emitting module XCTestDynamicOverlay
[42/63] Compiling XCTestDynamicOverlay Deprecations.swift
[43/63] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[44/63] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[45/63] Compiling Example Post.swift
[46/63] Compiling ConcurrencyExtras AsyncStream.swift
[47/63] Compiling ConcurrencyExtras ActorIsolated.swift
[48/63] Compiling ConcurrencyExtras Task.swift
[48/64] Wrapping AST for Logging for debugging
[50/64] Compiling Example MovieWritingOptions.swift
[51/65] Compiling Example GifLoop.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/65] 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.
[53/65] 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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[3/42] Compiling Logging Locks.swift
[4/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.
/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.
[5/42] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[6/42] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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.
/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.
[8/43] Compiling XCTestDynamicOverlay XCTFail.swift
[9/43] Compiling Example User.swift
[10/43] Compiling ConcurrencyExtras LockIsolated.swift
[11/43] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[12/43] Compiling ConcurrencyExtras Locking.swift
[13/44] Compiling ConcurrencyExtras ActorIsolated.swift
[14/44] Compiling ConcurrencyExtras AsyncStream.swift
[15/44] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[16/44] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[17/44] Emitting module Logging
[18/44] Emitting module ConcurrencyExtras
[19/44] Compiling Example MovieWritingOptions.swift
[20/44] Compiling Example GifLoop.swift
[21/44] Compiling Example Post.swift
[22/44] Compiling ConcurrencyExtras MainSerialExecutor.swift
[23/44] Compiling ConcurrencyExtras Task.swift
[24/44] Emitting module XCTestDynamicOverlay
[25/44] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[26/44] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[27/44] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm