The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-noise, reference 1.1.0 (8e35a9), with Swift 6.0 for Linux on 13 Oct 2024 15:06:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-noise.git
Reference: 1.1.0
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/tayloraswift/swift-noise
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 8e35a91 create 1.1 release
Cloned https://github.com/tayloraswift/swift-noise.git
Revision (git rev-parse @):
8e35a914d28e4123a749955de19e275488343751
SUCCESS checkout https://github.com/tayloraswift/swift-noise.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tayloraswift/swift-noise.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/tayloraswift/swift-png
Fetching https://github.com/tayloraswift/swift-hash
[1/762] Fetching swift-hash
Fetched https://github.com/tayloraswift/swift-hash from cache (0.19s)
[1/24889] Fetching swift-png
Fetched https://github.com/tayloraswift/swift-png from cache (5.26s)
Computing version for https://github.com/tayloraswift/swift-png
Computed https://github.com/tayloraswift/swift-png at 4.4.2 (0.42s)
Computing version for https://github.com/tayloraswift/swift-hash
Computed https://github.com/tayloraswift/swift-hash at 0.5.0 (1.79s)
Creating working copy for https://github.com/tayloraswift/swift-hash
Working copy of https://github.com/tayloraswift/swift-hash resolved at 0.5.0
Creating working copy for https://github.com/tayloraswift/swift-png
Working copy of https://github.com/tayloraswift/swift-png resolved at 4.4.2
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/26] Compiling Noise gradient.swift
[10/26] Emitting module BaseDigits
[11/26] Compiling BaseDigits BaseDigits.swift
[12/27] Compiling Noise hash.swift
[13/27] Compiling Noise disk.swift
[14/27] Compiling Noise noise.swift
[16/27] Compiling Noise cell.swift
[17/27] Compiling Noise compounds.swift
[18/27] Emitting module Noise
[18/28] Wrapping AST for BaseDigits for debugging
[20/33] Wrapping AST for Noise for debugging
[22/33] Compiling Base16 Base16.UppercaseDigits.swift
[23/33] Compiling Base16 Base16.Values.swift
[24/33] Compiling Base16 Base16.swift
[25/33] Compiling Base16 Base16.LowercaseDigits.swift
[26/33] Emitting module Base16
[27/34] Wrapping AST for Base16 for debugging
[29/36] Emitting module CRC
[30/36] Compiling CRC CRC32.swift
[31/37] Wrapping AST for CRC for debugging
[33/90] Compiling LZ77 Gzip.Format.swift
[34/90] Compiling LZ77 Gzip.Inflator.swift
[35/90] Compiling LZ77 Gzip.InflatorState.swift
[36/90] Compiling LZ77 Gzip.StreamHeader.swift
[37/90] Compiling LZ77 Gzip.StreamHeaderError.swift
[38/90] Compiling LZ77 Gzip.swift
[39/90] Compiling LZ77 LZ77.Codeword.swift
[40/97] Emitting module LZ77
[41/97] Compiling LZ77 F14.District.Index.swift
[42/97] Compiling LZ77 F14.District.swift
[43/97] Compiling LZ77 F14.Hash.swift
[44/97] Compiling LZ77 F14.HashTable.swift
[45/97] Compiling LZ77 F14.swift
[46/97] Compiling LZ77 FixedWidthInteger (ext).swift
[47/97] Compiling LZ77 Gzip.Deflator.swift
[48/97] Compiling LZ77 Gzip.Format.Integral.swift
[49/97] Compiling LZ77 LZ77.BlockShape.swift
[50/97] Compiling LZ77 LZ77.BlockState.swift
[51/97] Compiling LZ77 LZ77.BlockType.swift
[52/97] Compiling LZ77 LZ77.DecompressionError.swift
[53/97] Compiling LZ77 LZ77.Inflator.swift
[54/97] Compiling LZ77 LZ77.InflatorBuffers.Stream.swift
[55/97] Compiling LZ77 LZ77.InflatorBuffers.swift
[56/97] Compiling LZ77 LZ77.Reversed.swift
[57/97] Compiling LZ77 LZ77.swift
[58/97] Compiling LZ77 SIMD16 (ext).swift
[59/97] Compiling LZ77 LZ77.Format.swift
[60/97] Compiling LZ77 LZ77.FormatType.swift
[61/97] Compiling LZ77 LZ77.MRC32.swift
[62/97] Compiling LZ77 LZ77.StreamIntegral.swift
[63/97] Compiling LZ77 LZ77.Decades.swift
[64/97] Compiling LZ77 LZ77.Deflator.swift
[65/97] Compiling LZ77 LZ77.DeflatorBuffers.Stream.swift
[66/97] Compiling LZ77 LZ77.DeflatorBuffers.swift
[67/97] Compiling LZ77 LZ77.DeflatorDicing.Node.swift
[68/97] Compiling LZ77 LZ77.DeflatorDicing.swift
[69/97] Compiling LZ77 LZ77.DeflatorIn.swift
[70/97] Compiling LZ77 LZ77.DeflatorMatches.Depths.swift
[71/97] Compiling LZ77 LZ77.DeflatorMatches.swift
[72/97] Compiling LZ77 LZ77.DeflatorOut.swift
[73/97] Compiling LZ77 LZ77.DeflatorSearch.swift
[74/97] Compiling LZ77 LZ77.DeflatorTables.swift
[75/97] Compiling LZ77 LZ77.DeflatorTerm.Meta.swift
[76/97] Compiling LZ77 LZ77.DeflatorTerm.swift
[77/97] Compiling LZ77 LZ77.DeflatorWindow.Element.swift
[78/97] Compiling LZ77 LZ77.DeflatorWindow.swift
[79/97] Compiling LZ77 LZ77.InflatorIn.swift
[80/97] Compiling LZ77 LZ77.InflatorOut.swift
[81/97] Compiling LZ77 LZ77.InflatorState.swift
[82/97] Compiling LZ77 LZ77.InflatorTables.swift
[83/97] Compiling LZ77 LZ77.StreamHeader.swift
[84/97] Compiling LZ77 LZ77.StreamHeaderError.swift
[85/97] Compiling LZ77 LZ77.Composites.swift
[86/97] Compiling LZ77 LZ77.Distance.swift
[87/97] Compiling LZ77 LZ77.Heap.swift
[88/97] Compiling LZ77 LZ77.HuffmanPattern.swift
[89/97] Compiling LZ77 LZ77.HuffmanTree.swift
[90/97] Compiling LZ77 LZ77.Metaword.swift
[91/97] Compiling LZ77 LZ77.RunLiteral.swift
[92/97] Compiling LZ77 LZ77.BlockMetadata.swift
[93/98] Wrapping AST for LZ77 for debugging
[95/142] Compiling PNG PNG.Format.Pixel.swift
[96/142] Compiling PNG PNG.Format.swift
[97/142] Compiling PNG PNG.Layout.swift
[98/142] Compiling PNG General.swift
[99/142] Compiling PNG LZ77.DecompressionError (ext).swift
[100/142] Compiling PNG LZ77.DeflateHeaderError (ext).swift
[101/148] Emitting module PNG
[102/148] Compiling PNG PNG.PhysicalDimensions.swift
[103/148] Compiling PNG PNG.SignificantBits.Case.swift
[104/148] Compiling PNG PNG.SignificantBits.swift
[105/148] Compiling PNG PNG.SuggestedPalette.Entries.swift
[106/148] Compiling PNG PNG.SuggestedPalette.swift
[107/148] Compiling PNG PNG.Text.swift
[108/148] Compiling PNG PNG.DecodingError.swift
[109/148] Compiling PNG PNG.Metadata.swift
[110/148] Compiling PNG PNG.Standard.swift
[111/148] Compiling PNG PNG.Encoder.Pass.swift
[112/148] Compiling PNG PNG.Encoder.swift
[113/148] Compiling PNG PNG.FormattingError.swift
[114/148] Compiling PNG Array (ext).swift
[115/148] Compiling PNG ArraySlice (ext).swift
[116/148] Compiling PNG PNG.Color.swift
[117/148] Compiling PNG PNG.RGBA.swift
[118/148] Compiling PNG PNG.VA.swift
[119/148] Compiling PNG PNG.Context.swift
[120/148] Compiling PNG PNG.Decoder.swift
[121/148] Compiling PNG PNG.Gamma.swift
[122/148] Compiling PNG PNG.Header.swift
[123/148] Compiling PNG PNG.Histogram.swift
[124/148] Compiling PNG PNG.Palette.swift
[125/148] Compiling PNG PNG.ParsingError.swift
[126/148] Compiling PNG PNG.Percentmille.swift
[127/148] Compiling PNG PNG.swift
[128/148] Compiling PNG PNG.Background.Case.swift
[129/148] Compiling PNG PNG.Background.swift
[130/148] Compiling PNG PNG.Chromaticity.swift
[131/148] Compiling PNG PNG.ColorProfile.swift
[132/148] Compiling PNG PNG.ColorRendering.swift
[133/148] Compiling PNG PNG.BytestreamDestination.swift
[134/148] Compiling PNG PNG.BytestreamSource.swift
[135/148] Compiling PNG PNG.Chunk.swift
[136/148] Compiling PNG PNG.LexingError.swift
[137/148] Compiling PNG PNG.Error.swift
[138/148] Compiling PNG PNG.Image.swift
[139/148] Compiling PNG PNG.TimeModified.swift
[140/148] Compiling PNG PNG.Transparency.Case.swift
[141/148] Compiling PNG PNG.Transparency.swift
[142/148] Compiling PNG System.swift
[143/148] Compiling PNG UnsafeMutableBufferPointer (ext).swift
[144/148] Compiling PNG __Entrypoint.swift
[145/149] Wrapping AST for PNG for debugging
[147/153] Emitting module NoiseTests
[148/153] Compiling NoiseTests calibrate.swift
[149/153] Compiling NoiseTests tests.swift
[150/153] Compiling NoiseTests main.swift
/host/spi-builder-workspace/Tests/NoiseTests/main.swift:29:9: error: main actor-isolated var 'pixbuf' can not be mutated from a nonisolated context
19 |
20 | let viewer_size:Int = 1024
21 | var pixbuf:[UInt8]  = [UInt8](repeating: 0, count: viewer_size * viewer_size)
   |     `- note: mutation of this var is only permitted within the actor
22 |
23 | func benchmark<Generator>(noise generator:Generator, name:String, offset:Double = 0) throws
   |      `- note: add '@MainActor' to make global function 'benchmark(noise:name:offset:)' part of global actor 'MainActor'
24 |     where Generator:Noise
25 | {
   :
27 |     for (i, (x, y)) in Domain2D(samples_x: viewer_size, samples_y: viewer_size).enumerated()
28 |     {
29 |         pixbuf[i] = UInt8(max(0, min(255, generator.evaluate(x, y) + offset)))
   |         `- error: main actor-isolated var 'pixbuf' can not be mutated from a nonisolated context
30 |     }
31 |     print("\(name): \(clock() - t0)")
/host/spi-builder-workspace/Tests/NoiseTests/main.swift:33:42: error: main actor-isolated var 'pixbuf' can not be referenced from a nonisolated context
19 |
20 | let viewer_size:Int = 1024
21 | var pixbuf:[UInt8]  = [UInt8](repeating: 0, count: viewer_size * viewer_size)
   |     `- note: var declared here
22 |
23 | func benchmark<Generator>(noise generator:Generator, name:String, offset:Double = 0) throws
   |      `- note: add '@MainActor' to make global function 'benchmark(noise:name:offset:)' part of global actor 'MainActor'
24 |     where Generator:Noise
25 | {
   :
31 |     print("\(name): \(clock() - t0)")
32 |
33 |     let image:PNG.Image = .init(packing: pixbuf, size: (viewer_size, viewer_size),
   |                                          `- error: main actor-isolated var 'pixbuf' can not be referenced from a nonisolated context
34 |         layout: .init(format: .v8(fill: nil, key: nil)))
35 |     try image.compress(path: "tests/\(name).png", level: 9)
BUILD FAILURE 6.0 linux