Build Information
Failed to build BytePattern, reference main (663d34
), with Swift 6.2 (beta) for Android on 19 Jun 2025 18:08:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Sajjon/BytePattern.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-algorithms
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.84s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.77s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.70s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.72s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Building for debugging...
[0/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/17] Compiling RealModule ElementaryFunctions.swift
[9/18] Compiling RealModule Float80+Real.swift
[10/18] Compiling RealModule Real.swift
[11/18] Compiling RealModule Float16+Real.swift
[12/18] Emitting module RealModule
[13/18] Compiling RealModule Float+Real.swift
[14/18] Compiling RealModule AugmentedArithmetic.swift
[15/18] Compiling RealModule Double+Real.swift
[16/18] Compiling RealModule AlgebraicField.swift
[17/18] Compiling RealModule ApproximateEquality.swift
[18/18] Compiling RealModule RealFunctions.swift
[20/44] Compiling Algorithms RandomSample.swift
[21/44] Compiling Algorithms Reductions.swift
[22/44] Compiling Algorithms Rotate.swift
[23/44] Compiling Algorithms Split.swift
[24/44] Compiling Algorithms Stride.swift
[25/44] Compiling Algorithms Suffix.swift
[26/47] Compiling Algorithms Compacted.swift
[27/47] Compiling Algorithms Cycle.swift
[28/47] Compiling Algorithms EitherSequence.swift
[29/47] Compiling Algorithms FirstNonNil.swift
[30/47] Compiling Algorithms FlattenCollection.swift
[31/47] Compiling Algorithms Grouped.swift
[32/47] Compiling Algorithms Indexed.swift
[33/47] Compiling Algorithms Intersperse.swift
[34/47] Compiling Algorithms Joined.swift
[35/47] Compiling Algorithms Keyed.swift
[36/47] Compiling Algorithms MinMax.swift
[37/47] Compiling Algorithms Partition.swift
[38/47] Compiling Algorithms Permutations.swift
[39/47] Compiling Algorithms Product.swift
[40/47] Compiling Algorithms Trim.swift
[41/47] Compiling Algorithms Unique.swift
[42/47] Compiling Algorithms Windows.swift
[43/47] Compiling Algorithms AdjacentPairs.swift
[44/47] Compiling Algorithms Chain.swift
[45/47] Compiling Algorithms Chunked.swift
[46/47] Compiling Algorithms Combinations.swift
[47/47] Emitting module Algorithms
[49/61] Compiling BytePattern IntsGroup.swift
[50/62] Compiling BytePattern BytePattern.swift
[51/62] Compiling BytePattern BytePatternFinder.swift
[52/62] Compiling BytePattern Operators.swift
[53/62] Compiling BytePattern Bools.swift
[54/62] Compiling BytePattern Data+Hex.swift
[55/62] Compiling BytePattern RandomBytes.swift
[56/62] Emitting module BytePattern
[57/62] Compiling BytePattern Ints.swift
[58/62] Compiling BytePattern FromBothEnds.swift
[59/62] Compiling BytePattern FromEnd.swift
[60/62] 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 | }
[61/62] 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 | }
[62/62] Compiling BytePattern Storage.swift
BUILD FAILURE 6.2 android