Build Information
Failed to build SmartCodable, reference main (bc1522), with Swift 6.4 for Linux on 29 Sep 2026 11:17:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iAmMccc/SmartCodable.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/iAmMccc/SmartCodable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bc1522f Merge pull request #139 from iAmMccc/7.0.1
Cloned https://github.com/iAmMccc/SmartCodable.git
Revision (git rev-parse @):
bc1522f6b635128ea992331867fe65f231492dc0
SUCCESS checkout https://github.com/iAmMccc/SmartCodable.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/iAmMccc/SmartCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift:36:30: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m34 |[0;0m public struct SmartHexColor: PropertyWrapperable {
[0;36m35 |[0;0m
[0;36m36 |[0;0m public var wrappedValue: [4;39mColorObject[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m37 |[0;0m public init(wrappedValue: ColorObject?) {
[0;36m38 |[0;0m self.wrappedValue = wrappedValue
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift:37:31: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m public var wrappedValue: ColorObject?
[0;36m37 |[0;0m public init(wrappedValue: [4;39mColorObject[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m38 |[0;0m self.wrappedValue = wrappedValue
[0;36m39 |[0;0m }
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift:55:31: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m53 |[0;0m var encodeHexFormat: HexFormat?
[0;36m54 |[0;0m
[0;36m55 |[0;0m public init(wrappedValue: [4;39mColorObject[0;0m?, encodeHexFormat: HexFormat? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m56 |[0;0m self.wrappedValue = wrappedValue
[0;36m57 |[0;0m self.encodeHexFormat = encodeHexFormat
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift:34:15: [1;31merror: [1;39mtype 'SmartHexColor' does not conform to protocol 'PropertyWrapperable'[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m @propertyWrapper
[0;36m34 |[0;0m public struct SmartHexColor: PropertyWrapperable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'SmartHexColor' does not conform to protocol 'PropertyWrapperable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m public var wrappedValue: ColorObject?
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/PropertyWrapperProtocol.swift:18:20: [1;39mnote: [1;39mprotocol requires nested type 'WrappedValue'[0;0m
[0;36m16 |[0;0m */
[0;36m17 |[0;0m public protocol PropertyWrapperable {
[0;36m18 |[0;0m associatedtype WrappedValue
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires nested type 'WrappedValue'[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m var wrappedValue: WrappedValue { get }
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift:125:86: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m123 |[0;0m extension SmartHexColor {
[0;36m124 |[0;0m
[0;36m125 |[0;0m public static func toColor(from hex: String, format: SmartHexColor.HexFormat) -> [4;39mColorObject[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m126 |[0;0m // 1. 移除前缀
[0;36m127 |[0;0m let hexString = normalizedHexString(from: hex, prefix: format.prefix)
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift:184:41: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m182 |[0;0m
[0;36m183 |[0;0m
[0;36m184 |[0;0m static func toHexString(from color: [4;39mColorObject[0;0m, format: SmartHexColor.HexFormat) -> String? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m185 |[0;0m guard let components = color.rgbaComponents else { return nil }
[0;36m186 |[0;0m
/host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift:313:11: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m311 |[0;0m
[0;36m312 |[0;0m
[0;36m313 |[0;0m extension [4;39mColorObject[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m314 |[0;0m var rgbaComponents: (r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat)? {
[0;36m315 |[0;0m #if os(macOS)
/host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/HexColorTransformer.swift:14:31: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m12 |[0;0m public struct SmartHexColorTransformer: ValueTransformable {
[0;36m13 |[0;0m
[0;36m14 |[0;0m public typealias Object = [4;39mColorObject[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m15 |[0;0m public typealias JSON = String
[0;36m16 |[0;0m
/host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/HexColorTransformer.swift:21:52: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m19 |[0;0m self.colorFormat = colorFormat
[0;36m20 |[0;0m }
[0;36m21 |[0;0m public func transformFromJSON(_ value: Any) -> [4;39mColorObject[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m22 |[0;0m if let colorStr = value as? String {
[0;36m23 |[0;0m return SmartHexColor.toColor(from: colorStr, format: colorFormat)
/host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/HexColorTransformer.swift:28:42: [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m public func transformToJSON(_ value: [4;39mColorObject[0;0m) -> String? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ColorObject' in scope[0;0m
[0;36m29 |[0;0m SmartHexColor.toHexString(from: value, format: colorFormat)
[0;36m30 |[0;0m }
/host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/HexColorTransformer.swift:12:15: [1;31merror: [1;39mtype 'SmartHexColorTransformer' does not conform to protocol 'ValueTransformable'[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m public struct SmartHexColorTransformer: ValueTransformable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'SmartHexColorTransformer' does not conform to protocol 'ValueTransformable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m public typealias Object = ColorObject
/host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/Transformer.swift:51:20: [1;39mnote: [1;39mprotocol requires nested type 'Object'[0;0m
[0;36m49 |[0;0m
[0;36m50 |[0;0m public protocol ValueTransformable {
[0;36m51 |[0;0m associatedtype Object
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires nested type 'Object'[0;0m
[0;36m52 |[0;0m associatedtype JSON
[0;36m53 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SmartCodable/Core/Cache/Cachable.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/DecodingError+Extension.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/DecodingSnapshot.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/Impl/JSONDecoderImpl+KeyedContainer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/Impl/JSONDecoderImpl+SingleValueContainer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/Impl/JSONDecoderImpl+UnkeyedContainer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/Impl/JSONDecoderImpl+Unwrap.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/Impl/JSONDecoderImpl.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/KeysMapper.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/SmartJSONDecoder.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Decoder/SmartKeyDecodingStrategy.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Patcher/Patcher+Provider.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Patcher/Patcher+Transformer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONDecoder/Patcher/Patcher.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/Container/JSONKeyedEncodingContainer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/Container/JSONSingleValueEncodingContainer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/Container/JSONUnkeyedEncodingContainer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/EncodingCache.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/Impl/JSONEncoderImpl.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/Impl/_SpecialTreatmentEncoder.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/JSONFuture.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/SmartJSONEncoder.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONEncoder/SmartKeyEncodingStrategy.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONExtractor/JSONExtractor.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONValue/JSONValue+Extension.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/JSONValue/JSONValue.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/PropertyWrapperProtocol.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartAny/SmartAny.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartAny/SmartAnyImpl.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartCompact/SmartCompact.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartCompact/SmartCompactArray.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartCompact/SmartCompactDictionary.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartDate.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartFlat.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartHexColor.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartIgnored.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/PropertyWrapper/SmartPublished.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Sentinel/LogCache.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Sentinel/LogContainer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Sentinel/LogItem.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Sentinel/SafeDictionary.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Sentinel/SmartSentinel.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/SmartCodable/SmartCodable.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/SmartCodable/SmartCodableOptions.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/SmartCodable/SmartDecodable.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/SmartCodable/SmartEncodable.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/SmartCodable/SmartUpdater.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/SmartType/SmartCaseDefaultable.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/DataTransformer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/DateTransformer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/HexColorTransformer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/Transformer.swift /host/spi-builder-workspace/Sources/SmartCodable/Core/Transformer/URLTransformer.swift -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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -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/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SmartCodable -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/Objects-normal/x86_64/SmartCodable_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/Objects-normal/x86_64/Modules/SmartCodable.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/Objects-normal/x86_64/Modules/SmartCodable.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/Objects-normal/x86_64/SmartCodable-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/Objects-normal/x86_64/SmartCodable-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/Objects-normal/x86_64/SmartCodable-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartCodable.build/Debug-linux-x86_64/SmartCodable-t.build/Objects-normal/x86_64/Modules/SmartCodable.swiftmodule
[28 / 36] SmartCodable
error: Build failed
BUILD FAILURE 6.4 linux