The Swift Package Index logo.Swift Package Index

Build Information

Failed to build querykit with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/querykit/querykit-cli.git
Reference: master
Cloned https://github.com/querykit/querykit-cli.git into spi-builder-workspace
SUCCESS checkout https://github.com/querykit/querykit-cli.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/stencilproject/Stencil.git
[1/1405] Fetching pathkit
[999/2426] Fetching pathkit, spectre
[2427/7546] Fetching pathkit, spectre, stencil
[3786/6141] Fetching spectre, stencil
Fetching https://github.com/kylef/Commander.git
Fetched https://github.com/kylef/PathKit.git (0.27s)
Fetched https://github.com/kylef/Spectre.git (0.38s)
Fetched https://github.com/stencilproject/Stencil.git (0.38s)
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git (0.23s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.30s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.13.1 (1.12s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.30s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.33s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Building for debugging...
[1/16] Emitting module Commander
[2/16] Compiling Commander ArgumentConvertible.swift
[3/16] Compiling Commander ArgumentDescription.swift
[4/17] Compiling Commander ArgumentParser.swift
[5/17] Compiling Commander Group.swift
[6/17] Compiling Commander Error.swift
[7/17] Compiling PathKit PathKit.swift
[8/17] Emitting module PathKit
[10/19] Wrapping AST for PathKit for debugging
[12/38] Emitting module Stencil
[13/40] Compiling Stencil Context.swift
[14/40] Compiling Stencil Environment.swift
[15/40] Compiling Stencil Errors.swift
[16/40] Compiling Stencil Parser.swift
[17/40] Compiling Stencil Template.swift
[18/40] Compiling Stencil Include.swift
[19/40] Compiling Stencil Inheritence.swift
[20/40] Compiling Stencil KeyPath.swift
[21/40] Compiling Stencil Expression.swift
[22/40] Compiling Stencil Extension.swift
[23/40] Compiling Stencil FilterTag.swift
[24/40] Compiling Commander CommandType.swift
[25/40] Compiling Commander Command.swift
[26/40] Compiling Commander CommandRunner.swift
[27/40] Compiling Commander Commands.swift
[29/42] Wrapping AST for Commander for debugging
[31/42] Compiling Stencil Node.swift
[32/42] Compiling Stencil NowTag.swift
[33/42] Compiling Stencil Lexer.swift
[34/42] Compiling Stencil Loader.swift
[35/42] Compiling Stencil Filters.swift
[36/42] Compiling Stencil ForTag.swift
[37/42] Compiling Stencil IfTag.swift
[38/42] Compiling Stencil Tokenizer.swift
[39/42] Compiling Stencil Variable.swift
[41/44] Wrapping AST for Stencil for debugging
[43/47] Compiling querykit_cli main.swift
/host/spi-builder-workspace/Sources/querykit-cli/main.swift:1:8: error: no such module 'Darwin.libc'
import Darwin.libc
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/47] Emitting module querykit_cli
/host/spi-builder-workspace/Sources/querykit-cli/main.swift:1:8: error: no such module 'Darwin.libc'
import Darwin.libc
       ^
[45/47] Compiling querykit_cli QueryKit.swift
/host/spi-builder-workspace/Sources/querykit-cli/main.swift:1:8: error: no such module 'Darwin.libc'
import Darwin.libc
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2