Build Information
Failed to build swift-hash, reference master (4d70a9
), with Swift 5.8 for macOS (SPM) on 2 Sep 2024 08:24:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-hash.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tayloraswift/swift-hash
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4d70a94 Merge pull request #18 from stackotter/master
Cloned https://github.com/tayloraswift/swift-hash.git
Revision (git rev-parse @):
4d70a941b7039358f2ec8565f6c3b53c05f6c6ef
SUCCESS checkout https://github.com/tayloraswift/swift-hash.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD
https://github.com/tayloraswift/swift-hash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Compiling _AtomicsShims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/12] Emitting module InlineBuffer
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:103:63: warning: unrecognized platform name 'visionOS'
@available(macOS 13.3, iOS 16.4, macCatalyst 16.4, tvOS 16.4, visionOS 1, watchOS 9.4, *)
^
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:161:66: warning: unrecognized platform name 'visionOS'
if #available(macOS 11, iOS 14, macCatalyst 14, tvOS 14, visionOS 1, watchOS 7, *)
^
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:202:46: warning: result of operator '-' is unused
case 0x30 ... 0x39: hex - 0x30
~~~ ^ ~~~~
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:203:46: warning: result of operator '-' is unused
case 0x61 ... 0x66: hex + 10 - 0x61
~~~~~~~~ ^ ~~~~
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:204:46: warning: result of operator '-' is unused
case 0x41 ... 0x46: hex + 10 - 0x41
~~~~~~~~ ^ ~~~~
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:205:37: error: 'nil' requires a contextual type
default: nil
^
[3/12] Compiling InlineBuffer InlineBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:103:63: warning: unrecognized platform name 'visionOS'
@available(macOS 13.3, iOS 16.4, macCatalyst 16.4, tvOS 16.4, visionOS 1, watchOS 9.4, *)
^
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:161:66: warning: unrecognized platform name 'visionOS'
if #available(macOS 11, iOS 14, macCatalyst 14, tvOS 14, visionOS 1, watchOS 7, *)
^
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:202:46: warning: result of operator '-' is unused
case 0x30 ... 0x39: hex - 0x30
~~~ ^ ~~~~
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:203:46: warning: result of operator '-' is unused
case 0x61 ... 0x66: hex + 10 - 0x61
~~~~~~~~ ^ ~~~~
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:204:46: warning: result of operator '-' is unused
case 0x41 ... 0x46: hex + 10 - 0x41
~~~~~~~~ ^ ~~~~
/Users/admin/builder/spi-builder-workspace/Sources/InlineBuffer/InlineBuffer.swift:205:37: error: 'nil' requires a contextual type
default: nil
^
[4/12] Compiling BaseDigits BaseDigits.swift
[5/12] Emitting module BaseDigits
[6/12] Emitting module MessageAuthentication
[7/12] Compiling MessageAuthentication MessageAuthenticationHash.swift
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/tayloraswift/swift-grammar
[1/669] Fetching swift-grammar
[8/2238] Fetching swift-grammar, swift-atomics
Fetched https://github.com/tayloraswift/swift-grammar (1.60s)
Fetched https://github.com/apple/swift-atomics.git (1.60s)
Computing version for https://github.com/tayloraswift/swift-grammar
Computed https://github.com/tayloraswift/swift-grammar at 0.4.0 (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.50s)
Creating working copy for https://github.com/tayloraswift/swift-grammar
Working copy of https://github.com/tayloraswift/swift-grammar resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
BUILD FAILURE 5.8 macosSpm