This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 PublisherView with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielctull/PublisherView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielctull/PublisherView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c399580 Update swiftlint
Cloned https://github.com/danielctull/PublisherView.git
Revision (git rev-parse @):
c3995803cee6008ec8fcdb326cf67f0b1037f7e0
SUCCESS checkout https://github.com/danielctull/PublisherView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/danielctull/PublisherView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/5] Compiling PublisherView PublisherView.swift
[4/5] Compiling PublisherView PublisherView+Extras.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherView/PublisherView+Extras.swift:27:15: warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
25 | extension PublisherView
26 |     where
27 |     Publisher.Failure == Never,
   |               `- warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
28 |     FailureView == EmptyView
29 | {
Combine.Publisher:4:20: note: type declared here
2 | public protocol Publisher<Output, Failure> {
3 |     associatedtype Output
4 |     associatedtype Failure : Error
  |                    `- note: type declared here
5 |     func receive<S>(subscriber: S) where S : Subscriber, Self.Failure == S.Failure, Self.Output == S.Input
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherView/PublisherView+Extras.swift:50:15: warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
48 | extension PublisherView
49 |     where
50 |     Publisher.Failure == Never,
   |               `- warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
51 |     FailureView == EmptyView,
52 |     InitialView == EmptyView
Combine.Publisher:4:20: note: type declared here
2 | public protocol Publisher<Output, Failure> {
3 |     associatedtype Output
4 |     associatedtype Failure : Error
  |                    `- note: type declared here
5 |     func receive<S>(subscriber: S) where S : Subscriber, Self.Failure == S.Failure, Self.Output == S.Input
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherView/PublisherView+Extras.swift:44:35: warning: will never be executed
42 |                   initial: initial,
43 |                   output: output,
44 |                   failure: { _ in EmptyView() })
   |                            |      `- warning: will never be executed
   |                            `- note: '_' is of type 'Never' which cannot be constructed because it is an enum with no cases
45 |     }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherView/PublisherView+Extras.swift:66:35: warning: will never be executed
64 |                   initial: EmptyView.init,
65 |                   output: output,
66 |                   failure: { _ in EmptyView() })
   |                            |      `- warning: will never be executed
   |                            `- note: '_' is of type 'Never' which cannot be constructed because it is an enum with no cases
67 |     }
68 | }
[5/5] Emitting module PublisherView
/Users/admin/builder/spi-builder-workspace/Sources/PublisherView/PublisherView+Extras.swift:27:15: warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
25 | extension PublisherView
26 |     where
27 |     Publisher.Failure == Never,
   |               `- warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
28 |     FailureView == EmptyView
29 | {
Combine.Publisher:4:20: note: type declared here
2 | public protocol Publisher<Output, Failure> {
3 |     associatedtype Output
4 |     associatedtype Failure : Error
  |                    `- note: type declared here
5 |     func receive<S>(subscriber: S) where S : Subscriber, Self.Failure == S.Failure, Self.Output == S.Input
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherView/PublisherView+Extras.swift:50:15: warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
48 | extension PublisherView
49 |     where
50 |     Publisher.Failure == Never,
   |               `- warning: cannot use associated type 'Failure' in an extension with public or '@usableFromInline' members; 'Combine' was not imported by this file
51 |     FailureView == EmptyView,
52 |     InitialView == EmptyView
Combine.Publisher:4:20: note: type declared here
2 | public protocol Publisher<Output, Failure> {
3 |     associatedtype Output
4 |     associatedtype Failure : Error
  |                    `- note: type declared here
5 |     func receive<S>(subscriber: S) where S : Subscriber, Self.Failure == S.Failure, Self.Output == S.Input
6 | }
Build complete! (31.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PublisherView",
  "name" : "PublisherView",
  "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" : "PublisherView",
      "targets" : [
        "PublisherView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PublisherView",
      "module_type" : "SwiftTarget",
      "name" : "PublisherView",
      "path" : "Sources/PublisherView",
      "product_memberships" : [
        "PublisherView"
      ],
      "sources" : [
        "PublisherView+Extras.swift",
        "PublisherView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.