The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VideoHash, reference v0.4.0 (015818), with Swift 6.3 for macOS (SPM) on 31 Oct 2026 11:26:32 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fdenis75/VideoHash.git
Reference: v0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fdenis75/VideoHash
 * tag               v0.4.0     -> FETCH_HEAD
HEAD is now at 0158180 Merge pull request #2 from fdenis75/codex/hash-lifecycle
Cloned https://github.com/fdenis75/VideoHash.git
Revision (git rev-parse @):
015818010e8a8f630239433c675245238eacd4ca
SUCCESS checkout https://github.com/fdenis75/VideoHash.git at v0.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/fdenis75/VideoHash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[1/18] Write TestHash-entitlement.plist
[1/18] Write test-hash-entitlement.plist
[3/18] Write sources
[5/18] Write hash-benchmark-entitlement.plist
[5/18] Write sources
[8/18] Write swift-version-69A768CDF2A0BEE1.txt
[10/29] Compiling Logging Logger+Attributes.swift
[11/29] Compiling Logging LoggingSystem.swift
[12/29] Compiling Logging LogHandler.swift
[13/29] Compiling Logging Logger.swift
[14/30] Compiling Logging Logger+With.swift
[15/30] Compiling Logging LogEvent.swift
[16/30] Compiling Logging MultiplexLogHandler.swift
[17/30] Compiling Logging StreamLogHandler.swift
[18/30] Compiling Logging SwiftLogNoOpLogHandler.swift
[19/30] Emitting module Logging
[20/30] Compiling Logging Locks.swift
[21/30] Compiling Logging MetadataProvider.swift
[22/55] Emitting module VideoHash
[23/57] Compiling VideoHash HashBatchPlanner.swift
[24/57] Compiling VideoHash HashConfiguration.swift
[25/57] Compiling VideoHash HashError.swift
[26/57] Compiling VideoHash FFmpegProcessResult.swift
[27/57] Compiling VideoHash FFmpegProcessRunner.swift
[28/57] Compiling VideoHash FrameCollection.swift
[29/57] Compiling VideoHash FFmpegDurationScanner.swift
[30/57] Compiling VideoHash FFmpegExtractionPolicy.swift
[31/57] Compiling VideoHash FFmpegPathResolver.swift
[32/57] Compiling VideoHash HashResult.swift
[33/57] Compiling VideoHash OSHashGenerator.swift
[34/57] Compiling VideoHash AVFrameGenerator.swift
[35/57] Compiling VideoHash Logger.swift
[36/57] Compiling VideoHash VideoHash.swift
[37/57] Compiling VideoHash BMPDecoder.swift
[38/57] Compiling VideoHash DCTProcessor.swift
[39/57] Compiling VideoHash FFmpegDiagnostics.swift
[40/57] Compiling VideoHash PHashGenerator.swift
[41/57] Compiling VideoHash ProcessExecution.swift
[42/57] Compiling VideoHash SpriteComposer.swift
[43/57] Compiling VideoHash SlowPathScheduling.swift
[44/57] Compiling VideoHash RGBImage.swift
[45/57] Compiling VideoHash SpriteAccumulator.swift
[46/57] Compiling VideoHash FrameExtractor.swift
[47/57] Compiling VideoHash HashComputer.swift
[48/57] Compiling VideoHash ImageProcessor.swift
[49/65] Compiling TestHash main.swift
[50/65] Emitting module TestHash
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/65] Compiling hash_benchmark Measurement.swift
[52/65] Emitting module hash_benchmark
/Users/admin/builder/spi-builder-workspace/Sources/hash-benchmark/main.swift:5:1: error: 'main' attribute cannot be used in a module that contains top-level code
 1 | import Foundation
   | |- note: top-level code defined in this source file
   | `- note: pass '-parse-as-library' to compiler invocation if this is intentional
 2 | import Synchronization
 3 | import VideoHash
 4 |
 5 | @main
   | `- error: 'main' attribute cannot be used in a module that contains top-level code
 6 | struct HashBenchmark {
 7 |     static func seconds(since start: ContinuousClock.Instant) -> Double {
[53/65] Compiling hash_benchmark Report.swift
[54/65] Compiling hash_benchmark main.swift
/Users/admin/builder/spi-builder-workspace/Sources/hash-benchmark/main.swift:5:1: error: 'main' attribute cannot be used in a module that contains top-level code
 1 | import Foundation
   | |- note: top-level code defined in this source file
   | `- note: pass '-parse-as-library' to compiler invocation if this is intentional
 2 | import Synchronization
 3 | import VideoHash
 4 |
 5 | @main
   | `- error: 'main' attribute cannot be used in a module that contains top-level code
 6 | struct HashBenchmark {
 7 |     static func seconds(since start: ContinuousClock.Instant) -> Double {
[54/65] Write Objects.LinkFileList
[55/65] Linking TestHash
[56/65] Emitting module test_hash
Fetching https://github.com/apple/swift-log.git
[1/8386] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (3.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (4.05s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
BUILD FAILURE 6.3 macosSpm