The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Yaml, reference master (063286), with Swift 6.1 for Wasm on 27 May 2025 12:29:31 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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/behrang/YamlSwift.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/behrang/YamlSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 063286d add version string
Cloned https://github.com/behrang/YamlSwift.git
Revision (git rev-parse @):
063286d0a66200b6ae0687c06914b19fe7c8dc83
SUCCESS checkout https://github.com/behrang/YamlSwift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/behrang/YamlSwift.git
https://github.com/behrang/YamlSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Yaml",
  "name" : "Yaml",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Yaml",
      "targets" : [
        "Yaml"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YamlTests",
      "module_type" : "SwiftTarget",
      "name" : "YamlTests",
      "path" : "Tests/YamlTests",
      "sources" : [
        "ExampleTests.swift",
        "YamlTests.swift"
      ],
      "target_dependencies" : [
        "Yaml"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Yaml",
      "module_type" : "SwiftTarget",
      "name" : "Yaml",
      "path" : "Sources/Yaml",
      "product_memberships" : [
        "Yaml"
      ],
      "sources" : [
        "YAMLOperators.swift",
        "YAMLParser.swift",
        "YAMLRegex.swift",
        "YAMLResult.swift",
        "YAMLTokenizer.swift",
        "Yaml.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Yaml YAMLRegex.swift
[4/9] Compiling Yaml YAMLParser.swift
/host/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:143:13: warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | private typealias Context = Yaml.Context
142 |
143 | private var error = Yaml.Context.error
    |             |- warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'error' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'error' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | private typealias ContextValue = (context: Context, value: Yaml)
[5/9] Compiling Yaml YAMLOperators.swift
[6/9] Emitting module Yaml
/host/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:143:13: warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | private typealias Context = Yaml.Context
142 |
143 | private var error = Yaml.Context.error
    |             |- warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'error' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'error' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | private typealias ContextValue = (context: Context, value: Yaml)
[7/9] Compiling Yaml Yaml.swift
[8/9] Compiling Yaml YAMLResult.swift
[9/9] Compiling Yaml YAMLTokenizer.swift
Build complete! (5.90s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Yaml",
  "name" : "Yaml",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Yaml",
      "targets" : [
        "Yaml"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YamlTests",
      "module_type" : "SwiftTarget",
      "name" : "YamlTests",
      "path" : "Tests/YamlTests",
      "sources" : [
        "ExampleTests.swift",
        "YamlTests.swift"
      ],
      "target_dependencies" : [
        "Yaml"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Yaml",
      "module_type" : "SwiftTarget",
      "name" : "Yaml",
      "path" : "Sources/Yaml",
      "product_memberships" : [
        "Yaml"
      ],
      "sources" : [
        "YAMLOperators.swift",
        "YAMLParser.swift",
        "YAMLRegex.swift",
        "YAMLResult.swift",
        "YAMLTokenizer.swift",
        "Yaml.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.