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 RemotePlugin, reference main (2a0331), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 22:01:32 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/Remote.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/Remote
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2a03313 Tuning parameters from server.
Cloned https://github.com/johnno1962/Remote.git
Revision (git rev-parse @):
2a03313297a15f31b354dbf2b40c62ca9630b0a1
SUCCESS checkout https://github.com/johnno1962/Remote.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": "remote",
      "name": "RemotePlugin",
      "url": "https://github.com/johnno1962/Remote.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Remote",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/johnno1962/Remote.git
[1/910] Fetching remote
Fetched https://github.com/johnno1962/Remote.git from cache (0.90s)
Creating working copy for https://github.com/johnno1962/Remote.git
Working copy of https://github.com/johnno1962/Remote.git resolved at main (2a03313)
warning: '.resolve-product-dependencies': dependency 'remote' 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/johnno1962/Remote.git
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
Building for debugging...
[0/8] Write sources
[1/8] Write swift-version--7754E27361AE5C74.txt
[2/10] Compiling RemoteCapture RemoteImpl.m
[4/10] Compiling RemoteMovie TimeLapseBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/RemoteMovie/TimeLapseBuilder.swift:78:32: warning: 'AVVideoCodecH264' was deprecated in macOS 10.13: renamed to 'AVVideoCodecType.h264'
 76 |
 77 |         let videoSettings: [String : AnyObject] = [
 78 |             AVVideoCodecKey  : AVVideoCodecH264 as AnyObject,
    |                                |- warning: 'AVVideoCodecH264' was deprecated in macOS 10.13: renamed to 'AVVideoCodecType.h264'
    |                                `- note: use 'AVVideoCodecType.h264' instead
 79 |             AVVideoWidthKey  : canvasSize.width as AnyObject,
 80 |             AVVideoHeightKey : canvasSize.height as AnyObject,
/Users/admin/builder/spi-builder-workspace/Sources/RemoteMovie/TimeLapseBuilder.swift:136:13: warning: capture of 'self' with non-sendable type 'TimeLapseBuilder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 |
 33 | @objc(TimeLapseBuilder)
 34 | public class TimeLapseBuilder: NSObject {
    |              `- note: class 'TimeLapseBuilder' does not conform to the 'Sendable' protocol
 35 |     public var delegate: TimelapseBuilderDelegate
 36 |
    :
134 |         videoWriterInput.markAsFinished()
135 |         videoWriter?.finishWriting {
136 |             self.delegate.timeLapseBuilder(self, didFinishWithURL: self.videoOutputURL)
    |             `- warning: capture of 'self' with non-sendable type 'TimeLapseBuilder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |             self.videoWriter = nil
138 |         }
[5/10] Emitting module RemoteMovie
[5/10] Compiling RemoteUI RMDeviceController.m
/Users/admin/builder/spi-builder-workspace/Sources/RemoteUI/RMImageView.m:32:57: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations]
   32 |     NSPasteboard *pb = [NSPasteboard pasteboardWithName:NSGeneralPboard];
      |                                                         ^~~~~~~~~~~~~~~
      |                                                         NSPasteboardNameGeneral
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:334:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here
  334 | APPKIT_EXTERN NSPasteboardName NSGeneralPboard API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardNameGeneral", macos(10.0,10.13));
      |                                ^
/Users/admin/builder/spi-builder-workspace/Sources/RemoteUI/RMImageView.m:40:57: warning: 'NSGeneralPboard' is deprecated: first deprecated in macOS 10.13 [-Wdeprecated-declarations]
   40 |     NSPasteboard *pb = [NSPasteboard pasteboardWithName:NSGeneralPboard];
      |                                                         ^~~~~~~~~~~~~~~
      |                                                         NSPasteboardNameGeneral
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:334:32: note: 'NSGeneralPboard' has been explicitly marked deprecated here
  334 | APPKIT_EXTERN NSPasteboardName NSGeneralPboard API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardNameGeneral", macos(10.0,10.13));
      |                                ^
2 warnings generated.
[6/10] Compiling RemoteUI RMImageView.m
[7/10] Compiling RemoteUI RMPluginController.m
/Users/admin/builder/spi-builder-workspace/Sources/RemoteUI/RMWindowController.m:39:14: warning: 'NSDrawer' is deprecated: first deprecated in macOS 10.13 - Drawers are deprecated; consider using NSSplitViewController [-Wdeprecated-declarations]
   39 |     IBOutlet NSDrawer *drawer;
      |              ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSDrawer.h:34:12: note: 'NSDrawer' has been explicitly marked deprecated here
   34 | @interface NSDrawer : NSResponder <NSAccessibilityElement, NSAccessibility>
      |            ^
1 warning generated.
[8/10] Compiling RemoteUI RMWindowController.m
[9/10] Compiling RemoteUI RMMacroManager.m
Build complete! (13.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RemotePlugin",
  "name" : "RemotePlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "RemoteCapture",
      "targets" : [
        "RemoteCapture"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RemoteMovie",
      "targets" : [
        "RemoteMovie"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RemoteUI",
      "targets" : [
        "RemoteUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RemoteUI",
      "module_type" : "ClangTarget",
      "name" : "RemoteUI",
      "path" : "Sources/RemoteUI",
      "product_memberships" : [
        "RemoteUI"
      ],
      "sources" : [
        "RMDeviceController.m",
        "RMImageView.m",
        "RMMacroManager.m",
        "RMPluginController.m",
        "RMWindowController.m"
      ],
      "target_dependencies" : [
        "RemoteCapture",
        "RemoteMovie"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RemoteMovie",
      "module_type" : "SwiftTarget",
      "name" : "RemoteMovie",
      "path" : "Sources/RemoteMovie",
      "product_memberships" : [
        "RemoteMovie",
        "RemoteUI"
      ],
      "sources" : [
        "TimeLapseBuilder.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RemoteCapture",
      "module_type" : "ClangTarget",
      "name" : "RemoteCapture",
      "path" : "Sources/RemoteCapture",
      "product_memberships" : [
        "RemoteCapture",
        "RemoteUI"
      ],
      "sources" : [
        "RemoteImpl.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.