Build Information
Failed to build BytePattern with Swift 5.8 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.28.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/BytePattern.git
Reference: main
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/Sajjon/BytePattern
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 663d343 Revert MainActor change
Cloned https://github.com/Sajjon/BytePattern.git
Revision (git rev-parse @):
663d343d5f2c516e09fdac37db18dd1214a0bcda
SUCCESS checkout https://github.com/Sajjon/BytePattern.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-numerics
[1/5220] Fetching swift-numerics
[3133/10370] Fetching swift-numerics, swift-algorithms
Fetched https://github.com/apple/swift-numerics (0.45s)
Fetched https://github.com/apple/swift-algorithms (0.45s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.33s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.34s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Building for debugging...
[0/1] Compiling _NumericsShims _NumericsShims.c
[2/11] Compiling RealModule ElementaryFunctions.swift
[3/11] Compiling RealModule AlgebraicField.swift
[4/11] Compiling RealModule ApproximateEquality.swift
[5/11] Emitting module RealModule
[6/11] Compiling RealModule AugmentedArithmetic.swift
[7/11] Compiling RealModule Double+Real.swift
[8/12] Compiling RealModule RealFunctions.swift
[9/12] Compiling RealModule Real.swift
[10/12] Compiling RealModule Float+Real.swift
[11/12] Compiling RealModule Float16+Real.swift
[12/12] Compiling RealModule Float80+Real.swift
[15/37] Compiling Algorithms FirstNonNil.swift
[16/37] Compiling Algorithms FlattenCollection.swift
[17/37] Compiling Algorithms Indexed.swift
[18/40] Compiling Algorithms RandomSample.swift
[19/40] Compiling Algorithms Reductions.swift
[20/40] Compiling Algorithms Rotate.swift
[21/40] Compiling Algorithms Compacted.swift
[22/40] Compiling Algorithms Cycle.swift
[23/40] Compiling Algorithms EitherSequence.swift
[24/40] Compiling Algorithms Split.swift
[25/40] Compiling Algorithms Stride.swift
[26/40] Compiling Algorithms Suffix.swift
[27/40] Compiling Algorithms Partition.swift
[28/40] Compiling Algorithms Permutations.swift
[29/40] Compiling Algorithms Product.swift
[30/40] Compiling Algorithms Trim.swift
[31/40] Compiling Algorithms Unique.swift
[32/40] Compiling Algorithms Windows.swift
[33/40] Compiling Algorithms AdjacentPairs.swift
[34/40] Compiling Algorithms Chain.swift
[35/40] Compiling Algorithms Chunked.swift
[36/40] Compiling Algorithms Combinations.swift
[37/40] Compiling Algorithms Intersperse.swift
[38/40] Compiling Algorithms Joined.swift
[39/40] Compiling Algorithms MinMax.swift
[40/40] Emitting module Algorithms
[43/55] Compiling BytePattern SafeCompare.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
^~~~~~~~
[44/55] Compiling BytePattern SecureBytes.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
^~~~~~~~
[45/56] Compiling BytePattern BytePattern.swift
[46/56] Compiling BytePattern BytePatternFinder.swift
[47/56] Emitting module BytePattern
[48/56] Compiling BytePattern Data+Hex.swift
[49/56] Compiling BytePattern RandomBytes.swift
[50/56] Compiling BytePattern IntsGroup.swift
[51/56] Compiling BytePattern FromBothEnds.swift
[52/56] Compiling BytePattern FromEnd.swift
[53/56] Compiling BytePattern Operators.swift
[54/56] Compiling BytePattern Bools.swift
[55/56] Compiling BytePattern Ints.swift
[56/56] Compiling BytePattern Storage.swift
[0/1] Planning build
Building for debugging...
[1/3] Compiling BytePattern SafeCompare.swift
[2/3] Compiling BytePattern SecureBytes.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
^~~~~~~~
[3/3] Emitting module BytePattern
BUILD FAILURE 5.8 linux