The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZippyJSON with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaeleisel/ZippyJSON.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/michaeleisel/ZippyJSON
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d25ffa8 test: fixes to allow test launch from SPM (#60)
Cloned https://github.com/michaeleisel/ZippyJSON.git
Revision (git rev-parse @):
d25ffa8b0824c9f4a9d6704faa6e2c1434a28175
SUCCESS checkout https://github.com/michaeleisel/ZippyJSON.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/michaeleisel/ZippyJSON.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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")),
                                                                           ^
Fetching https://github.com/michaeleisel/ZippyJSONCFamily
Fetching https://github.com/michaeleisel/JJLISO8601DateFormatter
[1/849] Fetching jjliso8601dateformatter
[850/1462] Fetching jjliso8601dateformatter, zippyjsoncfamily
Fetched https://github.com/michaeleisel/JJLISO8601DateFormatter from cache (0.70s)
[74/613] Fetching zippyjsoncfamily
Fetched https://github.com/michaeleisel/ZippyJSONCFamily from cache (0.96s)
Computing version for https://github.com/michaeleisel/ZippyJSONCFamily
Computed https://github.com/michaeleisel/ZippyJSONCFamily at 1.2.9 (0.41s)
Computing version for https://github.com/michaeleisel/JJLISO8601DateFormatter
Computed https://github.com/michaeleisel/JJLISO8601DateFormatter at 0.1.6 (0.41s)
Creating working copy for https://github.com/michaeleisel/JJLISO8601DateFormatter
Working copy of https://github.com/michaeleisel/JJLISO8601DateFormatter resolved at 0.1.6
Creating working copy for https://github.com/michaeleisel/ZippyJSONCFamily
Working copy of https://github.com/michaeleisel/ZippyJSONCFamily resolved at 1.2.9
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/instruments.json
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Info.plist
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Models/json_to_swift.rb
Building for debugging...
[0/6] Write sources
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.
[1/6] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
[1/6] Compiling localtime.c
[1/6] Compiling JJLISO8601DateFormatter JJLInternal.c
[1/6] Compiling ZippyJSONCFamily JSONSerialization.mm
[1/6] Write swift-version-24593BA9C3E375BF.txt
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': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Info.plist
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Models/json_to_swift.rb
    /host/spi-builder-workspace/Tests/ZippyJSONTests/Models/instruments.json
[0/1] Planning build
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/5] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.m
[0/5] Compiling localtime.c
[0/5] Compiling JJLISO8601DateFormatter JJLInternal.c
[0/5] Compiling ZippyJSONCFamily JSONSerialization.mm
[0/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1