The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZipArchive with Swift 5.9 for Linux.

Build Command

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.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZipArchive/ZipArchive.git
Reference: 2.5.5
Cloned https://github.com/ZipArchive/ZipArchive.git into spi-builder-workspace
SUCCESS checkout https://github.com/ZipArchive/ZipArchive.git at 2.5.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
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
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
44ba2882f8eb: Already exists
24c21dfad1d1: Pulling fs layer
3d7e3f89b393: Pulling fs layer
772ccf0069c6: Pulling fs layer
49495959b864: Pulling fs layer
49495959b864: Waiting
772ccf0069c6: Verifying Checksum
772ccf0069c6: Download complete
24c21dfad1d1: Verifying Checksum
24c21dfad1d1: Download complete
49495959b864: Verifying Checksum
49495959b864: Download complete
3d7e3f89b393: Verifying Checksum
3d7e3f89b393: Download complete
24c21dfad1d1: Pull complete
3d7e3f89b393: Pull complete
772ccf0069c6: Pull complete
49495959b864: Pull complete
Digest: sha256:d76654306757ab3b516c8d1933349954266d5d709a697b206dccb70dac770896
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/18] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ZipArchive.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/18] Compiling ZipArchive resource_bundle_accessor.m
[1/18] Compiling mz_strm_os_posix.c
[1/18] Compiling mz_strm_pkcrypt.c
[1/18] Compiling mz_strm_split.c
[1/18] Compiling mz_strm_wzaes.c
[1/18] Compiling mz_zip_rw.c
[1/18] Compiling mz_zip.c
[1/18] Compiling mz_strm_zlib.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2