Build Information
Failed to build CryptoOffice, reference main (4fc483), with Swift 6.4 for Linux on 17 Sep 2026 06:05:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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: 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/CoreOffice/CryptoOffice
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4fc4834 Update README.md (#2)
Cloned https://github.com/CoreOffice/CryptoOffice.git
Revision (git rev-parse @):
4fc4834bf8df8e39cd5e4dfdf04b94cfe06b5257
SUCCESS checkout https://github.com/CoreOffice/CryptoOffice.git at main
========================================
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-54344843-2":/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/CoreOffice/XMLCoder.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/CoreOffice/OLEKit.git
[1/10129] Fetching xmlcoder
[204/11035] Fetching xmlcoder, olekit
[3642/24474] Fetching xmlcoder, olekit, cryptoswift
[4150/43005] Fetching xmlcoder, olekit, cryptoswift, swift-crypto
Fetched https://github.com/CoreOffice/OLEKit.git (1.73s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.74s)
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetched https://github.com/CoreOffice/XMLCoder.git (2.02s)
[1/6354] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git (0.77s)
Fetched https://github.com/apple/swift-crypto.git (2.78s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (3.17s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.14.0 (0.36s)
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.31s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.29s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.41s)
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/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/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.14.0
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>
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/CryptoOfficeTests/TestWorkbook.xlsx
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 246]
[Planning deferred tasks]
[Writing build description]
[49 / 492]
[57 / 503] OLEKit
[62 / 530] CCryptoBoringSSL
[64 / 530] CCryptoBoringSSL
[68 / 530] CCryptoBoringSSL
[71 / 530] CCryptoBoringSSL
[72 / 530] CCryptoBoringSSL
[78 / 530] CCryptoBoringSSL
[82 / 530] CCryptoBoringSSL
[87 / 530] CCryptoBoringSSL
[89 / 530] CCryptoBoringSSL
[91 / 530] CCryptoBoringSSL
[95 / 530] CCryptoBoringSSL
[97 / 530] CCryptoBoringSSL
[99 / 530] CCryptoBoringSSL
[106 / 530] CCryptoBoringSSL
[113 / 530] CCryptoBoringSSL
[114 / 530] CCryptoBoringSSL
[116 / 530] CCryptoBoringSSL
[119 / 530] CCryptoBoringSSL
[121 / 530] CCryptoBoringSSL
[124 / 530] CCryptoBoringSSL
[125 / 530] CCryptoBoringSSL
[130 / 530] CCryptoBoringSSL
[132 / 530] CCryptoBoringSSL
[135 / 530] CCryptoBoringSSL
[136 / 530] CCryptoBoringSSL
[139 / 530] CCryptoBoringSSL
[143 / 530] CCryptoBoringSSL
[153 / 530] CCryptoBoringSSL
[156 / 530] CCryptoBoringSSL
[159 / 530] CCryptoBoringSSL
[161 / 530] CCryptoBoringSSL
[164 / 530] CCryptoBoringSSL
[169 / 530] CCryptoBoringSSL
[172 / 530] CCryptoBoringSSL
[177 / 530] CCryptoBoringSSL
[183 / 530] CCryptoBoringSSL
[189 / 530] CCryptoBoringSSL
[193 / 530] CCryptoBoringSSL
[198 / 530] CCryptoBoringSSL
[202 / 530] CCryptoBoringSSL
[207 / 530] CCryptoBoringSSL
[214 / 530] CCryptoBoringSSL
[219 / 530] CCryptoBoringSSL
[226 / 530] CCryptoBoringSSL
[230 / 530] CCryptoBoringSSL
[233 / 530] CCryptoBoringSSL
[237 / 530] CCryptoBoringSSL
[241 / 530] CCryptoBoringSSL
[245 / 530] CCryptoBoringSSL
[246 / 530] CCryptoBoringSSL
[248 / 530] CCryptoBoringSSL
[251 / 530] CCryptoBoringSSL
[253 / 530] CCryptoBoringSSL
[259 / 530] CCryptoBoringSSL
[261 / 530] CCryptoBoringSSL
[265 / 530] CCryptoBoringSSL
[272 / 530] CCryptoBoringSSL
[274 / 530] CCryptoBoringSSL
[279 / 530] CCryptoBoringSSL
[281 / 530] CCryptoBoringSSL
[287 / 530] Crypto
[297 / 530] CCryptoBoringSSL
[303 / 530] CCryptoBoringSSL
[310 / 530] CCryptoBoringSSL
[313 / 530] CCryptoBoringSSL
[319 / 530] CCryptoBoringSSL
[326 / 530] CCryptoBoringSSL
[331 / 530] CCryptoBoringSSL
[337 / 530] CCryptoBoringSSL
[342 / 530] CCryptoBoringSSL
[346 / 530] CCryptoBoringSSL
[353 / 530] CCryptoBoringSSL
[355 / 530] CCryptoBoringSSL
[359 / 530] CCryptoBoringSSL
[361 / 530] CCryptoBoringSSL
[369 / 530] CCryptoBoringSSL
[372 / 530] CCryptoBoringSSL
[379 / 530] CCryptoBoringSSL
[386 / 530] CCryptoBoringSSL
[393 / 530] CCryptoBoringSSL
[396 / 530] CCryptoBoringSSL
[403 / 530] CCryptoBoringSSL
[409 / 530] CCryptoBoringSSL
[416 / 530] CCryptoBoringSSL
[420 / 530] CCryptoBoringSSL
[426 / 530] CCryptoBoringSSL
[430 / 530] CCryptoBoringSSL
[435 / 530] CCryptoBoringSSL
[441 / 530] CCryptoBoringSSL
[445 / 530] CCryptoBoringSSL
[461 / 530] CCryptoBoringSSL
[465 / 530] CCryptoBoringSSL
[471 / 530] CCryptoBoringSSL
[477 / 530] CCryptoBoringSSL
[483 / 530] CCryptoBoringSSL
[487 / 530] XMLCoder
[489 / 530] CCryptoBoringSSL
[490 / 530] OLEKit
[491 / 530] OLEKit
[493 / 530] OLEKit
[495 / 530] OLEKit-product
[496 / 530] OLEKit-product
[499 / 530] CryptoSwift
[501 / 531] CryptoSwift
[502 / 531] XMLCoder
[503 / 531] CryptoSwift-product
[504 / 531] CryptoSwift-product
[508 / 532] OLEKit
[509 / 532] Crypto
[510 / 532] OLEKit
[512 / 532] Crypto
[512 / 532] CryptoSwift
[513 / 532] Crypto
[514 / 532] Crypto-product
[515 / 532] Crypto-product
[516 / 532] CryptoOffice
[517 / 532] CryptoOffice
[519 / 532] OLEKit
[521 / 537] XMLCoder
[523 / 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)
[525 / 537] CryptoOffice
[530 / 537] CCryptoBoringSSLShims
[530 / 537] 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