Build Information
Successful build of swift-geometrize, reference 1.2.1 (2f3b34
), with Swift 6.1 for Linux on 28 Apr 2025 19:25:09 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
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: linux
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/tayloraswift/jpeg.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/tayloraswift/swift-png.git
Fetching https://github.com/apple/swift-algorithms.git
[1/3610] Fetching jpeg
[435/9513] Fetching jpeg, swift-algorithms
[5076/15945] Fetching jpeg, swift-algorithms, swift-png
[7275/29104] Fetching jpeg, swift-algorithms, swift-png, swift-snapshot-testing
[7734/44054] Fetching jpeg, swift-algorithms, swift-png, swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
[3325/38151] Fetching jpeg, swift-png, swift-snapshot-testing, swift-argument-parser
[13810/188117] Fetching jpeg, swift-png, swift-snapshot-testing, swift-argument-parser, swiftlint
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (6.83s)
Fetched https://github.com/tayloraswift/swift-png.git from cache (7.09s)
[42555/168526] Fetching jpeg, swift-argument-parser, swiftlint
Fetched https://github.com/apple/swift-argument-parser.git from cache (31.38s)
Fetched https://github.com/tayloraswift/jpeg.git from cache (31.48s)
Fetched https://github.com/realm/SwiftLint.git from cache (32.79s)
Computing version for https://github.com/tayloraswift/jpeg.git
Computed https://github.com/tayloraswift/jpeg.git at 1.1.0 (35.05s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.98s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.52s)
Computing version for https://github.com/tayloraswift/swift-png.git
Computed https://github.com/tayloraswift/swift-png.git at 4.4.9 (0.52s)
Fetching https://github.com/tayloraswift/swift-hash
[1/868] Fetching swift-hash
Fetched https://github.com/tayloraswift/swift-hash from cache (0.22s)
Computing version for https://github.com/tayloraswift/swift-hash
Computed https://github.com/tayloraswift/swift-hash at 0.7.1 (0.81s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.59.1 (0.71s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/929] Fetching swiftytexttable
[930/1013] Fetching swiftytexttable, collectionconcurrencykit
[1014/13947] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
[1920/30059] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, sourcekitten
[3309/40348] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, sourcekitten, yams
[25124/110593] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, sourcekitten, yams, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (4.58s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (4.58s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (4.61s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.61s)
Fetched https://github.com/jpsim/Yams.git from cache (4.62s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.64s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (5.22s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.55s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.25s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.58s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (1.08s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.57s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.54s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.3 (0.53s)
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.28s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.79s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.67s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.17s)
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.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/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.59.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.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.0
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/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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.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/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/tayloraswift/swift-hash
Working copy of https://github.com/tayloraswift/swift-hash resolved at 0.7.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
[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
[3/36] Write sources
[3/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 SwiftJPEG
[23/59] Compiling RealModule ElementaryFunctions.swift
[24/60] Compiling RealModule Real.swift
[25/60] Emitting module ArgumentParserToolInfo
[26/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/61] 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
[28/61] 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
[29/61] Compiling RealModule Float16+Real.swift
[30/61] Compiling RealModule Float80+Real.swift
[31/61] Compiling RealModule Float+Real.swift
[32/62] Emitting module RealModule
[33/62] Compiling RealModule RealFunctions.swift
[34/62] Compiling RealModule AlgebraicField.swift
[35/62] Compiling RealModule ApproximateEquality.swift
[36/62] Compiling RealModule AugmentedArithmetic.swift
[37/62] Compiling RealModule Double+Real.swift
[40/63] Wrapping AST for ArgumentParserToolInfo for debugging
[42/63] Compiling SwiftJPEG metadata.swift
[43/63] Compiling SwiftJPEG jpeg.swift
[44/63] Compiling SwiftJPEG error.swift
[44/63] Wrapping AST for BaseDigits for debugging
[45/63] Wrapping AST for RealModule for debugging
[47/131] 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/131] 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/131] 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/131] 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
[51/131] 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
[52/132] Compiling SwiftJPEG encode.swift
[54/132] Compiling SwiftJPEG os.swift
[54/132] Wrapping AST for Base16 for debugging
[56/134] Compiling Algorithms Split.swift
[57/134] Compiling Algorithms Stride.swift
[58/134] Compiling Algorithms Suffix.swift
[59/137] Compiling Algorithms RandomSample.swift
[60/137] Compiling Algorithms Reductions.swift
[61/137] Compiling Algorithms Rotate.swift
[62/137] 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
[63/137] 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
[64/138] Wrapping AST for CRC for debugging
[66/138] Compiling Algorithms Partition.swift
[67/138] Compiling Algorithms Permutations.swift
[68/138] Compiling Algorithms Product.swift
[69/138] Compiling Algorithms Compacted.swift
[70/138] Compiling Algorithms Cycle.swift
[71/138] Compiling Algorithms EitherSequence.swift
[72/138] Compiling Algorithms FirstNonNil.swift
[73/138] Compiling Algorithms Joined.swift
[74/138] Compiling Algorithms Keyed.swift
[75/138] Compiling Algorithms MinMax.swift
[76/138] Compiling Algorithms FlattenCollection.swift
[77/138] Compiling Algorithms Grouped.swift
[78/138] Compiling Algorithms Indexed.swift
[79/138] Compiling Algorithms Intersperse.swift
[80/191] Compiling LZ77 Gzip.Format.swift
[81/191] Compiling LZ77 Gzip.Inflator.swift
[82/191] Compiling LZ77 Gzip.InflatorState.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] Emitting module Algorithms
[88/192] Emitting module ArgumentParser
[89/197] Wrapping AST for Algorithms for debugging
[91/233] Compiling Geometrize BinaryInteger.swift
[92/233] Compiling Geometrize Bitmap+UIImage.swift
[93/233] Compiling Geometrize Bitmap.swift
[94/233] Compiling Geometrize BitmapDifference.swift
[95/233] Compiling Geometrize BitmapExporter.swift
[96/233] Compiling Geometrize Bounds.swift
[97/233] Emitting module LZ77
[98/240] 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
[99/245] Compiling Geometrize bresenham.swift
[100/245] Compiling Geometrize mapShapeBoundsToImage.swift
[101/245] Compiling Geometrize resource_bundle_accessor.swift
[102/245] Compiling ArgumentParser StringExtensions.swift
[103/245] Compiling ArgumentParser Tree.swift
[104/245] Compiling LZ77 LZ77.Reversed.swift
[105/245] Compiling LZ77 LZ77.swift
[106/245] Compiling LZ77 SIMD16 (ext).swift
[107/245] Compiling LZ77 LZ77.Format.swift
[108/245] Compiling LZ77 LZ77.FormatType.swift
[109/245] Compiling LZ77 LZ77.MRC32.swift
[110/245] Compiling LZ77 LZ77.StreamIntegral.swift
[111/245] Compiling Geometrize GeometrizingSequence.swift
[112/245] Compiling Geometrize HillClimb.swift
[113/245] Compiling Geometrize ImageRunner.swift
[114/245] Compiling Geometrize Int_random.swift
[115/245] Compiling Geometrize ShapeAcceptancePrecondition.swift
[116/245] Compiling Geometrize EnergyFunction.swift
[117/245] Compiling Geometrize FloatingPointExtension.swift
[118/245] Compiling Geometrize GeometrizeModelBase.swift
[119/245] Compiling Geometrize GeometrizeModelHillClimb.swift
[120/245] Compiling Geometrize GeometrizingIterator.swift
[121/245] Compiling Geometrize ShapeCreator.swift
[122/245] Compiling Geometrize ShapeResult.swift
[123/245] Compiling Geometrize Circle.swift
[124/245] Compiling Geometrize Ellipse.swift
[125/245] Compiling Geometrize Point.swift
[126/245] Compiling Geometrize Polygon.swift
[127/245] Compiling Geometrize Rgba.swift
[128/245] Compiling Geometrize SVGExporter.swift
[129/245] Compiling Geometrize Scanline.swift
[130/245] Compiling Geometrize Line.swift
[131/245] Compiling Geometrize Polyline.swift
[132/245] Compiling Geometrize Shape.swift
[133/245] Compiling Geometrize String-ShapeType.swift
[134/245] Compiling Geometrize Triangle.swift
[135/245] Compiling Geometrize allShapeTypes.swift
[136/245] Compiling Geometrize SplitMix64.swift
[137/245] Compiling Geometrize State.swift
[139/245] Compiling LZ77 LZ77.InflatorIn.swift
[140/245] Compiling LZ77 LZ77.InflatorOut.swift
[141/245] Compiling LZ77 LZ77.InflatorState.swift
[142/245] Compiling LZ77 LZ77.InflatorTables.swift
[143/245] Compiling LZ77 LZ77.StreamHeader.swift
[144/245] Compiling LZ77 LZ77.StreamHeaderError.swift
[145/245] Compiling LZ77 LZ77.Composites.swift
[156/245] Compiling Geometrize QuadraticBezier.swift
[157/245] Compiling Geometrize Rectangle.swift
[158/245] Compiling Geometrize RotatedEllipse.swift
[159/245] Compiling Geometrize RotatedRectangle.swift
/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
[202/246] Wrapping AST for ArgumentParser for debugging
[215/246] Compiling LZ77 LZ77.Metaword.swift
[216/246] Compiling LZ77 LZ77.RunLiteral.swift
[217/246] Compiling LZ77 LZ77.BlockMetadata.swift
[226/247] Compiling SwiftJPEG common.swift
[227/247] Compiling SwiftJPEG debug.swift
[228/247] Compiling SwiftJPEG decode.swift
[230/248] Wrapping AST for SwiftJPEG for debugging
[231/248] Wrapping AST for LZ77 for debugging
[233/292] Emitting module PNG
[234/292] Compiling PNG PNG.Gamma.swift
[235/292] Compiling PNG PNG.Header.swift
[236/292] Compiling PNG PNG.Histogram.swift
[237/292] Compiling PNG PNG.Palette.swift
[238/292] Compiling PNG PNG.ParsingError.swift
[239/292] Compiling PNG PNG.Percentmille.swift
[240/298] Compiling PNG PNG.DecodingError.swift
[241/298] Compiling PNG PNG.Metadata.swift
[242/298] Compiling PNG PNG.Standard.swift
[243/298] Compiling PNG PNG.Encoder.Pass.swift
[244/298] Compiling PNG PNG.Encoder.swift
[245/298] Compiling PNG PNG.FormattingError.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 | },
[256/299] Compiling PNG PNG.TimeModified.swift
[257/299] Compiling PNG PNG.Transparency.Case.swift
[258/299] Compiling PNG PNG.Transparency.swift
[259/299] Compiling PNG System.swift
[260/299] Compiling PNG UnsafeMutableBufferPointer (ext).swift
[261/299] Compiling PNG __Entrypoint.swift
[263/299] Compiling PNG PNG.swift
[264/299] Compiling PNG PNG.Background.Case.swift
[265/299] Compiling PNG PNG.Background.swift
[266/299] Compiling PNG PNG.Chromaticity.swift
[267/299] Compiling PNG PNG.ColorProfile.swift
[268/299] Compiling PNG PNG.ColorRendering.swift
[268/299] Wrapping AST for Geometrize for debugging
[270/299] Compiling PNG PNG.PhysicalDimensions.swift
[271/299] Compiling PNG PNG.SignificantBits.Case.swift
[272/299] Compiling PNG PNG.SignificantBits.swift
[273/299] Compiling PNG PNG.SuggestedPalette.Entries.swift
[274/299] Compiling PNG PNG.SuggestedPalette.swift
[275/299] Compiling PNG PNG.Text.swift
[276/299] Compiling PNG Array (ext).swift
[277/299] Compiling PNG ArraySlice (ext).swift
[278/299] Compiling PNG PNG.Color.swift
[279/299] Compiling PNG PNG.RGBA.swift
[280/299] Compiling PNG PNG.VA.swift
[281/299] Compiling PNG PNG.Context.swift
[282/299] Compiling PNG PNG.Decoder.swift
[283/299] Compiling PNG PNG.Format.Pixel.swift
[284/299] Compiling PNG PNG.Format.swift
[285/299] Compiling PNG PNG.Layout.swift
[286/299] Compiling PNG General.swift
[287/299] Compiling PNG LZ77.DecompressionError (ext).swift
[288/299] Compiling PNG LZ77.DeflateHeaderError (ext).swift
[289/299] Compiling PNG PNG.BytestreamDestination.swift
[290/299] Compiling PNG PNG.BytestreamSource.swift
[291/299] Compiling PNG PNG.Chunk.swift
[292/299] Compiling PNG PNG.LexingError.swift
[293/299] Compiling PNG PNG.Error.swift
[294/299] Compiling PNG PNG.Image.swift
[295/300] Wrapping AST for PNG for debugging
[297/307] Compiling BitmapImportExport DestinationStream.swift
[298/307] Compiling BitmapImportExport resource_bundle_accessor.swift
[299/307] Compiling BitmapImportExport SourceStream.swift
[300/307] Compiling BitmapImportExport JPEG.Data.Rectangular.swift
[301/307] Compiling BitmapImportExport Bitmap+PNG.swift
[302/307] Compiling BitmapImportExport Bitmap+JPEG.swift
[303/307] Emitting module BitmapImportExport
[304/308] Wrapping AST for BitmapImportExport for debugging
[306/311] Emitting module geometrize_cli
[307/311] Compiling geometrize_cli resource_bundle_accessor.swift
[308/311] Compiling geometrize_cli main.swift
[309/312] Wrapping AST for geometrize-cli for debugging
[310/312] Write Objects.LinkFileList
[311/312] Linking geometrize
Build complete! (106.23s)
Build complete.
{
"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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.