The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Yaml, reference master (38cff9), with Swift 6.1 for Wasm on 29 May 2025 02:44:18 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/saltzmanjoelh/Yaml.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/saltzmanjoelh/Yaml
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 38cff9d Updated travis config
Cloned https://github.com/saltzmanjoelh/Yaml.git
Revision (git rev-parse @):
38cff9dff79b621a22df77f261cc3296377e0d1b
SUCCESS checkout https://github.com/saltzmanjoelh/Yaml.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/saltzmanjoelh/Yaml.git
https://github.com/saltzmanjoelh/Yaml.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" : [
          "static"
        ]
      }
    }
  ],
  "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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Yaml YAMLResult.swift
[4/12] Compiling Yaml YAMLTokenizer.swift
[5/12] Compiling Yaml Yaml.swift
/host/spi-builder-workspace/Sources/Yaml/Yaml.swift:132:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Yaml' to 'Hashable' by implementing 'hash(into:)' instead
130 |
131 | extension Yaml: Hashable {
132 |   public var hashValue: Swift.Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Yaml' to 'Hashable' by implementing 'hash(into:)' instead
133 |     return description.hashValue
134 |   }
[6/12] Compiling Yaml YAMLParser.swift
/host/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:64: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
 62 | private typealias Context = Yaml.Context
 63 |
 64 | 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
 65 |
 66 | private typealias ContextValue = (context: Context, value: Yaml)
[7/12] Compiling Yaml YAMLOperators.swift
[8/12] Emitting module Yaml
/host/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:64: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
 62 | private typealias Context = Yaml.Context
 63 |
 64 | 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
 65 |
 66 | private typealias ContextValue = (context: Context, value: Yaml)
/host/spi-builder-workspace/Sources/Yaml/Yaml.swift:132:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Yaml' to 'Hashable' by implementing 'hash(into:)' instead
130 |
131 | extension Yaml: Hashable {
132 |   public var hashValue: Swift.Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Yaml' to 'Hashable' by implementing 'hash(into:)' instead
133 |     return description.hashValue
134 |   }
[9/12] Compiling Yaml YAMLRegex.swift
[10/13] Wrapping AST for Yaml for debugging
[11/13] Write Objects.LinkFileList
[12/13] Archiving libYaml.a
Build complete! (6.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Yaml",
  "name" : "Yaml",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Yaml",
      "targets" : [
        "Yaml"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.