Build Information
Failed to build ApacheExpress3 with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apacheexpress/apacheexpress3.git
Reference: develop
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/apacheexpress/apacheexpress3
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 0264914 Add a GHActions workflow
Cloned https://github.com/apacheexpress/apacheexpress3.git
Revision (git rev-parse @):
0264914da29f7d82674b71750cacf7d601699e02
SUCCESS checkout https://github.com/apacheexpress/apacheexpress3.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/modswift/ExExpress.git
Fetching https://github.com/modswift/CApache.git
[1/1133] Fetching exexpress
[1134/1182] Fetching exexpress, capache
Fetched https://github.com/modswift/CApache.git (0.56s)
Fetched https://github.com/modswift/ExExpress.git (0.56s)
Computing version for https://github.com/modswift/CApache.git
Computed https://github.com/modswift/CApache.git at 2.0.2 (0.36s)
Computing version for https://github.com/modswift/ExExpress.git
Computed https://github.com/modswift/ExExpress.git at 0.7.2 (0.39s)
Fetching https://github.com/modswift/Freddy.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/2937] Fetching freddy
[677/3481] Fetching freddy, mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git (0.34s)
Fetched https://github.com/modswift/Freddy.git (0.35s)
Computing version for https://github.com/modswift/Freddy.git
Computed https://github.com/modswift/Freddy.git at 3.0.58 (0.30s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.39s)
Creating working copy for https://github.com/modswift/Freddy.git
Working copy of https://github.com/modswift/Freddy.git resolved at 3.0.58
Creating working copy for https://github.com/modswift/CApache.git
Working copy of https://github.com/modswift/CApache.git resolved at 2.0.2
Creating working copy for https://github.com/modswift/ExExpress.git
Working copy of https://github.com/modswift/ExExpress.git resolved at 0.7.2
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.1
warning: you may be able to install mod_swift using your system-packager:
apt-get install apache2-dev
Building for debugging...
[1/18] Compiling mustache MustacheNode.swift
[2/18] Compiling mustache MustacheRenderingContext.swift
[3/18] Compiling Freddy JSON.swift
[4/18] Compiling Freddy JSONDecodable.swift
[5/19] Compiling Freddy JSONEncodable.swift
[6/19] Compiling Freddy JSONEncodingDetector.swift
[7/19] Compiling Freddy JSONLiteralConvertible.swift
[8/19] Emitting module mustache
[9/19] Compiling mustache HTMLEscape.swift
[10/19] Compiling Freddy JSONOptional.swift
[11/19] Compiling mustache Helpers.swift
[12/19] Emitting module Freddy
[13/19] Compiling Freddy JSONSerializing.swift
[14/19] Compiling mustache SimpleKVC.swift
[15/19] Compiling mustache Mustacheable.swift
[16/19] Compiling Freddy JSONParsing.swift
[17/19] Compiling mustache MustacheParser.swift
[20/21] Compiling Freddy JSONParser.swift
[21/21] Compiling Freddy JSONSubscripting.swift
[24/68] Emitting module ExExpress
[25/74] Compiling ExExpress ExpressIncomingMessage.swift
[26/74] Compiling ExExpress ExpressJSON.swift
[27/74] Compiling ExExpress ExpressMustache.swift
[28/74] Compiling ExExpress ExpressServerResponse.swift
[29/74] Compiling ExExpress MiddlewareObject.swift
[30/74] Compiling ExExpress Render.swift
[31/74] Compiling ExExpress BodyParser.swift
[32/74] Compiling ExExpress CORS.swift
[33/74] Compiling ExExpress Connect.swift
[34/74] Compiling ExExpress CookieParser.swift
[35/74] Compiling ExExpress Logger.swift
[36/74] Compiling ExExpress MethodOverride.swift
[37/74] Compiling ExExpress Pause.swift
[38/74] Compiling ExExpress GWritableStreamType.swift
[39/74] Compiling ExExpress WritableByteStreamType.swift
[40/74] Compiling ExExpress WritableStreams.swift
[41/74] Compiling ExExpress time.swift
[42/74] Compiling ExExpress timespec.swift
[43/74] Compiling ExExpress timeval_any.swift
[44/74] Compiling ExExpress Stringify.swift
[45/74] Compiling ExExpress json_module.swift
[46/74] Compiling ExExpress leftpad_module.swift
[47/74] Compiling ExExpress mime_module.swift
[48/74] Compiling ExExpress process_module.swift
[49/74] Compiling ExExpress FileOutputStream.swift
[50/74] Compiling ExExpress fs_module.swift
[51/74] Compiling ExExpress Cookies.swift
[52/74] Compiling ExExpress HttpMessageBaseType.swift
[53/74] Compiling ExExpress HttpMisc.swift
[54/74] Compiling ExExpress IncomingMessage.swift
[55/74] Compiling ExExpress QueryString.swift
[56/74] Compiling ExExpress Route.swift
[57/74] Compiling ExExpress RouteKeeper.swift
[58/74] Compiling ExExpress RoutePattern.swift
[59/74] Compiling ExExpress Router.swift
[60/74] Compiling ExExpress Settings.swift
[61/74] Compiling ExExpress express_module.swift
[62/74] Compiling ExExpress ServerResponse.swift
[63/74] Compiling ExExpress TestSupport.swift
[64/74] Compiling ExExpress URL.swift
[65/74] Compiling ExExpress http_module.swift
[66/74] Compiling ExExpress JSONWritableStream.swift
[67/74] Compiling ExExpress JsonFile.swift
[68/74] Compiling ExExpress QS.swift
[69/74] Compiling ExExpress Session.swift
[70/74] Compiling ExExpress TypeIs.swift
[71/74] Compiling ExExpress connect_module.swift
[72/74] Compiling ExExpress Console.swift
[73/74] Compiling ExExpress console_module.swift
[74/74] Compiling ExExpress Express.swift
[77/85] Compiling ApacheExpress3 ApacheServer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[78/85] Compiling ApacheExpress3 ApacheMessageBase.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[79/86] Compiling ApacheExpress3 ApacheReloadMiddleware.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[80/86] Compiling ApacheExpress3 ReExport.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[81/86] Compiling ApacheExpress3 ApacheExpressHandler.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[82/86] Compiling ApacheExpress3 ApacheIncomingMessage.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/86] Emitting module ApacheExpress3
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[84/86] Compiling ApacheExpress3 ApacheConsole.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[85/86] Compiling ApacheExpress3 ApacheExpress3.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[86/86] Compiling ApacheExpress3 ApacheServerResponse.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
warning: you may be able to install mod_swift using your system-packager:
apt-get install apache2-dev
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1700469076, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1700469076, nanoseconds: 576753000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ApacheExpress3.build/master.priors'
[1/9] Compiling ApacheExpress3 ReExport.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[2/10] Compiling ApacheExpress3 ApacheReloadMiddleware.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[3/10] Compiling ApacheExpress3 ApacheIncomingMessage.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[4/10] Compiling ApacheExpress3 ApacheServer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[5/10] Compiling ApacheExpress3 ApacheMessageBase.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[6/10] Compiling ApacheExpress3 ApacheExpressHandler.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[7/10] Compiling ApacheExpress3 ApacheConsole.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[8/10] Compiling ApacheExpress3 ApacheExpress3.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module ApacheExpress3
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
[10/10] Compiling ApacheExpress3 ApacheServerResponse.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CApache2Shim.h"
^
/host/spi-builder-workspace/.build/checkouts/CApache/Sources/CApache/CApache2Shim.h:4:10: error: 'Apache2Shim.h' file not found
#include "Apache2Shim.h"
^
/host/spi-builder-workspace/Sources/ApacheExpress3/ApacheConsole.swift:7:8: error: could not build C module 'CApache'
import CApache
^
BUILD FAILURE 5.8 linux