The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BytePattern 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/Sajjon/BytePattern.git
Reference: 0.0.6
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
 * tag               0.0.6      -> FETCH_HEAD
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 0.0.6
========================================
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-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-algorithms
[1/5277] Fetching swift-numerics
[1268/10457] Fetching swift-numerics, swift-algorithms
Fetched https://github.com/apple/swift-numerics from cache (0.53s)
Fetched https://github.com/apple/swift-algorithms from cache (0.53s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.41s)
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 Real.swift
[9/18] Compiling RealModule RealFunctions.swift
[10/18] Compiling RealModule Float+Real.swift
[11/18] Compiling RealModule Float16+Real.swift
[12/18] Compiling RealModule Float80+Real.swift
[13/18] Compiling RealModule AlgebraicField.swift
[14/18] Compiling RealModule ApproximateEquality.swift
[15/18] Compiling RealModule AugmentedArithmetic.swift
[16/18] Compiling RealModule Double+Real.swift
[17/18] Emitting module RealModule
[18/18] Compiling RealModule ElementaryFunctions.swift
[20/42] Compiling Algorithms Split.swift
[21/42] Compiling Algorithms Stride.swift
[22/42] Compiling Algorithms Suffix.swift
[23/45] Compiling Algorithms RandomSample.swift
[24/45] Compiling Algorithms Reductions.swift
[25/45] Compiling Algorithms Rotate.swift
[26/45] Compiling Algorithms Partition.swift
[27/45] Compiling Algorithms Permutations.swift
[28/45] Compiling Algorithms Product.swift
[29/45] Compiling Algorithms Trim.swift
[30/45] Compiling Algorithms Unique.swift
[31/45] Compiling Algorithms Windows.swift
[32/45] Compiling Algorithms FirstNonNil.swift
[33/45] Compiling Algorithms FlattenCollection.swift
[34/45] Compiling Algorithms Indexed.swift
[35/45] Compiling Algorithms Compacted.swift
[36/45] Compiling Algorithms Cycle.swift
[37/45] Compiling Algorithms EitherSequence.swift
[38/45] Compiling Algorithms Intersperse.swift
[39/45] Compiling Algorithms Joined.swift
[40/45] Compiling Algorithms MinMax.swift
[41/45] Compiling Algorithms AdjacentPairs.swift
[42/45] Compiling Algorithms Chain.swift
[43/45] Compiling Algorithms Chunked.swift
[44/45] Compiling Algorithms Combinations.swift
[45/45] Emitting module Algorithms
[47/59] Compiling BytePattern Operators.swift
[48/59] Compiling BytePattern Bools.swift
[49/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)
                ^~~~~~~~
[50/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)
                ^~~~~~~~
[51/60] Compiling BytePattern IntsGroup.swift
[52/60] Compiling BytePattern BytePattern.swift
[53/60] Compiling BytePattern BytePatternFinder.swift
[54/60] Emitting module BytePattern
[55/60] Compiling BytePattern Data+Hex.swift
[56/60] Compiling BytePattern RandomBytes.swift
[57/60] Compiling BytePattern Storage.swift
[58/60] Compiling BytePattern Ints.swift
[59/60] Compiling BytePattern FromBothEnds.swift
[60/60] Compiling BytePattern FromEnd.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] 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)
                ^~~~~~~~
[4/4] Emitting module BytePattern
error: fatalError
BUILD FAILURE 5.10 linux