The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DoccGPT with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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: $workDir/.spi.yml
SUCCESS checkout https://github.com/gonzalonunez/docc-gpt.git at 0.4.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/gonzalonunez/docc-gpt.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-dependencies.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/apple/swift-argument-parser
[1/2244] Fetching combine-schedulers
[2044/5413] Fetching combine-schedulers, swift-log
[3228/6651] Fetching combine-schedulers, swift-log, swift-clocks
[6652/8931] Fetching combine-schedulers, swift-log, swift-clocks, xctest-dynamic-overlay
[8408/12625] Fetching combine-schedulers, swift-log, swift-clocks, xctest-dynamic-overlay, swift-dependencies
[10078/24060] Fetching combine-schedulers, swift-log, swift-clocks, xctest-dynamic-overlay, swift-dependencies, swift-argument-parser
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.51s)
[12632/21780] Fetching combine-schedulers, swift-log, swift-clocks, swift-dependencies, swift-argument-parser
Fetched https://github.com/apple/swift-log from cache (0.56s)
[13466/18611] Fetching combine-schedulers, swift-clocks, swift-dependencies, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (0.56s)
[10000/14917] Fetching combine-schedulers, swift-clocks, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.80s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.80s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 0.5.0 (0.50s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.2 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.58s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.5 (0.56s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.3.0 (0.49s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.10.0 (0.48s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.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.5.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.10.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.8.5
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.3.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[2/28] Copying ex2-assistant.txt
[3/28] Copying ex1-assistant.txt
[3/28] Copying ex1-user.txt
[3/28] Copying ex3-assistant.txt
[3/28] Copying ex2-user.txt
[3/28] Write sources
[3/28] Copying ex3-user.txt
[5/28] Copying system.txt
[17/28] Write swift-version-24593BA9C3E375BF.txt
[19/49] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/50] Emitting module Example
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
  public var gifLoop: GifLoop = .infinite
                      ^~~~~~~
[21/50] Compiling XCTestDynamicOverlay Deprecations.swift
[22/50] Emitting module ArgumentParserToolInfo
[23/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/51] Wrapping AST for ArgumentParserToolInfo for debugging
[26/88] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[27/88] Compiling XCTestDynamicOverlay Unimplemented.swift
[28/88] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[29/88] Compiling XCTestDynamicOverlay XCTFail.swift
[30/88] Compiling Logging MetadataProvider.swift
[31/88] Compiling Example GifLoop.swift
[32/88] Compiling Example MovieWritingOptions.swift
[33/88] Compiling Example GifWritingOptions.swift
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
  public var gifLoop: GifLoop = .infinite
                      ^~~~~~~
[34/88] Compiling Example User.swift
[35/88] Compiling Example Post.swift
[36/88] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[37/88] Emitting module XCTestDynamicOverlay
[38/88] Compiling XCTestDynamicOverlay XCTIsTesting.swift
error: fatalError
[39/89] Compiling Logging LogHandler.swift
[40/89] Compiling Logging Locks.swift
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/55] Compiling Example GifWritingOptions.swift
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
  public var gifLoop: GifLoop = .infinite
                      ^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/55] Emitting module Example
/host/spi-builder-workspace/Sources/Example/GifWritingOptions.swift:13:23: error: cannot find type 'GifLoop' in scope
  public var gifLoop: GifLoop = .infinite
                      ^~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2