Build Information
Failed to build swift-json, reference master (00bc37
), with Swift 5.9 for macOS (SPM) on 23 Apr 2025 17:49:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/tayloraswift/swift-json.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/21] Compiling TraceableErrors NamedError.swift
[2/21] Compiling JSONAST JSON.Number.Base10.Inverse.swift
[3/21] Compiling JSONAST JSON.TypecastError.swift
[4/21] Compiling JSONAST JSON.Number.swift
[5/21] Emitting module TraceableErrors
[6/21] Compiling TraceableErrors TraceableError.swift
[7/22] Emitting module JSONAST
[8/22] Compiling JSONAST JSON.Object.swift
[9/22] Compiling JSONAST JSON.Number.Base10.swift
[10/22] Compiling JSONAST JSON.Literal.swift
[11/22] Compiling JSONAST JSON.IntegerOverflowError.swift
[12/22] Compiling JSONAST JSON.Key.swift
[13/22] Compiling JSONAST JSON.Array.swift
[14/22] Compiling JSONAST JSON.EscapeCode.swift
[15/22] Compiling JSONAST JSON.Node.swift
[16/22] Compiling JSONAST JSON.swift
[17/45] Compiling Grammar AtomicRule.swift
[18/45] Compiling Grammar LiteralRule.swift
[19/57] Compiling Grammar ParsingRule.swift
[20/57] Compiling Grammar TerminalRule.swift
[21/75] Compiling JSONEncoding UInt64 (ext).swift
[22/75] Compiling JSONEncoding UInt8 (ext).swift
[23/75] Compiling JSONEncoding JSON.ArrayEncoder.Index.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[24/75] Compiling JSONEncoding JSON.ArrayEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[25/75] Compiling JSONEncoding JSON.InlineEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[26/78] Compiling JSONEncoding Character (ext).swift
[27/78] Compiling JSONEncoding Int (ext).swift
[28/78] Compiling JSONEncoding Int16 (ext).swift
[29/78] Compiling JSONEncoding Int32 (ext).swift
[30/78] Compiling JSONEncoding Int64 (ext).swift
[31/78] Compiling JSONEncoding Int8 (ext).swift
[32/78] Compiling JSONEncoding StaticString (ext).swift
[33/78] Compiling JSONEncoding String (ext).swift
[34/78] Compiling JSONEncoding Substring (ext).swift
[35/78] Compiling JSONEncoding UInt (ext).swift
[36/78] Compiling JSONEncoding UInt16 (ext).swift
[37/78] Compiling JSONEncoding UInt32 (ext).swift
[38/78] Compiling JSONEncoding JSONEncodable.swift
[39/78] Compiling JSONEncoding JSONObjectEncodable.swift
[40/78] Compiling JSONEncoding JSONStringEncodable.swift
[41/78] Compiling JSONEncoding Array (ext).swift
[42/78] Compiling JSONEncoding ArraySlice (ext).swift
[43/78] Compiling JSONEncoding Bool (ext).swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/78] Emitting module JSONEncoding
/Users/admin/builder/spi-builder-workspace/Sources/JSONEncoding/Encoders/JSON.InlineEncoder.swift:6:14: error: protocol 'InlineEncoder' cannot be nested inside another declaration
protocol InlineEncoder
^
[61/78] Compiling JSONEncoding Never (ext).swift
[62/78] Compiling JSONEncoding Optional (ext).swift
[63/78] Compiling JSONEncoding exports.swift
[64/78] Compiling JSONEncoding JSON.Literal (ext).swift
[65/78] Compiling JSONEncoding JSON.ObjectEncoder.swift
[66/78] Compiling JSONEncoding JSON (ext).swift
[69/78] Compiling JSONEncoding Unicode.Scalar (ext).swift
error: fatalError
Fetching https://github.com/tayloraswift/swift-grammar
[1/749] Fetching swift-grammar
Fetched https://github.com/tayloraswift/swift-grammar (1.25s)
Computing version for https://github.com/tayloraswift/swift-grammar
Computed https://github.com/tayloraswift/swift-grammar at 0.5.0 (0.38s)
Creating working copy for https://github.com/tayloraswift/swift-grammar
Working copy of https://github.com/tayloraswift/swift-grammar resolved at 0.5.0
BUILD FAILURE 5.9 macosSpm