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 Yams, reference main (bbfd1a), with Swift 6.0 for macOS (SPM) on 30 Apr 2025 04:59:15 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jpsim/Yams.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jpsim/Yams
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bbfd1a2 Merge pull request #447 from lynchsft/test_swift_6_1
Cloned https://github.com/jpsim/Yams.git
Revision (git rev-parse @):
bbfd1a26e48762351b5d1c9eb6e918d06253f78b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jpsim/Yams.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "yams",
      "name": "Yams",
      "url": "https://github.com/jpsim/Yams.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jpsim/Yams.git
[1/10445] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.61s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at main (bbfd1a2)
warning: '.resolve-product-dependencies': dependency 'yams' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jpsim/Yams.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[1/8] Write swift-version-5BDAB9E9C0126B9D.txt
[2/8] Compiling reader.c
[3/8] Compiling parser.c
[4/8] Compiling api.c
[5/8] Compiling scanner.c
[6/8] Compiling emitter.c
[7/8] Compiling writer.c
[9/28] Emitting module Yams
[10/30] Compiling Yams Encoder.swift
[11/30] Compiling Yams Mark.swift
[12/30] Compiling Yams Node.Alias.swift
[13/30] Compiling Yams Node.Mapping.swift
[14/30] Compiling Yams YamlError.swift
[15/30] Compiling Yams YamlTagProviding.swift
[16/30] Compiling Yams AliasDereferencingStrategy.swift
[17/30] Compiling Yams Anchor.swift
[18/30] Compiling Yams Constructor.swift
[19/30] Compiling Yams Resolver.swift
[20/30] Compiling Yams String+Yams.swift
[21/30] Compiling Yams Node.Scalar.swift
[22/30] Compiling Yams Node.Sequence.swift
[23/30] Compiling Yams Tag.swift
[24/30] Compiling Yams YamlAnchorProviding.swift
[25/30] Compiling Yams Decoder.swift
[26/30] Compiling Yams Emitter.swift
[27/30] Compiling Yams RedundancyAliasingStrategy.swift
[28/30] Compiling Yams Representer.swift
[29/30] Compiling Yams Node.swift
[30/30] Compiling Yams Parser.swift
Build complete! (4.98s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Yams",
  "name" : "Yams",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Yams",
      "targets" : [
        "Yams"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YamsTests",
      "module_type" : "SwiftTarget",
      "name" : "YamsTests",
      "path" : "Tests/YamsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/YamsTests/Fixtures/SourceKitten#289/debug.yaml",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AliasingStrategyTests.swift",
        "AnchorCodingTests.swift",
        "AnchorTolerancesTests.swift",
        "ClassReferenceDecodingTests.swift",
        "ConstructorTests.swift",
        "EmitterTests.swift",
        "EncoderTests.swift",
        "MarkTests.swift",
        "NodeDecoderTests.swift",
        "NodeTests.swift",
        "PerformanceTests.swift",
        "RepresenterTests.swift",
        "ResolverTests.swift",
        "SpecTests.swift",
        "StringTests.swift",
        "TagCodingTests.swift",
        "TagTolerancesTests.swift",
        "TestHelper.swift",
        "TopLevelDecoderTests.swift",
        "YamlErrorTests.swift"
      ],
      "target_dependencies" : [
        "Yams"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Yams",
      "module_type" : "SwiftTarget",
      "name" : "Yams",
      "path" : "Sources/Yams",
      "product_memberships" : [
        "Yams"
      ],
      "sources" : [
        "AliasDereferencingStrategy.swift",
        "Anchor.swift",
        "Constructor.swift",
        "Decoder.swift",
        "Emitter.swift",
        "Encoder.swift",
        "Mark.swift",
        "Node.Alias.swift",
        "Node.Mapping.swift",
        "Node.Scalar.swift",
        "Node.Sequence.swift",
        "Node.swift",
        "Parser.swift",
        "RedundancyAliasingStrategy.swift",
        "Representer.swift",
        "Resolver.swift",
        "String+Yams.swift",
        "Tag.swift",
        "YamlAnchorProviding.swift",
        "YamlError.swift",
        "YamlTagProviding.swift"
      ],
      "target_dependencies" : [
        "CYaml"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CYaml",
      "module_type" : "ClangTarget",
      "name" : "CYaml",
      "path" : "Sources/CYaml",
      "product_memberships" : [
        "Yams"
      ],
      "sources" : [
        "src/api.c",
        "src/emitter.c",
        "src/parser.c",
        "src/reader.c",
        "src/scanner.c",
        "src/writer.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/jpsim/yams/main
Repository:               jpsim/Yams
Swift version used:       6.0
Target:                   Yams
Extracting symbol information for 'Yams'...
Finished extracting symbol information for 'Yams'. (2.37s)
Building documentation for 'Yams'...
warning: Parameter 'yaml' not found in instance method declaration
   --> Sources/Yams/Decoder.swift:102:21-102:25
100 |     ///
101 |     /// - parameter type:    `Decodable` type to decode.
102 +     /// - parameter yaml:     YAML data to decode.
    |                     ╰─suggestion: Replace 'yaml' with 'yamlData'
103 |     /// - parameter userInfo: Additional key/values which can be used when looking up keys to decode.
104 |     ///
warning: Parameter 'yamlData' is missing documentation
   --> Sources/Yams/Decoder.swift:104:9-104:9
102 |     /// - parameter yaml:     YAML data to decode.
103 |     /// - parameter userInfo: Additional key/values which can be used when looking up keys to decode.
    |         ╰─suggestion: Document 'yamlData' parameter
104 +     ///
105 |     /// - returns: Returns the decoded type `T`.
106 |     ///
warning: Parameter 'newLineScalarStyle' is missing documentation
  --> Sources/Yams/Emitter.swift:28:5-28:5
26 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
27 | /// - parameter mappingStyle:  The style for mappings (dictionaries)
28 + ///
   |     ╰─suggestion: Document 'newLineScalarStyle' parameter
29 | /// - returns: YAML string.
30 | ///
warning: Parameter 'redundancyAliasingStrategy' is missing documentation
  --> Sources/Yams/Emitter.swift:85:5-85:5
83 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
84 | /// - parameter mappingStyle:  The style for mappings (dictionaries)
85 + ///
   |     ╰─suggestion: Document 'redundancyAliasingStrategy' parameter
86 | /// - returns: YAML string.
87 | ///
warning: Parameter 'newLineScalarStyle' is missing documentation
  --> Sources/Yams/Emitter.swift:85:5-85:5
83 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
84 | /// - parameter mappingStyle:  The style for mappings (dictionaries)
85 + ///
   |     ╰─suggestion: Document 'newLineScalarStyle' parameter
86 | /// - returns: YAML string.
87 | ///
warning: Parameter 'newLineScalarStyle' is missing documentation
   --> Sources/Yams/Emitter.swift:136:5-136:5
134 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
135 | /// - parameter mappingStyle:  The style for mappings (dictionaries)
136 + ///
    |     ╰─suggestion: Document 'newLineScalarStyle' parameter
137 | /// - returns: YAML string.
138 | ///
warning: Parameter 'redundancyAliasingStrategy' is missing documentation
   --> Sources/Yams/Emitter.swift:136:5-136:5
134 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
135 | /// - parameter mappingStyle:  The style for mappings (dictionaries)
136 + ///
    |     ╰─suggestion: Document 'redundancyAliasingStrategy' parameter
137 | /// - returns: YAML string.
138 | ///
warning: Parameter 'newLineScalarStyle' is missing documentation
   --> Sources/Yams/Emitter.swift:191:5-191:5
189 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
190 | /// - parameter mappingStyle:  The style for mappings (dictionaries)
191 + ///
    |     ╰─suggestion: Document 'newLineScalarStyle' parameter
192 | /// - returns: YAML string.
193 | ///
warning: Parameter 'redundancyAliasingStrategy' is missing documentation
   --> Sources/Yams/Emitter.swift:191:5-191:5
189 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
190 | /// - parameter mappingStyle:  The style for mappings (dictionaries)
191 + ///
    |     ╰─suggestion: Document 'redundancyAliasingStrategy' parameter
192 | /// - returns: YAML string.
193 | ///
warning: Parameter 'anchor' is missing documentation
  --> Sources/Yams/Node.Alias.swift:24:54-24:54
22 |         ///
23 |         /// - parameter tag:    This scalar's `Tag`.
   |             ╰─suggestion: Document 'anchor' parameter
24 +         /// - parameter mark:   This scalar's `Mark`.
25 |         public init(_ anchor: Anchor, _ tag: Tag = .implicit, _ mark: Mark? = nil) {
26 |             self.anchor = anchor
warning: Parameter 'anchor' is missing documentation
  --> Sources/Yams/Node.Mapping.swift:37:54-37:54
35 |         /// - parameter tag:   This mapping's `Tag`.
36 |         /// - parameter style: The style to use when emitting this `Mapping`.
37 +         /// - parameter mark:  This mapping's `Mark`.
   |                                                      ╰─suggestion: Document 'anchor' parameter
38 |         public init(_ pairs: [(Node, Node)],
39 |                     _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
  --> Sources/Yams/Node.Scalar.swift:52:54-52:54
50 |         /// - parameter tag:    This scalar's `Tag`.
51 |         /// - parameter style:  The style to use when emitting this `Scalar`.
52 +         /// - parameter mark:   This scalar's `Mark`.
   |                                                      ╰─suggestion: Document 'anchor' parameter
53 |         public init(_ string: String,
54 |                     _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
  --> Sources/Yams/Node.Sequence.swift:39:55-39:55
37 |         /// - parameter tag:   This sequence's `Tag`.
38 |         /// - parameter style: The style to use when emitting this `Sequence`.
39 +         /// - parameter mark:  This sequence's `Mark`.
   |                                                       ╰─suggestion: Document 'anchor' parameter
40 |         public init(_ nodes: [Node],
41 |                     _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
  --> Sources/Yams/Node.swift:28:66-28:66
26 |     /// - parameter string: String value for this node.
27 |     /// - parameter tag:    Tag for this node.
28 +     /// - parameter style:  Style to use when emitting this node.
   |                                                                  ╰─suggestion: Document 'anchor' parameter
29 |     public init(_ string: String,
30 |                 _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
  --> Sources/Yams/Node.swift:40:66-40:66
38 |     /// - parameter pairs:  Pairs of nodes to use for this node.
39 |     /// - parameter tag:    Tag for this node.
40 +     /// - parameter style:  Style to use when emitting this node.
   |                                                                  ╰─suggestion: Document 'anchor' parameter
41 |     public init(_ pairs: [(Node, Node)],
42 |                 _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
  --> Sources/Yams/Node.swift:52:66-52:66
50 |     /// - parameter nodes:  Sequence of nodes to use for this node.
51 |     /// - parameter tag:    Tag for this node.
52 +     /// - parameter style:  Style to use when emitting this node.
   |                                                                  ╰─suggestion: Document 'anchor' parameter
53 |     public init(_ nodes: [Node],
54 |                 _ tag: Tag = .implicit,
warning: Parameter 'string' not found in initializer declaration
   --> Sources/Yams/Parser.swift:199:9-199:77
197 |     /// Set up a `Parser` with a `Data` value as input.
198 |     ///
199 +     /// - parameter string: YAML Data encoded using the `encoding` encoding.
    |         ╰─suggestion: Remove 'string' parameter documentation
200 |     /// - parameter resolver: Resolver, `.default` if omitted.
201 |     /// - parameter constructor: Constructor, `.default` if omitted.
warning: Parameter 'data' is missing documentation
   --> Sources/Yams/Parser.swift:203:9-203:9
201 |     /// - parameter constructor: Constructor, `.default` if omitted.
202 |     /// - parameter encoding: Encoding, `.default` if omitted.
203 +     ///
204 |     /// - throws: `YamlError`.
205 |     public convenience init(yaml data: Data,Finished building documentation for 'Yams' (0.59s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/jpsim/yams/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.07s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.11s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit SemanticVersion.swift
[13/57] Compiling SymbolKit AccessControl.swift
[14/57] Compiling SymbolKit Availability.swift
[15/57] Compiling SymbolKit AvailabilityItem.swift
[16/57] Compiling SymbolKit Domain.swift
[17/57] Compiling Snippets Snippet.swift
[18/57] Compiling Snippets SnippetParser.swift
[19/57] Emitting module Snippets
[20/57] Compiling SymbolKit SourceRange.swift
[21/57] Compiling SymbolKit Metadata.swift
[22/57] Compiling SymbolKit Module.swift
[23/57] Compiling SymbolKit OperatingSystem.swift
[24/57] Compiling SymbolKit Platform.swift
[25/57] Compiling SymbolKit Mixin+Equals.swift
[26/57] Compiling SymbolKit Mixin+Hash.swift
[27/57] Compiling SymbolKit Mixin.swift
[28/57] Compiling SymbolKit LineList.swift
[29/57] Compiling SymbolKit Position.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit Identifier.swift
[35/57] Compiling SymbolKit KindIdentifier.swift
[36/57] Compiling SymbolKit Location.swift
[37/57] Compiling SymbolKit Mutability.swift
[38/57] Compiling SymbolKit Relationship.swift
[39/57] Compiling SymbolKit RelationshipKind.swift
[40/57] Compiling SymbolKit SourceOrigin.swift
[41/57] Compiling SymbolKit GenericConstraints.swift
[42/57] Compiling SymbolKit Swift.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.20s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
Build of target: 'Yams' complete! (0.17s)
    1836
12	/Users/admin/builder/spi-builder-workspace/.docs/jpsim/yams/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/jpsim/yams/main
File count: 1836
Doc size:   12.0MB
Preparing doc bundle ...
Uploading prod-jpsim-yams-main-bfe22285.zip to s3://spi-docs-inbox/prod-jpsim-yams-main-bfe22285.zip
Copying... [11%]
Copying... [22%]
Copying... [32%]
Copying... [40%]
Copying... [51%]
Copying... [62%]
Copying... [73%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.