Build Information
Failed to build swift-json, reference master (00bc37
), with Swift 5.9 for Linux on 23 Apr 2025 17:48:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-json.git
Reference: master
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/tayloraswift/swift-json
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 00bc37b Merge pull request #88 from rgoldberg/87-swift-5.9
Cloned https://github.com/tayloraswift/swift-json.git
Revision (git rev-parse @):
00bc37b8f94aeff7b811efa8a1ca933fc63069b2
SUCCESS checkout https://github.com/tayloraswift/swift-json.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/tayloraswift/swift-json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/tayloraswift/swift-grammar
[1/749] Fetching swift-grammar
Fetched https://github.com/tayloraswift/swift-grammar (0.19s)
Computing version for https://github.com/tayloraswift/swift-grammar
Computed https://github.com/tayloraswift/swift-grammar at 0.5.0 (0.55s)
Creating working copy for https://github.com/tayloraswift/swift-grammar
Working copy of https://github.com/tayloraswift/swift-grammar resolved at 0.5.0
Building for debugging...
[1/35] Compiling JSONAST JSON.Object.swift
[2/35] Compiling JSONAST JSON.TypecastError.swift
[3/36] Compiling JSONAST JSON.Literal.swift
[4/36] Compiling JSONAST JSON.Node.swift
[5/36] Compiling JSONAST JSON.Number.Base10.Inverse.swift
[6/36] Compiling JSONAST JSON.Number.Base10.swift
[7/36] Compiling JSONAST JSON.swift
[8/36] Emitting module TraceableErrors
[9/36] Compiling TraceableErrors TraceableError.swift
[10/36] Compiling TraceableErrors NamedError.swift
[13/38] Compiling JSONAST JSON.Number.swift
[14/38] Compiling JSONAST JSON.IntegerOverflowError.swift
[15/38] Compiling JSONAST JSON.Key.swift
[16/38] Emitting module JSONAST
[17/38] Compiling JSONAST JSON.Array.swift
[18/38] Compiling JSONAST JSON.EscapeCode.swift
[18/39] Wrapping AST for TraceableErrors for debugging
[22/62] Compiling Grammar UTF8Terminal.swift
[23/62] Compiling Grammar UnicodeTerminal.swift
[24/62] Compiling Grammar Pattern.IntegerOverflowError.swift
[24/65] Wrapping AST for JSONAST for debugging
[26/65] Compiling Grammar DefaultDiagnostics.swift
[27/65] Compiling Grammar NoDiagnostics.swift
[28/65] Compiling Grammar ParsingDiagnostics.swift
[29/74] Compiling Grammar CharacterTerminal.swift
[30/74] Compiling Grammar Grammar.swift
[31/74] Compiling Grammar ParsingError.Frame.swift
[32/74] Compiling Grammar AtomicRule.swift
[33/74] Compiling Grammar LiteralRule.swift
[34/74] Compiling Grammar ParsingRule.swift
[35/74] Compiling Grammar Pattern.UnexpectedEndOfInputError.swift
[36/74] Compiling Grammar Pattern.UnexpectedValueError.swift
[37/74] Compiling Grammar Pattern.swift
[38/93] Compiling JSONEncoding Unicode.Scalar (ext).swift
[39/93] Compiling JSONEncoding JSON.ArrayEncoder.Index.swift
[40/93] Compiling JSONEncoding JSON.ArrayEncoder.swift
[41/93] Compiling JSONEncoding Int (ext).swift
[42/93] Compiling JSONEncoding Int16 (ext).swift
[43/93] Compiling JSONEncoding Int32 (ext).swift
[44/93] Compiling JSONEncoding Int64 (ext).swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/93] Emitting module JSONEncoding
/host/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[46/96] Compiling JSONEncoding UInt8 (ext).swift
[50/96] Compiling JSONEncoding JSONEncodable.swift
[51/96] Compiling JSONEncoding JSONObjectEncodable.swift
[52/96] Compiling JSONEncoding JSONStringEncodable.swift
[53/96] Compiling JSONEncoding JSON.InlineEncoder.swift
/host/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[54/96] Compiling JSONEncoding JSON.Literal (ext).swift
/host/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[55/96] Compiling JSONEncoding JSON.ObjectEncoder.swift
/host/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[56/96] Compiling JSONEncoding JSON (ext).swift
/host/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[57/96] Compiling JSONEncoding Int8 (ext).swift
[58/96] Compiling JSONEncoding StaticString (ext).swift
[59/96] Compiling JSONEncoding String (ext).swift
[60/96] Compiling JSONEncoding Substring (ext).swift
[61/96] Compiling JSONEncoding UInt (ext).swift
[62/96] Compiling JSONEncoding UInt16 (ext).swift
[63/96] Compiling JSONEncoding UInt32 (ext).swift
[64/96] Compiling JSONEncoding UInt64 (ext).swift
[65/96] Compiling JSONEncoding Array (ext).swift
[66/96] Compiling JSONEncoding ArraySlice (ext).swift
[67/96] Compiling JSONEncoding Bool (ext).swift
[68/96] Compiling JSONEncoding Character (ext).swift
[72/96] Compiling JSONEncoding Never (ext).swift
[73/96] Compiling JSONEncoding Optional (ext).swift
[74/96] Compiling JSONEncoding exports.swift
error: fatalError
BUILD FAILURE 5.9 linux