The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BytePattern with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/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.10
Building package at path:  $workDir
https://github.com/Sajjon/BytePattern.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-numerics
[1/5180] Fetching swift-algorithms
[2/10457] Fetching swift-algorithms, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.55s)
Fetched https://github.com/apple/swift-algorithms from cache (0.55s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.54s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.45s)
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/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/17] Compiling RealModule ElementaryFunctions.swift
[9/18] Compiling RealModule RealFunctions.swift
[10/18] Compiling RealModule Real.swift
[11/18] Compiling RealModule AlgebraicField.swift
[12/18] Compiling RealModule ApproximateEquality.swift
[13/18] Compiling RealModule AugmentedArithmetic.swift
[14/18] Compiling RealModule Double+Real.swift
[15/18] Emitting module RealModule
[16/18] Compiling RealModule Float80+Real.swift
[17/18] Compiling RealModule Float16+Real.swift
[18/18] Compiling RealModule Float+Real.swift
[20/42] Compiling Algorithms FirstNonNil.swift
[21/42] Compiling Algorithms FlattenCollection.swift
[22/42] Compiling Algorithms Indexed.swift
[23/45] Compiling Algorithms RandomSample.swift
[24/45] Compiling Algorithms Reductions.swift
[25/45] Compiling Algorithms Rotate.swift
[26/45] Compiling Algorithms Trim.swift
[27/45] Compiling Algorithms Unique.swift
[28/45] Compiling Algorithms Windows.swift
[29/45] Compiling Algorithms AdjacentPairs.swift
[30/45] Compiling Algorithms Chain.swift
[31/45] Compiling Algorithms Chunked.swift
[32/45] Compiling Algorithms Combinations.swift
[33/45] Compiling Algorithms Split.swift
[34/45] Compiling Algorithms Stride.swift
[35/45] Compiling Algorithms Suffix.swift
[36/45] Compiling Algorithms Compacted.swift
[37/45] Compiling Algorithms Cycle.swift
[38/45] Compiling Algorithms EitherSequence.swift
[39/45] Compiling Algorithms Partition.swift
[40/45] Compiling Algorithms Permutations.swift
[41/45] Compiling Algorithms Product.swift
[42/45] Compiling Algorithms Intersperse.swift
[43/45] Compiling Algorithms Joined.swift
[44/45] Compiling Algorithms MinMax.swift
[45/45] Emitting module Algorithms
[47/59] Compiling BytePattern Ints.swift
[48/59] Compiling BytePattern IntsGroup.swift
[49/60] Compiling BytePattern FromBothEnds.swift
[50/60] Compiling BytePattern FromEnd.swift
[51/60] Compiling BytePattern Operators.swift
[52/60] Compiling BytePattern Bools.swift
[53/60] Compiling BytePattern BytePattern.swift
[54/60] Compiling BytePattern BytePatternFinder.swift
[55/60] Emitting module BytePattern
[56/60] Compiling BytePattern Data+Hex.swift
[57/60] Compiling BytePattern RandomBytes.swift
[58/60] 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)
                ^~~~~~~~
[59/60] 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)
                ^~~~~~~~
[60/60] Compiling BytePattern Storage.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling BytePattern SafeCompare.swift
[3/4] Emitting module BytePattern
[4/4] 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)
                ^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2