The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CodableWrapper, reference 1.1.6 (9ddeba), with Swift 6.2 for Linux on 9 Feb 2026 19:54:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/winddpan/CodableWrapper.git
Reference: 1.1.6
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/winddpan/CodableWrapper
 * tag               1.1.6      -> FETCH_HEAD
HEAD is now at 9ddebaf upgrade to Swift 6.0 and swift-syntax 602
Cloned https://github.com/winddpan/CodableWrapper.git
Revision (git rev-parse @):
9ddebaf47970bded20169de8cf4bb08fa7adedb5
SUCCESS checkout https://github.com/winddpan/CodableWrapper.git at 1.1.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/winddpan/CodableWrapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/74121] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.76s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (8.09s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.50s)
Building for debugging...
[0/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling CodableWrapperMacros CodingNestedKey.swift
[5/17] Compiling CodableWrapperMacros Plugin.swift
[6/17] Compiling CodableWrapperMacros CodingTransformer.swift
[7/17] Compiling CodableWrapperMacros ModelMemberPropertyContainer.swift
[8/17] Compiling CodableWrapperMacros VariableDeclSyntaxExtension.swift
[9/17] Compiling CodableWrapperMacros CodingKeyIgnored.swift
[10/17] Emitting module CodableWrapperMacros
[11/17] Compiling CodableWrapperMacros ASTError.swift
[12/17] Compiling CodableWrapperMacros Codable.swift
[13/17] Compiling CodableWrapperMacros CodableKey.swift
[14/17] Compiling CodableWrapperMacros CodableSubclass.swift
[15/18] Wrapping AST for CodableWrapperMacros for debugging
[16/18] Write Objects.LinkFileList
[17/18] Linking CodableWrapperMacros-tool
[19/28] Compiling CodableWrapper TransformOf.swift
[20/29] Compiling CodableWrapper Encoder.swift
[21/29] Compiling CodableWrapper TransformType.swift
[22/29] Compiling CodableWrapper Decoder.swift
[23/29] Compiling CodableWrapper Error.swift
[24/29] Compiling CodableWrapper SnakeCamelConvert.swift
[25/29] Compiling CodableWrapper BuiltInBridgeType.swift
/host/spi-builder-workspace/Sources/CodableWrapper/BuiltInBridgeType.swift:140:24: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
138 |                 return Self(booleanLiteral: false)
139 |             } else {
140 |                 return Self(value: str.doubleValue)
    |                        `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
141 |             }
142 |         default:
Foundation.NSNumber.init:2:20: note: selected non-required initializer 'init(value:)'
1 | class NSNumber {
2 | public convenience init(value: Double)}
  |                    `- note: selected non-required initializer 'init(value:)'
3 |
[26/29] Compiling CodableWrapper CodableWrapperMacros.swift
/host/spi-builder-workspace/Sources/CodableWrapper/BuiltInBridgeType.swift:140:24: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
138 |                 return Self(booleanLiteral: false)
139 |             } else {
140 |                 return Self(value: str.doubleValue)
    |                        `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
141 |             }
142 |         default:
Foundation.NSNumber.init:2:20: note: selected non-required initializer 'init(value:)'
1 | class NSNumber {
2 | public convenience init(value: Double)}
  |                    `- note: selected non-required initializer 'init(value:)'
3 |
[27/29] Emitting module CodableWrapper
[28/29] Compiling CodableWrapper AnyCodingKey.swift
[29/29] Compiling CodableWrapper AnyDecodable.swift
BUILD FAILURE 6.2 linux