The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KrakenKit 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/krakencl/krakenkit.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/krakencl/krakenkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cba32fe Add HOW TO repository notice.
Cloned https://github.com/krakencl/krakenkit.git
Revision (git rev-parse @):
cba32fe482765679b891ec6491e74f4e82574ec2
SUCCESS checkout https://github.com/krakencl/krakenkit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/krakencl/krakenkit.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
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/KrakenCL/LibPNG.git
[1/57] Fetching libpng
[58/33784] Fetching libpng, swift-protobuf
Fetched https://github.com/KrakenCL/LibPNG.git from cache (4.09s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.16s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (0.38s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.3.1 (0.40s)
Creating working copy for https://github.com/KrakenCL/LibPNG.git
Working copy of https://github.com/KrakenCL/LibPNG.git resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.3.1
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version-24593BA9C3E375BF.txt
[6/84] Emitting module SwiftProtobuf
[7/93] Compiling SwiftProtobuf TextFormatScanner.swift
[8/93] Compiling SwiftProtobuf TimeUtils.swift
[9/93] Compiling SwiftProtobuf UnknownStorage.swift
[10/93] Compiling SwiftProtobuf Varint.swift
[11/93] Compiling SwiftProtobuf Version.swift
[12/93] Compiling SwiftProtobuf Visitor.swift
[13/93] Compiling SwiftProtobuf WireFormat.swift
[14/93] Compiling SwiftProtobuf ZigZag.swift
[15/93] Compiling SwiftProtobuf any.pb.swift
[16/93] Compiling SwiftProtobuf Internal.swift
[17/93] Compiling SwiftProtobuf JSONDecoder.swift
[18/93] Compiling SwiftProtobuf JSONDecodingError.swift
[19/93] Compiling SwiftProtobuf JSONDecodingOptions.swift
[20/93] Compiling SwiftProtobuf JSONEncoder.swift
[21/93] Compiling SwiftProtobuf JSONEncodingError.swift
[22/93] Compiling SwiftProtobuf JSONEncodingOptions.swift
[23/93] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[24/93] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[25/93] Compiling SwiftProtobuf JSONScanner.swift
[26/93] Compiling SwiftProtobuf MathUtils.swift
[27/93] Compiling SwiftProtobuf Message+AnyAdditions.swift
[28/93] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[29/93] Compiling SwiftProtobuf Message+JSONAdditions.swift
[30/93] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[31/93] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[32/93] Compiling SwiftProtobuf Message.swift
[33/93] Compiling SwiftProtobuf MessageExtension.swift
[34/93] Compiling SwiftProtobuf NameMap.swift
[35/93] Compiling SwiftProtobuf ProtoNameProviding.swift
[36/93] Compiling SwiftProtobuf api.pb.swift
[37/93] Compiling SwiftProtobuf duration.pb.swift
[38/93] Compiling SwiftProtobuf empty.pb.swift
[39/93] Compiling SwiftProtobuf field_mask.pb.swift
[40/93] Compiling SwiftProtobuf source_context.pb.swift
[41/93] Compiling SwiftProtobuf struct.pb.swift
[42/93] Compiling SwiftProtobuf timestamp.pb.swift
[43/93] Compiling SwiftProtobuf type.pb.swift
[44/93] Compiling SwiftProtobuf wrappers.pb.swift
[45/93] Compiling SwiftProtobuf CustomJSONCodable.swift
[46/93] Compiling SwiftProtobuf Decoder.swift
[47/93] Compiling SwiftProtobuf DoubleFormatter.swift
[48/93] Compiling SwiftProtobuf Enum.swift
[49/93] Compiling SwiftProtobuf ExtensibleMessage.swift
[50/93] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[51/93] Compiling SwiftProtobuf ExtensionFields.swift
[52/93] Compiling SwiftProtobuf ExtensionMap.swift
[53/93] Compiling SwiftProtobuf FieldTag.swift
[54/93] Compiling SwiftProtobuf FieldTypes.swift
[55/93] Compiling SwiftProtobuf AnyMessageStorage.swift
[56/93] Compiling SwiftProtobuf AnyUnpackError.swift
[57/93] Compiling SwiftProtobuf BinaryDecoder.swift
[58/93] Compiling SwiftProtobuf BinaryDecodingError.swift
[59/93] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[60/93] Compiling SwiftProtobuf BinaryDelimited.swift
[61/93] Compiling SwiftProtobuf BinaryEncoder.swift
[62/93] Compiling SwiftProtobuf BinaryEncodingError.swift
[63/93] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[64/93] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[65/93] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[66/93] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[67/93] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[68/93] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[69/93] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[70/93] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[71/93] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[72/93] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[73/93] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[74/93] Compiling SwiftProtobuf HashVisitor.swift
[75/93] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[76/93] Compiling SwiftProtobuf ProtobufMap.swift
[77/93] Compiling SwiftProtobuf SelectiveVisitor.swift
[78/93] Compiling SwiftProtobuf SimpleExtensionMap.swift
[79/93] Compiling SwiftProtobuf StringUtils.swift
[80/93] Compiling SwiftProtobuf TextFormatDecoder.swift
[81/93] Compiling SwiftProtobuf TextFormatDecodingError.swift
[82/93] Compiling SwiftProtobuf TextFormatEncoder.swift
[83/93] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/93] Emitting module LibPNG
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
  header "/usr/local/include/png.h"
         ^
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
import CPNG
       ^
[85/93] Compiling LibPNG LibPNG.swift
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
  header "/usr/local/include/png.h"
         ^
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
import CPNG
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/12] Emitting module LibPNG
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
  header "/usr/local/include/png.h"
         ^
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
import CPNG
       ^
[3/12] Compiling LibPNG LibPNG.swift
/host/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
  header "/usr/local/include/png.h"
         ^
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
import CPNG
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1