The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Packet, reference main (d1e9f8), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 23:52:00 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattmassicotte/Packet.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattmassicotte/Packet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d1e9f82 Return the URLResponse for chunks(for:delegate:) (#4)
Cloned https://github.com/mattmassicotte/Packet.git
Revision (git rev-parse @):
d1e9f82edfce4b137591ba59c332a6a4ba972d88
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mattmassicotte/Packet.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": "packet",
      "name": "Packet",
      "url": "https://github.com/mattmassicotte/Packet.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Packet",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mattmassicotte/Packet.git
[1/120] Fetching packet
Fetched https://github.com/mattmassicotte/Packet.git from cache (0.87s)
Creating working copy for https://github.com/mattmassicotte/Packet.git
Working copy of https://github.com/mattmassicotte/Packet.git resolved at main (d1e9f82)
warning: '.resolve-product-dependencies': dependency 'packet' 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/mattmassicotte/Packet.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Packet",
  "name" : "Packet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Packet",
      "targets" : [
        "Packet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PacketTests",
      "module_type" : "SwiftTarget",
      "name" : "PacketTests",
      "path" : "Tests/PacketTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PacketTests/Resources/ipsum100k.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "PacketTests.swift",
        "URLSessionTests.swift",
        "URLTest.swift",
        "Utils/AssertHelpers.swift",
        "Utils/MockURLProtocol.swift",
        "Utils/MockURLResponder.swift"
      ],
      "target_dependencies" : [
        "Packet"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Packet",
      "module_type" : "SwiftTarget",
      "name" : "Packet",
      "path" : "Sources/Packet",
      "product_memberships" : [
        "Packet"
      ],
      "sources" : [
        "AsyncByteSequence.swift",
        "FileHandle+Chunks.swift",
        "URL+Chunks.swift",
        "URLSession+Chunks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling Packet URL+Chunks.swift
[4/7] Compiling Packet URLSession+Chunks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Packet/URLSession+Chunks.swift:97:9: warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 95 |
 96 | private final class DataChunksTaskDelegate: NSObject {
 97 |     var continuation: AsyncThrowingDataChunks.Continuation?
    |         `- warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 98 |     let delegate: (any URLSessionTaskDelegate)?
 99 |
[5/7] Emitting module Packet
/Users/admin/builder/spi-builder-workspace/Sources/Packet/URLSession+Chunks.swift:97:9: warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 95 |
 96 | private final class DataChunksTaskDelegate: NSObject {
 97 |     var continuation: AsyncThrowingDataChunks.Continuation?
    |         `- warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 98 |     let delegate: (any URLSessionTaskDelegate)?
 99 |
[6/7] Compiling Packet FileHandle+Chunks.swift
[7/7] Compiling Packet AsyncByteSequence.swift
Build complete! (7.86s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Packet",
  "name" : "Packet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Packet",
      "targets" : [
        "Packet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PacketTests",
      "module_type" : "SwiftTarget",
      "name" : "PacketTests",
      "path" : "Tests/PacketTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PacketTests/Resources/ipsum100k.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "PacketTests.swift",
        "URLSessionTests.swift",
        "URLTest.swift",
        "Utils/AssertHelpers.swift",
        "Utils/MockURLProtocol.swift",
        "Utils/MockURLResponder.swift"
      ],
      "target_dependencies" : [
        "Packet"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Packet",
      "module_type" : "SwiftTarget",
      "name" : "Packet",
      "path" : "Sources/Packet",
      "product_memberships" : [
        "Packet"
      ],
      "sources" : [
        "AsyncByteSequence.swift",
        "FileHandle+Chunks.swift",
        "URL+Chunks.swift",
        "URLSession+Chunks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/mattmassicotte/packet/main
Repository:               mattmassicotte/Packet
Swift version used:       6.0
Target:                   Packet
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'Packet'...
Finished extracting symbol information for 'Packet'. (2.45s)
Building documentation for 'Packet'...
warning: 'Data' doesn't exist at '/Packet/Foundation/URL/resourceChunks'
 --> Sources/Packet/URL+Chunks.swift:4:67-4:71
2 |
3 | extension URL {
4 +     /// The URL's resource data, as an asynchronous sequence of ``Data`` chunks
5 |     ///
6 |     /// Use this property with Swift's `for-await-in` syntax to read the contents of a URL in chunks like this:
warning: 'URLResponse' doesn't exist at '/Packet/Foundation/URLSession/chunks(for:delegate:)'
  --> Sources/Packet/URLSession+Chunks.swift:11:21-11:32
9  |     /// - Parameter delegate: A delegate that receives life cycle and authentication challenge callbacks as the transfer progresses.
10 |     /// - Returns: An asychronously-delivered tuple containing an ``AsyncThrowingDataChunks`` sequence to iterate over
11 +     /// and the ``URLResponse`` from the server.
12 |     ///
13 |     /// Use this method to when you want to process the chunks while the transfer is underway. You can use
warning: 'URLResponse' doesn't exist at '/Packet/Foundation/URLSession/chunks(for:delegate:)'
  --> Sources/Packet/URLSession+Chunks.swift:42:22-42:33
40 |     /// - Parameter delegate: A delegate that receives life cycle and authentication challenge callbacks as the transfer progresses.
41 |     /// - Returns: An asynchronously delivered tuple of ``AsyncThrowingDataChunks`` sequence to iterate over
42 +     ///  and the ``URLResponse`` from the server.
43 |     ///
44 |     /// Use this method when you want to process the bytes while the transfer is underway. You can useFinished building documentation for 'Packet' (0.09s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/mattmassicotte/packet/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.40s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
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.4.3
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit Names.swift
[13/57] Compiling SymbolKit SPI.swift
[14/57] Compiling SymbolKit Snippet.swift
[15/57] Compiling SymbolKit Extension.swift
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling SymbolKit SourceRange.swift
[22/57] Compiling SymbolKit Metadata.swift
[23/57] Compiling SymbolKit Module.swift
[24/57] Compiling SymbolKit OperatingSystem.swift
[25/57] Compiling SymbolKit Platform.swift
[26/57] Compiling Snippets SnippetParser.swift
[27/57] Emitting module Snippets
[28/57] Compiling Snippets Snippet.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.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 SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.swift
[43/57] Compiling SymbolKit Symbol.swift
[44/57] Compiling SymbolKit SymbolKind.swift
[45/57] Compiling SymbolKit SymbolGraph.swift
[46/57] Compiling SymbolKit GraphCollector.swift
[47/57] Compiling SymbolKit GenericConstraint.swift
[48/57] Compiling SymbolKit GenericParameter.swift
[49/57] Compiling SymbolKit Generics.swift
[50/57] Compiling SymbolKit Namespace.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 SnippetBuildCommand.swift
[57/61] Compiling snippet_extract URL+Status.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.19s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling Packet AsyncByteSequence.swift
[3/6] Emitting module Packet
/Users/admin/builder/spi-builder-workspace/Sources/Packet/URLSession+Chunks.swift:97:9: warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 95 |
 96 | private final class DataChunksTaskDelegate: NSObject {
 97 |     var continuation: AsyncThrowingDataChunks.Continuation?
    |         `- warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 98 |     let delegate: (any URLSessionTaskDelegate)?
 99 |
[4/6] Compiling Packet FileHandle+Chunks.swift
[5/6] Compiling Packet URLSession+Chunks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Packet/URLSession+Chunks.swift:97:9: warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 95 |
 96 | private final class DataChunksTaskDelegate: NSObject {
 97 |     var continuation: AsyncThrowingDataChunks.Continuation?
    |         `- warning: stored property 'continuation' of 'Sendable'-conforming class 'DataChunksTaskDelegate' is mutable; this is an error in the Swift 6 language mode
 98 |     let delegate: (any URLSessionTaskDelegate)?
 99 |
[6/6] Compiling Packet URL+Chunks.swift
Build of target: 'Packet' complete! (0.52s)
      74
2	/Users/admin/builder/spi-builder-workspace/.docs/mattmassicotte/packet/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/mattmassicotte/packet/main
File count: 74
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-mattmassicotte-packet-main-0f5efcf8.zip to s3://spi-docs-inbox/prod-mattmassicotte-packet-main-0f5efcf8.zip
Copying... [19%]
Copying... [38%]
Copying... [57%]
Copying... [76%]
Copying... [95%]
Copying... [100%]
Done.