Build Information
Failed to build KrakenKit with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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: 6.0
Building package at path: $workDir
https://github.com/krakencl/krakenkit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/KrakenCL/LibPNG.git
Fetching https://github.com/apple/swift-protobuf.git
[1/57] Fetching libpng
[58/36239] Fetching libpng, swift-protobuf
Fetched https://github.com/KrakenCL/LibPNG.git from cache (5.80s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.87s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (1.52s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.3.1 (0.56s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/84] 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
1 | module CPNG [system] {
2 | header "/usr/local/include/png.h"
| `- error: header '/usr/local/include/png.h' not found
3 | link "png"
4 | export *
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
17 |
18 | import Foundation
19 | import CPNG
| `- error: could not build C module 'CPNG'
20 |
21 | public typealias Pixel = UInt8
[7/84] 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
1 | module CPNG [system] {
2 | header "/usr/local/include/png.h"
| `- error: header '/usr/local/include/png.h' not found
3 | link "png"
4 | export *
/host/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build C module 'CPNG'
17 |
18 | import Foundation
19 | import CPNG
| `- error: could not build C module 'CPNG'
20 |
21 | public typealias Pixel = UInt8
[8/84] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[9/84] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[10/84] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[11/84] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[12/84] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[13/84] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[14/84] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[15/84] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[16/84] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[17/84] Compiling SwiftProtobuf HashVisitor.swift
[18/84] Compiling SwiftProtobuf MathUtils.swift
[19/84] Compiling SwiftProtobuf Message+AnyAdditions.swift
[20/84] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[21/84] Compiling SwiftProtobuf Message+JSONAdditions.swift
[22/84] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[23/84] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[24/84] Compiling SwiftProtobuf Message.swift
[25/84] Compiling SwiftProtobuf MessageExtension.swift
[26/84] Compiling SwiftProtobuf NameMap.swift
[27/84] Compiling SwiftProtobuf ProtoNameProviding.swift
BUILD FAILURE 6.0 linux