Build Information
Failed to build SwiftyExpat with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-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/helje5/SwiftyExpat.git
Reference: 2.2.10
Cloned https://github.com/helje5/SwiftyExpat.git into spi-builder-workspace
SUCCESS checkout https://github.com/helje5/SwiftyExpat.git at 2.2.10
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[0/5] Compiling Expat xmltok_ns.c
[1/5] Compiling Expat xmltok_impl.c
[2/5] Compiling Expat xmlrole.c
[3/5] Compiling Expat xmlparse.c
[4/5] Compiling Expat xmltok.c
[6/8] Compiling SwiftyExpat SwiftExtensions.swift
[7/8] Emitting module SwiftyExpat
[8/8] Compiling SwiftyExpat Expat.swift
/host/spi-builder-workspace/Sources/SwiftyExpat/Expat.swift:81:19: error: cannot find 'strlen' in scope
let cslen = strlen(cs) // cs? checks for a NULL C string
^~~~~~
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1