The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZippyJSON with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaeleisel/ZippyJSON.git
Reference: master
Cloned https://github.com/michaeleisel/ZippyJSON.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/michaeleisel/ZippyJSON.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:20:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
        .package(url: "https://github.com/michaeleisel/ZippyJSONCFamily", .exact("1.2.9")),
         ^
/host/spi-builder-workspace/Package.swift:20:76: warning: 'exact' is deprecated
        .package(url: "https://github.com/michaeleisel/ZippyJSONCFamily", .exact("1.2.9")),
                                                                           ^
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:20:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
        .package(url: "https://github.com/michaeleisel/ZippyJSONCFamily", .exact("1.2.9")),
         ^
/host/spi-builder-workspace/Package.swift:20:76: warning: 'exact' is deprecated
        .package(url: "https://github.com/michaeleisel/ZippyJSONCFamily", .exact("1.2.9")),
                                                                           ^
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter
Fetching https://github.com/michaeleisel/ZippyJSONCFamily
[1/821] Fetching jjliso8601dateformatter
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter (0.32s)
[1/613] Fetching zippyjsoncfamily
Fetched https://github.com/michaeleisel/ZippyJSONCFamily (0.70s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.9 (0.44s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.1.6 (0.53s)
Creating working copy for https://github.com/michaeleisel/ZippyJSONCFamily
Working copy of https://github.com/michaeleisel/ZippyJSONCFamily resolved at 1.2.9
Creating working copy for https://github.com/michaeleisel/JJLISO8601DateFormatter
Working copy of https://github.com/michaeleisel/JJLISO8601DateFormatter resolved at 0.1.6
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Models/json_to_swift.rb
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Info.plist
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Models/instruments.json
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLISO8601DateFormatter.m:3:
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/include/JJLISO8601DateFormatter.h:3:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/4] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
[0/4] Compiling localtime.c
[0/4] Compiling ZippyJSONCFamily JSONSerialization.mm
/host/spi-builder-workspace/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLInternal.c:7:9: fatal error: 'CoreFoundation/CFDateFormatter.h' file not found
#import <CoreFoundation/CFDateFormatter.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/4] Compiling JJLISO8601DateFormatter JJLInternal.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2