Build Information
Failed to build Graphics, reference 0.4.1 (4d15d4
), with Swift 6.1 for Android on 27 May 2025 19:06:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dn-m/Graphics.git
Reference: 0.4.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/dn-m/Graphics
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at 4d15d49 Refine quarantined platforms, and regenerate linux tests (#41)
Cloned https://github.com/dn-m/Graphics.git
Revision (git rev-parse @):
4d15d498a072e0c2ce7964c76c71fc41c6715538
SUCCESS checkout https://github.com/dn-m/Graphics.git at 0.4.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/dn-m/Graphics.git
https://github.com/dn-m/Graphics.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swxmlhash",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/drmohundro/SWXMLHash"
},
{
"identity" : "math",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dn-m/Math"
},
{
"identity" : "structure",
"requirement" : {
"range" : [
{
"lower_bound" : "0.23.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dn-m/Structure"
}
],
"manifest_display_name" : "Graphics",
"name" : "Graphics",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Geometry",
"targets" : [
"Geometry"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Path",
"targets" : [
"Path"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Rendering",
"targets" : [
"Rendering"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SVG",
"targets" : [
"SVG"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QuartzAdapter",
"targets" : [
"QuartzAdapter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GraphicsTesting",
"targets" : [
"GraphicsTesting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SVGTests",
"module_type" : "SwiftTarget",
"name" : "SVGTests",
"path" : "Tests/SVGTests",
"sources" : [
"SVGTests.swift"
],
"target_dependencies" : [
"SVG",
"GraphicsTesting"
],
"type" : "test"
},
{
"c99name" : "SVG",
"module_type" : "SwiftTarget",
"name" : "SVG",
"path" : "Sources/SVG",
"product_dependencies" : [
"SWXMLHash"
],
"product_memberships" : [
"SVG"
],
"sources" : [
"Circle+SVG.swift",
"Color+SVG.swift",
"Double+SVG.swift",
"Ellipse+SVG.swift",
"Fill+SVGInitializable.swift",
"Line+SVG.swift",
"Path+SVG.swift",
"PathElement+SVG.swift",
"Point+SVG.swift",
"Polygon+SVG.swift",
"Polyline+SVG.swift",
"Rectangle+SVG.swift",
"SVG.Group.swift",
"SVG.Parser.swift",
"SVG.swift",
"SVGInitializable.swift",
"Stroke+SVGInitializable.swift",
"StyledPath+SVGInitializable.swift",
"StyledPath.Composite+SVG.swift",
"Styling+SVGInitializable.swift"
],
"target_dependencies" : [
"Rendering"
],
"type" : "library"
},
{
"c99name" : "RenderingTests",
"module_type" : "SwiftTarget",
"name" : "RenderingTests",
"path" : "Tests/RenderingTests",
"sources" : [
"ColorTests.swift",
"CompositeTests.swift",
"StyledPathTests.swift",
"TextBoxTests.swift",
"TextTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Rendering",
"GraphicsTesting"
],
"type" : "test"
},
{
"c99name" : "Rendering",
"module_type" : "SwiftTarget",
"name" : "Rendering",
"path" : "Sources/Rendering",
"product_memberships" : [
"Rendering",
"SVG",
"QuartzAdapter",
"GraphicsTesting"
],
"sources" : [
"Alignment.swift",
"Color.swift",
"Fill.swift",
"Group.swift",
"Insets.swift",
"Item.swift",
"Renderable.swift",
"Renderer.swift",
"Stroke.swift",
"StyledPath.Composite.swift",
"StyledPath.swift",
"Styling.swift"
],
"target_dependencies" : [
"Path"
],
"type" : "library"
},
{
"c99name" : "QuartzAdapterTests",
"module_type" : "SwiftTarget",
"name" : "QuartzAdapterTests",
"path" : "Tests/QuartzAdapterTests",
"sources" : [
"QuartzAdapterTests.swift"
],
"target_dependencies" : [
"QuartzAdapter",
"GraphicsTesting"
],
"type" : "test"
},
{
"c99name" : "QuartzAdapter",
"module_type" : "SwiftTarget",
"name" : "QuartzAdapter",
"path" : "Sources/QuartzAdapter",
"product_memberships" : [
"QuartzAdapter",
"GraphicsTesting"
],
"sources" : [
"CALayer+PDF.swift",
"Color+CGColor.swift",
"Path+CAShapeLayer.swift",
"Path+CGPath.swift",
"PathElement+CGPathElement.swift",
"Point+CGPoint.swift",
"Rectangle+CGRect.swift",
"Size+CGSize.swift",
"StyledPath+CAShapeLayer.swift",
"StyledPath.Composite+CALayer.swift",
"TestFrame.swift",
"Text+CATextLayer.swift",
"TextBox+CALayer.swift"
],
"target_dependencies" : [
"Rendering"
],
"type" : "library"
},
{
"c99name" : "PathTests",
"module_type" : "SwiftTarget",
"name" : "PathTests",
"path" : "Tests/PathTests",
"sources" : [
"CubicBezierCurveTests.swift",
"EllipseTests.swift",
"LinearBezierCurveTests.swift",
"PathElementTests.swift",
"PathTests.swift",
"QuadraticBezierCurveTests.swift",
"TransformTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Path",
"Rendering",
"GraphicsTesting"
],
"type" : "test"
},
{
"c99name" : "Path",
"module_type" : "SwiftTarget",
"name" : "Path",
"path" : "Sources/Path",
"product_dependencies" : [
"Math"
],
"product_memberships" : [
"Path",
"Rendering",
"SVG",
"QuartzAdapter",
"GraphicsTesting"
],
"sources" : [
"BezierCurve.swift",
"CubicBezierCurve.swift",
"Path+Arrowhead.swift",
"Path+Circle.swift",
"Path+Ellipse.swift",
"Path+Line.Segment.swift",
"Path+Parallelogram.swift",
"Path+PolygonProtocol.swift",
"Path+Polyline.swift",
"Path+Rectangle.swift",
"Path+Square.swift",
"Path+Transform.swift",
"Path.Builder.swift",
"Path.swift",
"PathElement.swift",
"PathRepresentable.swift"
],
"target_dependencies" : [
"Geometry"
],
"type" : "library"
},
{
"c99name" : "GraphicsTesting",
"module_type" : "SwiftTarget",
"name" : "GraphicsTesting",
"path" : "Sources/GraphicsTesting",
"product_memberships" : [
"GraphicsTesting"
],
"sources" : [
"GraphicsTesting.swift"
],
"target_dependencies" : [
"QuartzAdapter"
],
"type" : "library"
},
{
"c99name" : "GeometryTests",
"module_type" : "SwiftTarget",
"name" : "GeometryTests",
"path" : "Tests/GeometryTests",
"sources" : [
"AngleTests.swift",
"CollisionDetectionTests.swift",
"LineTests.swift",
"PointTests.swift",
"PolygonTests.swift",
"RectangleTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Geometry"
],
"type" : "test"
},
{
"c99name" : "Geometry",
"module_type" : "SwiftTarget",
"name" : "Geometry",
"path" : "Sources/Geometry",
"product_dependencies" : [
"Math",
"DataStructures"
],
"product_memberships" : [
"Geometry",
"Path",
"Rendering",
"SVG",
"QuartzAdapter",
"GraphicsTesting"
],
"sources" : [
"Angle.swift",
"Axis.swift",
"Bound.swift",
"Circle.swift",
"CollisionDetectable.swift",
"CollisionDetection.swift",
"ConvexPolygon.swift",
"ConvexPolygonContainer.swift",
"ConvexPolygonProtocol.swift",
"Ellipse.swift",
"Extremum.swift",
"Line.Ray.swift",
"Line.Segment.swift",
"Line.swift",
"Point.swift",
"Polygon.swift",
"PolygonError.swift",
"PolygonProtocol.swift",
"Polyline.swift",
"Rectangle.swift",
"Rotation.swift",
"Shape.swift",
"Size.swift",
"Triangle.swift",
"Vector2.swift",
"VertexCollection.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/drmohundro/SWXMLHash
Fetching https://github.com/dn-m/Structure
Fetching https://github.com/dn-m/Math
[1/5829] Fetching structure
[1808/6670] Fetching structure, math
[2002/9490] Fetching structure, math, swxmlhash
Fetched https://github.com/dn-m/Math from cache (0.31s)
Fetched https://github.com/dn-m/Structure from cache (0.38s)
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.38s)
Computing version for https://github.com/dn-m/Math
Computed https://github.com/dn-m/Math at 0.8.0 (0.90s)
Computing version for https://github.com/dn-m/Structure
Computed https://github.com/dn-m/Structure at 0.25.0 (2.08s)
Fetching https://github.com/dn-m/PerformanceTesting
[1/1525] Fetching performancetesting
Fetched https://github.com/dn-m/PerformanceTesting from cache (0.38s)
Computing version for https://github.com/dn-m/PerformanceTesting
Computed https://github.com/dn-m/PerformanceTesting at 0.4.0 (1.49s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 4.9.0 (1.98s)
Creating working copy for https://github.com/dn-m/Math
Working copy of https://github.com/dn-m/Math resolved at 0.8.0
Creating working copy for https://github.com/dn-m/Structure
Working copy of https://github.com/dn-m/Structure resolved at 0.25.0
Creating working copy for https://github.com/drmohundro/SWXMLHash
Working copy of https://github.com/drmohundro/SWXMLHash resolved at 4.9.0
Creating working copy for https://github.com/dn-m/PerformanceTesting
Working copy of https://github.com/dn-m/PerformanceTesting resolved at 0.4.0
Building for debugging...
[0/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/19] Emitting module Destructure
[15/19] Compiling Destructure Destructure.swift
[17/20] Compiling SWXMLHash shim.swift
[18/44] Emitting module Algebra
[19/46] Compiling Algorithms TupleMap.swift
[20/46] Compiling Algorithms Swap.swift
[21/47] Compiling Algebra Product.swift
[22/47] Compiling Algebra Semigroup.swift
[23/47] Compiling Algebra MonoidView.swift
[24/47] Compiling Algebra Multiplicative.swift
[25/47] Compiling Algebra MultiplicativeSemigroup.swift
[26/47] Compiling Algebra One.swift
[27/47] Compiling Algorithms Combinatorics.swift
[28/47] Emitting module Algorithms
[29/47] Compiling Algorithms Rotate.swift
[30/47] Compiling Algorithms Ordered.swift
[31/47] Compiling Algorithms Split.swift
[32/47] Compiling Algorithms StableSort.swift
[33/47] Compiling Algebra Invertible.swift
[34/47] Compiling Algebra Monoid.swift
[35/47] Compiling Algebra AlgebraAdapters.swift
[36/47] Compiling Algebra Group.swift
[37/47] Compiling Algebra AdditiveGroup.swift
[38/47] Compiling Algebra AdditiveSemigroup.swift
[39/47] Compiling Algebra Abelian.swift
[40/47] Compiling Algebra Accumulate.swift
[41/47] Compiling Algebra Additive.swift
[42/47] Compiling Algebra Sum.swift
[43/47] Compiling Algebra Zero.swift
[44/48] Compiling Algorithms Unzip.swift
[47/108] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[48/108] Compiling DataStructures ReferenceGraph.Node.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
[49/108] Compiling DataStructures ReferenceGraph.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
[50/108] Compiling DataStructures WeightedDirectedGraph.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
[51/108] Compiling DataStructures WeightedGraph.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
[52/108] Compiling DataStructures Bimap.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
[53/108] Compiling DataStructures ContiguousSegmentCollection.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
[54/108] Compiling DataStructures Fragmentable.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
[55/108] Compiling DataStructures Intervallic.swift
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:465:75: error: type of expression is ambiguous without a type annotation
463 | private enum Bound {
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
| `- error: type of expression is ambiguous without a type annotation
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
467 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Hash/ContiguousSegmentCollection/ContiguousSegmentCollection.swift:466:84: error: ambiguous use of operator '<='
464 | case lower, upper
465 | var lowerCompare: (Metric,Metric) -> Bool { return self == .lower ? (>=) : (>) }
466 | var upperCompare: (Metric,Metric) -> Bool { return self == .lower ? (<) : (<=) }
| `- error: ambiguous use of operator '<='
467 | }
468 |
Swift.Comparable.<=:2:13: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
Swift.Comparable.<=:2:31: note: found this candidate in module 'Swift'
1 | protocol Comparable {
2 | @inlinable public static func <= (lhs: Self, rhs: Self) -> Bool}
| `- note: found this candidate in module 'Swift'
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/108] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
[57/108] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
292 |
293 | self.ops = ops
294 | let parser = Foundation.XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
295 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
296 | parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
381 | parentStack.push(root)
382 |
383 | let parser = Foundation.XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
384 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
385 | parser.delegate = self
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[2/7] Compiling Destructure Destructure.swift
[3/7] Emitting module Destructure
[4/8] Compiling SWXMLHash shim.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[7/8] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
[8/8] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
292 |
293 | self.ops = ops
294 | let parser = Foundation.XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
295 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
296 | parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
381 | parentStack.push(root)
382 |
383 | let parser = Foundation.XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
384 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
385 | parser.delegate = self
BUILD FAILURE 6.1 android