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: 0.0.1
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
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 9b3d1fb New toolchain released.
Cloned https://github.com/krakencl/krakenkit.git
Revision (git rev-parse @):
9b3d1fbaf39aaa0f53d1b814f3a2811263e77ab3
SUCCESS checkout https://github.com/krakencl/krakenkit.git at 0.0.1
========================================
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.26s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.31s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (0.37s)
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/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.3.1
Creating working copy for https://github.com/KrakenCL/LibPNG.git
Working copy of https://github.com/KrakenCL/LibPNG.git resolved at 0.0.3
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version-24593BA9C3E375BF.txt
[6/84] Emitting module SwiftProtobuf
[7/93] Compiling SwiftProtobuf MathUtils.swift
[8/93] Compiling SwiftProtobuf Message+AnyAdditions.swift
[9/93] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[10/93] Compiling SwiftProtobuf Message+JSONAdditions.swift
[11/93] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[12/93] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[13/93] Compiling SwiftProtobuf Message.swift
[14/93] Compiling SwiftProtobuf MessageExtension.swift
[15/93] Compiling SwiftProtobuf NameMap.swift
[16/93] Compiling SwiftProtobuf ProtoNameProviding.swift
[17/93] Compiling SwiftProtobuf TextFormatScanner.swift
[18/93] Compiling SwiftProtobuf TimeUtils.swift
[19/93] Compiling SwiftProtobuf UnknownStorage.swift
[20/93] Compiling SwiftProtobuf Varint.swift
[21/93] Compiling SwiftProtobuf Version.swift
[22/93] Compiling SwiftProtobuf Visitor.swift
[23/93] Compiling SwiftProtobuf WireFormat.swift
[24/93] Compiling SwiftProtobuf ZigZag.swift
[25/93] Compiling SwiftProtobuf any.pb.swift
[26/93] Compiling SwiftProtobuf CustomJSONCodable.swift
[27/93] Compiling SwiftProtobuf Decoder.swift
[28/93] Compiling SwiftProtobuf DoubleFormatter.swift
[29/93] Compiling SwiftProtobuf Enum.swift
[30/93] Compiling SwiftProtobuf ExtensibleMessage.swift
[31/93] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[32/93] Compiling SwiftProtobuf ExtensionFields.swift
[33/93] Compiling SwiftProtobuf ExtensionMap.swift
[34/93] Compiling SwiftProtobuf FieldTag.swift
[35/93] Compiling SwiftProtobuf FieldTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/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
       ^
[37/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
       ^
[38/93] Compiling SwiftProtobuf Internal.swift
[39/93] Compiling SwiftProtobuf JSONDecoder.swift
[40/93] Compiling SwiftProtobuf JSONDecodingError.swift
[41/93] Compiling SwiftProtobuf JSONDecodingOptions.swift
[42/93] Compiling SwiftProtobuf JSONEncoder.swift
[43/93] Compiling SwiftProtobuf JSONEncodingError.swift
[44/93] Compiling SwiftProtobuf JSONEncodingOptions.swift
[45/93] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[46/93] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[47/93] Compiling SwiftProtobuf JSONScanner.swift
[48/93] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[49/93] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[50/93] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[51/93] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[52/93] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[53/93] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[54/93] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[55/93] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[56/93] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[57/93] Compiling SwiftProtobuf HashVisitor.swift
[58/93] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[59/93] Compiling SwiftProtobuf ProtobufMap.swift
[60/93] Compiling SwiftProtobuf SelectiveVisitor.swift
[61/93] Compiling SwiftProtobuf SimpleExtensionMap.swift
[62/93] Compiling SwiftProtobuf StringUtils.swift
[63/93] Compiling SwiftProtobuf TextFormatDecoder.swift
[64/93] Compiling SwiftProtobuf TextFormatDecodingError.swift
[65/93] Compiling SwiftProtobuf TextFormatEncoder.swift
[66/93] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/29] Compiling SwiftProtobuf duration.pb.swift
[3/29] Compiling SwiftProtobuf empty.pb.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/31] 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
       ^
[5/31] 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