The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-blocks, reference main (27c641), with Swift 6.0 for macOS (SPM) on 26 Feb 2026 20:28:49 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dirtyhenry/swift-blocks.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dirtyhenry/swift-blocks
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 27c6417 Merge pull request #130 from dirtyhenry/improve-cli-utils
Cloned https://github.com/dirtyhenry/swift-blocks.git
Revision (git rev-parse @):
27c641703d879dbe9aa826a6c39b55f1f452ee44
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dirtyhenry/swift-blocks.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dirtyhenry/swift-blocks.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-5BDAB9E9C0126B9D.txt
[2/48] Compiling ObjectiveBlocks FileSystemExplorer.m
[3/48] Compiling ObjectiveBlocks ArrayDataSource.m
[5/48] Emitting module Blocks
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:35:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
33 | #Preview {
34 |     if #available(watchOS 10.0, *) {
35 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
36 |         return PlainDatePicker("Date", selection: $plainDate)
37 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:47:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
45 | #Preview("Compact") {
46 |     if #available(iOS 14.0, macOS 10.15.4, *) {
47 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
48 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.compact)
49 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:56:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 | #Preview("Graphical") {
55 |     if #available(iOS 14.0, *) {
56 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
57 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.graphical)
58 |     } else {
[6/52] Compiling Blocks ICalendar.swift
[7/52] Compiling Blocks CopyUtils.swift
[8/52] Compiling Blocks DataFormatter.swift
[9/52] Compiling Blocks Bundle.swift
[10/52] Compiling Blocks Calendar.swift
[11/52] Compiling Blocks LoggingTransport.swift
[12/52] Compiling Blocks MailtoComponents.swift
[13/52] Compiling Blocks MockTransport.swift
[14/52] Compiling Blocks MultipartRequest.swift
[15/52] Compiling Blocks RetryTransport.swift
[16/52] Compiling Blocks WatchPairingUtil.swift
[17/52] Compiling Blocks FrontMatter.swift
[18/52] Compiling Blocks JSONFeed.swift
[19/52] Compiling Blocks OpenGraph.swift
[20/52] Compiling Blocks Data.swift
[21/52] Compiling Blocks Font.swift
[22/52] Compiling Blocks JSONDecoder.swift
[23/52] Compiling Blocks JSONEncoder.swift
[24/52] Compiling Blocks StringProtocol.swift
[25/52] Compiling Blocks StatusCodeCheckingTransport.swift
[26/52] Compiling Blocks TaskState.swift
[27/52] Compiling Blocks Transport.swift
[28/52] Compiling Blocks TransportError.swift
[29/52] Compiling Blocks PrivateIPAddresses.swift
[30/52] Compiling Blocks Pasteboard.swift
[31/52] Compiling Blocks PlainDate.swift
[32/52] Compiling Blocks GenericPasswordKeychainItem.swift
[33/52] Compiling Blocks PKCE.swift
[34/52] Compiling Blocks BlocksError.swift
[35/52] Compiling Blocks CLIUtils.swift
[36/52] Compiling Blocks String+StyledText.swift
[37/52] Compiling Blocks StyledText+Properties.swift
[38/52] Compiling Blocks StyledText.swift
[39/52] Compiling Blocks SecurityError.swift
[40/52] Compiling Blocks SecurityUtils.swift
[41/52] Compiling Blocks SimpleMessageError.swift
[42/52] Compiling Blocks Sitemap.swift
[43/52] Compiling Blocks Endpoint.swift
[44/52] Compiling Blocks URLComponents.swift
[45/52] Compiling Blocks JSON.swift
[46/52] Compiling Blocks JavaScriptISO8601DateFormatter.swift
[47/52] Compiling Blocks Arithmetic.swift
[48/52] Compiling Blocks PackageDump.swift
[49/52] Compiling Blocks URLRequestHeaderItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:35:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
33 | #Preview {
34 |     if #available(watchOS 10.0, *) {
35 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
36 |         return PlainDatePicker("Date", selection: $plainDate)
37 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:47:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
45 | #Preview("Compact") {
46 |     if #available(iOS 14.0, macOS 10.15.4, *) {
47 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
48 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.compact)
49 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:56:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 | #Preview("Graphical") {
55 |     if #available(iOS 14.0, *) {
56 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
57 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.graphical)
58 |     } else {
[50/52] Compiling Blocks LabeledTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:35:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
33 | #Preview {
34 |     if #available(watchOS 10.0, *) {
35 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
36 |         return PlainDatePicker("Date", selection: $plainDate)
37 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:47:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
45 | #Preview("Compact") {
46 |     if #available(iOS 14.0, macOS 10.15.4, *) {
47 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
48 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.compact)
49 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:56:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 | #Preview("Graphical") {
55 |     if #available(iOS 14.0, *) {
56 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
57 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.graphical)
58 |     } else {
[51/52] Compiling Blocks PlainDatePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:35:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
33 | #Preview {
34 |     if #available(watchOS 10.0, *) {
35 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
36 |         return PlainDatePicker("Date", selection: $plainDate)
37 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:47:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
45 | #Preview("Compact") {
46 |     if #available(iOS 14.0, macOS 10.15.4, *) {
47 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
48 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.compact)
49 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:56:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 | #Preview("Graphical") {
55 |     if #available(iOS 14.0, *) {
56 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
57 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.graphical)
58 |     } else {
[52/52] Compiling Blocks TaskStateButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:35:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
33 | #Preview {
34 |     if #available(watchOS 10.0, *) {
35 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
36 |         return PlainDatePicker("Date", selection: $plainDate)
37 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:47:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
45 | #Preview("Compact") {
46 |     if #available(iOS 14.0, macOS 10.15.4, *) {
47 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
48 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.compact)
49 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Blocks/UIComponents/PlainDatePicker.swift:56:9: warning: '@State' used inline will not work unless tagged with '@Previewable'
54 | #Preview("Graphical") {
55 |     if #available(iOS 14.0, *) {
56 |         @State var plainDate: PlainDate = "2024-01-17"
   |         |- warning: '@State' used inline will not work unless tagged with '@Previewable'
   |         `- note: Move the declaration to root scope and add '@Previewable'
57 |         return PlainDatePicker("Date", selection: $plainDate).datePickerStyle(.graphical)
58 |     } else {
Build complete! (7.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-blocks",
  "name" : "swift-blocks",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Blocks",
      "targets" : [
        "Blocks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ObjectiveBlocks",
      "targets" : [
        "ObjectiveBlocks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObjectiveBlocks",
      "module_type" : "ClangTarget",
      "name" : "ObjectiveBlocks",
      "path" : "Sources/ObjectiveBlocks",
      "product_memberships" : [
        "ObjectiveBlocks"
      ],
      "sources" : [
        "ArrayDataSource.m",
        "FileSystemExplorer.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BlocksTests",
      "module_type" : "SwiftTarget",
      "name" : "BlocksTests",
      "path" : "Tests/BlocksTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/BlocksTests/Resources/dump-package.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/BlocksTests/Resources/sample-feed.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BundleExtensionTests.swift",
        "CLIUtils/StyledTextTests.swift",
        "CopyUtilsTests.swift",
        "DataFormatterTests.swift",
        "ExtensionTests.swift",
        "Extensions/StringProtocolTests.swift",
        "Helpers/DummyURLRequest.swift",
        "Helpers/XCTest+Workaround.swift",
        "Helpers/XCTestCase+CI.swift",
        "ICalendarTests.swift",
        "JSONTests.swift",
        "JavaScriptISO8601DateFormatterTests.swift",
        "Maths/ArithmeticTests.swift",
        "PackageDumpTests.swift",
        "PasteboardTests.swift",
        "PlainDateTests.swift",
        "Security/PKCETests.swift",
        "Security/SecurityErrorTests.swift",
        "Security/SecurityUtilsTests.swift",
        "SitemapTests.swift",
        "Transport/EndpointTests.swift",
        "Transport/LoggingTransportTests.swift",
        "Transport/MailtoComponentsTests.swift",
        "Transport/RetryTransportTests.swift",
        "Transport/StatusCodeCheckingTransportTests.swift",
        "Transport/URLLoadingSystemErrorCodesTests.swift",
        "Transport/URLRequestHeaderItemTests.swift",
        "Web/FrontMatterTests.swift",
        "Web/JSONFeedTests.swift"
      ],
      "target_dependencies" : [
        "Blocks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Blocks",
      "module_type" : "SwiftTarget",
      "name" : "Blocks",
      "path" : "Sources/Blocks",
      "product_memberships" : [
        "Blocks"
      ],
      "sources" : [
        "BlocksError.swift",
        "CLIUtils/CLIUtils.swift",
        "CLIUtils/String+StyledText.swift",
        "CLIUtils/StyledText+Properties.swift",
        "CLIUtils/StyledText.swift",
        "Calendar/ICalendar.swift",
        "CopyUtils.swift",
        "DataFormatter.swift",
        "Extensions/Bundle.swift",
        "Extensions/Calendar.swift",
        "Extensions/Data.swift",
        "Extensions/Font.swift",
        "Extensions/JSONDecoder.swift",
        "Extensions/JSONEncoder.swift",
        "Extensions/StringProtocol.swift",
        "Extensions/URLComponents.swift",
        "JSON.swift",
        "JavaScriptISO8601DateFormatter.swift",
        "Maths/Arithmetic.swift",
        "Meta/PackageDump.swift",
        "Network/PrivateIPAddresses.swift",
        "Pasteboard.swift",
        "PlainDate.swift",
        "Security/GenericPasswordKeychainItem.swift",
        "Security/PKCE.swift",
        "Security/SecurityError.swift",
        "Security/SecurityUtils.swift",
        "SimpleMessageError.swift",
        "Sitemap.swift",
        "Transport/Endpoint.swift",
        "Transport/LoggingTransport.swift",
        "Transport/MailtoComponents.swift",
        "Transport/MockTransport.swift",
        "Transport/MultipartRequest.swift",
        "Transport/RetryTransport.swift",
        "Transport/StatusCodeCheckingTransport.swift",
        "Transport/TaskState.swift",
        "Transport/Transport.swift",
        "Transport/TransportError.swift",
        "Transport/URLRequestHeaderItem.swift",
        "UIComponents/LabeledTextField.swift",
        "UIComponents/PlainDatePicker.swift",
        "UIComponents/TaskStateButton.swift",
        "Watch/WatchPairingUtil.swift",
        "Web/FrontMatter.swift",
        "Web/JSONFeed.swift",
        "Web/OpenGraph.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.