Build Information
Failed to build wren-swift with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/helje5/wren-swift.git
Reference: 0.1.0
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/helje5/wren-swift
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 8c5fab5 Merge branch 'develop' into main
Cloned https://github.com/helje5/wren-swift.git
Revision (git rev-parse @):
8c5fab5bca54d28e920ac7bec79fe1a901b20758
SUCCESS checkout https://github.com/helje5/wren-swift.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/helje5/wren-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
[2/3] Compiling CWren wren.c
[4/13] Compiling Wren Handle.swift
[5/14] Compiling Wren Foreign.swift
[6/14] Compiling Wren Values.swift
[7/14] Compiling Wren WrenVM.swift
[8/14] Compiling Wren Slots.swift
[9/14] Compiling Wren ValueConvertible.swift
[10/14] Emitting module Wren
[11/14] Compiling Wren Dynamic.swift
[12/14] Compiling Wren Error.swift
[13/14] Compiling Wren Callbacks.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:27:15: error: cannot find 'strlen' in scope
let len = strlen(text) // yes, this one is 0-terminated
^~~~~~
[14/14] Compiling Wren Configuration.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:27:15: error: cannot find 'strlen' in scope
let len = strlen(text) // yes, this one is 0-terminated
^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling Wren Configuration.swift
[3/4] Compiling Wren Callbacks.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:27:15: error: cannot find 'strlen' in scope
let len = strlen(text) // yes, this one is 0-terminated
^~~~~~
[4/11] Emitting module Wren
[5/12] Compiling Wren Dynamic.swift
[6/12] Compiling Wren ValueConvertible.swift
[7/12] Compiling Wren Values.swift
[8/12] Compiling Wren Handle.swift
[9/12] Compiling Wren Error.swift
[10/12] Compiling Wren Foreign.swift
[11/12] Compiling Wren Slots.swift
[12/12] Compiling Wren WrenVM.swift
error: fatalError
BUILD FAILURE 5.10 linux