The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DeckOfPlayingCards with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/example-package-deckofplayingcards.git
Reference: 3.0.4
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/apple/example-package-deckofplayingcards
 * tag               3.0.4      -> FETCH_HEAD
HEAD is now at 2c0e5ac Update to Swift 4
Cloned https://github.com/apple/example-package-deckofplayingcards.git into spi-builder-workspace
2c0e5ac3e10216151fc78ac1ec6bd9c2c0111a3a
SUCCESS checkout https://github.com/apple/example-package-deckofplayingcards.git at 3.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
error: Package.resolved file is corrupted or malformed; fix or delete the file to continue: keyNotFound(CodingKeys(stringValue: "pins", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"pins\", intValue: nil) (\"pins\").", underlyingError: nil))
Retrying in 0 seconds ...
Building ... (attempt 2)
error: Package.resolved file is corrupted or malformed; fix or delete the file to continue: keyNotFound(CodingKeys(stringValue: "pins", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"pins\", intValue: nil) (\"pins\").", underlyingError: nil))
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm

Build Machine: Mac 5