The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BytePattern, reference 0.0.6 (663d34), with Swift 6.3 for Wasm on 13 Apr 2026 09:09:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Sajjon/BytePattern.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-algorithms
[1/6058] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.63s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.29s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (2.43s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Building for debugging...
[0/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/18] Compiling RealModule RealFunctions.swift
[9/19] Compiling RealModule RelaxedArithmetic.swift
[10/19] Compiling RealModule Real.swift
[11/19] Compiling RealModule AlgebraicField.swift
[12/19] Compiling RealModule ApproximateEquality.swift
[13/19] Emitting module RealModule
[14/19] Compiling RealModule AugmentedArithmetic.swift
[15/19] Compiling RealModule Double+Real.swift
[16/19] Compiling RealModule Float80+Real.swift
[17/19] Compiling RealModule ElementaryFunctions.swift
[18/19] Compiling RealModule Float+Real.swift
[19/19] Compiling RealModule Float16+Real.swift
[21/45] Compiling Algorithms RandomSample.swift
[22/45] Compiling Algorithms Reductions.swift
[23/45] Compiling Algorithms Rotate.swift
[24/45] Compiling Algorithms Split.swift
[25/45] Compiling Algorithms Stride.swift
[26/45] Compiling Algorithms Suffix.swift
[27/48] Compiling Algorithms Compacted.swift
[28/48] Compiling Algorithms Cycle.swift
[29/48] Compiling Algorithms EitherSequence.swift
[30/48] Compiling Algorithms FirstNonNil.swift
[31/48] Compiling Algorithms FlattenCollection.swift
[32/48] Compiling Algorithms Grouped.swift
[33/48] Compiling Algorithms Indexed.swift
[34/48] Compiling Algorithms Intersperse.swift
[35/48] Compiling Algorithms Joined.swift
[36/48] Compiling Algorithms Keyed.swift
[37/48] Compiling Algorithms MinMax.swift
[38/48] Compiling Algorithms Partition.swift
[39/48] Compiling Algorithms Permutations.swift
[40/48] Compiling Algorithms Product.swift
[41/48] Compiling Algorithms Trim.swift
[42/48] Compiling Algorithms Unique.swift
[43/48] Compiling Algorithms Windows.swift
[44/48] Compiling Algorithms AdjacentPairs.swift
[45/48] Compiling Algorithms Chain.swift
[46/48] Compiling Algorithms Chunked.swift
[47/48] Compiling Algorithms Combinations.swift
[48/48] Emitting module Algorithms
[50/62] Compiling BytePattern Operators.swift
[51/62] Compiling BytePattern Bools.swift
[52/63] Compiling BytePattern SafeCompare.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
265 |
266 |             _ = self.withUnsafeMutablePointerToElements { elementsPtr in
267 |                 memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
    |                 `- error: cannot find 'memset_s' in scope
268 |             }
269 |         }
[53/63] Compiling BytePattern SecureBytes.swift
/host/spi-builder-workspace/Sources/BytePattern/Bytes/SecureBytes.swift:267:17: error: cannot find 'memset_s' in scope
265 |
266 |             _ = self.withUnsafeMutablePointerToElements { elementsPtr in
267 |                 memset_s(elementsPtr, bytesToClear, 0, bytesToClear)
    |                 `- error: cannot find 'memset_s' in scope
268 |             }
269 |         }
[54/63] Compiling BytePattern FromBothEnds.swift
[55/63] Compiling BytePattern FromEnd.swift
[56/63] Compiling BytePattern Ints.swift
[57/63] Compiling BytePattern IntsGroup.swift
[58/63] Compiling BytePattern Data+Hex.swift
[59/63] Compiling BytePattern RandomBytes.swift
[60/63] Emitting module BytePattern
[61/63] Compiling BytePattern BytePattern.swift
[62/63] Compiling BytePattern BytePatternFinder.swift
[63/63] Compiling BytePattern Storage.swift
BUILD FAILURE 6.3 wasm