The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FlipBook, reference master (bd9f29), with Swift 6.4 for macOS (SPM) on 15 Sep 2026 18:43:16 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/bgayman/FlipBook.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bgayman/FlipBook
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bd9f29c Add unit tests
Cloned https://github.com/bgayman/FlipBook.git
Revision (git rev-parse @):
bd9f29cf91e6ecd82e863d132af0435fee6098a4
SUCCESS checkout https://github.com/bgayman/FlipBook.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/bgayman/FlipBook.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] FlipBook
[30 / 119]
[34 / 119]
[42 / 119]
[44 / 119]
[45 / 119]
[50 / 119]
[52 / 119]
[54 / 119]
[58 / 119]
[63 / 119]
[66 / 119]
[68 / 119]
[69 / 119]
[81 / 119]
[86 / 119]
[87 / 119]
[92 / 119]
[97 / 119]
[98 / 119]
[99 / 119]
[110 / 119] FlipBook
[111 / 119] FlipBook
[116 / 119] FlipBook
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookGIFWriter.swift:77:102: warning: 'kUTTypeGIF' was deprecated in macOS 12.0: Use UTTypeGIF or UTType.gif (swift) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 75 |                     kCGImagePropertyGIFDictionary as String: [kCGImagePropertyGIFDelayTime as String: delay]
 76 |                 ]
 77 |                 guard let destination = CGImageDestinationCreateWithURL(self.fileOutputURL as CFURL, kUTTypeGIF, count, nil) else {
    |                                                                                                      `- warning: 'kUTTypeGIF' was deprecated in macOS 12.0: Use UTTypeGIF or UTType.gif (swift) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 78 |                     completion(.failure(FlipBookGIFWriterError.couldNotCreateDestination))
 79 |                     return
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookLivePhotoWriter.swift:392:29: warning: 'UTTypeCopyPreferredTagWithClass' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
390 |     ///   - resourceData: The data that the resource is composed of
391 |     internal func save(_ resource: PHAssetResource, to directory: URL, resourceData: Data) throws -> URL? {
392 |         let fileExtension = UTTypeCopyPreferredTagWithClass(resource.uniformTypeIdentifier as CFString,
    |                             `- warning: 'UTTypeCopyPreferredTagWithClass' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
393 |                                                             kUTTagClassFilenameExtension)?.takeRetainedValue()
394 |
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookLivePhotoWriter.swift:393:61: warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
391 |     internal func save(_ resource: PHAssetResource, to directory: URL, resourceData: Data) throws -> URL? {
392 |         let fileExtension = UTTypeCopyPreferredTagWithClass(resource.uniformTypeIdentifier as CFString,
393 |                                                             kUTTagClassFilenameExtension)?.takeRetainedValue()
    |                                                             `- warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
394 |
395 |         guard let ext = fileExtension else {
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookLivePhotoWriter.swift:412:95: warning: 'kUTTypeJPEG' was deprecated in macOS 12.0: Use UTTypeJPEG or UTType.jpeg (swift) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
410 |     ///   - saveTo: The `URL` where the image should be written to
411 |     internal func add(_ assetIdentifier: String, toImage imageURL: URL, saveTo destinationURL: URL) -> URL? {
412 |         guard let imageDestination = CGImageDestinationCreateWithURL(destinationURL as CFURL, kUTTypeJPEG, 1, nil),
    |                                                                                               `- warning: 'kUTTypeJPEG' was deprecated in macOS 12.0: Use UTTypeJPEG or UTType.jpeg (swift) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
413 |               let imageSource = CGImageSourceCreateWithURL(imageURL as CFURL, nil),
414 |               var imageProperties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, nil) as? [AnyHashable: Any] else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookAssetWriter.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile FlipBookAssetWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookAssetWriter.swift:417:54: warning: enum case 'success' has one associated value that is a tuple of 2 elements
415 |                                     // Handle Live Photo result
416 |                                     switch result {
417 |                                     case let .success(livePhoto, resources):
    |                                                      `- warning: enum case 'success' has one associated value that is a tuple of 2 elements
418 |                                         completion(.success(.livePhoto(livePhoto, resources)))
419 |                                     case .failure(let error):
<unknown>:0: note: 'success' declared here
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookAssetWriter.swift:436:46: warning: enum case 'success' has one associated value that is a tuple of 2 elements
434 |                             // Handle Live Photo result
435 |                             switch result {
436 |                             case let .success(livePhoto, resources):
    |                                              `- warning: enum case 'success' has one associated value that is a tuple of 2 elements
437 |                                 completion(.success(.livePhoto(livePhoto, resources)))
438 |                             case .failure(let error):
<unknown>:0: note: 'success' declared here
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookAssetWriter.swift:483:60: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
478 |
479 |                                 // Get the frames
480 |                                 DispatchQueue.global().async {
    |                                                              |- note: 'self' implicitly strongly captured here
    |                                                              `- note: add 'self' as a capture list item to silence
481 |                                     self.makeFrames(from: url, progress: { (prog) in
482 |                                         progress?(0.50 + prog * 0.25)
483 |                                     }, completion: { [weak self] images in
    |                                                            |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                            `- note: explicitly assign the capture list item to silence
484 |                                         guard images.isEmpty == false,
485 |                                               let self = self,
/Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookAssetWriter.swift:692:9: error: cannot find 'rpScreenWriter' in scope
690 |     /// - Parameter completion: Closure called when writing is finished
691 |     internal func endLiveCaptureAndWrite(completion: @escaping (Result<URL, Error>) -> Void) {
692 |         rpScreenWriter.finishWriting { (url, error) in
    |         `- error: cannot find 'rpScreenWriter' in scope
693 |             if let url = url {
694 |                 completion(.success(url))
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
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/FlipBook/FlipBook.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookAssetWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookCoreAnimationVideoEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookGIFWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/FlipBookLivePhotoWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/Image.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/RPScreenWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/Rect.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/Screen.swift /Users/admin/builder/spi-builder-workspace/Sources/FlipBook/View.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBookAssetWriter.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBookAssetWriter.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBookAssetWriter.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBookAssetWriter.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import Photos /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Photos.framework/Modules/Photos.swiftcrossimport/AppIntents.swiftoverlay -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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBook-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 -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 -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/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FlipBook -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBook_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/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBookAssetWriter.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBook.swiftmodule -index-unit-output-path /FlipBook.build/Debug/FlipBook-t.build/Objects-normal/arm64/FlipBookAssetWriter.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm