The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Neuron, reference 2.0.24 (cdea55), with Swift 6.1 for Linux on 30 Apr 2025 12:25:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wvabrinskas/Neuron.git
Reference: 2.0.24
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
 * tag               2.0.24     -> FETCH_HEAD
HEAD is now at cdea55a Merge develop (#99)
Cloned https://github.com/wvabrinskas/Neuron.git
Revision (git rev-parse @):
cdea55a67ec494b275b9aacab6fb2c43b216a07f
SUCCESS checkout https://github.com/wvabrinskas/Neuron.git at 2.0.24
========================================
Build
========================================
Selected platform:         linux
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.13",
            "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"
    }
  ],
  "manifest_display_name" : "Neuron",
  "name" : "Neuron",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "macos",
      "version" : "11.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" : [
        "DecayFunctionTests.swift",
        "FullModelTests.swift",
        "ImporterTests.swift",
        "LayerTests.swift",
        "ModelUtilitiesTests.swift",
        "Models/ColorType.swift",
        "NeuronTests.swift",
        "TensorMathTests.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"
      ],
      "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" : [
        "Constants.swift",
        "Datasets/Dataset.swift",
        "Devices/CPU.swift",
        "Devices/Devices.swift",
        "Devices/GPU.swift",
        "Devices/GPUManager.swift",
        "Export/ExportHelper.swift",
        "Export/LayerModel.swift",
        "Export/LayerModelConverter.swift",
        "Gradient.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/AvgPool.swift",
        "Layers/BatchNormalize.swift",
        "Layers/Conv2d.swift",
        "Layers/Dense.swift",
        "Layers/Dropout.swift",
        "Layers/Embedding/Embedding.swift",
        "Layers/Flatten.swift",
        "Layers/LSTM/LSTM.swift",
        "Layers/LSTM/LSTMCell.swift",
        "Layers/LSTM/OutputCell.swift",
        "Layers/Layer.swift",
        "Layers/LayerNormalize.swift",
        "Layers/MaxPool.swift",
        "Layers/Reshape.swift",
        "Layers/TransConv2d.swift",
        "Models/Classifier.swift",
        "Models/GAN.swift",
        "Models/RNN.swift",
        "Models/Utilities/Accuracy.swift",
        "Models/WGAN.swift",
        "Models/WGANGP.swift",
        "Optimizers/Adam.swift",
        "Optimizers/DecayFunction/DecayFunction.swift",
        "Optimizers/DecayFunction/ExponentialDecay.swift",
        "Optimizers/LossFunction/LossFunction.swift",
        "Optimizers/Optimizer.swift",
        "Optimizers/RMSProp.swift",
        "Optimizers/SGD.swift",
        "Tensor/Tensor.swift",
        "Tensor/TensorContext.swift",
        "Tensor/TensorMath.swift",
        "Tensor/TensorSize.swift",
        "Trainable/Sequential.swift",
        "Trainable/Trainable.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.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/wvabrinskas/Logger.git
Fetching https://github.com/wvabrinskas/NumSwift.git
[1/1179] Fetching numswift
[72/1286] Fetching numswift, logger
[946/6960] Fetching numswift, logger, swift-numerics
Fetched https://github.com/wvabrinskas/Logger.git from cache (0.53s)
Fetched https://github.com/wvabrinskas/NumSwift.git from cache (0.55s)
Fetched https://github.com/apple/swift-numerics from cache (0.55s)
Computing version for https://github.com/wvabrinskas/NumSwift.git
Computed https://github.com/wvabrinskas/NumSwift.git at 2.0.13 (3.56s)
Computing version for https://github.com/wvabrinskas/Logger.git
Computed https://github.com/wvabrinskas/Logger.git at 1.0.7 (0.60s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.63s)
Creating working copy for https://github.com/wvabrinskas/NumSwift.git
Working copy of https://github.com/wvabrinskas/NumSwift.git resolved at 2.0.13
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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Building for debugging...
[0/12] Write sources
[1/12] Copying GPU.metal
[3/12] Write sources
[7/12] Copying print-example.png
[8/12] Compiling _NumericsShims _NumericsShims.c
[9/12] Compiling NumSwiftC numswiftc.c
[10/12] Compiling NumSwiftC numswiftc_base.c
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/33] Compiling RealModule Float+Real.swift
[14/33] Compiling RealModule Real.swift
[15/34] Emitting module RealModule
[16/34] Compiling RealModule Float16+Real.swift
[17/34] Compiling RealModule Float80+Real.swift
[18/34] Compiling RealModule ElementaryFunctions.swift
[19/34] Compiling NumSwift BaseNumeric.swift
[20/34] Compiling NumSwift Double.swift
[21/34] Compiling RealModule AugmentedArithmetic.swift
[22/34] Compiling RealModule Double+Real.swift
[23/34] Compiling RealModule RealFunctions.swift
[25/40] Compiling ComplexModule Arithmetic.swift
[26/40] Compiling ComplexModule ElementaryFunctions.swift
[27/40] Emitting module ComplexModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/40] 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 {
[29/40] 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 {
[30/40] Compiling NumSwift Float16.swift
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwift/BaseNumeric.swift:2:8: error: no such module 'Accelerate'
  1 | import Foundation
  2 | import Accelerate
    |        `- error: no such module 'Accelerate'
  3 |
  4 | //3D
[31/40] Compiling ComplexModule Complex.swift
[32/40] Compiling NumSwift Float32.swift
/host/spi-builder-workspace/.build/checkouts/NumSwift/Sources/NumSwift/BaseNumeric.swift:2:8: error: no such module 'Accelerate'
  1 | import Foundation
  2 | import Accelerate
    |        `- error: no such module 'Accelerate'
  3 |
  4 | //3D
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] 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)
[3/22] 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 {
BUILD FAILURE 6.1 linux