Build Information
Failed to build wren-swift with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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: 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/helje5/wren-swift
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 3b47faa Update README.md
Cloned https://github.com/helje5/wren-swift.git
Revision (git rev-parse @):
3b47faaaf46c95ba551113d9ef49f483081354b3
SUCCESS checkout https://github.com/helje5/wren-swift.git at develop
========================================
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-4606859-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] Emitting module Wren
[5/13] 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
^~~~~~
[6/13] 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
^~~~~~
[7/14] Compiling Wren Handle.swift
[8/14] Compiling Wren Foreign.swift
[9/14] Compiling Wren Dynamic.swift
[10/14] Compiling Wren Error.swift
[11/14] Compiling Wren Slots.swift
[12/14] Compiling Wren ValueConvertible.swift
[13/14] Compiling Wren Values.swift
[14/14] Compiling Wren WrenVM.swift
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 ValueConvertible.swift
[6/12] Compiling Wren Values.swift
[7/12] Compiling Wren WrenVM.swift
[8/12] Compiling Wren Error.swift
[9/12] Compiling Wren Foreign.swift
[10/12] Compiling Wren Handle.swift
[11/12] Compiling Wren Dynamic.swift
[12/12] Compiling Wren Slots.swift
error: fatalError
BUILD FAILURE 5.10 linux