Build Information
Failed to build swift-geometrize, reference 1.2.1 (2f3b34
), with Swift 6.1 for Android on 29 May 2025 09:31:26 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/valeriyvan/swift-geometrize.git
Reference: 1.2.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/valeriyvan/swift-geometrize
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at 2f3b34c Use stable version of SwiftLint
Cloned https://github.com/valeriyvan/swift-geometrize.git
Revision (git rev-parse @):
2f3b34cb6a9f0820c0ca411528abcd9a45202088
SUCCESS checkout https://github.com/valeriyvan/swift-geometrize.git at 1.2.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/valeriyvan/swift-geometrize.git
https://github.com/valeriyvan/swift-geometrize.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-png",
"requirement" : {
"range" : [
{
"lower_bound" : "4.4.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tayloraswift/swift-png.git"
},
{
"identity" : "jpeg",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tayloraswift/jpeg.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.13.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
},
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint.git"
}
],
"manifest_display_name" : "swift-geometrize",
"name" : "swift-geometrize",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Geometrize",
"targets" : [
"Geometrize"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BitmapImportExport",
"targets" : [
"BitmapImportExport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "geometrize",
"targets" : [
"geometrize-cli"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "geometrizeTests",
"module_type" : "SwiftTarget",
"name" : "geometrizeTests",
"path" : "Tests/geometrizeTests",
"product_dependencies" : [
"PNG",
"SnapshotTesting"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/geometrizeTests/Resources",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/geometrizeTests/__Snapshots__",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ArrayScanlines+StringBundleResource.swift",
"Bitmap+pngBundleResource.swift",
"Bitmap+ppmBundleResource.swift",
"BitmapDiffing.swift",
"BitmapDownsampleTests.swift",
"BitmapExporterTests.swift",
"BitmapTests.swift",
"CircleTest.swift",
"ClampedTests.swift",
"CoreTests.swift",
"EllipseTests.swift",
"ImageRunnerTests.swift",
"LineTests.swift",
"QuadraticBezierTests.swift",
"RgbaTests.swift",
"ScanlineTests.swift",
"ShapeTypeTests.swift",
"ShapeTypesTests.swift",
"TriangleTests.swift",
"bresenhamTests.swift"
],
"target_dependencies" : [
"Geometrize",
"BitmapImportExport"
],
"type" : "test"
},
{
"c99name" : "geometrize_cli",
"module_type" : "SwiftTarget",
"name" : "geometrize-cli",
"path" : "Sources/geometrize-cli",
"product_dependencies" : [
"ArgumentParser",
"PNG",
"JPEG"
],
"product_memberships" : [
"geometrize"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/geometrize-cli/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Geometrize",
"BitmapImportExport"
],
"type" : "executable"
},
{
"c99name" : "Geometrize",
"module_type" : "SwiftTarget",
"name" : "Geometrize",
"path" : "Sources/geometrize",
"product_dependencies" : [
"Algorithms"
],
"product_memberships" : [
"Geometrize",
"BitmapImportExport",
"geometrize"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/geometrize/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BinaryInteger.swift",
"Bitmap+UIImage.swift",
"Bitmap.swift",
"BitmapDifference.swift",
"BitmapExporter.swift",
"Bounds.swift",
"EnergyFunction.swift",
"FloatingPointExtension.swift",
"GeometrizeModelBase.swift",
"GeometrizeModelHillClimb.swift",
"GeometrizingIterator.swift",
"GeometrizingSequence.swift",
"HillClimb.swift",
"ImageRunner.swift",
"Int_random.swift",
"Point.swift",
"Polygon.swift",
"Rgba.swift",
"SVGExporter.swift",
"Scanline.swift",
"ShapeAcceptancePrecondition.swift",
"ShapeCreator.swift",
"ShapeResult.swift",
"Shapes/Circle.swift",
"Shapes/Ellipse.swift",
"Shapes/Line.swift",
"Shapes/Polyline.swift",
"Shapes/QuadraticBezier.swift",
"Shapes/Rectangle.swift",
"Shapes/RotatedEllipse.swift",
"Shapes/RotatedRectangle.swift",
"Shapes/Shape.swift",
"Shapes/String-ShapeType.swift",
"Shapes/Triangle.swift",
"Shapes/allShapeTypes.swift",
"SplitMix64.swift",
"State.swift",
"bresenham.swift",
"mapShapeBoundsToImage.swift"
],
"type" : "library"
},
{
"c99name" : "BitmapImportExport",
"module_type" : "SwiftTarget",
"name" : "BitmapImportExport",
"path" : "Sources/bitmapImportExport",
"product_dependencies" : [
"PNG",
"JPEG"
],
"product_memberships" : [
"BitmapImportExport",
"geometrize"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/bitmapImportExport/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Bitmap+JPEG.swift",
"Bitmap+PNG.swift",
"DestinationStream.swift",
"JPEG.Data.Rectangular.swift",
"SourceStream.swift"
],
"target_dependencies" : [
"Geometrize"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/apple/swift-argument-parser.git
Fetching https://github.com/tayloraswift/swift-png.git
Fetching https://github.com/tayloraswift/jpeg.git
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6432] Fetching swift-png
[966/10042] Fetching swift-png, jpeg
[1400/16001] Fetching swift-png, jpeg, swift-algorithms
[7532/31380] Fetching swift-png, jpeg, swift-algorithms, swift-argument-parser
[23986/44569] Fetching swift-png, jpeg, swift-algorithms, swift-argument-parser, swift-snapshot-testing
[24008/194952] Fetching swift-png, jpeg, swift-algorithms, swift-argument-parser, swift-snapshot-testing, swiftlint
Fetched https://github.com/apple/swift-algorithms.git from cache (2.88s)
[47067/188993] Fetching swift-png, jpeg, swift-argument-parser, swift-snapshot-testing, swiftlint
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.54s)
[43467/175804] Fetching swift-png, jpeg, swift-argument-parser, swiftlint
Fetched https://github.com/tayloraswift/swift-png.git from cache (5.23s)
[38539/169372] Fetching jpeg, swift-argument-parser, swiftlint
Fetched https://github.com/apple/swift-argument-parser.git from cache (24.66s)
Fetched https://github.com/tayloraswift/jpeg.git from cache (24.79s)
Fetched https://github.com/realm/SwiftLint.git from cache (25.95s)
Computing version for https://github.com/tayloraswift/jpeg.git
Computed https://github.com/tayloraswift/jpeg.git at 1.1.0 (32.01s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.98s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.68s)
Computing version for https://github.com/tayloraswift/swift-png.git
Computed https://github.com/tayloraswift/swift-png.git at 4.4.9 (0.97s)
Fetching https://github.com/tayloraswift/swift-hash
[1/868] Fetching swift-hash
Fetched https://github.com/tayloraswift/swift-hash from cache (0.26s)
Computing version for https://github.com/tayloraswift/swift-hash
Computed https://github.com/tayloraswift/swift-hash at 0.7.1 (0.78s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.50s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.59.1 (1.32s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/84] Fetching collectionconcurrencykit
[85/13025] Fetching collectionconcurrencykit, cryptoswift
[86/13954] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable
[2826/24611] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable, yams
[3572/40723] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable, yams, sourcekitten
[26840/111175] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable, yams, sourcekitten, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (4.51s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (4.51s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (4.53s)
Fetched https://github.com/jpsim/Yams.git from cache (4.55s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.55s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.57s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (5.08s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (2.13s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.95s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.54s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.45s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (2.09s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.21s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.84s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.86s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.65s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.53s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.69s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.15s)
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.59.1
Creating working copy for https://github.com/tayloraswift/swift-hash
Working copy of https://github.com/tayloraswift/swift-hash resolved at 0.7.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/tayloraswift/swift-png.git
Working copy of https://github.com/tayloraswift/swift-png.git resolved at 4.4.9
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.0
Creating working copy for https://github.com/tayloraswift/jpeg.git
Working copy of https://github.com/tayloraswift/jpeg.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/36] Write sources
[3/36] Copying PrivacyInfo.xcprivacy
[5/36] Write sources
[9/36] Copying PrivacyInfo.xcprivacy
[9/36] Write sources
[9/36] Copying PrivacyInfo.xcprivacy
[9/36] Write sources
[19/36] Compiling _NumericsShims _NumericsShims.c
[20/36] Write swift-version-24593BA9C3E375BF.txt
[22/58] Emitting module RealModule
[23/59] Emitting module BaseDigits
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/59] Compiling BaseDigits BaseDigits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/59] Compiling SwiftJPEG metadata.swift
[26/61] Compiling RealModule RealFunctions.swift
[27/61] Compiling RealModule Float+Real.swift
[28/61] Compiling RealModule Float16+Real.swift
[29/61] Compiling SwiftJPEG os.swift
[31/61] Compiling SwiftJPEG common.swift
[32/61] Compiling SwiftJPEG error.swift
[33/61] Compiling RealModule Real.swift
[34/61] Compiling RealModule Float80+Real.swift
[34/61] Wrapping AST for BaseDigits for debugging
[36/61] Emitting module ArgumentParserToolInfo
[37/61] Compiling ArgumentParserToolInfo ToolInfo.swift
[38/62] Compiling RealModule AugmentedArithmetic.swift
[39/62] Compiling RealModule Double+Real.swift
[40/62] Compiling RealModule AlgebraicField.swift
[41/62] Compiling RealModule ApproximateEquality.swift
[42/62] Compiling RealModule ElementaryFunctions.swift
[44/68] Wrapping AST for ArgumentParserToolInfo for debugging
[45/106] Wrapping AST for RealModule for debugging
[47/106] Compiling Base16 Base16.UppercaseDigits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/106] Compiling Base16 Base16.LowercaseDigits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/106] Emitting module Base16
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/106] Compiling Base16 Base16.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/106] Compiling Base16 Base16.Values.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/132] Wrapping AST for Base16 for debugging
[54/132] Compiling SwiftJPEG debug.swift
[55/132] Emitting module SwiftJPEG
[56/134] Compiling CRC CRC32.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/134] Emitting module CRC
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/135] Wrapping AST for CRC for debugging
[60/188] Compiling LZ77 F14.Hash.swift
[61/188] Compiling LZ77 F14.HashTable.swift
[62/188] Compiling LZ77 F14.swift
[63/188] Compiling LZ77 FixedWidthInteger (ext).swift
[64/188] Compiling LZ77 Gzip.Deflator.swift
[65/188] Compiling LZ77 Gzip.Format.Integral.swift
[66/191] Compiling LZ77 LZ77.DeflatorTerm.Meta.swift
[67/191] Compiling LZ77 LZ77.DeflatorTerm.swift
[68/191] Compiling LZ77 LZ77.DeflatorWindow.Element.swift
[69/191] Compiling LZ77 LZ77.DeflatorWindow.swift
[70/191] Compiling LZ77 F14.District.Index.swift
[71/191] Compiling LZ77 F14.District.swift
[72/191] Compiling LZ77 LZ77.DeflatorDicing.Node.swift
[73/191] Compiling LZ77 LZ77.DeflatorDicing.swift
[74/191] Compiling LZ77 LZ77.DeflatorIn.swift
[75/191] Compiling LZ77 LZ77.DeflatorMatches.Depths.swift
[76/191] Compiling LZ77 LZ77.DeflatorMatches.swift
[77/191] Compiling LZ77 LZ77.DeflatorOut.swift
[78/191] Compiling LZ77 LZ77.DeflatorSearch.swift
[79/191] Compiling LZ77 LZ77.DeflatorTables.swift
[80/191] Compiling Algorithms Trim.swift
[81/191] Compiling Algorithms Unique.swift
[82/191] Compiling Algorithms Windows.swift
[83/191] Compiling LZ77 LZ77.Decades.swift
[84/191] Compiling LZ77 LZ77.Deflator.swift
[85/191] Compiling LZ77 LZ77.DeflatorBuffers.Stream.swift
[86/191] Compiling LZ77 LZ77.DeflatorBuffers.swift
[87/191] Compiling LZ77 LZ77.InflatorIn.swift
[88/191] Compiling LZ77 LZ77.InflatorOut.swift
[89/191] Compiling LZ77 LZ77.InflatorState.swift
[90/191] Compiling LZ77 LZ77.InflatorTables.swift
[91/191] Compiling LZ77 LZ77.StreamHeader.swift
[92/191] Compiling LZ77 LZ77.StreamHeaderError.swift
[93/191] Compiling LZ77 LZ77.Composites.swift
[97/191] Compiling LZ77 LZ77.DecompressionError.swift
[98/191] Compiling LZ77 LZ77.Inflator.swift
[99/191] Compiling LZ77 LZ77.InflatorBuffers.Stream.swift
[100/191] Compiling LZ77 LZ77.InflatorBuffers.swift
[109/198] Compiling LZ77 Gzip.Format.swift
[110/198] Compiling LZ77 Gzip.Inflator.swift
[111/198] Compiling LZ77 Gzip.InflatorState.swift
[112/198] Compiling LZ77 Gzip.StreamHeader.swift
[113/198] Compiling LZ77 Gzip.StreamHeaderError.swift
[114/198] Compiling LZ77 Gzip.swift
[115/198] Compiling LZ77 LZ77.Codeword.swift
[116/198] Compiling LZ77 LZ77.Distance.swift
[117/198] Compiling LZ77 LZ77.Heap.swift
[118/198] Compiling LZ77 LZ77.HuffmanPattern.swift
[119/198] Compiling LZ77 LZ77.HuffmanTree.swift
[120/198] Compiling LZ77 LZ77.Metaword.swift
[121/198] Compiling LZ77 LZ77.RunLiteral.swift
[122/198] Compiling LZ77 LZ77.BlockMetadata.swift
[123/198] Emitting module Algorithms
[133/199] Emitting module LZ77
[142/199] Compiling LZ77 LZ77.Reversed.swift
[143/199] Compiling LZ77 LZ77.swift
[144/199] Compiling LZ77 SIMD16 (ext).swift
[145/199] Compiling LZ77 LZ77.Format.swift
[146/199] Compiling LZ77 LZ77.FormatType.swift
[147/199] Compiling LZ77 LZ77.MRC32.swift
[148/199] Compiling LZ77 LZ77.StreamIntegral.swift
[149/200] Wrapping AST for Algorithms for debugging
[150/236] Wrapping AST for LZ77 for debugging
[152/280] Compiling SwiftJPEG jpeg.swift
[153/280] Compiling SwiftJPEG encode.swift
[154/280] Compiling SwiftJPEG decode.swift
[155/281] Wrapping AST for SwiftJPEG for debugging
[157/281] Compiling PNG PNG.DecodingError.swift
[158/281] Compiling PNG PNG.Metadata.swift
[159/281] Compiling PNG PNG.Standard.swift
[160/281] Compiling PNG PNG.Encoder.Pass.swift
[161/281] Compiling PNG PNG.Encoder.swift
[162/281] Compiling PNG PNG.FormattingError.swift
[163/281] Emitting module ArgumentParser
[164/286] Compiling PNG PNG.swift
[165/286] Compiling PNG PNG.Background.Case.swift
[166/286] Compiling PNG PNG.Background.swift
[167/286] Compiling PNG PNG.Chromaticity.swift
[168/286] Compiling PNG PNG.ColorProfile.swift
[169/286] Compiling PNG PNG.ColorRendering.swift
[176/292] Compiling PNG Array (ext).swift
[177/292] Compiling PNG ArraySlice (ext).swift
[178/292] Compiling PNG PNG.Color.swift
[179/292] Compiling PNG PNG.RGBA.swift
[180/292] Compiling PNG PNG.VA.swift
[181/292] Compiling PNG PNG.Context.swift
[182/292] Compiling PNG PNG.Gamma.swift
[183/292] Compiling PNG PNG.Header.swift
[184/292] Compiling PNG PNG.Histogram.swift
[185/292] Compiling PNG PNG.Palette.swift
[186/292] Compiling PNG PNG.ParsingError.swift
[187/292] Compiling PNG PNG.Percentmille.swift
[188/292] Compiling ArgumentParser CollectionExtensions.swift
[189/292] Compiling ArgumentParser Platform.swift
[190/292] Compiling ArgumentParser SequenceExtensions.swift
[191/292] Compiling ArgumentParser StringExtensions.swift
[192/292] Compiling ArgumentParser Tree.swift
[193/292] Compiling PNG PNG.Text.swift
[194/292] Emitting module PNG
[201/292] Compiling PNG PNG.Decoder.swift
[203/292] Compiling PNG PNG.Format.Pixel.swift
[204/292] Compiling PNG PNG.Format.swift
[205/292] Compiling PNG PNG.Layout.swift
[206/292] Compiling PNG General.swift
[207/292] Compiling PNG PNG.LexingError.swift
[208/292] Compiling PNG PNG.Error.swift
[209/292] Compiling PNG PNG.Image.swift
[212/292] Compiling PNG LZ77.DecompressionError (ext).swift
[213/292] Compiling PNG LZ77.DeflateHeaderError (ext).swift
[214/292] Compiling PNG PNG.BytestreamDestination.swift
[215/292] Compiling PNG PNG.BytestreamSource.swift
[216/292] Compiling PNG PNG.Chunk.swift
[234/292] Compiling PNG PNG.TimeModified.swift
[235/292] Compiling PNG PNG.Transparency.Case.swift
[236/292] Compiling PNG PNG.Transparency.swift
[237/292] Compiling PNG System.swift
[238/292] Compiling PNG UnsafeMutableBufferPointer (ext).swift
[239/292] Compiling PNG __Entrypoint.swift
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:41:38: warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | group.enter()
40 | concurrentQueue.async { [targetBitmap, currentBitmap] in
41 | var buffer: Bitmap = currentBitmap
| `- warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:43:35: warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | var buffer: Bitmap = currentBitmap
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
| |- warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | alpha: alpha,
45 | n: shapeCount,
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:47:29: warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | n: shapeCount,
46 | age: maxShapeMutations,
47 | target: targetBitmap,
| `- warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | current: currentBitmap,
49 | buffer: &buffer,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:51:37: warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 | buffer: &buffer,
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
| |- warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | using: &generator,
53 | callback: { state in
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/SplitMix64.swift:4:15: note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
2 |
3 | // Borrowed https://github.com/apple/swift-argument-parser/blob/main/Examples/roll/SplitMix64.swift
4 | public struct SplitMix64: RandomNumberGenerator {
| `- note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
5 | private var state: UInt64
6 |
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:41:38: warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | group.enter()
40 | concurrentQueue.async { [targetBitmap, currentBitmap] in
41 | var buffer: Bitmap = currentBitmap
| `- warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:43:35: warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | var buffer: Bitmap = currentBitmap
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
| |- warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | alpha: alpha,
45 | n: shapeCount,
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:47:29: warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | n: shapeCount,
46 | age: maxShapeMutations,
47 | target: targetBitmap,
| `- warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | current: currentBitmap,
49 | buffer: &buffer,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:51:37: warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 | buffer: &buffer,
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
| |- warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | using: &generator,
53 | callback: { state in
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/SplitMix64.swift:4:15: note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
2 |
3 | // Borrowed https://github.com/apple/swift-argument-parser/blob/main/Examples/roll/SplitMix64.swift
4 | public struct SplitMix64: RandomNumberGenerator {
| `- note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
5 | private var state: UInt64
6 |
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:41:38: warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | group.enter()
40 | concurrentQueue.async { [targetBitmap, currentBitmap] in
41 | var buffer: Bitmap = currentBitmap
| `- warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:43:35: warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | var buffer: Bitmap = currentBitmap
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
| |- warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | alpha: alpha,
45 | n: shapeCount,
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:47:29: warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | n: shapeCount,
46 | age: maxShapeMutations,
47 | target: targetBitmap,
| `- warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | current: currentBitmap,
49 | buffer: &buffer,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:51:37: warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 | buffer: &buffer,
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
| |- warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | using: &generator,
53 | callback: { state in
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/SplitMix64.swift:4:15: note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
2 |
3 | // Borrowed https://github.com/apple/swift-argument-parser/blob/main/Examples/roll/SplitMix64.swift
4 | public struct SplitMix64: RandomNumberGenerator {
| `- note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
5 | private var state: UInt64
6 |
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:41:38: warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | group.enter()
40 | concurrentQueue.async { [targetBitmap, currentBitmap] in
41 | var buffer: Bitmap = currentBitmap
| `- warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:43:35: warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | var buffer: Bitmap = currentBitmap
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
| |- warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | alpha: alpha,
45 | n: shapeCount,
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:47:29: warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | n: shapeCount,
46 | age: maxShapeMutations,
47 | target: targetBitmap,
| `- warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | current: currentBitmap,
49 | buffer: &buffer,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:51:37: warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 | buffer: &buffer,
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
| |- warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | using: &generator,
53 | callback: { state in
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/SplitMix64.swift:4:15: note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
2 |
3 | // Borrowed https://github.com/apple/swift-argument-parser/blob/main/Examples/roll/SplitMix64.swift
4 | public struct SplitMix64: RandomNumberGenerator {
| `- note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
5 | private var state: UInt64
6 |
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:41:38: warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | group.enter()
40 | concurrentQueue.async { [targetBitmap, currentBitmap] in
41 | var buffer: Bitmap = currentBitmap
| `- warning: capture of 'currentBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:43:35: warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | var buffer: Bitmap = currentBitmap
42 | bestHillClimbState(
43 | shapeCreator: shapeCreator,
| |- warning: capture of 'shapeCreator' with non-sendable type 'ShapeCreator' (aka '(inout SplitMix64) -> any Shape') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 | alpha: alpha,
45 | n: shapeCount,
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:47:29: warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | n: shapeCount,
46 | age: maxShapeMutations,
47 | target: targetBitmap,
| `- warning: capture of 'targetBitmap' with non-sendable type 'Bitmap' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | current: currentBitmap,
49 | buffer: &buffer,
/host/spi-builder-workspace/Sources/geometrize/Bitmap.swift:5:15: note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
3 | /// Helper for working with bitmap data.
4 | /// Pixels are ordered line by line, like arrays in C.
5 | public struct Bitmap { // swiftlint:disable:this type_body_length
| `- note: consider making struct 'Bitmap' conform to the 'Sendable' protocol
6 |
7 | /// Creates useless empty bitmap.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:51:37: warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 | buffer: &buffer,
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
| |- warning: capture of 'energyFunction' with non-sendable type 'EnergyFunction' (aka '(Array<Scanline>, UInt8, Bitmap, Bitmap, inout Bitmap, Double) -> Double') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | using: &generator,
53 | callback: { state in
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: capture of 'generator' with non-sendable type 'SplitMix64' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/SplitMix64.swift:4:15: note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
2 |
3 | // Borrowed https://github.com/apple/swift-argument-parser/blob/main/Examples/roll/SplitMix64.swift
4 | public struct SplitMix64: RandomNumberGenerator {
| `- note: consider making struct 'SplitMix64' conform to the 'Sendable' protocol
5 | private var state: UInt64
6 |
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: capture of 'states' with non-sendable type '[State]' in an isolated closure; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
[245/298] Wrapping AST for PNG for debugging
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:9: warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| |- warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:18: warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| `- warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/Int_random.swift:7:5: warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next identifier_name
7 | var _randomImplementationReference = _randomImplementation
| |- warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_randomImplementationReference' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_randomImplementationReference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // swiftlint:disable:next identifier_name
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:9: warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| |- warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:18: warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| `- warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/Int_random.swift:7:5: warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next identifier_name
7 | var _randomImplementationReference = _randomImplementation
| |- warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_randomImplementationReference' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_randomImplementationReference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // swiftlint:disable:next identifier_name
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:9: warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| |- warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:18: warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| `- warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/Int_random.swift:7:5: warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next identifier_name
7 | var _randomImplementationReference = _randomImplementation
| |- warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_randomImplementationReference' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_randomImplementationReference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // swiftlint:disable:next identifier_name
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:9: warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| |- warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:18: warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| `- warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/Int_random.swift:7:5: warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next identifier_name
7 | var _randomImplementationReference = _randomImplementation
| |- warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_randomImplementationReference' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_randomImplementationReference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // swiftlint:disable:next identifier_name
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:9: warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| |- warning: capture of 'callback' with non-sendable type '(State) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/HillClimb.swift:54:18: warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | )
53 | queue.async {
54 | callback(resState)
| `- warning: capture of 'resState' with non-sendable type 'State' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | }
56 | }
/host/spi-builder-workspace/Sources/geometrize/State.swift:3:8: note: consider making struct 'State' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | struct State {
| `- note: consider making struct 'State' conform to the 'Sendable' protocol
4 |
5 | /// Creates a new state.
/host/spi-builder-workspace/Sources/geometrize/Int_random.swift:7:5: warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next identifier_name
7 | var _randomImplementationReference = _randomImplementation
| |- warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_randomImplementationReference' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_randomImplementationReference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // swiftlint:disable:next identifier_name
[275/298] Compiling Geometrize SplitMix64.swift
[276/298] Compiling Geometrize State.swift
[282/299] Emitting module Geometrize
/host/spi-builder-workspace/Sources/geometrize/Int_random.swift:7:5: warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next identifier_name
7 | var _randomImplementationReference = _randomImplementation
| |- warning: var '_randomImplementationReference' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_randomImplementationReference' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_randomImplementationReference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // swiftlint:disable:next identifier_name
[288/299] Wrapping AST for ArgumentParser for debugging
[292/299] Compiling Geometrize bresenham.swift
[293/299] Compiling Geometrize mapShapeBoundsToImage.swift
[294/299] Compiling Geometrize resource_bundle_accessor.swift
[295/300] Wrapping AST for Geometrize for debugging
[297/307] Emitting module BitmapImportExport
[298/307] Compiling BitmapImportExport resource_bundle_accessor.swift
[299/307] Compiling BitmapImportExport SourceStream.swift
[300/307] Compiling BitmapImportExport DestinationStream.swift
[301/307] Compiling BitmapImportExport JPEG.Data.Rectangular.swift
[302/307] Compiling BitmapImportExport Bitmap+PNG.swift
[303/307] Compiling BitmapImportExport Bitmap+JPEG.swift
/host/spi-builder-workspace/Sources/bitmapImportExport/Bitmap+JPEG.swift:82:89: error: extra argument 'path' in call
80 |
81 | init(jpegUrl url: URL) throws {
82 | guard let image: JPEG.Data.Rectangular<JPEG.Common> = try .decompress(path: url.path) else {
| `- error: extra argument 'path' in call
83 | // decompress returns nil when file cannot be open
84 | throw NSError(domain: URLError.errorDomain, code: URLError.cannotOpenFile.rawValue)
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
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/19] Write swift-version-24593BA9C3E375BF.txt
[5/41] Emitting module BaseDigits
[6/41] Compiling BaseDigits BaseDigits.swift
[7/42] Emitting module ArgumentParserToolInfo
[8/42] Compiling RealModule ElementaryFunctions.swift
[10/42] Compiling RealModule Float80+Real.swift
[11/42] Compiling RealModule Real.swift
[12/42] Compiling RealModule RealFunctions.swift
[13/42] Compiling RealModule Float16+Real.swift
[14/42] Compiling RealModule Float+Real.swift
[15/42] Compiling RealModule AlgebraicField.swift
[16/42] Compiling RealModule ApproximateEquality.swift
[17/42] Compiling RealModule AugmentedArithmetic.swift
[18/42] Compiling RealModule Double+Real.swift
[19/47] Emitting module RealModule
[21/48] Compiling Base16 Base16.LowercaseDigits.swift
[22/48] Compiling Base16 Base16.UppercaseDigits.swift
[22/48] Wrapping AST for RealModule for debugging
[24/48] Compiling Base16 Base16.Values.swift
[25/48] Compiling Base16 Base16.swift
[26/48] Emitting module Base16
[27/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[30/113] Emitting module CRC
[31/113] Compiling CRC CRC32.swift
[33/113] Compiling ArgumentParser ArgumentDecoder.swift
[34/113] Compiling ArgumentParser ArgumentDefinition.swift
[35/113] Compiling ArgumentParser ArgumentSet.swift
[36/113] Compiling ArgumentParser ParsableArguments.swift
[37/113] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/113] Compiling ArgumentParser ParsableCommand.swift
[39/116] Compiling ArgumentParser OptionGroup.swift
[40/116] Compiling ArgumentParser AsyncParsableCommand.swift
[41/116] Compiling ArgumentParser CommandConfiguration.swift
[42/116] Compiling ArgumentParser CommandGroup.swift
[43/116] Compiling ArgumentParser EnumerableFlag.swift
[44/174] Compiling LZ77 LZ77.Decades.swift
[45/174] Compiling LZ77 LZ77.Deflator.swift
[46/174] Compiling LZ77 LZ77.DeflatorBuffers.Stream.swift
[47/174] Compiling LZ77 LZ77.DeflatorBuffers.swift
[48/174] Compiling LZ77 LZ77.DeflatorMatches.swift
[49/174] Compiling LZ77 LZ77.DeflatorOut.swift
[50/174] Compiling LZ77 LZ77.DeflatorSearch.swift
[51/174] Compiling LZ77 LZ77.DeflatorTables.swift
[52/174] Emitting module ArgumentParser
[53/174] Compiling LZ77 LZ77.DeflatorTerm.Meta.swift
[54/174] Compiling LZ77 LZ77.DeflatorTerm.swift
[55/174] Compiling LZ77 LZ77.DeflatorWindow.Element.swift
[56/174] Compiling LZ77 LZ77.DeflatorWindow.swift
[57/174] Compiling LZ77 Gzip.Format.swift
[58/174] Compiling LZ77 Gzip.Inflator.swift
[59/174] Compiling LZ77 LZ77.Heap.swift
[60/174] Compiling LZ77 LZ77.HuffmanPattern.swift
[61/174] Compiling LZ77 LZ77.HuffmanTree.swift
[68/174] Compiling SwiftJPEG jpeg.swift
[69/174] Compiling SwiftJPEG error.swift
[70/174] Compiling SwiftJPEG metadata.swift
[71/175] Compiling LZ77 LZ77.Metaword.swift
[72/175] Compiling LZ77 LZ77.RunLiteral.swift
[73/175] Compiling LZ77 LZ77.BlockMetadata.swift
[74/175] Compiling LZ77 F14.District.Index.swift
[75/175] Compiling LZ77 F14.District.swift
[76/175] Compiling LZ77 LZ77.DeflatorDicing.Node.swift
[77/175] Compiling LZ77 LZ77.DeflatorDicing.swift
[78/175] Compiling LZ77 LZ77.DeflatorIn.swift
[79/175] Compiling LZ77 LZ77.DeflatorMatches.Depths.swift
[86/175] Compiling SwiftJPEG os.swift
[87/175] Compiling LZ77 LZ77.BlockShape.swift
[88/175] Compiling LZ77 LZ77.BlockState.swift
[89/175] Compiling LZ77 LZ77.BlockType.swift
[90/175] Compiling LZ77 LZ77.DecompressionError.swift
[91/175] Compiling LZ77 LZ77.Inflator.swift
[92/175] Compiling LZ77 LZ77.InflatorBuffers.Stream.swift
[93/175] Compiling LZ77 LZ77.InflatorBuffers.swift
[94/182] Compiling LZ77 Gzip.Format.Integral.swift
[99/182] Compiling LZ77 LZ77.InflatorIn.swift
[100/182] Compiling LZ77 LZ77.InflatorOut.swift
[101/182] Compiling LZ77 LZ77.InflatorState.swift
[102/182] Compiling LZ77 LZ77.InflatorTables.swift
[103/182] Compiling LZ77 LZ77.StreamHeader.swift
[104/182] Compiling LZ77 LZ77.StreamHeaderError.swift
[105/182] Compiling LZ77 LZ77.Composites.swift
[107/182] Compiling LZ77 Gzip.InflatorState.swift
[108/182] Compiling LZ77 Gzip.StreamHeader.swift
[109/182] Compiling LZ77 Gzip.StreamHeaderError.swift
[110/182] Compiling LZ77 Gzip.swift
[111/182] Compiling LZ77 LZ77.Codeword.swift
[112/182] Compiling LZ77 LZ77.Distance.swift
[116/182] Compiling LZ77 F14.Hash.swift
[117/182] Compiling LZ77 F14.HashTable.swift
[118/182] Compiling LZ77 F14.swift
[119/182] Compiling LZ77 FixedWidthInteger (ext).swift
[120/182] Compiling LZ77 Gzip.Deflator.swift
[121/182] Compiling LZ77 LZ77.Reversed.swift
[122/182] Compiling LZ77 LZ77.swift
[123/182] Compiling LZ77 SIMD16 (ext).swift
[124/182] Compiling LZ77 LZ77.Format.swift
[125/182] Compiling LZ77 LZ77.FormatType.swift
[126/182] Compiling LZ77 LZ77.MRC32.swift
[127/182] Compiling LZ77 LZ77.StreamIntegral.swift
[128/183] Emitting module LZ77
[129/183] Compiling SwiftJPEG encode.swift
[170/183] Emitting module Algorithms
[171/184] Wrapping AST for LZ77 for debugging
[172/228] Wrapping AST for Algorithms for debugging
[174/264] Compiling Geometrize RotatedRectangle.swift
[175/264] Compiling Geometrize Shape.swift
[176/264] Compiling Geometrize String-ShapeType.swift
[177/264] Compiling Geometrize Triangle.swift
[178/264] Compiling Geometrize allShapeTypes.swift
[179/269] Compiling Geometrize BinaryInteger.swift
[180/269] Compiling Geometrize Bitmap+UIImage.swift
[181/269] Compiling Geometrize Bitmap.swift
[182/269] Compiling Geometrize BitmapDifference.swift
[183/269] Compiling Geometrize BitmapExporter.swift
[184/269] Compiling Geometrize GeometrizingIterator.swift
[185/275] Compiling Geometrize ShapeAcceptancePrecondition.swift
[186/275] Compiling Geometrize ShapeCreator.swift
[187/275] Compiling Geometrize ShapeResult.swift
[188/275] Compiling Geometrize Circle.swift
[189/275] Compiling Geometrize Ellipse.swift
[190/275] Compiling Geometrize Line.swift
[191/275] Compiling Geometrize Polyline.swift
[192/275] Compiling Geometrize QuadraticBezier.swift
[193/275] Compiling Geometrize Rectangle.swift
[194/275] Compiling Geometrize RotatedEllipse.swift
[195/275] Compiling Geometrize EnergyFunction.swift
[196/275] Compiling Geometrize FloatingPointExtension.swift
[197/275] Compiling Geometrize GeometrizeModelBase.swift
[198/275] Compiling Geometrize GeometrizeModelHillClimb.swift
[199/275] Compiling Geometrize SplitMix64.swift
[200/275] Compiling Geometrize State.swift
[201/275] Compiling Geometrize bresenham.swift
[202/275] Compiling Geometrize mapShapeBoundsToImage.swift
[203/275] Compiling Geometrize resource_bundle_accessor.swift
[204/275] Compiling PNG PNG.SuggestedPalette.Entries.swift
[205/275] Compiling PNG PNG.SuggestedPalette.swift
[206/275] Compiling PNG PNG.Text.swift
[208/275] Compiling Geometrize GeometrizingSequence.swift
[209/275] Compiling Geometrize HillClimb.swift
[210/275] Compiling Geometrize ImageRunner.swift
[211/275] Compiling Geometrize Int_random.swift
[212/275] Compiling Geometrize Bounds.swift
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:52:29: warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
50 | lastScore: lastScore,
51 | energyFunction: energyFunction,
52 | using: &generator,
| `- warning: mutation of captured var 'generator' in concurrently-executing code; this is an error in the Swift 6 language mode
53 | callback: { state in
54 | states.append(state)
/host/spi-builder-workspace/Sources/geometrize/GeometrizeModelHillClimb.swift:54:25: warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | using: &generator,
53 | callback: { state in
54 | states.append(state)
| `- warning: mutation of captured var 'states' in concurrently-executing code; this is an error in the Swift 6 language mode
55 | group.leave()
56 | },
[217/275] Compiling Geometrize Point.swift
[218/275] Compiling Geometrize Polygon.swift
[219/275] Compiling Geometrize Rgba.swift
[220/275] Compiling Geometrize SVGExporter.swift
[221/275] Compiling Geometrize Scanline.swift
[227/275] Emitting module PNG
[235/275] Compiling PNG PNG.TimeModified.swift
[236/275] Compiling PNG PNG.Transparency.Case.swift
[237/275] Compiling PNG PNG.Transparency.swift
[238/275] Compiling PNG System.swift
[239/275] Compiling PNG UnsafeMutableBufferPointer (ext).swift
[240/275] Compiling PNG __Entrypoint.swift
[259/276] Wrapping AST for PNG for debugging
[261/276] Compiling SwiftJPEG debug.swift
[262/276] Compiling SwiftJPEG decode.swift
[263/276] Compiling SwiftJPEG common.swift
[264/276] Emitting module SwiftJPEG
[265/277] Wrapping AST for SwiftJPEG for debugging
[267/277] Emitting module Geometrize
[273/278] Wrapping AST for Geometrize for debugging
[275/285] Compiling BitmapImportExport DestinationStream.swift
[276/285] Compiling BitmapImportExport JPEG.Data.Rectangular.swift
[277/285] Compiling BitmapImportExport SourceStream.swift
[278/285] Compiling BitmapImportExport resource_bundle_accessor.swift
[279/285] Compiling BitmapImportExport Bitmap+JPEG.swift
/host/spi-builder-workspace/Sources/bitmapImportExport/Bitmap+JPEG.swift:82:89: error: extra argument 'path' in call
80 |
81 | init(jpegUrl url: URL) throws {
82 | guard let image: JPEG.Data.Rectangular<JPEG.Common> = try .decompress(path: url.path) else {
| `- error: extra argument 'path' in call
83 | // decompress returns nil when file cannot be open
84 | throw NSError(domain: URLError.errorDomain, code: URLError.cannotOpenFile.rawValue)
[280/285] Emitting module BitmapImportExport
[281/285] Compiling BitmapImportExport Bitmap+PNG.swift
BUILD FAILURE 6.1 android