The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Pretty, reference 0.0.4 (136e1b), with Swift 6.1 for Android on 28 May 2025 08:09:50 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chriseidhof/pretty.git
Reference: 0.0.4
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/chriseidhof/pretty
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 136e1b5 Don't indent trailing braces
Cloned https://github.com/chriseidhof/pretty.git
Revision (git rev-parse @):
136e1b50a0c50ca819503696ff5e8ac711eac5b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/chriseidhof/pretty.git at 0.0.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/chriseidhof/pretty.git
https://github.com/chriseidhof/pretty.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pretty",
  "name" : "Pretty",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Pretty",
      "targets" : [
        "Pretty"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftBuilder",
      "targets" : [
        "SwiftBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBuilder",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBuilder",
      "path" : "Sources/SwiftBuilder",
      "product_memberships" : [
        "SwiftBuilder"
      ],
      "sources" : [
        "Builders.swift",
        "Pretty.swift",
        "SwiftBuilder.swift"
      ],
      "target_dependencies" : [
        "Pretty"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettyTests",
      "module_type" : "SwiftTarget",
      "name" : "PrettyTests",
      "path" : "Tests/PrettyTests",
      "sources" : [
        "HelperTests.swift",
        "InterpolationTests.swift",
        "PrettyTests.swift",
        "SwiftTests.swift"
      ],
      "target_dependencies" : [
        "Pretty",
        "SwiftBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Pretty",
      "module_type" : "SwiftTarget",
      "name" : "Pretty",
      "path" : "Sources/Pretty",
      "product_memberships" : [
        "Pretty",
        "SwiftBuilder"
      ],
      "sources" : [
        "Core.swift",
        "Helpers.swift",
        "StringInterpolation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Pretty Helpers.swift
[5/7] Compiling Pretty StringInterpolation.swift
[6/7] Compiling Pretty Core.swift
[7/7] Emitting module Pretty
[9/12] Compiling SwiftBuilder Pretty.swift
[10/12] Compiling SwiftBuilder SwiftBuilder.swift
/host/spi-builder-workspace/Sources/SwiftBuilder/SwiftBuilder.swift:33:5: warning: let 'doubleNewline' is not concurrency-safe because non-'Sendable' type 'Doc<String>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | let doubleNewline: Doc<String> = .line + .line
   |     `- warning: let 'doubleNewline' is not concurrency-safe because non-'Sendable' type 'Doc<String>' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | extension Doc where A == String {
/host/spi-builder-workspace/Sources/Pretty/Core.swift:13:22: note: generic enum 'Doc' does not conform to the 'Sendable' protocol
 11 |
 12 | /// A document that can be laid out (later) with a specific width.
 13 | indirect public enum Doc<A: El & Equatable>: Equatable {
    |                      `- note: generic enum 'Doc' does not conform to the 'Sendable' protocol
 14 |     case empty
 15 |     case line
/host/spi-builder-workspace/Sources/SwiftBuilder/SwiftBuilder.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pretty'
 7 |
 8 | import Foundation
 9 | import Pretty
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pretty'
10 |
11 | extension Doc where A == String {
   :
31 | }
32 |
33 | let doubleNewline: Doc<String> = .line + .line
   |     |- note: add '@MainActor' to make let 'doubleNewline' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Doc where A == String {
[11/12] Emitting module SwiftBuilder
/host/spi-builder-workspace/Sources/SwiftBuilder/SwiftBuilder.swift:33:5: warning: let 'doubleNewline' is not concurrency-safe because non-'Sendable' type 'Doc<String>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | let doubleNewline: Doc<String> = .line + .line
   |     `- warning: let 'doubleNewline' is not concurrency-safe because non-'Sendable' type 'Doc<String>' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | extension Doc where A == String {
/host/spi-builder-workspace/Sources/Pretty/Core.swift:13:22: note: generic enum 'Doc' does not conform to the 'Sendable' protocol
 11 |
 12 | /// A document that can be laid out (later) with a specific width.
 13 | indirect public enum Doc<A: El & Equatable>: Equatable {
    |                      `- note: generic enum 'Doc' does not conform to the 'Sendable' protocol
 14 |     case empty
 15 |     case line
/host/spi-builder-workspace/Sources/SwiftBuilder/SwiftBuilder.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pretty'
 7 |
 8 | import Foundation
 9 | import Pretty
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pretty'
10 |
11 | extension Doc where A == String {
   :
31 | }
32 |
33 | let doubleNewline: Doc<String> = .line + .line
   |     |- note: add '@MainActor' to make let 'doubleNewline' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | extension Doc where A == String {
[12/12] Compiling SwiftBuilder Builders.swift
Build complete! (14.27s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pretty",
  "name" : "Pretty",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Pretty",
      "targets" : [
        "Pretty"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftBuilder",
      "targets" : [
        "SwiftBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBuilder",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBuilder",
      "path" : "Sources/SwiftBuilder",
      "product_memberships" : [
        "SwiftBuilder"
      ],
      "sources" : [
        "Builders.swift",
        "Pretty.swift",
        "SwiftBuilder.swift"
      ],
      "target_dependencies" : [
        "Pretty"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettyTests",
      "module_type" : "SwiftTarget",
      "name" : "PrettyTests",
      "path" : "Tests/PrettyTests",
      "sources" : [
        "HelperTests.swift",
        "InterpolationTests.swift",
        "PrettyTests.swift",
        "SwiftTests.swift"
      ],
      "target_dependencies" : [
        "Pretty",
        "SwiftBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Pretty",
      "module_type" : "SwiftTarget",
      "name" : "Pretty",
      "path" : "Sources/Pretty",
      "product_memberships" : [
        "Pretty",
        "SwiftBuilder"
      ],
      "sources" : [
        "Core.swift",
        "Helpers.swift",
        "StringInterpolation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.