Build Information
Failed to build CryptoOffice, reference 0.1.1 (06be38), with Swift 6.4 for Linux on 17 Sep 2026 06:05:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/CoreOffice/CryptoOffice.git
Reference: 0.1.1
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/CoreOffice/CryptoOffice
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 06be38e Update `CHANGELOG.md` for the 0.1.1 release
Cloned https://github.com/CoreOffice/CryptoOffice.git
Revision (git rev-parse @):
06be38e0c71cc3ac1cdd75b6c229c1661248efc5
SUCCESS checkout https://github.com/CoreOffice/CryptoOffice.git at 0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/CoreOffice/CryptoOffice.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/apple/swift-crypto.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/CoreOffice/OLEKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/18531] Fetching swift-crypto
[187/19437] Fetching swift-crypto, olekit
[1649/32876] Fetching swift-crypto, olekit, cryptoswift
[3901/43005] Fetching swift-crypto, olekit, cryptoswift, xmlcoder
Fetched https://github.com/CoreOffice/OLEKit.git (0.84s)
[14319/42099] Fetching swift-crypto, cryptoswift, xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git (1.62s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.64s)
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetched https://github.com/apple/swift-crypto.git (1.81s)
[1/6354] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git (0.75s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (2.87s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.11.1 (0.32s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
warning: 'zipfoundation': /Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 | name: "ZIPFoundation",
22 | platforms: [
23 | .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 | ],
25 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.35s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.32s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/CoreOffice/OLEKit.git
Working copy of https://github.com/CoreOffice/OLEKit.git resolved at 0.1.0
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.11.1
warning: 'zipfoundation': /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 | name: "ZIPFoundation",
22 | platforms: [
23 | .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 | ],
25 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 246]
[Planning deferred tasks]
[Starting]
[12 / 490] OLEKit
[57 / 503] OLEKit
[59 / 521] Crypto
[63 / 530] CCryptoBoringSSL
[65 / 530] CCryptoBoringSSL
[68 / 530] CCryptoBoringSSL
[71 / 530] CCryptoBoringSSL
[73 / 530] CCryptoBoringSSL
[81 / 530] CCryptoBoringSSL
[83 / 530] CCryptoBoringSSL
[87 / 530] CCryptoBoringSSL
[88 / 530] CCryptoBoringSSL
[90 / 530] CCryptoBoringSSL
[94 / 530] CCryptoBoringSSL
[95 / 530] CCryptoBoringSSL
[97 / 530] CCryptoBoringSSL
[101 / 530] CCryptoBoringSSL
[106 / 530] CCryptoBoringSSL
[114 / 530] CCryptoBoringSSL
[115 / 530] CCryptoBoringSSL
[120 / 530] CCryptoBoringSSL
[123 / 530] CCryptoBoringSSL
[124 / 530] CCryptoBoringSSL
[126 / 530] CCryptoBoringSSL
[128 / 530] CCryptoBoringSSL
[132 / 530] CCryptoBoringSSL
[138 / 530] CCryptoBoringSSL
[140 / 530] CCryptoBoringSSL
[144 / 530] CCryptoBoringSSL
[148 / 530] CCryptoBoringSSL
[153 / 530] CCryptoBoringSSL
[155 / 530] CCryptoBoringSSL
[160 / 530] CCryptoBoringSSL
[162 / 530] CCryptoBoringSSL
[163 / 530] CCryptoBoringSSL
[170 / 530] XMLCoder
[181 / 530] CCryptoBoringSSL
[188 / 530] CCryptoBoringSSL
[192 / 530] CCryptoBoringSSL
[199 / 530] CCryptoBoringSSL
[204 / 530] CCryptoBoringSSL
[210 / 530] CCryptoBoringSSL
[213 / 530] CCryptoBoringSSL
[221 / 530] CCryptoBoringSSL
[227 / 530] CCryptoBoringSSL
[234 / 530] CCryptoBoringSSL
[237 / 530] CCryptoBoringSSL
[245 / 530] CCryptoBoringSSL
[249 / 530] CCryptoBoringSSL
[253 / 530] CCryptoBoringSSL
[260 / 530] CCryptoBoringSSL
[267 / 530] CCryptoBoringSSL
[273 / 530] CCryptoBoringSSL
[280 / 530] CCryptoBoringSSL
[285 / 530] CCryptoBoringSSL
[291 / 530] CCryptoBoringSSL
[298 / 530] CCryptoBoringSSL
[306 / 530] CCryptoBoringSSL
[314 / 530] CCryptoBoringSSL
[327 / 530] CCryptoBoringSSL
[335 / 530] CCryptoBoringSSL
[343 / 530] CCryptoBoringSSL
[350 / 530] CCryptoBoringSSL
[358 / 530] CCryptoBoringSSL
[363 / 530] CryptoSwift
[375 / 530] CCryptoBoringSSL
[382 / 530] CCryptoBoringSSL
[389 / 530] CCryptoBoringSSL
[400 / 530] CCryptoBoringSSL
[410 / 530] CCryptoBoringSSL
[423 / 530] CCryptoBoringSSL
[436 / 530] CCryptoBoringSSL
[454 / 530] CCryptoBoringSSL
[466 / 530] CCryptoBoringSSL
[479 / 530] CCryptoBoringSSL
[489 / 530] XMLCoder
[491 / 530] OLEKit
[498 / 530] OLEKit-product
[501 / 531] CryptoSwift
[502 / 531] XMLCoder
[505 / 531] CryptoSwift-product
[508 / 532] OLEKit
[510 / 532] OLEKit
[512 / 532] Crypto
[514 / 532] Crypto
[515 / 532] Crypto-product
[516 / 532] Crypto-product
[519 / 532] OLEKit
[522 / 537] CryptoOffice
/host/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeError.swift:18:44: [1;33mwarning: [1;39mcannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'FoundationEssentials' was not imported by this file[0;0m
[0;36m16 |[0;0m case standardEncryptionNotSupported
[0;36m17 |[0;0m case fileIsNotEncrypted(path: String)
[0;36m18 |[0;0m case cantEncodePassword(encoding: String.Encoding)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'FoundationEssentials' was not imported by this file[0;0m
[0;36m19 |[0;0m case extensibleEncryptionNotSupported
[0;36m20 |[0;0m case encryptedKeyNotSpecifiedForAgileEncryption
FoundationEssentials.String.Encoding:2:15: [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m1 |[0;0m struct String {
[0;36m2 |[0;0m public struct Encoding : RawRepresentable, Sendable, Equatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m3 |[0;0m public var rawValue: UInt
[0;36m4 |[0;0m public init(rawValue: UInt)
[524 / 537] CryptoOffice
/host/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeError.swift:18:44: [1;33mwarning: [1;39mcannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'FoundationEssentials' was not imported by this file[0;0m
[0;36m16 |[0;0m case standardEncryptionNotSupported
[0;36m17 |[0;0m case fileIsNotEncrypted(path: String)
[0;36m18 |[0;0m case cantEncodePassword(encoding: String.Encoding)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'FoundationEssentials' was not imported by this file[0;0m
[0;36m19 |[0;0m case extensibleEncryptionNotSupported
[0;36m20 |[0;0m case encryptedKeyNotSpecifiedForAgileEncryption
FoundationEssentials.String.Encoding:2:15: [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m1 |[0;0m struct String {
[0;36m2 |[0;0m public struct Encoding : RawRepresentable, Sendable, Equatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct declared here[0;0m
[0;36m3 |[0;0m public var rawValue: UInt
[0;36m4 |[0;0m public init(rawValue: UInt)
[530 / 538] CryptoSwift
[533 / 538] CryptoSwift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile ECMA376Agile.swift
/host/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift:80:12: [1;31merror: [1;39mcannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'[0;0m
[0;36m78 |[0;0m
[0;36m79 |[0;0m let aes = try CryptoSwift.AES(
[0;36m80 |[0;0m key: decryptionKey,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'[0;0m
[0;36m81 |[0;0m blockMode: CBC(iv: encryptedKey.saltValue.bytes),
[0;36m82 |[0;0m padding: .noPadding
/host/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift:81:49: [1;31merror: [1;39mcannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'[0;0m
[0;36m79 |[0;0m let aes = try CryptoSwift.AES(
[0;36m80 |[0;0m key: decryptionKey,
[0;36m81 |[0;0m blockMode: CBC(iv: encryptedKey.saltValue.bytes),
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'[0;0m
[0;36m82 |[0;0m padding: .noPadding
[0;36m83 |[0;0m )
/host/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift:104:60: [1;31merror: [1;39mcannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'[0;0m
[0;36m102 |[0;0m
[0;36m103 |[0;0m let iv = (keyData.saltValue + segmentIndex.data).sha512()[0..<16].bytes
[0;36m104 |[0;0m let aes = try AES(key: secretKey, blockMode: CBC(iv: iv), padding: .noPadding)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'[0;0m
[0;36m105 |[0;0m
[0;36m106 |[0;0m let chunk: Data
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeError.swift /host/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeFile.swift -primary-file /host/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/Objects-normal/x86_64/ECMA376Agile.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/Objects-normal/x86_64/ECMA376Agile.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/Objects-normal/x86_64/ECMA376Agile.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/Objects-normal/x86_64/ECMA376Agile.dia -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -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/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CryptoOffice -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/Objects-normal/x86_64/CryptoOffice_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/CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/Objects-normal/x86_64/ECMA376Agile.o -index-unit-output-path /CryptoOffice.build/Debug-linux-x86_64/CryptoOffice-t.build/Objects-normal/x86_64/ECMA376Agile.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux