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.0 for Linux on 6 Feb 2025 22:20:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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.0
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/wvabrinskas/Logger.git
Fetching https://github.com/wvabrinskas/NumSwift.git
[1/107] Fetching logger
[86/1286] Fetching logger, numswift
[1242/6862] Fetching logger, numswift, swift-numerics
Fetched https://github.com/wvabrinskas/NumSwift.git from cache (0.29s)
[3543/5683] Fetching logger, swift-numerics
Fetched https://github.com/wvabrinskas/Logger.git from cache (1.27s)
Fetched https://github.com/apple/swift-numerics from cache (1.28s)
Computing version for https://github.com/wvabrinskas/NumSwift.git
Computed https://github.com/wvabrinskas/NumSwift.git at 2.0.13 (2.65s)
Computing version for https://github.com/wvabrinskas/Logger.git
Computed https://github.com/wvabrinskas/Logger.git at 1.0.7 (0.68s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.71s)
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/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.13
Building for debugging...
[0/12] Write sources
[0/12] Copying GPU.metal
[0/12] Write sources
[0/12] Copying print-example.png
[2/12] Write sources
[8/12] Compiling _NumericsShims _NumericsShims.c
[9/12] Compiling NumSwiftC numswiftc.c
[10/12] Compiling NumSwiftC numswiftc_base.c
[10/12] Write swift-version-24593BA9C3E375BF.txt
[13/33] Compiling RealModule Float16+Real.swift
[14/34] Compiling RealModule Real.swift
[15/34] Compiling RealModule Float80+Real.swift
[16/34] Compiling RealModule RealFunctions.swift
[17/34] Compiling RealModule ElementaryFunctions.swift
[18/34] Compiling RealModule Float+Real.swift
[19/34] Emitting module RealModule
[20/34] Compiling RealModule AlgebraicField.swift
[21/34] Compiling RealModule ApproximateEquality.swift
[22/34] Compiling RealModule AugmentedArithmetic.swift
[23/34] Compiling RealModule Double+Real.swift
[25/40] Compiling ComplexModule ElementaryFunctions.swift
[26/40] Emitting module ComplexModule
[27/40] Compiling NumSwift NumSwiftCF16Base.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
[28/41] Compiling NumSwift NumSwiftC.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/41] 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 {
[30/41] 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 {
[31/41] Compiling ComplexModule Arithmetic.swift
[32/41] Compiling ComplexModule Complex.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/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 {
[3/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 {
[4/22] Compiling RealModule ElementaryFunctions.swift
BUILD FAILURE 6.0 linux