The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONDump with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/JSONDump.git
Reference: v1.0.4
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/JSONDump
 * tag               v1.0.4     -> FETCH_HEAD
HEAD is now at 0743e45 Merge pull request #3 from elegantchaos/ios-platform-fix
Cloned https://github.com/elegantchaos/JSONDump.git
Revision (git rev-parse @):
0743e45cc8c57550136df4cc0e1d1d332a9da494
SUCCESS checkout https://github.com/elegantchaos/JSONDump.git at v1.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/elegantchaos/JSONDump.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/4] Emitting module JSONDump
[4/4] Compiling JSONDump JSONDump.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JSONDump/JSONDump.swift:109:75: error: value of type 'NSRect' (aka 'CGRect') has no member 'width'
            return ["x": rect.origin.x, "y": rect.origin.y, "width": rect.width, "height": rect.height]
                                                                     ~~~~ ^~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JSONDump/JSONDump.swift:109:97: error: value of type 'NSRect' (aka 'CGRect') has no member 'height'
            return ["x": rect.origin.x, "y": rect.origin.y, "width": rect.width, "height": rect.height]
                                                                                           ~~~~ ^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Emitting module JSONDump
[3/3] Compiling JSONDump JSONDump.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JSONDump/JSONDump.swift:109:75: error: value of type 'NSRect' (aka 'CGRect') has no member 'width'
            return ["x": rect.origin.x, "y": rect.origin.y, "width": rect.width, "height": rect.height]
                                                                     ~~~~ ^~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JSONDump/JSONDump.swift:109:97: error: value of type 'NSRect' (aka 'CGRect') has no member 'height'
            return ["x": rect.origin.x, "y": rect.origin.y, "width": rect.width, "height": rect.height]
                                                                                           ~~~~ ^~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm