Build Information
Failed to build CodableValue, reference main (e627e8), with Swift 6.1 for Android on 29 May 2025 06:45:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Denis5161/CodableValue.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/Denis5161/CodableValue
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e627e89 Add .spi.yml file
Cloned https://github.com/Denis5161/CodableValue.git
Revision (git rev-parse @):
e627e896db96924bc9fc22b8ee1d2bb939c7a39a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Denis5161/CodableValue.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Denis5161/CodableValue.git
https://github.com/Denis5161/CodableValue.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "CodableValue",
"name" : "CodableValue",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "CodableValue",
"targets" : [
"CodableValue"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Tests/Tests",
"sources" : [
"ImageEncodingFileTypes.swift",
"TestsAppKit.swift",
"TestsUIKit.swift"
],
"target_dependencies" : [
"CodableValue"
],
"type" : "test"
},
{
"c99name" : "CodableValue",
"module_type" : "SwiftTarget",
"name" : "CodableValue",
"path" : "Sources/CodableValue",
"product_memberships" : [
"CodableValue"
],
"sources" : [
"AppKit/NSColor+Ext.swift",
"AppKit/NSImage+Ext.swift",
"Shared/CodableValue.swift",
"Shared/CodableValueSupported.swift",
"Shared/DecodingValueError.swift",
"Shared/Optional+Ext.swift",
"UIKit/UIColor+Ext.swift",
"UIKit/UIImage+Ext.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling CodableValue NSColor+Ext.swift
[4/11] Compiling CodableValue UIColor+Ext.swift
[5/11] Compiling CodableValue UIImage+Ext.swift
[6/11] Compiling CodableValue NSImage+Ext.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Compiling CodableValue CodableValueSupported.swift
[8/11] Emitting module CodableValue
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:38: error: cannot find type 'NSObject' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSObject' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:114: error: cannot find type 'NSSecureCoding' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSSecureCoding' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
[9/11] Compiling CodableValue CodableValue.swift
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:38: error: cannot find type 'NSObject' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSObject' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:114: error: cannot find type 'NSSecureCoding' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSSecureCoding' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:48:24: error: cannot find 'NSKeyedArchiver' in scope
46 | public func encode(to encoder: Encoder) throws {
47 | var container = encoder.singleValueContainer()
48 | let data = try NSKeyedArchiver.archivedData(withRootObject: wrappedValue, requiringSecureCoding: true)
| `- error: cannot find 'NSKeyedArchiver' in scope
49 | try container.encode(data)
50 | }
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:61:41: error: cannot find 'Data' in scope
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
| `- error: cannot find 'Data' in scope
62 | if let decoded = try? NSKeyedUnarchiver.unarchivedObject(ofClass: base, from: data) as? T {
63 | return decoded
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:62:31: error: cannot find 'NSKeyedUnarchiver' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
62 | if let decoded = try? NSKeyedUnarchiver.unarchivedObject(ofClass: base, from: data) as? T {
| `- error: cannot find 'NSKeyedUnarchiver' in scope
63 | return decoded
64 | } else {
[10/11] Compiling CodableValue DecodingValueError.swift
[11/11] Compiling CodableValue Optional+Ext.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling CodableValue Optional+Ext.swift
[3/9] Compiling CodableValue UIColor+Ext.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Compiling CodableValue NSColor+Ext.swift
[5/10] Emitting module CodableValue
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:38: error: cannot find type 'NSObject' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSObject' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:114: error: cannot find type 'NSSecureCoding' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSSecureCoding' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
[6/10] Compiling CodableValue DecodingValueError.swift
[7/10] Compiling CodableValue NSImage+Ext.swift
[8/10] Compiling CodableValue CodableValueSupported.swift
[9/10] Compiling CodableValue CodableValue.swift
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:38: error: cannot find type 'NSObject' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSObject' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:59:114: error: cannot find type 'NSSecureCoding' in scope
57 | /// The decoded object as type `T`.
58 | /// - Throws: DecodingValueError when decoding fails.
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
| `- error: cannot find type 'NSSecureCoding' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:48:24: error: cannot find 'NSKeyedArchiver' in scope
46 | public func encode(to encoder: Encoder) throws {
47 | var container = encoder.singleValueContainer()
48 | let data = try NSKeyedArchiver.archivedData(withRootObject: wrappedValue, requiringSecureCoding: true)
| `- error: cannot find 'NSKeyedArchiver' in scope
49 | try container.encode(data)
50 | }
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:61:41: error: cannot find 'Data' in scope
59 | private static func decode<Base: NSObject>(_ base: Base.Type, from decoder: Decoder) throws -> T where Base: NSSecureCoding {
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
| `- error: cannot find 'Data' in scope
62 | if let decoded = try? NSKeyedUnarchiver.unarchivedObject(ofClass: base, from: data) as? T {
63 | return decoded
/host/spi-builder-workspace/Sources/CodableValue/Shared/CodableValue.swift:62:31: error: cannot find 'NSKeyedUnarchiver' in scope
60 | let container = try decoder.singleValueContainer()
61 | let data = try container.decode(Data.self)
62 | if let decoded = try? NSKeyedUnarchiver.unarchivedObject(ofClass: base, from: data) as? T {
| `- error: cannot find 'NSKeyedUnarchiver' in scope
63 | return decoded
64 | } else {
[10/10] Compiling CodableValue UIImage+Ext.swift
BUILD FAILURE 6.1 android