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

Successful build of PrettyColors, reference master (afd455), with Swift 6.0 for Linux on 4 Nov 2024 03:14:41 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jdhealy/PrettyColors.git
Reference: master
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/jdhealy/PrettyColors
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at afd4553 Version `5.0.2`.
Submodule path 'Supporting Files/Configuration Support': checked out 'e95b87a2bd6cb0afd94d250399dad91663185bec'
Submodule 'Supporting Files/Configuration Support' (https://github.com/jdhealy/FABConfig.git) registered for path 'Supporting Files/Configuration Support'
Cloning into '/host/spi-builder-workspace/Supporting Files/Configuration Support'...
Cloned https://github.com/jdhealy/PrettyColors.git
Revision (git rev-parse @):
afd4553a4db6f656521cfe9b1f70bece2748c7d8
SUCCESS checkout https://github.com/jdhealy/PrettyColors.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jdhealy/PrettyColors.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling PrettyColors StyleParameter.swift
[4/9] Compiling PrettyColors Color · EightBit.swift
[5/9] Emitting module PrettyColors
/host/spi-builder-workspace/Source/ColorWrap.swift:225:79: warning: 'IndexDistance' is deprecated: all index distances are now of type Int
223 | 	}
224 |
225 | 	public mutating func reserveCapacity(_ minimumCapacity: UnderlyingCollection.IndexDistance) {
    |                                                                               `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
226 | 		parameters.reserveCapacity(minimumCapacity)
227 | 	}
[6/9] Compiling PrettyColors Color.swift
[7/9] Compiling PrettyColors Color · Named.swift
[8/9] Compiling PrettyColors ECMA 48.swift
[9/9] Compiling PrettyColors ColorWrap.swift
/host/spi-builder-workspace/Source/ColorWrap.swift:225:79: warning: 'IndexDistance' is deprecated: all index distances are now of type Int
223 | 	}
224 |
225 | 	public mutating func reserveCapacity(_ minimumCapacity: UnderlyingCollection.IndexDistance) {
    |                                                                               `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
226 | 		parameters.reserveCapacity(minimumCapacity)
227 | 	}
/host/spi-builder-workspace/Source/ColorWrap.swift:40:5: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 38 | 			foreground.map { Color.Named(foreground: $0) },
 39 | 			background.map { Color.Named(background: $0) }
 40 | 		].flatMap { $0 } // concatenate non-nil ColorType parameters
    |     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |     `- note: use 'compactMap(_:)' instead
 41 |
 42 | 		self.init(parameters: colors + style.map { $0 as Parameter })
/host/spi-builder-workspace/Source/ColorWrap.swift:53:5: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
 51 | 			foreground.map { Color.EightBit(foreground: $0) },
 52 | 			background.map { Color.EightBit(background: $0) }
 53 | 		].flatMap { $0 } // concatenate non-nil ColorType parameters
    |     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |     `- note: use 'compactMap(_:)' instead
 54 |
 55 | 		self.init(parameters: colors + style.map { $0 as Parameter })
/host/spi-builder-workspace/Source/ColorWrap.swift:125:21: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
123 | 		mutating set(newForeground) {
124 | 			self.parameters =
125 | 				[newForeground].flatMap { $0 } + // Empty array or array containing new foreground
    |                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                     `- note: use 'compactMap(_:)' instead
126 | 				self.filter(level: .foreground, inverse: true) // All non-foreground parameters
127 | 		}
/host/spi-builder-workspace/Source/ColorWrap.swift:136:21: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
134 | 		mutating set(newBackground) {
135 | 			self.parameters =
136 | 				[newBackground].flatMap { $0 } + // Empty array or array containing new background
    |                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                     `- note: use 'compactMap(_:)' instead
137 | 				self.filter(level: .background, inverse: true) // All non-background parameters
138 | 		}
Build complete! (6.34s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PrettyColors",
  "name" : "PrettyColors",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PrettyColors",
      "targets" : [
        "PrettyColors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UnitTests",
      "module_type" : "SwiftTarget",
      "name" : "UnitTests",
      "path" : "Tests/UnitTests",
      "sources" : [
        "Equality.swift",
        "PrettyColorsTests.swift"
      ],
      "target_dependencies" : [
        "PrettyColors"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrettyColors",
      "module_type" : "SwiftTarget",
      "name" : "PrettyColors",
      "path" : "Source",
      "product_memberships" : [
        "PrettyColors"
      ],
      "sources" : [
        "Color · EightBit.swift",
        "Color · Named.swift",
        "Color.swift",
        "ColorWrap.swift",
        "ECMA 48.swift",
        "StyleParameter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.