The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Neuron, reference main (ca3695), with Swift 6.1 for Android on 17 Mar 2026 03:12:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wvabrinskas/Neuron.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/wvabrinskas/Neuron
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ca3695f Major framework upgrade: TensorStorage, pointer-based arithmetic, batching, and new layers (#159)
Cloned https://github.com/wvabrinskas/Neuron.git
Revision (git rev-parse @):
ca3695f82f562e420fde957bf913ed44cd1c6e47
SUCCESS checkout https://github.com/wvabrinskas/Neuron.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wvabrinskas/Neuron.git
https://github.com/wvabrinskas/Neuron.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "numswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.24",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wvabrinskas/NumSwift.git"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wvabrinskas/Logger.git"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Neuron",
  "name" : "Neuron",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Neuron",
      "targets" : [
        "Neuron"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NeuronTests",
      "module_type" : "SwiftTarget",
      "name" : "NeuronTests",
      "path" : "Tests/NeuronTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/NeuronTests/Resources/pretrained-classifier-color.smodel",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ArithmeticTests.swift",
        "DecayFunctionTests.swift",
        "DepthwiseConv2dTests.swift",
        "FullModelTests.swift",
        "ImporterTests.swift",
        "InitializerTests.swift",
        "LayerTests.swift",
        "LossFunctionTests.swift",
        "MetalContextBufferPoolTests.swift",
        "MetalTensorStorageIntegrationTests.swift",
        "MetalTensorStorageTests.swift",
        "MixupTests.swift",
        "ModelUtilitiesTests.swift",
        "Models/ColorType.swift",
        "NeuronTests.swift",
        "OptimizerTests.swift",
        "TensorMathTests.swift",
        "TensorStorageArithmeticTests.swift",
        "TensorStorageTests.swift",
        "TokenizerTests.swift",
        "Utilities/Resource.swift",
        "VectorizeTests.swift"
      ],
      "target_dependencies" : [
        "Neuron"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Neuron",
      "module_type" : "SwiftTarget",
      "name" : "Neuron",
      "path" : "Sources/Neuron",
      "product_dependencies" : [
        "NumSwift",
        "Logger",
        "Numerics",
        "Atomics"
      ],
      "product_memberships" : [
        "Neuron"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Neuron/Resources/GPU.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Neuron/Resources/print-example.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Augmenters/Augmenter.swift",
        "Augmenters/Mixup.swift",
        "Constants.swift",
        "Datasets/Dataset.swift",
        "Devices/CPU.swift",
        "Devices/Devices.swift",
        "Devices/GPU.swift",
        "Devices/GPU/BufferPool.swift",
        "Devices/GPU/MetalContext.swift",
        "Export/ExportHelper.swift",
        "Export/LayerModel.swift",
        "Export/LayerModelConverter.swift",
        "Gradient.swift",
        "Helpers/WelfordVariance.swift",
        "Importers/Importer.swift",
        "Importers/Remote.swift",
        "Initializers.swift",
        "Layers/Activations/Activation.swift",
        "Layers/Activations/GeLu.swift",
        "Layers/Activations/LeakyReLu.swift",
        "Layers/Activations/ReLu.swift",
        "Layers/Activations/SeLu.swift",
        "Layers/Activations/Sigmoid.swift",
        "Layers/Activations/Softmax.swift",
        "Layers/Activations/Swish.swift",
        "Layers/Activations/Tanh.swift",
        "Layers/Add.swift",
        "Layers/AvgPool.swift",
        "Layers/BatchNormalize.swift",
        "Layers/Conv2d.swift",
        "Layers/Dense.swift",
        "Layers/DepthwiseConv2d.swift",
        "Layers/Divide.swift",
        "Layers/Dropout.swift",
        "Layers/Embedding/Embedding.swift",
        "Layers/Flatten.swift",
        "Layers/GlobalAveragePool.swift",
        "Layers/InstanceNormalize.swift",
        "Layers/LSTM/LSTM.swift",
        "Layers/LSTM/LSTMCell.swift",
        "Layers/LSTM/OutputCell.swift",
        "Layers/Layer.swift",
        "Layers/LayerNormalize.swift",
        "Layers/MaxPool.swift",
        "Layers/Multiply.swift",
        "Layers/ResNet.swift",
        "Layers/Reshape.swift",
        "Layers/RexNet.swift",
        "Layers/Subtract.swift",
        "Layers/TransConv2d.swift",
        "Layers/Utilities/LayerGroup.swift",
        "Models/Classifier.swift",
        "Models/GAN.swift",
        "Models/RNN.swift",
        "Models/Utilities/Accuracy.swift",
        "Models/Utilities/VectorizableDataset.swift",
        "Models/WGAN.swift",
        "Models/WGANGP.swift",
        "Optimizers/Adam.swift",
        "Optimizers/DecayFunction/CosineAnnealing.swift",
        "Optimizers/DecayFunction/DecayFunction.swift",
        "Optimizers/DecayFunction/ExponentialDecay.swift",
        "Optimizers/LossFunction/LossFunction.swift",
        "Optimizers/Optimizer.swift",
        "Optimizers/RMSProp.swift",
        "Optimizers/SGD.swift",
        "Tensor/IDGenerator.swift",
        "Tensor/MetalTensorStorage.swift",
        "Tensor/Tensor.swift",
        "Tensor/TensorContext.swift",
        "Tensor/TensorMath.swift",
        "Tensor/TensorSize.swift",
        "Tensor/TensorStorage+Arithmetic.swift",
        "Tensor/TensorStorage.swift",
        "Tokenizers/Tokenizing.swift",
        "Trainable/Sequential.swift",
        "Trainable/Trainable.swift",
        "Utilities/BetaDistribution.swift",
        "Utilities/Exportable.swift",
        "Utilities/Extensions+Numbers.swift",
        "Utilities/Extensions+String.swift",
        "Utilities/Extensions+ThreadSafety.swift",
        "Utilities/Metrics.swift",
        "Utilities/ModelBuilder.swift",
        "Utilities/NormalDistribution.swift",
        "Utilities/Storage.swift",
        "Utilities/Vectorize.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2171] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.67s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/wvabrinskas/Logger.git
Fetching https://github.com/wvabrinskas/NumSwift.git
[1/1820] Fetching swift-atomics
[92/1927] Fetching swift-atomics, logger
[745/5597] Fetching swift-atomics, logger, swift-docc-symbolkit
[1040/12013] Fetching swift-atomics, logger, swift-docc-symbolkit, swift-numerics
[1325/13671] Fetching swift-atomics, logger, swift-docc-symbolkit, swift-numerics, numswift
Fetched https://github.com/wvabrinskas/NumSwift.git from cache (0.60s)
[11436/12013] Fetching swift-atomics, logger, swift-docc-symbolkit, swift-numerics
Fetched https://github.com/wvabrinskas/Logger.git from cache (1.52s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.82s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.81s)
Fetched https://github.com/apple/swift-numerics from cache (1.82s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.24s)
Computing version for https://github.com/wvabrinskas/NumSwift.git
Computed https://github.com/wvabrinskas/NumSwift.git at 2.0.24 (1.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.00s)
Computing version for https://github.com/wvabrinskas/Logger.git
Computed https://github.com/wvabrinskas/Logger.git at 1.0.7 (0.99s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.95s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/wvabrinskas/Logger.git
Working copy of https://github.com/wvabrinskas/Logger.git resolved at 1.0.7
Creating working copy for https://github.com/wvabrinskas/NumSwift.git
Working copy of https://github.com/wvabrinskas/NumSwift.git resolved at 2.0.24
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at main (e977f65)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/16] Write sources
[2/16] Copying GPU.metal
[2/16] Copying print-example.png
[2/16] Write sources
[11/16] Compiling _NumericsShims _NumericsShims.c
[12/16] Compiling _AtomicsShims.c
[13/16] Compiling NumSwiftC numswiftc_base.c
[14/16] Write swift-version-24593BA9C3E375BF.txt
[15/16] Compiling NumSwiftC numswiftc.c
[17/63] Emitting module Atomics
[18/65] Compiling Atomics IntegerOperations.swift
[19/65] Compiling Atomics Unmanaged extensions.swift
[20/65] Compiling RealModule RealFunctions.swift
[21/66] Compiling NumSwift FloatArithmeticBase.swift
[22/66] Compiling NumSwift FloatArrayArithmetic.swift
[23/66] Compiling NumSwift 1DFloat.swift
[24/66] Compiling NumSwift 1DFloat16.swift
[25/66] Compiling NumSwift BaseNumeric.swift
[26/66] Compiling NumSwift Double.swift
[27/66] Emitting module RealModule
[28/66] Compiling NumSwift Float16ArrayArithmetic.swift
[29/66] Compiling NumSwift Float16ContiguousArrayArithmetic.swift
[33/66] Compiling RealModule Real.swift
[34/66] Compiling RealModule Float16+Real.swift
[35/66] Compiling Atomics UnsafeAtomic.swift
[36/66] Compiling Atomics UnsafeAtomicLazyReference.swift
[37/66] Compiling NumSwift NumSwiftC.swift
[38/66] Compiling NumSwift NumSwiftC_Float16.swift
[39/66] Compiling NumSwift Extensions.swift
[40/66] Compiling NumSwift NumSwift.swift
[41/66] Compiling RealModule Float80+Real.swift
[42/66] Compiling RealModule RelaxedArithmetic.swift
[43/67] Compiling NumSwift FloatContiguousArrayArithmetic.swift
[44/67] Compiling NumSwift Float16.swift
[45/67] Compiling NumSwift Float32.swift
[51/79] Compiling ComplexModule Complex+Numeric.swift
[52/79] Compiling ComplexModule Complex+Hashable.swift
[53/79] Compiling ComplexModule Complex+IntegerLiteral.swift
[54/80] Compiling ComplexModule Complex.swift
[55/80] Compiling ComplexModule Polar.swift
[56/80] Compiling ComplexModule Complex+StringConvertible.swift
[57/80] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[58/80] Compiling ComplexModule Complex+AlgebraicField.swift
[59/80] Compiling ComplexModule Scale.swift
[60/80] Compiling ComplexModule Complex+Codable.swift
[61/80] Compiling ComplexModule Complex+ElementaryFunctions.swift
[62/80] Emitting module ComplexModule
[64/83] Compiling Numerics Numerics.swift
[65/83] Emitting module Numerics
[67/84] Compiling Logger Logger.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Logger.swift:3:8: error: no such module 'os'
  1 |
  2 | import Foundation
  3 | import os
    |        `- error: no such module 'os'
  4 |
  5 | public enum LogPriority: String {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/84] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Logger.swift:3:8: error: no such module 'os'
  1 |
  2 | import Foundation
  3 | import os
    |        `- error: no such module 'os'
  4 |
  5 | public enum LogPriority: String {
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwift/Base/1DArray/1DFloat.swift:16:8: error: no such module 'Accelerate'
 14 |
 15 | import Foundation
 16 | import Accelerate
    |        `- error: no such module 'Accelerate'
 17 |
 18 |
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwift/Base/1DArray/1DFloat.swift:16:8: error: no such module 'Accelerate'
 14 |
 15 | import Foundation
 16 | import Accelerate
    |        `- error: no such module 'Accelerate'
 17 |
 18 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/50] Compiling RealModule RealFunctions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/51] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Logger.swift:3:8: error: no such module 'os'
  1 |
  2 | import Foundation
  3 | import os
    |        `- error: no such module 'os'
  4 |
  5 | public enum LogPriority: String {
[6/51] Compiling Logger Logger.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Logger.swift:3:8: error: no such module 'os'
  1 |
  2 | import Foundation
  3 | import os
    |        `- error: no such module 'os'
  4 |
  5 | public enum LogPriority: String {
BUILD FAILURE 6.1 android