The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CryptoOffice, reference main (4fc483), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 06:29:39 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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:         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]
[62 / 827]
[67 / 827]
[77 / 831] CCryptoBoringSSL
[96 / 851] CCryptoBoringSSL
[106 / 851] CCryptoBoringSSL
[114 / 851] CCryptoBoringSSL
[130 / 851] CCryptoBoringSSL
[145 / 851] CCryptoBoringSSL
[158 / 851] CCryptoBoringSSL
[172 / 898]
[191 / 925] CCryptoBoringSSL
[206 / 925] CCryptoBoringSSL
[255 / 926] CCryptoBoringSSL
[296 / 926] CCryptoBoringSSL
[310 / 929] CCryptoBoringSSL
[319 / 929] CCryptoBoringSSL
[329 / 929] CCryptoBoringSSL
[341 / 929] CCryptoBoringSSL
[358 / 929] CCryptoBoringSSL
[366 / 929] CCryptoBoringSSL
[376 / 929] CCryptoBoringSSL
[386 / 929]
[397 / 929] CCryptoBoringSSL
[408 / 929] CCryptoBoringSSL
[420 / 929] CCryptoBoringSSL
[444 / 929] CCryptoBoringSSL
[464 / 929] CCryptoBoringSSL
[485 / 929] CCryptoBoringSSL
[500 / 929] CCryptoBoringSSL
[513 / 929] CCryptoBoringSSL
[528 / 929] CCryptoBoringSSL
[550 / 929] CCryptoBoringSSL
[575 / 929] CCryptoBoringSSL
[601 / 930] CCryptoBoringSSL
[627 / 930] CCryptoBoringSSL
[649 / 930] CCryptoBoringSSL
[670 / 930] CCryptoBoringSSL
[694 / 930] CCryptoBoringSSL
[703 / 930] Crypto
[707 / 930] OLEKit
[730 / 930] XMLCoder-product
[731 / 930] XMLCoder-product
[742 / 930] XMLCoder
[747 / 930] CryptoSwiftResources
[752 / 930] Crypto-product
[754 / 930] OLEKit
[772 / 930] CCryptoBoringSSL
[792 / 930] CCryptoBoringSSL
[813 / 930] CCryptoBoringSSL
[842 / 930] CCryptoBoringSSL
[869 / 930] CCryptoBoringSSL
[890 / 930] CCryptoBoringSSL
[911 / 931] CryptoSwiftResources
[912 / 931] CCryptoBoringSSL
[914 / 931] CryptoSwift
[925 / 942] CryptoSwift
[932 / 943] CryptoSwift
[934 / 943] CryptoSwift
[938 / 947] CryptoOffice
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/CoreOffice/OLEKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/CoreOffice/XMLCoder.git
[1/906] Fetching olekit
[83/11035] Fetching olekit, xmlcoder
[84/29566] Fetching olekit, xmlcoder, swift-crypto
[85/35920] Fetching olekit, xmlcoder, swift-crypto, zipfoundation
[159/49359] Fetching olekit, xmlcoder, swift-crypto, zipfoundation, cryptoswift
Fetched https://github.com/weichsel/ZIPFoundation.git (1.97s)
[17392/43005] Fetching olekit, xmlcoder, swift-crypto, cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (2.83s)
[18819/29566] Fetching olekit, xmlcoder, swift-crypto
Fetched https://github.com/apple/swift-crypto.git (3.72s)
Fetched https://github.com/CoreOffice/OLEKit.git (3.72s)
Fetched https://github.com/CoreOffice/XMLCoder.git (3.72s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (4.41s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.14.0 (0.65s)
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.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.62s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.63s)
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/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
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
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>
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/CryptoOfficeTests/TestWorkbook.xlsx
/Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeError.swift:18:44: warning: cannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'Foundation' was not imported by this file
16 |   case standardEncryptionNotSupported
17 |   case fileIsNotEncrypted(path: String)
18 |   case cantEncodePassword(encoding: String.Encoding)
   |                                            `- warning: cannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'Foundation' was not imported by this file
19 |   case extensibleEncryptionNotSupported
20 |   case encryptedKeyNotSpecifiedForAgileEncryption
Foundation.String.Encoding:2:15: note: struct declared here
 1 | struct String {
 2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
   |               `- note: struct declared here
 3 |     public var rawValue: UInt
 4 |     public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/CryptoOfficeError.swift:18:44: warning: cannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'Foundation' was not imported by this file
16 |   case standardEncryptionNotSupported
17 |   case fileIsNotEncrypted(path: String)
18 |   case cantEncodePassword(encoding: String.Encoding)
   |                                            `- warning: cannot use struct 'Encoding' in an associated value of a public or '@usableFromInline' enum; 'Foundation' was not imported by this file
19 |   case extensibleEncryptionNotSupported
20 |   case encryptedKeyNotSpecifiedForAgileEncryption
Foundation.String.Encoding:2:15: note: struct declared here
 1 | struct String {
 2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
   |               `- note: struct declared here
 3 |     public var rawValue: UInt
 4 |     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: error: cannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'
 78 |
 79 |     let aes = try CryptoSwift.AES(
 80 |       key: decryptionKey,
    |            `- error: cannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'
 81 |       blockMode: CBC(iv: encryptedKey.saltValue.bytes),
 82 |       padding: .noPadding
/Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift:81:49: error: cannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'
 79 |     let aes = try CryptoSwift.AES(
 80 |       key: decryptionKey,
 81 |       blockMode: CBC(iv: encryptedKey.saltValue.bytes),
    |                                                 `- error: cannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'
 82 |       padding: .noPadding
 83 |     )
/Users/admin/builder/spi-builder-workspace/Sources/CryptoOffice/ECMA376Agile.swift:104:60: error: cannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'
102 |
103 |       let iv = (keyData.saltValue + segmentIndex.data).sha512()[0..<16].bytes
104 |       let aes = try AES(key: secretKey, blockMode: CBC(iv: iv), padding: .noPadding)
    |                                                            `- error: cannot convert value of type 'RawSpan' to expected argument type 'Array<UInt8>'
105 |
106 |       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