The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-snapshot-testing, reference 1.19.7 (148839), with Swift 6.4 for macOS (SPM) on 23 Oct 2026 11:50:03 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-snapshot-testing.git
Reference: 1.19.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pointfreeco/swift-snapshot-testing
 * tag               1.19.7     -> FETCH_HEAD
HEAD is now at 1488390 Include snapshot failure in test failure message when no trailing closure. (#1130)
Cloned https://github.com/pointfreeco/swift-snapshot-testing.git
Revision (git rev-parse @):
1488390b0735e726564b948bf08b384398bdab5c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.7
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5669] Fetching swift-custom-dump
[115/8396] Fetching swift-custom-dump, xctest-dynamic-overlay
[8261/89369] Fetching swift-custom-dump, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump (11.24s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (11.24s)
Fetched https://github.com/swiftlang/swift-syntax (11.24s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (21.51s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.56s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-snapshot-testing",
      "name": "swift-snapshot-testing",
      "url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-custom-dump",
          "name": "swift-custom-dump",
          "url": "https://github.com/pointfreeco/swift-custom-dump",
          "version": "1.7.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-custom-dump",
          "traits": [
            "FoundationNetworking"
          ],
          "dependencies": [
            {
              "identity": "swift-issue-reporting",
              "name": "swift-issue-reporting",
              "url": "https://github.com/pointfreeco/swift-issue-reporting",
              "version": "2.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-issue-reporting",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax",
          "version": "604.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/16591] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (11.23s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (1.01s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.08s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (1.66s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6180] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.77s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (3.95s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.70s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.19.7 (1488390)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.40s)
warning: '.resolve-product-dependencies': dependency 'swift-snapshot-testing' is not used by any target
Found 2 product dependencies
  - swift-custom-dump
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/pointfreeco/swift-snapshot-testing.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 682]
[Planning deferred tasks]
[131 / 289]
[140 / 297] SwiftSyntax602
[151 / 313] SwiftSyntax602
[200 / 326] SwiftSyntax603
[208 / 327]
[216 / 328] SwiftSyntax601
[219 / 328] SwiftSyntax
[231 / 354] SwiftSyntax510
[236 / 354] IssueReporting
[240 / 385]
[245 / 431]
[258 / 481]
[261 / 481]
[269 / 481]
[271 / 481]
[283 / 481] SwiftSyntax
[284 / 481]
[286 / 481]
[290 / 481]
[292 / 481]
[296 / 481]
[299 / 481]
[301 / 481]
[306 / 481]
[308 / 481]
[311 / 481]
[315 / 481]
[317 / 481]
[320 / 481]
[323 / 481]
[328 / 481] IssueReporting
[329 / 481] IssueReporting
[331 / 481]
[332 / 481] IssueReporting
[341 / 481]
[345 / 481]
[348 / 481]
[351 / 481]
[353 / 481]
[357 / 481] IssueReporting-product
[361 / 481]
[364 / 481] IssueReporting
[366 / 481]
[367 / 482]
[378 / 485] XCTestDynamicOverlay
[384 / 517] SwiftParser
[389 / 517] SwiftDiagnostics
[409 / 517]
[411 / 517] XCTestDynamicOverlay-product
[416 / 517] SwiftParser
[418 / 517] SwiftParser
[419 / 517] SwiftParser
[421 / 517] SwiftParser
[422 / 517] SnapshotTesting
[423 / 517] SwiftParser
[426 / 517] SwiftParser
[433 / 517] SwiftParser-product
[440 / 517] SnapshotTesting
[446 / 517] SwiftDiagnostics
[450 / 517] SwiftParserDiagnostics
[455 / 517] SwiftDiagnostics
[458 / 517] SnapshotTesting
[462 / 517] SwiftBasicFormat
[464 / 517] SwiftParser
[466 / 517] SnapshotTesting
[468 / 518]
[474 / 530] SwiftParserDiagnostics
[475 / 530] SwiftParserDiagnostics
[478 / 530] SwiftParserDiagnostics
[486 / 530] SwiftParserDiagnostics
[490 / 531] SwiftParserDiagnostics
[496 / 604] SwiftSyntaxBuilder
[503 / 604]
[507 / 604]
[515 / 604]
[520 / 604] SwiftSyntaxBuilder
[534 / 604] SwiftSyntaxBuilder
[537 / 604] SwiftSyntaxBuilder-product
[544 / 604]
[546 / 604] SwiftSyntaxBuilder
[550 / 604] SwiftSyntaxBuilder
[551 / 604] SwiftSyntaxBuilder
[553 / 604]
[555 / 604]
[558 / 604]
[560 / 604]
[570 / 604] CustomDump
[571 / 604] CustomDump
[572 / 604] CustomDump
[578 / 605] CustomDump
[578 / 605] SnapshotTestingCustomDump
[587 / 626]
[593 / 626] CustomDump
[594 / 626]
[596 / 626]
[597 / 626]
[599 / 626]
[601 / 626] SnapshotTestingCustomDump
[611 / 627] InlineSnapshotTesting
[616 / 631] SwiftSyntax
[617 / 631] InlineSnapshotTesting
[621 / 631] SwiftParserDiagnostics
[628 / 631] InlineSnapshotTesting
[631 / 631] InlineSnapshotTesting-product
Build complete! (21.15 sec)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:581:27: warning: 'UTTypeCreatePreferredIdentifierForTag' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
579 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
580 |     // This can be much cleaner in macOS 11+ using UTType
581 |     let unmanagedString = UTTypeCreatePreferredIdentifierForTag(
    |                           `- warning: 'UTTypeCreatePreferredIdentifierForTag' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
582 |       kUTTagClassFilenameExtension as CFString,
583 |       pathExtension as CFString,
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:582:7: warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
580 |     // This can be much cleaner in macOS 11+ using UTType
581 |     let unmanagedString = UTTypeCreatePreferredIdentifierForTag(
582 |       kUTTagClassFilenameExtension as CFString,
    |       `- warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
583 |       pathExtension as CFString,
584 |       nil
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "605.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "swift-snapshot-testing",
  "name" : "swift-snapshot-testing",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapshotTesting",
      "targets" : [
        "SnapshotTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InlineSnapshotTesting",
      "targets" : [
        "InlineSnapshotTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SnapshotTestingCustomDump",
      "targets" : [
        "SnapshotTestingCustomDump"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SnapshotTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotTestingTests",
      "path" : "Tests/SnapshotTestingTests",
      "sources" : [
        "AssertSnapshotSwiftTests.swift",
        "DeprecationTests.swift",
        "Internal/BaseSuite.swift",
        "Internal/BaseTestCase.swift",
        "Internal/TestHelpers.swift",
        "RecordTests.swift",
        "SnapshotTestingTests.swift",
        "SnapshotsTraitTests.swift",
        "SwiftTestingTests.swift",
        "WaitTests.swift",
        "WithSnapshotTestingTests.swift"
      ],
      "target_dependencies" : [
        "SnapshotTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapshotTestingCustomDump",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotTestingCustomDump",
      "path" : "Sources/SnapshotTestingCustomDump",
      "product_dependencies" : [
        "CustomDump"
      ],
      "product_memberships" : [
        "InlineSnapshotTesting",
        "SnapshotTestingCustomDump"
      ],
      "sources" : [
        "CustomDump.swift"
      ],
      "target_dependencies" : [
        "SnapshotTesting"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapshotTesting",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotTesting",
      "path" : "Sources/SnapshotTesting",
      "product_memberships" : [
        "SnapshotTesting",
        "InlineSnapshotTesting",
        "SnapshotTestingCustomDump"
      ],
      "sources" : [
        "AssertSnapshot.swift",
        "Async.swift",
        "Common/Internal.swift",
        "Common/PlistEncoder.swift",
        "Common/String+SpecialCharacters.swift",
        "Common/View.swift",
        "Common/XCTAttachment.swift",
        "Diff.swift",
        "Diffing.swift",
        "Extensions/Wait.swift",
        "Internal/Deprecations.swift",
        "Internal/RecordIssue.swift",
        "SnapshotTestingConfiguration.swift",
        "SnapshotsTestTrait.swift",
        "Snapshotting.swift",
        "Snapshotting/Any.swift",
        "Snapshotting/CALayer.swift",
        "Snapshotting/CGPath.swift",
        "Snapshotting/CaseIterable.swift",
        "Snapshotting/Data.swift",
        "Snapshotting/Encodable.swift",
        "Snapshotting/NSBezierPath.swift",
        "Snapshotting/NSImage.swift",
        "Snapshotting/NSView.swift",
        "Snapshotting/NSViewController.swift",
        "Snapshotting/SceneKit.swift",
        "Snapshotting/SpriteKit.swift",
        "Snapshotting/String.swift",
        "Snapshotting/SwiftUIView.swift",
        "Snapshotting/UIBezierPath.swift",
        "Snapshotting/UIImage.swift",
        "Snapshotting/UIView.swift",
        "Snapshotting/UIViewController.swift",
        "Snapshotting/URLRequest.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InlineSnapshotTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "InlineSnapshotTestingTests",
      "path" : "Tests/InlineSnapshotTestingTests",
      "sources" : [
        "AssertInlineSnapshotSwiftTests.swift",
        "CustomDumpTests.swift",
        "InlineSnapshotTestingTests.swift",
        "Internal/BaseSuite.swift",
        "Internal/BaseTestCase.swift"
      ],
      "target_dependencies" : [
        "InlineSnapshotTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "InlineSnapshotTesting",
      "module_type" : "SwiftTarget",
      "name" : "InlineSnapshotTesting",
      "path" : "Sources/InlineSnapshotTesting",
      "product_dependencies" : [
        "SwiftParser",
        "SwiftSyntax",
        "SwiftSyntaxBuilder"
      ],
      "product_memberships" : [
        "InlineSnapshotTesting"
      ],
      "sources" : [
        "AssertInlineSnapshot.swift",
        "Exports.swift"
      ],
      "target_dependencies" : [
        "SnapshotTesting",
        "SnapshotTestingCustomDump"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/pointfreeco/swift-snapshot-testing/1.19.7
Repository:               pointfreeco/swift-snapshot-testing
Swift version used:       6.4
Target:                   SnapshotTesting
Extracting symbol information for 'SnapshotTesting'...
Finished extracting symbol information for 'SnapshotTesting'. (2.19s)
Building documentation for 'SnapshotTesting'...
warning: External name 'file' used to document parameter
   --> ../AssertSnapshot.swift:102:9-102:13
100 | ///   - fileID: The file ID in which failure occurred. Defaults to the file ID of the test case in
101 | ///     which this function was called.
102 + ///   - file: The file in which failure occurred. Defaults to the file path of the test case in
    |         ╰─suggestion: Replace 'file' with 'filePath'
103 | ///     which this function was called.
104 | ///   - testName: The name of the test in which failure occurred. Defaults to the function name of
warning: Parameter 'recording' not found in function declaration
   --> ../AssertSnapshot.swift:150:9-150:18
148 | ///   - strategies: A dictionary of names and strategies for serializing, deserializing, and
149 | ///     comparing values.
150 + ///   - recording: The record mode to use while asserting snapshots.
    |         ╰─suggestion: Replace 'recording' with 'record'
151 | ///   - timeout: The amount of time a snapshot must be generated in.
152 | ///   - fileID: The file ID in which failure occurred. Defaults to the file ID of the test case in
warning: External name 'file' used to document parameter
   --> ../AssertSnapshot.swift:154:9-154:13
152 | ///   - fileID: The file ID in which failure occurred. Defaults to the file ID of the test case in
153 | ///     which this function was called.
154 + ///   - file: The file in which failure occurred. Defaults to the file path of the test case in
    |         ╰─suggestion: Replace 'file' with 'filePath'
155 | ///     which this function was called.
156 | ///   - testName: The name of the test in which failure occurred. Defaults to the function name of
warning: Parameter 'record' is missing documentation
   --> ../AssertSnapshot.swift:161:20-161:20
159 | ///     function was called.
160 | ///   - column: The column on which failure occurred. Defaults to the column on which this function
161 + ///     was called.
162 | public func assertSnapshots<Value, Format>(
163 |   of value: @autoclosure () throws -> Value,
warning: External name 'file' used to document parameter
   --> ../AssertSnapshot.swift:198:9-198:13
196 | ///   - fileID: The file ID in which failure occurred. Defaults to the file ID of the test case in
197 | ///     which this function was called.
198 + ///   - file: The file in which failure occurred. Defaults to the file path of the test case in
    |         ╰─suggestion: Replace 'file' with 'filePath'
199 | ///     which this function was called.
200 | ///   - testName: The name of the test in which failure occurred. Defaults to the function name of
warning: External name 'file' used to document parameter
   --> ../AssertSnapshot.swift:276:9-276:13
274 | ///     directory `__Snapshots__` that sits next to your test file.
275 | ///   - timeout: The amount of time a snapshot must be generated in.
276 + ///   - file: The file in which failure occurred. Defaults to the file name of the test case in
    |         ╰─suggestion: Replace 'file' with 'filePath'
277 | ///     which this function was called.
278 | ///   - testName: The name of the test in which failure occurred. Defaults to the function name of
warning: Parameter 'fileID' is missing documentation
   --> ../AssertSnapshot.swift:281:29-281:29
279 | ///     the test case in which this function was called.
280 | ///   - line: The line number on which failure occurred. Defaults to the line number on which this
281 + ///     function was called.
282 | /// - Returns: A failure message or, if the value matches, nil.
283 | public func verifySnapshot<Value, Format>(
warning: Parameter 'column' is missing documentation
   --> ../AssertSnapshot.swift:281:29-281:29
279 | ///     the test case in which this function was called.
280 | ///   - line: The line number on which failure occurred. Defaults to the line number on which this
281 + ///     function was called.
    |                             ╰─suggestion: Document 'column' parameter
282 | /// - Returns: A failure message or, if the value matches, nil.
283 | public func verifySnapshot<Value, Format>(
warning: 'assertSnapshot(of:as:named:record:timeout:file:testName:line:)' doesn't exist at '/SnapshotTesting/IntegratingWithTestFrameworks'
  --> Articles/IntegratingWithTestFrameworks.md:21:7-21:69
19 |
20 | However, these details have all been hidden away in the SnapshotTesting library. You can simply
21 + use ``assertSnapshot(of:as:named:record:timeout:file:testName:line:)`` in either an `XCTestCase`
22 | subclass _or_ `@Test`, and it will dynamically detect what context it is running in and trigger
23 | the correct test failure:
warning: No symbol matched 'SnapshotTesting/assertSnapshot(of:as:named:record:timeout:file:testName:line:)'. 'assertSnapshot(of:as:named:record:timeout:file:testName:line:)' doesn't exist at '/SnapshotTesting'.
 --> Extensions/AssertSnapshot.md:1:3-1:85
1 + # ``SnapshotTesting/assertSnapshot(of:as:named:record:timeout:file:testName:line:)``
  |                     ├─suggestion: Replace 'assertSnapshot(of:as:named:record:timeout:file:testName:line:)' with 'assertSnapshot(matching:as:named:record:timeout:file:testName:line:)'
  |                     ╰─suggestion: Replace 'assertSnapshot(of:as:named:record:timeout:file:testName:line:)' with 'verifySnapshot(matching:as:named:record:snapshotDirectory:timeout:file:testName:line:)'
2 |
3 | ## Topics
warning: No symbol matched 'SnapshotTesting/Testing/Trait/snapshots(diffTool:record:)'. 'snapshots(diffTool:record:)' doesn't exist at '/SnapshotTesting/Testing/Trait'.
 --> Extensions/SnapshotsTrait.md:1:3-1:64
1 + # ``SnapshotTesting/Testing/Trait/snapshots(diffTool:record:)``
  |                                   ├─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots(record:diffTool:)'
  |                                   ├─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots(_:)'
  |                                   ╰─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots'
2 |
3 | ### Configuration
warning: 'assertSnapshot(of:as:named:record:timeout:file:testName:line:)' doesn't exist at '/SnapshotTesting'
  --> SnapshotTesting.md:9:5-9:67
7  | ### Essentials
8  |
9  + - ``assertSnapshot(of:as:named:record:timeout:file:testName:line:)``
   |     ├─suggestion: Replace 'assertSnapshot(of:as:named:record:timeout:file:testName:line:)' with 'assertSnapshot(matching:as:named:record:timeout:file:testName:line:)'
   |     ╰─suggestion: Replace 'assertSnapshot(of:as:named:record:timeout:file:testName:line:)' with 'verifySnapshot(matching:as:named:record:snapshotDirectory:timeout:file:testName:line:)'
10 | - <doc:IntegratingWithTestFrameworks>
11 | - <doc:MigrationGuides>
warning: 'snapshots(diffTool:record:)' doesn't exist at '/SnapshotTesting/Testing/Trait'
  --> SnapshotTesting.md:22:19-22:46
20 | ### Configuration
21 |
22 + - ``Testing/Trait/snapshots(diffTool:record:)``
   |                   ├─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots(record:diffTool:)'
   |                   ├─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots(_:)'
   |                   ╰─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots'
23 | - ``withSnapshotTesting(record:diffTool:operation:)-2kuyr``
24 | - ``SnapshotTestingConfiguration``
warning: 'snapshots(diffTool:record:)' doesn't exist at '/SnapshotTesting/Testing/Trait'
  --> ../SnapshotTestingConfiguration.swift:8:23-8:50
6  | ///
7  | /// > Note: To customize tests when using Swift's native Testing library, use the
8  + /// > ``Testing/Trait/snapshots(diffTool:record:)`` trait.
   |                       ├─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots(record:diffTool:)'
   |                       ├─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots(_:)'
   |                       ╰─suggestion: Replace 'snapshots(diffTool:record:)' with 'snapshots'
9  | ///
10 | /// For example, to specify to put an entire test class in record mode you do the following:
Finished building documentation for 'SnapshotTesting' (0.19s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/pointfreeco/swift-snapshot-testing/1.19.7
Updating https://github.com/pointfreeco/xctest-dynamic-overlay
Updating https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/pointfreeco/swift-custom-dump
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/pointfreeco/xctest-dynamic-overlay (1.37s)
Updated https://github.com/pointfreeco/swift-custom-dump (1.37s)
Updated https://github.com/swiftlang/swift-syntax (1.37s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.38s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (2.17s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3847] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.94s)
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
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
Building for debugging...
[Planning deferred tasks]
[18 / 41]
[20 / 43] Snippets
[31 / 58] SymbolKit
[34 / 58] SymbolKit
[52 / 59] SymbolKit
[58 / 63] snippet-extract-product
[59 / 63] snippet-extract-product
[61 / 63] snippet-extract-product
Build complete! (2.49 sec)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
Building for debugging...
[Planning deferred tasks]
[3 / 11] SnapshotTesting
[14 / 22] SnapshotTesting
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:581:27: warning: 'UTTypeCreatePreferredIdentifierForTag' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
579 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
580 |     // This can be much cleaner in macOS 11+ using UTType
581 |     let unmanagedString = UTTypeCreatePreferredIdentifierForTag(
    |                           `- warning: 'UTTypeCreatePreferredIdentifierForTag' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
582 |       kUTTagClassFilenameExtension as CFString,
583 |       pathExtension as CFString,
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:582:7: warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
580 |     // This can be much cleaner in macOS 11+ using UTType
581 |     let unmanagedString = UTTypeCreatePreferredIdentifierForTag(
582 |       kUTTagClassFilenameExtension as CFString,
    |       `- warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
583 |       pathExtension as CFString,
584 |       nil
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16 / 18] SnapshotTesting
Build complete! (1.87 sec)
Target:                   InlineSnapshotTesting
Extracting symbol information for 'InlineSnapshotTesting'...
Finished extracting symbol information for 'InlineSnapshotTesting'. (14.33s)
Building documentation for 'InlineSnapshotTesting'...
warning: Parameter 'isRecording' not found in function declaration
  --> ../AssertInlineSnapshot.swift:18:9-18:65
16 |   ///   - snapshotting: A strategy for snapshotting and comparing values.
17 |   ///   - message: An optional description of the assertion, for inclusion in test results.
18 +   ///   - isRecording: Whether or not to record a new reference.
   |         ╰─suggestion: Remove 'isRecording' parameter documentation
19 |   ///   - timeout: The amount of time a snapshot must be generated in.
20 |   ///   - syntaxDescriptor: An optional description of where the snapshot is inlined. This parameter
warning: External name 'file' used to document parameter
  --> ../AssertInlineSnapshot.swift:28:11-28:15
26 |   ///   - fileID: The file ID in which failure occurred. Defaults to the file ID of the test case in
27 |   ///     which this function was called.
28 +   ///   - file: The file in which failure occurred. Defaults to the file path of the test case in
   |           ╰─suggestion: Replace 'file' with 'filePath'
29 |   ///     which this function was called.
30 |   ///   - function: The function where the assertion occurs. The default is the name of the test
warning: Parameter 'record' is missing documentation
  --> ../AssertInlineSnapshot.swift:35:31-35:31
33 |   ///     function was called.
34 |   ///   - column: The column on which failure occurred. Defaults to the column on which this
35 +   ///     function was called.
36 |   public func assertInlineSnapshot<Value>(
37 |     of value: @autoclosure () throws -> Value?,
warning: 'assertInlineSnapshot(of:as:message:record:timeout:syntaxDescriptor:matches:file:function:line:column:)' doesn't exist at '/InlineSnapshotTesting/InlineSnapshotSyntaxDescriptor'
   --> ../AssertInlineSnapshot.swift:221:7-221:109
219 | ///
220 | /// Provide this structure when defining custom snapshot functions that call
221 + /// ``assertInlineSnapshot(of:as:message:record:timeout:syntaxDescriptor:matches:file:function:line:column:)``
222 | /// under the hood.
223 | public struct InlineSnapshotSyntaxDescriptor: Hashable {
warning: External name 'file' used to document parameter
   --> ../AssertInlineSnapshot.swift:288:13-288:17
286 |     ///   - fileID: The file ID in which failure occurred. Defaults to the file ID of the test case
287 |     ///     in which this function was called.
288 +     ///   - file: The file in which failure occurred. Defaults to the file path of the test case in
    |             ╰─suggestion: Replace 'file' with 'filePath'
289 |     ///     which this function was called.
290 |     ///   - line: The line number on which failure occurred. Defaults to the line number on which
warning: 'assertInlineSnapshot(of:as:message:record:timeout:syntaxDescriptor:matches:file:function:line:column:)' doesn't exist at '/InlineSnapshotTesting'
  --> InlineSnapshotTesting.md:71:5-71:107
69 | ### Essentials
70 |
71 + - ``assertInlineSnapshot(of:as:message:record:timeout:syntaxDescriptor:matches:file:function:line:column:)``
   |     ╰─suggestion: Replace 'assertInlineSnapshot(of:as:message:record:timeout:syntaxDescriptor:matches:file:function:line:column:)' with 'assertInlineSnapshot(of:as:message:record:timeout:syntaxDescriptor:matches:fileID:file:function:line:column:)'
72 |
73 | ### Writing a custom helper
Finished building documentation for 'InlineSnapshotTesting' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/pointfreeco/swift-snapshot-testing/1.19.7
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
Building for debugging...
[1 / 11]
Build complete! (0.52 sec)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 594]
[Planning deferred tasks]
[1 / 177] SwiftSyntax
[24 / 140] SwiftSyntax509
[48 / 141] SwiftSyntax602
[54 / 136] IssueReporting
[64 / 147] IssueReporting
[65 / 147] IssueReporting
[74 / 158] SwiftSyntax
[76 / 158] IssueReporting
[78 / 154] IssueReporting
[81 / 154] SwiftSyntax
[84 / 157] XCTestDynamicOverlay
[88 / 154] XCTestDynamicOverlay
[89 / 153] CustomDump
[94 / 164] CustomDump
[96 / 164] CustomDump
[97 / 164] CustomDump
[100 / 164] CustomDump
[101 / 164] CustomDump
[104 / 161] CustomDump
[104 / 161] SnapshotTestingCustomDump
[107 / 162] SnapshotTestingCustomDump
[110 / 157] SwiftSyntax
[118 / 161] SwiftBasicFormat
[127 / 179] SwiftDiagnostics
[131 / 190] SwiftBasicFormat
[139 / 186] SwiftParser
[140 / 186] SwiftParser
[142 / 186] SwiftDiagnostics
[144 / 186] SwiftDiagnostics
[148 / 186] SwiftDiagnostics
[152 / 187] SwiftDiagnostics
[153 / 187] SwiftParser
[157 / 189] SwiftParser
[168 / 200] SwiftParserDiagnostics
[169 / 200] SwiftParserDiagnostics
[173 / 197] SwiftSyntaxBuilder
[182 / 208] SwiftSyntaxBuilder
[184 / 208] SwiftSyntaxBuilder
[185 / 208] SwiftSyntaxBuilder
[190 / 205] InlineSnapshotTesting
[193 / 208] InlineSnapshotTesting
[193 / 208] SwiftSyntax
[196 / 198] InlineSnapshotTesting
Build complete! (14.00 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/pointfreeco/swift-snapshot-testing/1.19.7/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/pointfreeco/swift-snapshot-testing/1.19.7/linkable-paths.json
     726
7	/Users/admin/builder/spi-builder-workspace/.docs/pointfreeco/swift-snapshot-testing/1.19.7
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/pointfreeco/swift-snapshot-testing/1.19.7
File count: 726
Doc size:   7.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -pointfreeco-swift-snapshot-testing-1.19.7-1a9f7874.zip to presigned URL
Starting upload of 1253100 bytes...
Upload completed successfully
Done.