The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ReerCodable, reference main (cf8027), with Swift 6.4 for Linux on 27 Sep 2026 13:36:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reers/ReerCodable.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/reers/ReerCodable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cf8027e release 1.8.1
Cloned https://github.com/reers/ReerCodable.git
Revision (git rev-parse @):
cf8027e1a1d93f5fbfb3d8b692113e28fbfbe3a7
SUCCESS checkout https://github.com/reers/ReerCodable.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/reers/ReerCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80069] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.22s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (4.44s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Building for debugging...
[Computing dependencies]
[Provisioning 23 / 26]
[Pre-planning 1 / 678]
[Planning deferred tasks]
[150 / 306] SwiftSyntax601
[177 / 306] SwiftSyntax601
[193 / 307]
[195 / 316] SwiftSyntax
[200 / 318] SwiftSyntax603
[204 / 319] SwiftSyntax600
[205 / 320] SwiftSyntax510
[208 / 320] SwiftSyntax600
[214 / 322] SwiftSyntax509
[220 / 323] SwiftSyntax604
[222 / 323] SwiftSyntax604
[223 / 323] SwiftSyntax604
[223 / 323] SwiftSyntax
[234 / 333] SwiftBasicFormat
[236 / 351] SwiftParser
[238 / 351] SwiftParser
[239 / 351] SwiftDiagnostics
[250 / 351] SwiftParser
[251 / 351] SwiftParser
[254 / 351] SwiftParser
[258 / 351] SwiftParser
[260 / 351] SwiftDiagnostics
[262 / 351] SwiftDiagnostics
[263 / 351] SwiftOperators
[267 / 351] SwiftDiagnostics
[267 / 351] SwiftBasicFormat
[268 / 351] SwiftParserDiagnostics
[269 / 351] SwiftParserDiagnostics
[271 / 352] SwiftParser
[273 / 352] SwiftParser
[277 / 364] SwiftParserDiagnostics
[278 / 373] SwiftOperators
[279 / 373] SwiftParserDiagnostics
[280 / 374] SwiftParserDiagnostics
[283 / 374] SwiftOperators
[293 / 374] SwiftSyntaxBuilder
[296 / 374] SwiftOperators
[297 / 374] SwiftOperators
[298 / 374] SwiftOperators
[299 / 374] SwiftOperators
[300 / 374] SwiftOperators
[301 / 374] SwiftOperators
[303 / 374] SwiftOperators
[304 / 374] SwiftDiagnostics
[306 / 374] SwiftDiagnostics
[311 / 384] SwiftSyntaxBuilder
[313 / 385] SwiftSyntaxBuilder
[314 / 385] SwiftSyntaxBuilder
[315 / 385] SwiftSyntaxBuilder
[316 / 385] SwiftSyntaxBuilder
[317 / 386] SwiftParserDiagnostics
[318 / 386] SwiftParserDiagnostics
[319 / 386] SwiftSyntaxBuilder
[327 / 387] SwiftIfConfig
[329 / 396] SwiftIfConfig
[330 / 396] SwiftIfConfig
[331 / 396] SwiftIfConfig
[332 / 396] SwiftIfConfig
[332 / 396] SwiftSyntaxBuilder
[337 / 396] SwiftIfConfig
[339 / 396] SwiftIfConfig
[341 / 396] SwiftSyntaxMacros
[344 / 398]
[347 / 407] SwiftSyntaxMacros
[349 / 407] SwiftSyntaxMacros
[350 / 407] SwiftSyntaxMacros
[358 / 407] SwiftSyntaxMacros
[362 / 418] SwiftSyntaxMacroExpansion
[362 / 418] SwiftSyntax
[364 / 418] SwiftSyntaxMacros
[365 / 418] SwiftSyntaxMacroExpansion
[366 / 419] SwiftSyntaxMacros
[369 / 419] SwiftSyntaxMacroExpansion
[370 / 419] SwiftSyntaxMacroExpansion
[378 / 420]
[381 / 429] SwiftCompilerPluginMessageHandling
[382 / 429] SwiftCompilerPluginMessageHandling
[383 / 429] SwiftCompilerPluginMessageHandling
[384 / 429] SwiftCompilerPluginMessageHandling
[385 / 429] SwiftCompilerPluginMessageHandling
[386 / 429] SwiftCompilerPluginMessageHandling
[387 / 429] SwiftCompilerPluginMessageHandling
[389 / 429] SwiftCompilerPluginMessageHandling
[395 / 431]
[397 / 433] SwiftCompilerPlugin
[402 / 433] SwiftCompilerPlugin
[402 / 434] SwiftCompilerPlugin
[404 / 434] SwiftCompilerPluginMessageHandling
[406 / 435] SwiftSyntax
[409 / 436] SwiftSyntax
[414 / 436] SwiftOperators
[416 / 436] SwiftIfConfig
[419 / 436] SwiftCompilerPluginMessageHandling
[425 / 437] ReerCodableMacros
[434 / 446] ReerCodableMacros
[435 / 446] ReerCodableMacros
[439 / 447] ReerCodableMacros
[449 / 457] ReerCodable
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Codable.swift
/host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift:91:85: error: expected value and ')' to end function call
 89 | /// ```
 90 | @attached(extension, conformances: Codable, ReerCodableDelegate)
 91 | @attached(member, names: named(init), named(init(from:)), named(encode(to:)), named(default), named(copy))
    |                                                                                     |- error: expected value and ')' to end function call
    |                                                                                     `- note: insert value and ')'
 92 | public macro Codable(memberwiseInit: Bool = true) = #externalMacro(module: "ReerCodableMacros", type: "RECodable")
 93 |
/host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift:91:85: error: expected ')' to end attribute
 89 | /// ```
 90 | @attached(extension, conformances: Codable, ReerCodableDelegate)
 91 | @attached(member, names: named(init), named(init(from:)), named(encode(to:)), named(default), named(copy))
    |          |                                                                          |- error: expected ')' to end attribute
    |          |                                                                          `- note: insert ')'
    |          `- note: to match this opening '('
 92 | public macro Codable(memberwiseInit: Bool = true) = #externalMacro(module: "ReerCodableMacros", type: "RECodable")
 93 |
/host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift:91:85: error: expected declaration and ';' after attribute
 89 | /// ```
 90 | @attached(extension, conformances: Codable, ReerCodableDelegate)
 91 | @attached(member, names: named(init), named(init(from:)), named(encode(to:)), named(default), named(copy))
    |                                                                                     |- error: expected declaration and ';' after attribute
    |                                                                                     `- note: insert declaration and ';'
 92 | public macro Codable(memberwiseInit: Bool = true) = #externalMacro(module: "ReerCodableMacros", type: "RECodable")
 93 |
/host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift:91:85: error: 'default' label can only appear inside a 'switch' statement
 89 | /// ```
 90 | @attached(extension, conformances: Codable, ReerCodableDelegate)
 91 | @attached(member, names: named(init), named(init(from:)), named(encode(to:)), named(default), named(copy))
    |                                                                                     `- error: 'default' label can only appear inside a 'switch' statement
 92 | public macro Codable(memberwiseInit: Bool = true) = #externalMacro(module: "ReerCodableMacros", type: "RECodable")
 93 |
/host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift:96:52: error: 'default' label can only appear inside a 'switch' statement
 94 | /// Decodable only
 95 | @attached(extension, conformances: Decodable, ReerCodableDelegate)
 96 | @attached(member, names: named(init(from:)), named(default), named(init), named(copy))
    |                                                    `- error: 'default' label can only appear inside a 'switch' statement
 97 | public macro Decodable(memberwiseInit: Bool = true) = #externalMacro(module: "ReerCodableMacros", type: "REDecodable")
 98 |
/host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift:101:52: error: 'default' label can only appear inside a 'switch' statement
 99 | /// Encodable only
100 | @attached(extension, conformances: Encodable, ReerCodableDelegate)
101 | @attached(member, names: named(encode(to:)), named(default), named(init), named(copy))
    |                                                    `- error: 'default' label can only appear inside a 'switch' statement
102 | public macro Encodable(memberwiseInit: Bool = true) = #externalMacro(module: "ReerCodableMacros", type: "REEncodable")
103 |
/host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
  1 | //
    | `- error: new Swift parser generated errors for code that C++ parser accepted
  2 | //  Copyright 2024 reers.
  3 | //
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/ReerCodable/AnyCodable.swift /host/spi-builder-workspace/Sources/ReerCodable/AnyCodingKey.swift /host/spi-builder-workspace/Sources/ReerCodable/DateCodingStrategy.swift /host/spi-builder-workspace/Sources/ReerCodable/Decodable+Extensions.swift /host/spi-builder-workspace/Sources/ReerCodable/Decoder+Extensions.swift /host/spi-builder-workspace/Sources/ReerCodable/Encodable+Extensions.swift /host/spi-builder-workspace/Sources/ReerCodable/Encoder+Extensions.swift /host/spi-builder-workspace/Sources/ReerCodable/Extensions.swift -primary-file /host/spi-builder-workspace/Sources/ReerCodable/KeyedDecodingContainer+Extensions.swift -primary-file /host/spi-builder-workspace/Sources/ReerCodable/KeyedEncodingContainer+Extensions.swift -primary-file /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Base64Coding.swift -primary-file /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Codable.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/CodingContainer.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/CodingIgnored.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/CodingKey.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/CompactDecoding.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/Copyable.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/CustomCoding.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/DateCoding.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/DefaultInstance.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/DefaultValue.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/EnumCoding.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/FlatCoding.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/FlexibleType.swift /host/spi-builder-workspace/Sources/ReerCodable/MacroDeclarations/KeyCodingStrategy.swift /host/spi-builder-workspace/Sources/ReerCodable/ReerCodableDelegate.swift /host/spi-builder-workspace/Sources/ReerCodable/ReerCodableError.swift /host/spi-builder-workspace/Sources/ReerCodable/SingleValueDecodingContainer+Extensions.swift /host/spi-builder-workspace/Sources/ReerCodable/TypeConversion.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/supplementaryOutputs-29 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/ReerCodableMacros\#ReerCodableMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ReerCodable -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/ReerCodable_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/KeyedDecodingContainer+Extensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/KeyedEncodingContainer+Extensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/Base64Coding.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/Codable.o -index-unit-output-path /ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/KeyedDecodingContainer+Extensions.o -index-unit-output-path /ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/KeyedEncodingContainer+Extensions.o -index-unit-output-path /ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/Base64Coding.o -index-unit-output-path /ReerCodable.build/Debug-linux-x86_64/ReerCodable-t.build/Objects-normal/x86_64/Codable.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux