Build Information
Failed to build CryptoOffice, reference 0.1.1 (06be38), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 06:28:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/CoreOffice/CryptoOffice.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 304]
[Planning deferred tasks]
[Starting]
[67 / 827] CryptoSwift_CryptoSwiftResources
[67 / 827]
[78 / 831] XMLCoder
[94 / 851] CCryptoBoringSSL
[106 / 851] CCryptoBoringSSL
[113 / 851] CCryptoBoringSSL
[125 / 851] CCryptoBoringSSL
[135 / 851] CCryptoBoringSSL
[149 / 851] CCryptoBoringSSL
[164 / 851] CCryptoBoringSSL
[183 / 914] Crypto
[196 / 925] CCryptoBoringSSL
[229 / 926] CCryptoBoringSSL
[275 / 926] CCryptoBoringSSL
[309 / 926]
[313 / 929]
[322 / 929] CCryptoBoringSSL
[331 / 929] CCryptoBoringSSL
[343 / 929]
[368 / 929] CCryptoBoringSSL
[374 / 929] CCryptoBoringSSL
[383 / 929]
[394 / 929]
[404 / 929]
[419 / 929] CCryptoBoringSSL
[435 / 929] CCryptoBoringSSL
[457 / 929] CCryptoBoringSSL
[476 / 929] CCryptoBoringSSL
[488 / 929] CCryptoBoringSSL
[498 / 929] CCryptoBoringSSL
[510 / 929] CCryptoBoringSSL
[525 / 929] CCryptoBoringSSL
[550 / 929] CCryptoBoringSSL
[571 / 929] CCryptoBoringSSL
[598 / 929] CCryptoBoringSSL
[619 / 930] CCryptoBoringSSL
[646 / 930]
[668 / 930] CCryptoBoringSSL
[694 / 930] CCryptoBoringSSL
[722 / 930] CCryptoBoringSSL
[735 / 930] XMLCoder
[737 / 930] Crypto
[751 / 930] XMLCoder
[764 / 930] XMLCoder-product
[765 / 930] XMLCoder-product
[776 / 930] XMLCoder
[780 / 930] CryptoSwiftResources
[787 / 930] Crypto
[788 / 930] OLEKit
[810 / 930] CCryptoBoringSSL
[833 / 930] CCryptoBoringSSL
[865 / 930] CCryptoBoringSSL
[885 / 930] CCryptoBoringSSL
[905 / 930]
[912 / 931] CCryptoBoringSSL
[914 / 931] CryptoSwift
[925 / 942] CryptoSwift
[932 / 943] CryptoSwift
[936 / 947] CryptoSwift
[938 / 947] CryptoOffice
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/CoreOffice/OLEKit.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/906] Fetching olekit
[11/19437] Fetching olekit, swift-crypto
[84/29566] Fetching olekit, swift-crypto, xmlcoder
[85/35920] Fetching olekit, swift-crypto, xmlcoder, zipfoundation
[159/49359] Fetching olekit, swift-crypto, xmlcoder, zipfoundation, cryptoswift
Fetched https://github.com/weichsel/ZIPFoundation.git (4.39s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (4.39s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git (4.39s)
Fetched https://github.com/CoreOffice/OLEKit.git (4.39s)
Fetched https://github.com/apple/swift-crypto.git (4.39s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (5.10s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.11.1 (0.66s)
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.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.66s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.66s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.11.1
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.10.0
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
warning: 'zipfoundation': /Users/admin/builder/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>
/Users/admin/builder/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; 'Foundation' 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; 'Foundation' was not imported by this file[0;0m
[0;36m19 |[0;0m case extensibleEncryptionNotSupported
[0;36m20 |[0;0m case encryptedKeyNotSpecifiedForAgileEncryption
Foundation.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)
/Users/admin/builder/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; 'Foundation' 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; 'Foundation' was not imported by this file[0;0m
[0;36m19 |[0;0m case extensibleEncryptionNotSupported
[0;36m20 |[0;0m case encryptedKeyNotSpecifiedForAgileEncryption
Foundation.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)
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile ECMA376Agile.swift
/Users/admin/builder/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
/Users/admin/builder/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 )
/Users/admin/builder/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:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeError.swift /Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeFile.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/ECMA376Agile.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/ECMA376Agile.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/ECMA376Agile.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/ECMA376Agile.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/CryptoOffice-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -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 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CryptoOffice -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/CryptoOffice_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/ECMA376Agile.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/CryptoOffice.swiftmodule -index-unit-output-path /CryptoOffice.build/Debug/CryptoOffice-t.build/Objects-normal/arm64/ECMA376Agile.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm