Build Information
Failed to build Euler, reference main (f54c76
), with Swift 6.1 for Android on 28 May 2025 21:01:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:130:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Constant]' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
128 |
129 | /// The list of all constants
130 | static let all: [Constant] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Constant]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | .alphaParticleMass,
132 | .atomicMass,
[64/85] Compiling Euler Matrix.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:45:16: warning: static property 'alphaParticleMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
43 | public extension Constant {
44 | /// The mass in `kg` of alpha particles
45 | static let alphaParticleMass = Constant(name: "Alpha Particle Mass", description: "The mass in kg of alpha particles", value: BigNumber("6.64465675e-27")!)
| |- warning: static property 'alphaParticleMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alphaParticleMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The mass in `kg` of an atom (see Wikipedia for more info)
47 | static let atomicMass = Constant(name: "Atomic Mass", description: "The mass in kg of an atom (see Wikipedia for more info)", value: BigNumber("1.660538921e-27")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:47:16: warning: static property 'atomicMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
45 | static let alphaParticleMass = Constant(name: "Alpha Particle Mass", description: "The mass in kg of alpha particles", value: BigNumber("6.64465675e-27")!)
46 | /// The mass in `kg` of an atom (see Wikipedia for more info)
47 | static let atomicMass = Constant(name: "Atomic Mass", description: "The mass in kg of an atom (see Wikipedia for more info)", value: BigNumber("1.660538921e-27")!)
| |- warning: static property 'atomicMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomicMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// Avogadro constant in `mol^(-1)`
49 | static let Avogadro = Constant(name: "Avogadro", description: "Avogadro constant in mol^(-1)", value: BigNumber("6.02214129e23")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:49:16: warning: static property 'Avogadro' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
47 | static let atomicMass = Constant(name: "Atomic Mass", description: "The mass in kg of an atom (see Wikipedia for more info)", value: BigNumber("1.660538921e-27")!)
48 | /// Avogadro constant in `mol^(-1)`
49 | static let Avogadro = Constant(name: "Avogadro", description: "Avogadro constant in mol^(-1)", value: BigNumber("6.02214129e23")!)
| |- warning: static property 'Avogadro' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Avogadro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// Boltzmann constant in `J/K`
51 | static let Boltzmann = Constant(name: "Boltzmann", description: "Boltzmann constant in J/K", value: BigNumber("1.3806488e-23")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:51:16: warning: static property 'Boltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
49 | static let Avogadro = Constant(name: "Avogadro", description: "Avogadro constant in mol^(-1)", value: BigNumber("6.02214129e23")!)
50 | /// Boltzmann constant in `J/K`
51 | static let Boltzmann = Constant(name: "Boltzmann", description: "Boltzmann constant in J/K", value: BigNumber("1.3806488e-23")!)
| |- warning: static property 'Boltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Boltzmann' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// Quantized unit of electrical conductance in `S`
53 | static let conductanceQuantum = Constant(name: "Conductance Quantum", description: "Quantized unit of electrical conductance in S", value: BigNumber("7.7480917346e-5")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:53:16: warning: static property 'conductanceQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
51 | static let Boltzmann = Constant(name: "Boltzmann", description: "Boltzmann constant in J/K", value: BigNumber("1.3806488e-23")!)
52 | /// Quantized unit of electrical conductance in `S`
53 | static let conductanceQuantum = Constant(name: "Conductance Quantum", description: "Quantized unit of electrical conductance in S", value: BigNumber("7.7480917346e-5")!)
| |- warning: static property 'conductanceQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conductanceQuantum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// The mathematical constant
55 | static let e = Constant(name: "e", description: "The mathematical constant", value: BigNumber("2.718281828459045235")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:55:16: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
53 | static let conductanceQuantum = Constant(name: "Conductance Quantum", description: "Quantized unit of electrical conductance in S", value: BigNumber("7.7480917346e-5")!)
54 | /// The mathematical constant
55 | static let e = Constant(name: "e", description: "The mathematical constant", value: BigNumber("2.718281828459045235")!)
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// Earth to moon distance in `km`
57 | static let earth_moon = Constant(name: "Earth to Moon", description: "Earth to moon distance in km", value: BigNumber("384401")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:57:16: warning: static property 'earth_moon' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
55 | static let e = Constant(name: "e", description: "The mathematical constant", value: BigNumber("2.718281828459045235")!)
56 | /// Earth to moon distance in `km`
57 | static let earth_moon = Constant(name: "Earth to Moon", description: "Earth to moon distance in km", value: BigNumber("384401")!)
| |- warning: static property 'earth_moon' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earth_moon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /// Earth to sun distance in `km`
59 | static let earth_sun = Constant(name: "Earth to Sun", description: "Earth to sun distance in km", value: BigNumber("1.496e8")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:59:16: warning: static property 'earth_sun' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
57 | static let earth_moon = Constant(name: "Earth to Moon", description: "Earth to moon distance in km", value: BigNumber("384401")!)
58 | /// Earth to sun distance in `km`
59 | static let earth_sun = Constant(name: "Earth to Sun", description: "Earth to sun distance in km", value: BigNumber("1.496e8")!)
| |- warning: static property 'earth_sun' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earth_sun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | /// Earth mass in `kg`
61 | static let earthMass = Constant(name: "Earth Mass", description: "Earth mass in kg", value: BigNumber("5.974e+24")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:61:16: warning: static property 'earthMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
59 | static let earth_sun = Constant(name: "Earth to Sun", description: "Earth to sun distance in km", value: BigNumber("1.496e8")!)
60 | /// Earth mass in `kg`
61 | static let earthMass = Constant(name: "Earth Mass", description: "Earth mass in kg", value: BigNumber("5.974e+24")!)
| |- warning: static property 'earthMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earthMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | /// Earth radius in `km`
63 | static let earthRadius = Constant(name: "Earth Radius", description: "Earth radius in km", value: BigNumber("6371")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:63:16: warning: static property 'earthRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
61 | static let earthMass = Constant(name: "Earth Mass", description: "Earth mass in kg", value: BigNumber("5.974e+24")!)
62 | /// Earth radius in `km`
63 | static let earthRadius = Constant(name: "Earth Radius", description: "Earth radius in km", value: BigNumber("6371")!)
| |- warning: static property 'earthRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earthRadius' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /// Vacuum permittivity in `F/m`
65 | static let electric = Constant(name: "Electric", description: "Vacuum permittivity in F/m", value: BigNumber("8.854187e-12")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:65:16: warning: static property 'electric' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
63 | static let earthRadius = Constant(name: "Earth Radius", description: "Earth radius in km", value: BigNumber("6371")!)
64 | /// Vacuum permittivity in `F/m`
65 | static let electric = Constant(name: "Electric", description: "Vacuum permittivity in F/m", value: BigNumber("8.854187e-12")!)
| |- warning: static property 'electric' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electric' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// Electron mass in `kg`
67 | static let electronMass = Constant(name: "Electron Mass", description: "Electron mass in kg", value: BigNumber("9.10938291e-31")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:67:16: warning: static property 'electronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
65 | static let electric = Constant(name: "Electric", description: "Vacuum permittivity in F/m", value: BigNumber("8.854187e-12")!)
66 | /// Electron mass in `kg`
67 | static let electronMass = Constant(name: "Electron Mass", description: "Electron mass in kg", value: BigNumber("9.10938291e-31")!)
| |- warning: static property 'electronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// Elementary charge in `C`
69 | static let elementaryCharge = Constant(name: "Elementary Charge", description: "Elementary charge in C", value: BigNumber("1.602176565e-19")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:69:16: warning: static property 'elementaryCharge' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
67 | static let electronMass = Constant(name: "Electron Mass", description: "Electron mass in kg", value: BigNumber("9.10938291e-31")!)
68 | /// Elementary charge in `C`
69 | static let elementaryCharge = Constant(name: "Elementary Charge", description: "Elementary charge in C", value: BigNumber("1.602176565e-19")!)
| |- warning: static property 'elementaryCharge' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'elementaryCharge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// Euler–Mascheroni Gamma constant
71 | static let EulerGamma = Constant(name: "Euler Gamma", description: "Euler–Mascheroni Gamma constant", value: BigNumber("0.57721566490153286")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:71:16: warning: static property 'EulerGamma' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
69 | static let elementaryCharge = Constant(name: "Elementary Charge", description: "Elementary charge in C", value: BigNumber("1.602176565e-19")!)
70 | /// Euler–Mascheroni Gamma constant
71 | static let EulerGamma = Constant(name: "Euler Gamma", description: "Euler–Mascheroni Gamma constant", value: BigNumber("0.57721566490153286")!)
| |- warning: static property 'EulerGamma' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EulerGamma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// Faraday constant in `C/mol`
73 | static let Faraday = Constant(name: "Faraday", description: "Faraday constant in C/mol", value: BigNumber("96485.3365")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:73:16: warning: static property 'Faraday' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
71 | static let EulerGamma = Constant(name: "Euler Gamma", description: "Euler–Mascheroni Gamma constant", value: BigNumber("0.57721566490153286")!)
72 | /// Faraday constant in `C/mol`
73 | static let Faraday = Constant(name: "Faraday", description: "Faraday constant in C/mol", value: BigNumber("96485.3365")!)
| |- warning: static property 'Faraday' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Faraday' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// Fine structure constant
75 | static let fineStructure = Constant(name: "Fine Structure", description: "Fine structure constant", value: BigNumber("0.0072973525693")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:75:16: warning: static property 'fineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
73 | static let Faraday = Constant(name: "Faraday", description: "Faraday constant in C/mol", value: BigNumber("96485.3365")!)
74 | /// Fine structure constant
75 | static let fineStructure = Constant(name: "Fine Structure", description: "Fine structure constant", value: BigNumber("0.0072973525693")!)
| |- warning: static property 'fineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fineStructure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// Golden ratio
77 | static let goldenRatio = Constant(name: "Golden Ratio", description: "Golden ratio", value: BigNumber("1.61803398874989484820")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:77:16: warning: static property 'goldenRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
75 | static let fineStructure = Constant(name: "Fine Structure", description: "Fine structure constant", value: BigNumber("0.0072973525693")!)
76 | /// Golden ratio
77 | static let goldenRatio = Constant(name: "Golden Ratio", description: "Golden ratio", value: BigNumber("1.61803398874989484820")!)
| |- warning: static property 'goldenRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'goldenRatio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// Standard gravity in `m/s^2`
79 | static let gravity = Constant(name: "Gravity", description: "Standard gravity in m/s^2", value: BigNumber("9.80665")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:79:16: warning: static property 'gravity' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
77 | static let goldenRatio = Constant(name: "Golden Ratio", description: "Golden ratio", value: BigNumber("1.61803398874989484820")!)
78 | /// Standard gravity in `m/s^2`
79 | static let gravity = Constant(name: "Gravity", description: "Standard gravity in m/s^2", value: BigNumber("9.80665")!)
| |- warning: static property 'gravity' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gravity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | /// Inverse fine structure constant
81 | static let inverseFineStructure = Constant(name: "Inverse Fine Structure", description: "Inverse fine structure constant", value: BigNumber("137.035999139")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:81:16: warning: static property 'inverseFineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
79 | static let gravity = Constant(name: "Gravity", description: "Standard gravity in m/s^2", value: BigNumber("9.80665")!)
80 | /// Inverse fine structure constant
81 | static let inverseFineStructure = Constant(name: "Inverse Fine Structure", description: "Inverse fine structure constant", value: BigNumber("137.035999139")!)
| |- warning: static property 'inverseFineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverseFineStructure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | /// Vacuum permeability in `H/m`
83 | static let magnetic = Constant(name: "Magnetic", description: "Vacuum permeability in H/m", value: BigNumber("1.2566370614e-6")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:83:16: warning: static property 'magnetic' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
81 | static let inverseFineStructure = Constant(name: "Inverse Fine Structure", description: "Inverse fine structure constant", value: BigNumber("137.035999139")!)
82 | /// Vacuum permeability in `H/m`
83 | static let magnetic = Constant(name: "Magnetic", description: "Vacuum permeability in H/m", value: BigNumber("1.2566370614e-6")!)
| |- warning: static property 'magnetic' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'magnetic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | /// Magnetic flux quantum in `Wb`
85 | static let magneticFluxQuantum = Constant(name: "Magnetic Flux Quantum", description: "Magnetic flux quantum in Wb", value: BigNumber("2.067833831e-15")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:85:16: warning: static property 'magneticFluxQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
83 | static let magnetic = Constant(name: "Magnetic", description: "Vacuum permeability in H/m", value: BigNumber("1.2566370614e-6")!)
84 | /// Magnetic flux quantum in `Wb`
85 | static let magneticFluxQuantum = Constant(name: "Magnetic Flux Quantum", description: "Magnetic flux quantum in Wb", value: BigNumber("2.067833831e-15")!)
| |- warning: static property 'magneticFluxQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'magneticFluxQuantum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | /// Gas constant in `J/(mol K)`
87 | static let molarGas = Constant(name: "Molar Gas", description: "Gas constant in J/(mol K)", value: BigNumber("8.3144621")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:87:16: warning: static property 'molarGas' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
85 | static let magneticFluxQuantum = Constant(name: "Magnetic Flux Quantum", description: "Magnetic flux quantum in Wb", value: BigNumber("2.067833831e-15")!)
86 | /// Gas constant in `J/(mol K)`
87 | static let molarGas = Constant(name: "Molar Gas", description: "Gas constant in J/(mol K)", value: BigNumber("8.3144621")!)
| |- warning: static property 'molarGas' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'molarGas' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | /// Mass of the moon in `kg`
89 | static let moonMass = Constant(name: "Moon Mass", description: "Mass of the moon in kg", value: BigNumber("7.348e+22")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:89:16: warning: static property 'moonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
87 | static let molarGas = Constant(name: "Molar Gas", description: "Gas constant in J/(mol K)", value: BigNumber("8.3144621")!)
88 | /// Mass of the moon in `kg`
89 | static let moonMass = Constant(name: "Moon Mass", description: "Mass of the moon in kg", value: BigNumber("7.348e+22")!)
| |- warning: static property 'moonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moonMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | /// Moon's radius in `km`
91 | static let moonRadius = Constant(name: "Moon Radius", description: "Moon's radius in km", value: BigNumber("1737.4")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:91:16: warning: static property 'moonRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
89 | static let moonMass = Constant(name: "Moon Mass", description: "Mass of the moon in kg", value: BigNumber("7.348e+22")!)
90 | /// Moon's radius in `km`
91 | static let moonRadius = Constant(name: "Moon Radius", description: "Moon's radius in km", value: BigNumber("1737.4")!)
| |- warning: static property 'moonRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moonRadius' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | /// Mass of the neutron in `kg`
93 | static let neutronMass = Constant(name: "Neutron Mass", description: "Mass of the neutron in kg", value: BigNumber("1.674927211e-27")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:93:16: warning: static property 'neutronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
91 | static let moonRadius = Constant(name: "Moon Radius", description: "Moon's radius in km", value: BigNumber("1737.4")!)
92 | /// Mass of the neutron in `kg`
93 | static let neutronMass = Constant(name: "Neutron Mass", description: "Mass of the neutron in kg", value: BigNumber("1.674927211e-27")!)
| |- warning: static property 'neutronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neutronMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /// Newtonian constant of gravitation in `m3⋅kg−1⋅s−2`
95 | static let NewtonianGravitation = Constant(name: "Newtonian Gravitation", description: "Newtonian constant of gravitation in m3⋅kg-1⋅s-2", value: BigNumber("6.67428e-11")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:95:16: warning: static property 'NewtonianGravitation' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
93 | static let neutronMass = Constant(name: "Neutron Mass", description: "Mass of the neutron in kg", value: BigNumber("1.674927211e-27")!)
94 | /// Newtonian constant of gravitation in `m3⋅kg−1⋅s−2`
95 | static let NewtonianGravitation = Constant(name: "Newtonian Gravitation", description: "Newtonian constant of gravitation in m3⋅kg-1⋅s-2", value: BigNumber("6.67428e-11")!)
| |- warning: static property 'NewtonianGravitation' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NewtonianGravitation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | /// The mathematical constant
97 | static let pi = Constant(name: "pi", description: "The mathematical constant", value: BigNumber("3.141592653589793238")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:97:16: warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
95 | static let NewtonianGravitation = Constant(name: "Newtonian Gravitation", description: "Newtonian constant of gravitation in m3⋅kg-1⋅s-2", value: BigNumber("6.67428e-11")!)
96 | /// The mathematical constant
97 | static let pi = Constant(name: "pi", description: "The mathematical constant", value: BigNumber("3.141592653589793238")!)
| |- warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | /// Planck constant in `J⋅s`
99 | static let Planck = Constant(name: "Planck", description: "Planck constant in J⋅s", value: BigNumber("6.62606957e-34")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:99:16: warning: static property 'Planck' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
97 | static let pi = Constant(name: "pi", description: "The mathematical constant", value: BigNumber("3.141592653589793238")!)
98 | /// Planck constant in `J⋅s`
99 | static let Planck = Constant(name: "Planck", description: "Planck constant in J⋅s", value: BigNumber("6.62606957e-34")!)
| |- warning: static property 'Planck' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Planck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// Proton mass divided by electron mass
101 | static let protonElectronMassRatio = Constant(name: "Proton Electron Mass Ratio", description: "Proton mass divided by electron mass", value: BigNumber("1836.15267247")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:101:16: warning: static property 'protonElectronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
99 | static let Planck = Constant(name: "Planck", description: "Planck constant in J⋅s", value: BigNumber("6.62606957e-34")!)
100 | /// Proton mass divided by electron mass
101 | static let protonElectronMassRatio = Constant(name: "Proton Electron Mass Ratio", description: "Proton mass divided by electron mass", value: BigNumber("1836.15267247")!)
| |- warning: static property 'protonElectronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protonElectronMassRatio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /// Proton mass divided by neutron mass
103 | static let protonNeutronMassRatio = Constant(name: "Proton Neutron Mass Ratio", description: "Proton mass divided by neutron mass", value: BigNumber("0.99862347826")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:103:16: warning: static property 'protonNeutronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
101 | static let protonElectronMassRatio = Constant(name: "Proton Electron Mass Ratio", description: "Proton mass divided by electron mass", value: BigNumber("1836.15267247")!)
102 | /// Proton mass divided by neutron mass
103 | static let protonNeutronMassRatio = Constant(name: "Proton Neutron Mass Ratio", description: "Proton mass divided by neutron mass", value: BigNumber("0.99862347826")!)
| |- warning: static property 'protonNeutronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protonNeutronMassRatio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | /// Proton mass in `kg`
105 | static let protonMass = Constant(name: "Proton Mass", description: "Proton mass in kg", value: BigNumber("1.672621777e-27")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:105:16: warning: static property 'protonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
103 | static let protonNeutronMassRatio = Constant(name: "Proton Neutron Mass Ratio", description: "Proton mass divided by neutron mass", value: BigNumber("0.99862347826")!)
104 | /// Proton mass in `kg`
105 | static let protonMass = Constant(name: "Proton Mass", description: "Proton mass in kg", value: BigNumber("1.672621777e-27")!)
| |- warning: static property 'protonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protonMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | /// Rydberg constant in `m^-1`
107 | static let Rydberg = Constant(name: "Rydberg", description: "Rydberg constant in m^-1", value: BigNumber("10973731.568539")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:107:16: warning: static property 'Rydberg' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
105 | static let protonMass = Constant(name: "Proton Mass", description: "Proton mass in kg", value: BigNumber("1.672621777e-27")!)
106 | /// Rydberg constant in `m^-1`
107 | static let Rydberg = Constant(name: "Rydberg", description: "Rydberg constant in m^-1", value: BigNumber("10973731.568539")!)
| |- warning: static property 'Rydberg' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Rydberg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | /// Speed of light in `m/s`
109 | static let speedOfLight = Constant(name: "Speed of Light", description: "Speed of light in m/s", value: BigNumber("299792458")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:109:16: warning: static property 'speedOfLight' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
107 | static let Rydberg = Constant(name: "Rydberg", description: "Rydberg constant in m^-1", value: BigNumber("10973731.568539")!)
108 | /// Speed of light in `m/s`
109 | static let speedOfLight = Constant(name: "Speed of Light", description: "Speed of light in m/s", value: BigNumber("299792458")!)
| |- warning: static property 'speedOfLight' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedOfLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// Speed of sound in `m/s`
111 | static let speedOfSound = Constant(name: "Speed of Sound", description: "Speed of sound in m/s", value: BigNumber("340.29")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:111:16: warning: static property 'speedOfSound' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
109 | static let speedOfLight = Constant(name: "Speed of Light", description: "Speed of light in m/s", value: BigNumber("299792458")!)
110 | /// Speed of sound in `m/s`
111 | static let speedOfSound = Constant(name: "Speed of Sound", description: "Speed of sound in m/s", value: BigNumber("340.29")!)
| |- warning: static property 'speedOfSound' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedOfSound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | /// The square root of 2
113 | static let sqrt2 = Constant(name: "sqrt(2)", description: "The square root of 2", value: BigNumber("1.41421356237309504880")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:113:16: warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
111 | static let speedOfSound = Constant(name: "Speed of Sound", description: "Speed of sound in m/s", value: BigNumber("340.29")!)
112 | /// The square root of 2
113 | static let sqrt2 = Constant(name: "sqrt(2)", description: "The square root of 2", value: BigNumber("1.41421356237309504880")!)
| |- warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sqrt2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | /// Stefan–Boltzmann constant in `W⋅m−2⋅K−4`
115 | static let StefanBoltzmann = Constant(name: "Stefan Boltzmann", description: "Stefan–Boltzmann constant in W⋅m-2⋅K-4", value: BigNumber("5.670373e-8")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:115:16: warning: static property 'StefanBoltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
113 | static let sqrt2 = Constant(name: "sqrt(2)", description: "The square root of 2", value: BigNumber("1.41421356237309504880")!)
114 | /// Stefan–Boltzmann constant in `W⋅m−2⋅K−4`
115 | static let StefanBoltzmann = Constant(name: "Stefan Boltzmann", description: "Stefan–Boltzmann constant in W⋅m-2⋅K-4", value: BigNumber("5.670373e-8")!)
| |- warning: static property 'StefanBoltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'StefanBoltzmann' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | /// Mass of the sun in `kg`
117 | static let sunMass = Constant(name: "Sun Mass", description: "Mass of the sun in kg", value: BigNumber("1.98892e+30")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:117:16: warning: static property 'sunMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
115 | static let StefanBoltzmann = Constant(name: "Stefan Boltzmann", description: "Stefan–Boltzmann constant in W⋅m-2⋅K-4", value: BigNumber("5.670373e-8")!)
116 | /// Mass of the sun in `kg`
117 | static let sunMass = Constant(name: "Sun Mass", description: "Mass of the sun in kg", value: BigNumber("1.98892e+30")!)
| |- warning: static property 'sunMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sunMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | /// Sun's radius in `km`
119 | static let sunRadius = Constant(name: "Sun Radius", description: "Sun's radius in km", value: BigNumber("695700")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:119:16: warning: static property 'sunRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
117 | static let sunMass = Constant(name: "Sun Mass", description: "Mass of the sun in kg", value: BigNumber("1.98892e+30")!)
118 | /// Sun's radius in `km`
119 | static let sunRadius = Constant(name: "Sun Radius", description: "Sun's radius in km", value: BigNumber("695700")!)
| |- warning: static property 'sunRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sunRadius' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | /// Dwayne "The Rock" Johnson's mass in `kg`
121 | static let theRockMass = Constant(name: "The Rock Mass", description: "Dwayne \"The Rock\" Johnson's mass in kg. Can't mathematician have the sense of humour?", value: BigNumber("124.73790175")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:121:16: warning: static property 'theRockMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
119 | static let sunRadius = Constant(name: "Sun Radius", description: "Sun's radius in km", value: BigNumber("695700")!)
120 | /// Dwayne "The Rock" Johnson's mass in `kg`
121 | static let theRockMass = Constant(name: "The Rock Mass", description: "Dwayne \"The Rock\" Johnson's mass in kg. Can't mathematician have the sense of humour?", value: BigNumber("124.73790175")!)
| |- warning: static property 'theRockMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'theRockMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | /// Thomson cross section in `m2`
123 | static let Thomson = Constant(name: "Thomson", description: "Thomson cross section in m2", value: BigNumber("0.6652458734e-28")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:123:16: warning: static property 'Thomson' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
121 | static let theRockMass = Constant(name: "The Rock Mass", description: "Dwayne \"The Rock\" Johnson's mass in kg. Can't mathematician have the sense of humour?", value: BigNumber("124.73790175")!)
122 | /// Thomson cross section in `m2`
123 | static let Thomson = Constant(name: "Thomson", description: "Thomson cross section in m2", value: BigNumber("0.6652458734e-28")!)
| |- warning: static property 'Thomson' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Thomson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 | /// The answer to life, the universe, and everything
125 | static let UltimateAnswer = Constant(name: "Ultimate Answer", description: "The answer to life, the universe, and everything", value: BigNumber("42")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:125:16: warning: static property 'UltimateAnswer' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
123 | static let Thomson = Constant(name: "Thomson", description: "Thomson cross section in m2", value: BigNumber("0.6652458734e-28")!)
124 | /// The answer to life, the universe, and everything
125 | static let UltimateAnswer = Constant(name: "Ultimate Answer", description: "The answer to life, the universe, and everything", value: BigNumber("42")!)
| |- warning: static property 'UltimateAnswer' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UltimateAnswer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The coldness of the universe in `C`
127 | static let universeTemperature = Constant(name: "Universe Temperature", description: "The coldness of the universe in C", value: BigNumber("-273.15")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:127:16: warning: static property 'universeTemperature' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
125 | static let UltimateAnswer = Constant(name: "Ultimate Answer", description: "The answer to life, the universe, and everything", value: BigNumber("42")!)
126 | /// The coldness of the universe in `C`
127 | static let universeTemperature = Constant(name: "Universe Temperature", description: "The coldness of the universe in C", value: BigNumber("-273.15")!)
| |- warning: static property 'universeTemperature' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'universeTemperature' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// The list of all constants
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:130:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Constant]' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
128 |
129 | /// The list of all constants
130 | static let all: [Constant] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Constant]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | .alphaParticleMass,
132 | .atomicMass,
[65/85] Compiling Euler Constants.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:45:16: warning: static property 'alphaParticleMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
43 | public extension Constant {
44 | /// The mass in `kg` of alpha particles
45 | static let alphaParticleMass = Constant(name: "Alpha Particle Mass", description: "The mass in kg of alpha particles", value: BigNumber("6.64465675e-27")!)
| |- warning: static property 'alphaParticleMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alphaParticleMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// The mass in `kg` of an atom (see Wikipedia for more info)
47 | static let atomicMass = Constant(name: "Atomic Mass", description: "The mass in kg of an atom (see Wikipedia for more info)", value: BigNumber("1.660538921e-27")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:47:16: warning: static property 'atomicMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
45 | static let alphaParticleMass = Constant(name: "Alpha Particle Mass", description: "The mass in kg of alpha particles", value: BigNumber("6.64465675e-27")!)
46 | /// The mass in `kg` of an atom (see Wikipedia for more info)
47 | static let atomicMass = Constant(name: "Atomic Mass", description: "The mass in kg of an atom (see Wikipedia for more info)", value: BigNumber("1.660538921e-27")!)
| |- warning: static property 'atomicMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomicMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// Avogadro constant in `mol^(-1)`
49 | static let Avogadro = Constant(name: "Avogadro", description: "Avogadro constant in mol^(-1)", value: BigNumber("6.02214129e23")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:49:16: warning: static property 'Avogadro' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
47 | static let atomicMass = Constant(name: "Atomic Mass", description: "The mass in kg of an atom (see Wikipedia for more info)", value: BigNumber("1.660538921e-27")!)
48 | /// Avogadro constant in `mol^(-1)`
49 | static let Avogadro = Constant(name: "Avogadro", description: "Avogadro constant in mol^(-1)", value: BigNumber("6.02214129e23")!)
| |- warning: static property 'Avogadro' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Avogadro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// Boltzmann constant in `J/K`
51 | static let Boltzmann = Constant(name: "Boltzmann", description: "Boltzmann constant in J/K", value: BigNumber("1.3806488e-23")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:51:16: warning: static property 'Boltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
49 | static let Avogadro = Constant(name: "Avogadro", description: "Avogadro constant in mol^(-1)", value: BigNumber("6.02214129e23")!)
50 | /// Boltzmann constant in `J/K`
51 | static let Boltzmann = Constant(name: "Boltzmann", description: "Boltzmann constant in J/K", value: BigNumber("1.3806488e-23")!)
| |- warning: static property 'Boltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Boltzmann' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// Quantized unit of electrical conductance in `S`
53 | static let conductanceQuantum = Constant(name: "Conductance Quantum", description: "Quantized unit of electrical conductance in S", value: BigNumber("7.7480917346e-5")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:53:16: warning: static property 'conductanceQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
51 | static let Boltzmann = Constant(name: "Boltzmann", description: "Boltzmann constant in J/K", value: BigNumber("1.3806488e-23")!)
52 | /// Quantized unit of electrical conductance in `S`
53 | static let conductanceQuantum = Constant(name: "Conductance Quantum", description: "Quantized unit of electrical conductance in S", value: BigNumber("7.7480917346e-5")!)
| |- warning: static property 'conductanceQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conductanceQuantum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// The mathematical constant
55 | static let e = Constant(name: "e", description: "The mathematical constant", value: BigNumber("2.718281828459045235")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:55:16: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
53 | static let conductanceQuantum = Constant(name: "Conductance Quantum", description: "Quantized unit of electrical conductance in S", value: BigNumber("7.7480917346e-5")!)
54 | /// The mathematical constant
55 | static let e = Constant(name: "e", description: "The mathematical constant", value: BigNumber("2.718281828459045235")!)
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// Earth to moon distance in `km`
57 | static let earth_moon = Constant(name: "Earth to Moon", description: "Earth to moon distance in km", value: BigNumber("384401")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:57:16: warning: static property 'earth_moon' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
55 | static let e = Constant(name: "e", description: "The mathematical constant", value: BigNumber("2.718281828459045235")!)
56 | /// Earth to moon distance in `km`
57 | static let earth_moon = Constant(name: "Earth to Moon", description: "Earth to moon distance in km", value: BigNumber("384401")!)
| |- warning: static property 'earth_moon' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earth_moon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /// Earth to sun distance in `km`
59 | static let earth_sun = Constant(name: "Earth to Sun", description: "Earth to sun distance in km", value: BigNumber("1.496e8")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:59:16: warning: static property 'earth_sun' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
57 | static let earth_moon = Constant(name: "Earth to Moon", description: "Earth to moon distance in km", value: BigNumber("384401")!)
58 | /// Earth to sun distance in `km`
59 | static let earth_sun = Constant(name: "Earth to Sun", description: "Earth to sun distance in km", value: BigNumber("1.496e8")!)
| |- warning: static property 'earth_sun' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earth_sun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | /// Earth mass in `kg`
61 | static let earthMass = Constant(name: "Earth Mass", description: "Earth mass in kg", value: BigNumber("5.974e+24")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:61:16: warning: static property 'earthMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
59 | static let earth_sun = Constant(name: "Earth to Sun", description: "Earth to sun distance in km", value: BigNumber("1.496e8")!)
60 | /// Earth mass in `kg`
61 | static let earthMass = Constant(name: "Earth Mass", description: "Earth mass in kg", value: BigNumber("5.974e+24")!)
| |- warning: static property 'earthMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earthMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | /// Earth radius in `km`
63 | static let earthRadius = Constant(name: "Earth Radius", description: "Earth radius in km", value: BigNumber("6371")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:63:16: warning: static property 'earthRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
61 | static let earthMass = Constant(name: "Earth Mass", description: "Earth mass in kg", value: BigNumber("5.974e+24")!)
62 | /// Earth radius in `km`
63 | static let earthRadius = Constant(name: "Earth Radius", description: "Earth radius in km", value: BigNumber("6371")!)
| |- warning: static property 'earthRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'earthRadius' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | /// Vacuum permittivity in `F/m`
65 | static let electric = Constant(name: "Electric", description: "Vacuum permittivity in F/m", value: BigNumber("8.854187e-12")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:65:16: warning: static property 'electric' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
63 | static let earthRadius = Constant(name: "Earth Radius", description: "Earth radius in km", value: BigNumber("6371")!)
64 | /// Vacuum permittivity in `F/m`
65 | static let electric = Constant(name: "Electric", description: "Vacuum permittivity in F/m", value: BigNumber("8.854187e-12")!)
| |- warning: static property 'electric' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electric' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | /// Electron mass in `kg`
67 | static let electronMass = Constant(name: "Electron Mass", description: "Electron mass in kg", value: BigNumber("9.10938291e-31")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:67:16: warning: static property 'electronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
65 | static let electric = Constant(name: "Electric", description: "Vacuum permittivity in F/m", value: BigNumber("8.854187e-12")!)
66 | /// Electron mass in `kg`
67 | static let electronMass = Constant(name: "Electron Mass", description: "Electron mass in kg", value: BigNumber("9.10938291e-31")!)
| |- warning: static property 'electronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | /// Elementary charge in `C`
69 | static let elementaryCharge = Constant(name: "Elementary Charge", description: "Elementary charge in C", value: BigNumber("1.602176565e-19")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:69:16: warning: static property 'elementaryCharge' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
67 | static let electronMass = Constant(name: "Electron Mass", description: "Electron mass in kg", value: BigNumber("9.10938291e-31")!)
68 | /// Elementary charge in `C`
69 | static let elementaryCharge = Constant(name: "Elementary Charge", description: "Elementary charge in C", value: BigNumber("1.602176565e-19")!)
| |- warning: static property 'elementaryCharge' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'elementaryCharge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | /// Euler–Mascheroni Gamma constant
71 | static let EulerGamma = Constant(name: "Euler Gamma", description: "Euler–Mascheroni Gamma constant", value: BigNumber("0.57721566490153286")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:71:16: warning: static property 'EulerGamma' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
69 | static let elementaryCharge = Constant(name: "Elementary Charge", description: "Elementary charge in C", value: BigNumber("1.602176565e-19")!)
70 | /// Euler–Mascheroni Gamma constant
71 | static let EulerGamma = Constant(name: "Euler Gamma", description: "Euler–Mascheroni Gamma constant", value: BigNumber("0.57721566490153286")!)
| |- warning: static property 'EulerGamma' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EulerGamma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | /// Faraday constant in `C/mol`
73 | static let Faraday = Constant(name: "Faraday", description: "Faraday constant in C/mol", value: BigNumber("96485.3365")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:73:16: warning: static property 'Faraday' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
71 | static let EulerGamma = Constant(name: "Euler Gamma", description: "Euler–Mascheroni Gamma constant", value: BigNumber("0.57721566490153286")!)
72 | /// Faraday constant in `C/mol`
73 | static let Faraday = Constant(name: "Faraday", description: "Faraday constant in C/mol", value: BigNumber("96485.3365")!)
| |- warning: static property 'Faraday' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Faraday' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | /// Fine structure constant
75 | static let fineStructure = Constant(name: "Fine Structure", description: "Fine structure constant", value: BigNumber("0.0072973525693")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:75:16: warning: static property 'fineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
73 | static let Faraday = Constant(name: "Faraday", description: "Faraday constant in C/mol", value: BigNumber("96485.3365")!)
74 | /// Fine structure constant
75 | static let fineStructure = Constant(name: "Fine Structure", description: "Fine structure constant", value: BigNumber("0.0072973525693")!)
| |- warning: static property 'fineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fineStructure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | /// Golden ratio
77 | static let goldenRatio = Constant(name: "Golden Ratio", description: "Golden ratio", value: BigNumber("1.61803398874989484820")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:77:16: warning: static property 'goldenRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
75 | static let fineStructure = Constant(name: "Fine Structure", description: "Fine structure constant", value: BigNumber("0.0072973525693")!)
76 | /// Golden ratio
77 | static let goldenRatio = Constant(name: "Golden Ratio", description: "Golden ratio", value: BigNumber("1.61803398874989484820")!)
| |- warning: static property 'goldenRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'goldenRatio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | /// Standard gravity in `m/s^2`
79 | static let gravity = Constant(name: "Gravity", description: "Standard gravity in m/s^2", value: BigNumber("9.80665")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:79:16: warning: static property 'gravity' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
77 | static let goldenRatio = Constant(name: "Golden Ratio", description: "Golden ratio", value: BigNumber("1.61803398874989484820")!)
78 | /// Standard gravity in `m/s^2`
79 | static let gravity = Constant(name: "Gravity", description: "Standard gravity in m/s^2", value: BigNumber("9.80665")!)
| |- warning: static property 'gravity' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gravity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | /// Inverse fine structure constant
81 | static let inverseFineStructure = Constant(name: "Inverse Fine Structure", description: "Inverse fine structure constant", value: BigNumber("137.035999139")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:81:16: warning: static property 'inverseFineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
79 | static let gravity = Constant(name: "Gravity", description: "Standard gravity in m/s^2", value: BigNumber("9.80665")!)
80 | /// Inverse fine structure constant
81 | static let inverseFineStructure = Constant(name: "Inverse Fine Structure", description: "Inverse fine structure constant", value: BigNumber("137.035999139")!)
| |- warning: static property 'inverseFineStructure' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverseFineStructure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | /// Vacuum permeability in `H/m`
83 | static let magnetic = Constant(name: "Magnetic", description: "Vacuum permeability in H/m", value: BigNumber("1.2566370614e-6")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:83:16: warning: static property 'magnetic' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
81 | static let inverseFineStructure = Constant(name: "Inverse Fine Structure", description: "Inverse fine structure constant", value: BigNumber("137.035999139")!)
82 | /// Vacuum permeability in `H/m`
83 | static let magnetic = Constant(name: "Magnetic", description: "Vacuum permeability in H/m", value: BigNumber("1.2566370614e-6")!)
| |- warning: static property 'magnetic' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'magnetic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | /// Magnetic flux quantum in `Wb`
85 | static let magneticFluxQuantum = Constant(name: "Magnetic Flux Quantum", description: "Magnetic flux quantum in Wb", value: BigNumber("2.067833831e-15")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:85:16: warning: static property 'magneticFluxQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
83 | static let magnetic = Constant(name: "Magnetic", description: "Vacuum permeability in H/m", value: BigNumber("1.2566370614e-6")!)
84 | /// Magnetic flux quantum in `Wb`
85 | static let magneticFluxQuantum = Constant(name: "Magnetic Flux Quantum", description: "Magnetic flux quantum in Wb", value: BigNumber("2.067833831e-15")!)
| |- warning: static property 'magneticFluxQuantum' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'magneticFluxQuantum' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | /// Gas constant in `J/(mol K)`
87 | static let molarGas = Constant(name: "Molar Gas", description: "Gas constant in J/(mol K)", value: BigNumber("8.3144621")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:87:16: warning: static property 'molarGas' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
85 | static let magneticFluxQuantum = Constant(name: "Magnetic Flux Quantum", description: "Magnetic flux quantum in Wb", value: BigNumber("2.067833831e-15")!)
86 | /// Gas constant in `J/(mol K)`
87 | static let molarGas = Constant(name: "Molar Gas", description: "Gas constant in J/(mol K)", value: BigNumber("8.3144621")!)
| |- warning: static property 'molarGas' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'molarGas' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | /// Mass of the moon in `kg`
89 | static let moonMass = Constant(name: "Moon Mass", description: "Mass of the moon in kg", value: BigNumber("7.348e+22")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:89:16: warning: static property 'moonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
87 | static let molarGas = Constant(name: "Molar Gas", description: "Gas constant in J/(mol K)", value: BigNumber("8.3144621")!)
88 | /// Mass of the moon in `kg`
89 | static let moonMass = Constant(name: "Moon Mass", description: "Mass of the moon in kg", value: BigNumber("7.348e+22")!)
| |- warning: static property 'moonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moonMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | /// Moon's radius in `km`
91 | static let moonRadius = Constant(name: "Moon Radius", description: "Moon's radius in km", value: BigNumber("1737.4")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:91:16: warning: static property 'moonRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
89 | static let moonMass = Constant(name: "Moon Mass", description: "Mass of the moon in kg", value: BigNumber("7.348e+22")!)
90 | /// Moon's radius in `km`
91 | static let moonRadius = Constant(name: "Moon Radius", description: "Moon's radius in km", value: BigNumber("1737.4")!)
| |- warning: static property 'moonRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moonRadius' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | /// Mass of the neutron in `kg`
93 | static let neutronMass = Constant(name: "Neutron Mass", description: "Mass of the neutron in kg", value: BigNumber("1.674927211e-27")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:93:16: warning: static property 'neutronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
91 | static let moonRadius = Constant(name: "Moon Radius", description: "Moon's radius in km", value: BigNumber("1737.4")!)
92 | /// Mass of the neutron in `kg`
93 | static let neutronMass = Constant(name: "Neutron Mass", description: "Mass of the neutron in kg", value: BigNumber("1.674927211e-27")!)
| |- warning: static property 'neutronMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neutronMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /// Newtonian constant of gravitation in `m3⋅kg−1⋅s−2`
95 | static let NewtonianGravitation = Constant(name: "Newtonian Gravitation", description: "Newtonian constant of gravitation in m3⋅kg-1⋅s-2", value: BigNumber("6.67428e-11")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:95:16: warning: static property 'NewtonianGravitation' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
93 | static let neutronMass = Constant(name: "Neutron Mass", description: "Mass of the neutron in kg", value: BigNumber("1.674927211e-27")!)
94 | /// Newtonian constant of gravitation in `m3⋅kg−1⋅s−2`
95 | static let NewtonianGravitation = Constant(name: "Newtonian Gravitation", description: "Newtonian constant of gravitation in m3⋅kg-1⋅s-2", value: BigNumber("6.67428e-11")!)
| |- warning: static property 'NewtonianGravitation' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NewtonianGravitation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | /// The mathematical constant
97 | static let pi = Constant(name: "pi", description: "The mathematical constant", value: BigNumber("3.141592653589793238")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:97:16: warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
95 | static let NewtonianGravitation = Constant(name: "Newtonian Gravitation", description: "Newtonian constant of gravitation in m3⋅kg-1⋅s-2", value: BigNumber("6.67428e-11")!)
96 | /// The mathematical constant
97 | static let pi = Constant(name: "pi", description: "The mathematical constant", value: BigNumber("3.141592653589793238")!)
| |- warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | /// Planck constant in `J⋅s`
99 | static let Planck = Constant(name: "Planck", description: "Planck constant in J⋅s", value: BigNumber("6.62606957e-34")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:99:16: warning: static property 'Planck' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
97 | static let pi = Constant(name: "pi", description: "The mathematical constant", value: BigNumber("3.141592653589793238")!)
98 | /// Planck constant in `J⋅s`
99 | static let Planck = Constant(name: "Planck", description: "Planck constant in J⋅s", value: BigNumber("6.62606957e-34")!)
| |- warning: static property 'Planck' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Planck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// Proton mass divided by electron mass
101 | static let protonElectronMassRatio = Constant(name: "Proton Electron Mass Ratio", description: "Proton mass divided by electron mass", value: BigNumber("1836.15267247")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:101:16: warning: static property 'protonElectronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
99 | static let Planck = Constant(name: "Planck", description: "Planck constant in J⋅s", value: BigNumber("6.62606957e-34")!)
100 | /// Proton mass divided by electron mass
101 | static let protonElectronMassRatio = Constant(name: "Proton Electron Mass Ratio", description: "Proton mass divided by electron mass", value: BigNumber("1836.15267247")!)
| |- warning: static property 'protonElectronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protonElectronMassRatio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | /// Proton mass divided by neutron mass
103 | static let protonNeutronMassRatio = Constant(name: "Proton Neutron Mass Ratio", description: "Proton mass divided by neutron mass", value: BigNumber("0.99862347826")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:103:16: warning: static property 'protonNeutronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
101 | static let protonElectronMassRatio = Constant(name: "Proton Electron Mass Ratio", description: "Proton mass divided by electron mass", value: BigNumber("1836.15267247")!)
102 | /// Proton mass divided by neutron mass
103 | static let protonNeutronMassRatio = Constant(name: "Proton Neutron Mass Ratio", description: "Proton mass divided by neutron mass", value: BigNumber("0.99862347826")!)
| |- warning: static property 'protonNeutronMassRatio' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protonNeutronMassRatio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | /// Proton mass in `kg`
105 | static let protonMass = Constant(name: "Proton Mass", description: "Proton mass in kg", value: BigNumber("1.672621777e-27")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:105:16: warning: static property 'protonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
103 | static let protonNeutronMassRatio = Constant(name: "Proton Neutron Mass Ratio", description: "Proton mass divided by neutron mass", value: BigNumber("0.99862347826")!)
104 | /// Proton mass in `kg`
105 | static let protonMass = Constant(name: "Proton Mass", description: "Proton mass in kg", value: BigNumber("1.672621777e-27")!)
| |- warning: static property 'protonMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protonMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | /// Rydberg constant in `m^-1`
107 | static let Rydberg = Constant(name: "Rydberg", description: "Rydberg constant in m^-1", value: BigNumber("10973731.568539")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:107:16: warning: static property 'Rydberg' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
105 | static let protonMass = Constant(name: "Proton Mass", description: "Proton mass in kg", value: BigNumber("1.672621777e-27")!)
106 | /// Rydberg constant in `m^-1`
107 | static let Rydberg = Constant(name: "Rydberg", description: "Rydberg constant in m^-1", value: BigNumber("10973731.568539")!)
| |- warning: static property 'Rydberg' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Rydberg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | /// Speed of light in `m/s`
109 | static let speedOfLight = Constant(name: "Speed of Light", description: "Speed of light in m/s", value: BigNumber("299792458")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:109:16: warning: static property 'speedOfLight' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
107 | static let Rydberg = Constant(name: "Rydberg", description: "Rydberg constant in m^-1", value: BigNumber("10973731.568539")!)
108 | /// Speed of light in `m/s`
109 | static let speedOfLight = Constant(name: "Speed of Light", description: "Speed of light in m/s", value: BigNumber("299792458")!)
| |- warning: static property 'speedOfLight' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedOfLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// Speed of sound in `m/s`
111 | static let speedOfSound = Constant(name: "Speed of Sound", description: "Speed of sound in m/s", value: BigNumber("340.29")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:111:16: warning: static property 'speedOfSound' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
109 | static let speedOfLight = Constant(name: "Speed of Light", description: "Speed of light in m/s", value: BigNumber("299792458")!)
110 | /// Speed of sound in `m/s`
111 | static let speedOfSound = Constant(name: "Speed of Sound", description: "Speed of sound in m/s", value: BigNumber("340.29")!)
| |- warning: static property 'speedOfSound' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedOfSound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | /// The square root of 2
113 | static let sqrt2 = Constant(name: "sqrt(2)", description: "The square root of 2", value: BigNumber("1.41421356237309504880")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:113:16: warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
111 | static let speedOfSound = Constant(name: "Speed of Sound", description: "Speed of sound in m/s", value: BigNumber("340.29")!)
112 | /// The square root of 2
113 | static let sqrt2 = Constant(name: "sqrt(2)", description: "The square root of 2", value: BigNumber("1.41421356237309504880")!)
| |- warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sqrt2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | /// Stefan–Boltzmann constant in `W⋅m−2⋅K−4`
115 | static let StefanBoltzmann = Constant(name: "Stefan Boltzmann", description: "Stefan–Boltzmann constant in W⋅m-2⋅K-4", value: BigNumber("5.670373e-8")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:115:16: warning: static property 'StefanBoltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
113 | static let sqrt2 = Constant(name: "sqrt(2)", description: "The square root of 2", value: BigNumber("1.41421356237309504880")!)
114 | /// Stefan–Boltzmann constant in `W⋅m−2⋅K−4`
115 | static let StefanBoltzmann = Constant(name: "Stefan Boltzmann", description: "Stefan–Boltzmann constant in W⋅m-2⋅K-4", value: BigNumber("5.670373e-8")!)
| |- warning: static property 'StefanBoltzmann' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'StefanBoltzmann' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | /// Mass of the sun in `kg`
117 | static let sunMass = Constant(name: "Sun Mass", description: "Mass of the sun in kg", value: BigNumber("1.98892e+30")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:117:16: warning: static property 'sunMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
115 | static let StefanBoltzmann = Constant(name: "Stefan Boltzmann", description: "Stefan–Boltzmann constant in W⋅m-2⋅K-4", value: BigNumber("5.670373e-8")!)
116 | /// Mass of the sun in `kg`
117 | static let sunMass = Constant(name: "Sun Mass", description: "Mass of the sun in kg", value: BigNumber("1.98892e+30")!)
| |- warning: static property 'sunMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sunMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | /// Sun's radius in `km`
119 | static let sunRadius = Constant(name: "Sun Radius", description: "Sun's radius in km", value: BigNumber("695700")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:119:16: warning: static property 'sunRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
117 | static let sunMass = Constant(name: "Sun Mass", description: "Mass of the sun in kg", value: BigNumber("1.98892e+30")!)
118 | /// Sun's radius in `km`
119 | static let sunRadius = Constant(name: "Sun Radius", description: "Sun's radius in km", value: BigNumber("695700")!)
| |- warning: static property 'sunRadius' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sunRadius' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | /// Dwayne "The Rock" Johnson's mass in `kg`
121 | static let theRockMass = Constant(name: "The Rock Mass", description: "Dwayne \"The Rock\" Johnson's mass in kg. Can't mathematician have the sense of humour?", value: BigNumber("124.73790175")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:121:16: warning: static property 'theRockMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
119 | static let sunRadius = Constant(name: "Sun Radius", description: "Sun's radius in km", value: BigNumber("695700")!)
120 | /// Dwayne "The Rock" Johnson's mass in `kg`
121 | static let theRockMass = Constant(name: "The Rock Mass", description: "Dwayne \"The Rock\" Johnson's mass in kg. Can't mathematician have the sense of humour?", value: BigNumber("124.73790175")!)
| |- warning: static property 'theRockMass' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'theRockMass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | /// Thomson cross section in `m2`
123 | static let Thomson = Constant(name: "Thomson", description: "Thomson cross section in m2", value: BigNumber("0.6652458734e-28")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:123:16: warning: static property 'Thomson' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
121 | static let theRockMass = Constant(name: "The Rock Mass", description: "Dwayne \"The Rock\" Johnson's mass in kg. Can't mathematician have the sense of humour?", value: BigNumber("124.73790175")!)
122 | /// Thomson cross section in `m2`
123 | static let Thomson = Constant(name: "Thomson", description: "Thomson cross section in m2", value: BigNumber("0.6652458734e-28")!)
| |- warning: static property 'Thomson' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Thomson' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 | /// The answer to life, the universe, and everything
125 | static let UltimateAnswer = Constant(name: "Ultimate Answer", description: "The answer to life, the universe, and everything", value: BigNumber("42")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:125:16: warning: static property 'UltimateAnswer' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
123 | static let Thomson = Constant(name: "Thomson", description: "Thomson cross section in m2", value: BigNumber("0.6652458734e-28")!)
124 | /// The answer to life, the universe, and everything
125 | static let UltimateAnswer = Constant(name: "Ultimate Answer", description: "The answer to life, the universe, and everything", value: BigNumber("42")!)
| |- warning: static property 'UltimateAnswer' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UltimateAnswer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The coldness of the universe in `C`
127 | static let universeTemperature = Constant(name: "Universe Temperature", description: "The coldness of the universe in C", value: BigNumber("-273.15")!)
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:127:16: warning: static property 'universeTemperature' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
125 | static let UltimateAnswer = Constant(name: "Ultimate Answer", description: "The answer to life, the universe, and everything", value: BigNumber("42")!)
126 | /// The coldness of the universe in `C`
127 | static let universeTemperature = Constant(name: "Universe Temperature", description: "The coldness of the universe in C", value: BigNumber("-273.15")!)
| |- warning: static property 'universeTemperature' is not concurrency-safe because non-'Sendable' type 'Constant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'universeTemperature' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 | /// The list of all constants
/host/spi-builder-workspace/Sources/Euler/NumberTheory/Constants.swift:130:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Constant]' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Mathematical constant object
34 | public struct Constant {
| `- note: consider making struct 'Constant' conform to the 'Sendable' protocol
35 | /// The name of the constant
36 | public var name: String
:
128 |
129 | /// The list of all constants
130 | static let all: [Constant] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Constant]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | .alphaParticleMass,
132 | .atomicMass,
[66/85] Compiling Euler Logarithms.swift
[67/85] Compiling Euler combinations.swift
[68/85] Compiling Euler fibonacci.swift
[69/85] Compiling Euler gamma.swift
[70/85] Compiling Euler gcd.swift
[71/85] Compiling Euler isPrime.swift
[72/85] Compiling Euler leastFactor.swift
[73/85] Compiling Euler modulo.swift
[74/85] Compiling Euler random.swift
[75/85] Compiling Euler sum.swift
[76/85] Compiling Euler Average.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[77/85] Compiling Euler Correlation.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[78/85] Compiling Euler Fisher.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[79/85] Compiling Euler Gauss.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[80/85] Compiling Euler Quantile.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[81/85] Compiling Euler Regression.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[82/85] Compiling Euler Statistics.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[83/85] Compiling Euler Variance.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[84/85] Compiling Euler CellValue.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[85/85] Compiling Euler CommonFormulas.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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/74] Emitting module Euler
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[3/84] Compiling Euler LogicalLinker.swift
[4/84] Compiling Euler StatsLinker.swift
[5/84] Compiling Euler Tables.swift
[6/84] Compiling Euler TablesDataSource.swift
[7/84] Compiling Euler TablesDelegate.swift
[8/84] Compiling Euler KnuthDSupport.swift
[9/84] Compiling Euler Pointers.swift
[10/84] Compiling Euler Substring.swift
[11/84] Compiling Euler UnsafeMemory.swift
[12/84] Compiling Euler UnsafeMutableMemory.swift
[13/84] Compiling Euler Logarithms.swift
[14/84] Compiling Euler combinations.swift
[15/84] Compiling Euler fibonacci.swift
[16/84] Compiling Euler gamma.swift
[17/84] Compiling Euler gcd.swift
[18/84] Compiling Euler isPrime.swift
[19/84] Compiling Euler leastFactor.swift
[20/84] Compiling Euler modulo.swift
[21/84] Compiling Euler random.swift
[22/84] Compiling Euler sum.swift
[23/84] Compiling Euler DateTime.swift
[24/84] Compiling Euler Engineering.swift
[25/84] Compiling Euler Financial.swift
[26/84] Compiling Euler Logical.swift
[27/84] Compiling Euler Statistical.swift
[28/84] Compiling Euler Execute.swift
[29/84] Compiling Euler CommonLinker.swift
[30/84] Compiling Euler DateLinker.swift
[31/84] Compiling Euler EngineeringLinker.swift
[32/84] Compiling Euler FinancialLinker.swift
[33/84] Compiling Euler Average.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[34/84] Compiling Euler Correlation.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[35/84] Compiling Euler Fisher.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[36/84] Compiling Euler Gauss.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[37/84] Compiling Euler Quantile.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[38/84] Compiling Euler Regression.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[39/84] Compiling Euler Statistics.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[40/84] Compiling Euler Variance.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[41/84] Compiling Euler CellValue.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[42/84] Compiling Euler CommonFormulas.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
[43/84] Compiling Euler Collatz.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[44/84] Compiling Euler Fibonacci.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[45/84] Compiling Euler Sieve.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[46/84] Compiling Euler Graph.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[47/84] Compiling Euler Point.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[48/84] Compiling Euler Vector.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[49/84] Compiling Euler MOperations.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[50/84] Compiling Euler MProperties.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[51/84] Compiling Euler Matrix.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[52/84] Compiling Euler Constants.swift
/host/spi-builder-workspace/Sources/Euler/Geometry/Vector.swift:53:24: error: cannot find type 'Matrix' in scope
51 | #if !os(Linux)
52 | /// Converts a Vector into a Matrix
53 | public var matrix: Matrix {
| `- error: cannot find type 'Matrix' in scope
54 | return Matrix(self.dims.map { $0.asDouble() ?? Double.infinity }, isColumnVector: true)
55 | }
[53/84] Compiling Euler Expression.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[54/84] Compiling Euler ExpressionSolver.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[55/84] Compiling Euler Grouper.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[56/84] Compiling Euler LaTeX.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[57/84] Compiling Euler Lexer.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[58/84] Compiling Euler CellAddressNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[59/84] Compiling Euler ConstantNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[60/84] Compiling Euler ExpressionNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[61/84] Compiling Euler FunctionNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[62/84] Compiling Euler Node.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[63/84] Compiling Euler NullNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[64/84] Compiling Euler OperatorNode.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[65/84] Compiling Euler StringNode.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[66/84] Compiling Euler SymbolNode.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[67/84] Compiling Euler Parser.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[68/84] Compiling Euler Regex.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[69/84] Compiling Euler Polynomial.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[70/84] Compiling Euler simplify.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[71/84] Compiling Euler Tree.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[72/84] Compiling Euler BNativeExtensions.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[73/84] Compiling Euler BasicOperators.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[74/84] Compiling Euler BigDouble.swift
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:324:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
322 | return self.decimalDescription
323 | } else {
324 | guard let index = d.index(of: ".") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
| `- note: use 'firstIndex(of:)' instead
325 | let rounded = self.rounded()
326 | return rounded.scientificDescription
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/BigDouble.swift:328:27: warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
326 | return rounded.scientificDescription
327 | }
328 | power = index.encodedOffset - 1
| `- warning: 'encodedOffset' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use utf16Offset(in:) to achieve the same behavior.
329 | }
330 | d = d.replacingOccurrences(of: ".", with: "")
[75/84] Compiling Euler OperationsBigDouble.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[76/84] Compiling Euler BigInt.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[77/84] Compiling Euler BinaryBigInt.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[78/84] Compiling Euler OperationsBigInt.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[79/84] Compiling Euler Limbs.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[80/84] Compiling Euler RSA.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[81/84] Compiling Euler md5.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[82/84] Compiling Euler sha256.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[83/84] Compiling Euler Euler.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
[84/84] Compiling Euler Array.swift
/host/spi-builder-workspace/Sources/Euler/Cryptography/sha256.swift:28:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
26 | let bytes: Array<UInt8> = Array(self)
27 | let result = SHA256(bytes).calculate32()
28 | return Data(bytes: result)
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead
29 | }
30 | }
BUILD FAILURE 6.1 android