This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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.9 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.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-numerics
[1/5220] Fetching swift-numerics
[2298/10370] Fetching swift-numerics, swift-algorithms
Fetched https://github.com/apple/swift-numerics (0.44s)
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.35s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.37s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
Building for debugging...
[0/1] Compiling _NumericsShims _NumericsShims.c
[2/11] Compiling RealModule AugmentedArithmetic.swift
[3/11] Compiling RealModule Double+Real.swift
[4/12] Emitting module RealModule
[5/12] Compiling RealModule AlgebraicField.swift
[6/12] Compiling RealModule ApproximateEquality.swift
[7/12] Compiling RealModule RealFunctions.swift
[8/12] Compiling RealModule Float16+Real.swift
[9/12] Compiling RealModule Float80+Real.swift
[10/12] Compiling RealModule ElementaryFunctions.swift
[11/12] Compiling RealModule Real.swift
[12/12] Compiling RealModule Float+Real.swift
[15/37] Compiling Algorithms Split.swift
[16/37] Compiling Algorithms Stride.swift
[17/37] Compiling Algorithms Suffix.swift
[18/37] Compiling Algorithms Intersperse.swift
[19/37] Compiling Algorithms Joined.swift
[20/37] Compiling Algorithms MinMax.swift
[21/37] Compiling Algorithms RandomSample.swift
[22/37] Compiling Algorithms Reductions.swift
[23/37] Compiling Algorithms Rotate.swift
[24/37] Compiling Algorithms Partition.swift
[25/37] Compiling Algorithms Permutations.swift
[26/37] Compiling Algorithms Product.swift
[27/37] Compiling Algorithms FirstNonNil.swift
[28/37] Compiling Algorithms FlattenCollection.swift
[29/37] Compiling Algorithms Indexed.swift
[30/40] Compiling Algorithms Compacted.swift
[31/40] Compiling Algorithms Cycle.swift
[32/40] Compiling Algorithms EitherSequence.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 Trim.swift
[38/40] Compiling Algorithms Unique.swift
[39/40] Compiling Algorithms Windows.swift
[40/40] Emitting module Algorithms
[43/55] Compiling BytePattern Ints.swift
[44/55] Compiling BytePattern IntsGroup.swift
[45/56] Compiling BytePattern Data+Hex.swift
[46/56] Compiling BytePattern RandomBytes.swift
[47/56] 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)
                ^~~~~~~~
[48/56] 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)
                ^~~~~~~~
[49/56] Compiling BytePattern Operators.swift
[50/56] Compiling BytePattern Bools.swift
[51/56] Compiling BytePattern BytePattern.swift
[52/56] Compiling BytePattern BytePatternFinder.swift
[53/56] Emitting module BytePattern
[54/56] Compiling BytePattern FromBothEnds.swift
[55/56] Compiling BytePattern FromEnd.swift
[56/56] Compiling BytePattern Storage.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/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)
                ^~~~~~~~
[2/3] Compiling BytePattern SafeCompare.swift
[3/3] Emitting module BytePattern
error: fatalError
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.