The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of Cassowary, reference 2.0.1 (7de8fe), with Swift 6.2 (beta) for Linux on 18 Jun 2025 04:05:46 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tribalworldwidelondon/CassowarySwift.git
Reference: 2.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tribalworldwidelondon/CassowarySwift
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 7de8fee Optimised orderedDictionary
Cloned https://github.com/tribalworldwidelondon/CassowarySwift.git
Revision (git rev-parse @):
7de8fee8331ad13eabb8de639fab0fde7a8f0d77
SUCCESS checkout https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tribalworldwidelondon/CassowarySwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Cassowary Strength.swift
/host/spi-builder-workspace/Sources/Cassowary/Symbol.swift:66:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
64 | extension Symbol: Hashable {
65 |
66 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
67 |         // Return a hash 'unique' to this object
68 |         return ObjectIdentifier(self).hashValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/17] Compiling Cassowary Symbol.swift
/host/spi-builder-workspace/Sources/Cassowary/Symbol.swift:66:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
64 | extension Symbol: Hashable {
65 |
66 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
67 |         // Return a hash 'unique' to this object
68 |         return ObjectIdentifier(self).hashValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/19] Compiling Cassowary Term.swift
/host/spi-builder-workspace/Sources/Cassowary/Variable.swift:84:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
82 | extension Variable: Hashable {
83 |
84 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
85 |         // Return a hash 'unique' to this object
86 |         return ObjectIdentifier(self).hashValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/19] Compiling Cassowary Variable.swift
/host/spi-builder-workspace/Sources/Cassowary/Variable.swift:84:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
82 | extension Variable: Hashable {
83 |
84 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
85 |         // Return a hash 'unique' to this object
86 |         return ObjectIdentifier(self).hashValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[7/19] Compiling Cassowary ConstraintOperators.swift
[8/19] Compiling Cassowary ConstraintOperatorsCGFloat.swift
[9/19] Emitting module Cassowary
/host/spi-builder-workspace/Sources/Cassowary/Constraint.swift:119:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
117 | extension Constraint: Hashable {
118 |     /// :nodoc:
119 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |         // Return a hash 'unique' to this object
121 |         return ObjectIdentifier(self).hashValue
/host/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:37:5: warning: 'internal' modifier is redundant for property declared in an internal extension
35 |     static let epsilon: Double = 1.0e-8
36 |
37 |     internal var isNearZero: Bool {
   |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
38 |         return self < 0.0 ? -self < .epsilon : self < .epsilon
39 |     }
/host/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:41:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
39 |     }
40 |
41 |     internal func isApproximately(value: Double) -> Bool {
   |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
42 |         return abs(self - value) < .epsilon
43 |     }
/host/spi-builder-workspace/Sources/Cassowary/Row.swift:240:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
238 | extension Row: Hashable {
239 |
240 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
241 |         // Return a hash 'unique' to this object
242 |         return ObjectIdentifier(self).hashValue
/host/spi-builder-workspace/Sources/Cassowary/Symbol.swift:66:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
64 | extension Symbol: Hashable {
65 |
66 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Symbol' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
67 |         // Return a hash 'unique' to this object
68 |         return ObjectIdentifier(self).hashValue
/host/spi-builder-workspace/Sources/Cassowary/Variable.swift:84:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
82 | extension Variable: Hashable {
83 |
84 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Variable' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
85 |         // Return a hash 'unique' to this object
86 |         return ObjectIdentifier(self).hashValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/19] Compiling Cassowary CassowaryDebugDescription.swift
/host/spi-builder-workspace/Sources/Cassowary/Constraint.swift:119:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
117 | extension Constraint: Hashable {
118 |     /// :nodoc:
119 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |         // Return a hash 'unique' to this object
121 |         return ObjectIdentifier(self).hashValue
/host/spi-builder-workspace/Sources/Cassowary/Constraint.swift:81:13: warning: variable 'vars' was never mutated; consider changing to 'let' constant
 79 |
 80 |     private static func reduce(_ expr: Expression) -> Expression {
 81 |         var vars = OrderedDictionary<Variable, Double>()
    |             `- warning: variable 'vars' was never mutated; consider changing to 'let' constant
 82 |
 83 |         for term in expr.terms {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/19] Compiling Cassowary Constraint.swift
/host/spi-builder-workspace/Sources/Cassowary/Constraint.swift:119:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
117 | extension Constraint: Hashable {
118 |     /// :nodoc:
119 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Constraint' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |         // Return a hash 'unique' to this object
121 |         return ObjectIdentifier(self).hashValue
/host/spi-builder-workspace/Sources/Cassowary/Constraint.swift:81:13: warning: variable 'vars' was never mutated; consider changing to 'let' constant
 79 |
 80 |     private static func reduce(_ expr: Expression) -> Expression {
 81 |         var vars = OrderedDictionary<Variable, Double>()
    |             `- warning: variable 'vars' was never mutated; consider changing to 'let' constant
 82 |
 83 |         for term in expr.terms {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/19] Compiling Cassowary Row.swift
/host/spi-builder-workspace/Sources/Cassowary/Row.swift:240:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
238 | extension Row: Hashable {
239 |
240 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
241 |         // Return a hash 'unique' to this object
242 |         return ObjectIdentifier(self).hashValue
/host/spi-builder-workspace/Sources/Cassowary/Row.swift:148:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
146 |         constant = -constant
147 |
148 |         var newCells = OrderedDictionary<Symbol, Double>()
    |             `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
149 |
150 |         for symbol in cells.keys {
/host/spi-builder-workspace/Sources/Cassowary/Row.swift:173:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
171 |         constant *= coeff
172 |
173 |         var newCells = OrderedDictionary<Symbol, Double>()
    |             `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
174 |
175 |         for s in cells.keys {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/19] Compiling Cassowary Solver.swift
/host/spi-builder-workspace/Sources/Cassowary/Row.swift:240:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
238 | extension Row: Hashable {
239 |
240 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Row' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
241 |         // Return a hash 'unique' to this object
242 |         return ObjectIdentifier(self).hashValue
/host/spi-builder-workspace/Sources/Cassowary/Row.swift:148:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
146 |         constant = -constant
147 |
148 |         var newCells = OrderedDictionary<Symbol, Double>()
    |             `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
149 |
150 |         for symbol in cells.keys {
/host/spi-builder-workspace/Sources/Cassowary/Row.swift:173:13: warning: variable 'newCells' was never mutated; consider changing to 'let' constant
171 |         constant *= coeff
172 |
173 |         var newCells = OrderedDictionary<Symbol, Double>()
    |             `- warning: variable 'newCells' was never mutated; consider changing to 'let' constant
174 |
175 |         for s in cells.keys {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/19] Compiling Cassowary OrderedDictionary.swift
[15/19] Compiling Cassowary RelationalOperator.swift
[16/19] Compiling Cassowary Errors.swift
[17/19] Compiling Cassowary Expression.swift
[18/19] Compiling Cassowary ConstraintOperatorsInt.swift
/host/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:37:5: warning: 'internal' modifier is redundant for property declared in an internal extension
35 |     static let epsilon: Double = 1.0e-8
36 |
37 |     internal var isNearZero: Bool {
   |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
38 |         return self < 0.0 ? -self < .epsilon : self < .epsilon
39 |     }
/host/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:41:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
39 |     }
40 |
41 |     internal func isApproximately(value: Double) -> Bool {
   |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
42 |         return abs(self - value) < .epsilon
43 |     }
[19/19] Compiling Cassowary Double+Epsilon.swift
/host/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:37:5: warning: 'internal' modifier is redundant for property declared in an internal extension
35 |     static let epsilon: Double = 1.0e-8
36 |
37 |     internal var isNearZero: Bool {
   |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
38 |         return self < 0.0 ? -self < .epsilon : self < .epsilon
39 |     }
/host/spi-builder-workspace/Sources/Cassowary/Double+Epsilon.swift:41:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
39 |     }
40 |
41 |     internal func isApproximately(value: Double) -> Bool {
   |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
42 |         return abs(self - value) < .epsilon
43 |     }
Build complete! (13.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Cassowary",
  "name" : "Cassowary",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cassowary",
      "targets" : [
        "Cassowary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CassowaryTests",
      "module_type" : "SwiftTarget",
      "name" : "CassowaryTests",
      "path" : "Tests/CassowaryTests",
      "sources" : [
        "AssertionHelpers.swift",
        "CassowaryTests.swift",
        "ConstraintTests.swift",
        "Double+EpsilonTests.swift",
        "ExpressionTests.swift",
        "TermTests.swift",
        "VariableTests.swift"
      ],
      "target_dependencies" : [
        "Cassowary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cassowary",
      "module_type" : "SwiftTarget",
      "name" : "Cassowary",
      "path" : "Sources/Cassowary",
      "product_memberships" : [
        "Cassowary"
      ],
      "sources" : [
        "CassowaryDebugDescription.swift",
        "Constraint.swift",
        "ConstraintOperators.swift",
        "ConstraintOperatorsCGFloat.swift",
        "ConstraintOperatorsInt.swift",
        "Double+Epsilon.swift",
        "Errors.swift",
        "Expression.swift",
        "OrderedDictionary.swift",
        "RelationalOperator.swift",
        "Row.swift",
        "Solver.swift",
        "Strength.swift",
        "Symbol.swift",
        "Term.swift",
        "Variable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.