Build Information
Successful build of swift-blocks, reference 0.7.0 (f886e3
), with Swift 6.0 for macOS (SPM) on 28 Apr 2025 13:56:45 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dirtyhenry/swift-blocks.git
Reference: 0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dirtyhenry/swift-blocks
* tag 0.7.0 -> FETCH_HEAD
HEAD is now at f886e38 Merge pull request #117 from dirtyhenry/prepare-release
Cloned https://github.com/dirtyhenry/swift-blocks.git
Revision (git rev-parse @):
f886e3825da6de22faa13aa4ed4c000f24da0d0a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dirtyhenry/swift-blocks.git at 0.7.0
========================================
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/44] Compiling ObjectiveBlocks FileSystemExplorer.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/ObjectiveBlocks/ArrayDataSource.m:1:
/Users/admin/builder/spi-builder-workspace/Sources/ObjectiveBlocks/public/ArrayDataSource.h:6:5: warning: 'TARGET_OS_PHONE' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
6 | #if TARGET_OS_PHONE
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ObjectiveBlocks/ArrayDataSource.m:3:5: warning: 'TARGET_OS_PHONE' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
3 | #if TARGET_OS_PHONE
| ^
2 warnings generated.
[3/44] Compiling ObjectiveBlocks ArrayDataSource.m
[5/44] 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/48] Compiling Blocks WatchPairingUtil.swift
[7/48] Compiling Blocks FrontMatter.swift
[8/48] Compiling Blocks JSONFeed.swift
[9/48] Compiling Blocks OpenGraph.swift
[10/48] Compiling Blocks BlocksError.swift
[11/48] Compiling Blocks CLIUtils.swift
[12/48] Compiling Blocks ICalendar.swift
[13/48] Compiling Blocks CopyUtils.swift
[14/48] Compiling Blocks DataFormatter.swift
[15/48] Compiling Blocks JSONEncoder.swift
[16/48] Compiling Blocks StringProtocol.swift
[17/48] Compiling Blocks URLComponents.swift
[18/48] Compiling Blocks JSON.swift
[19/48] Compiling Blocks JavaScriptISO8601DateFormatter.swift
[20/48] Compiling Blocks MailtoComponents.swift
[21/48] Compiling Blocks MockTransport.swift
[22/48] Compiling Blocks MultipartRequest.swift
[23/48] Compiling Blocks RetryTransport.swift
[24/48] Compiling Blocks Arithmetic.swift
[25/48] Compiling Blocks PackageDump.swift
[26/48] Compiling Blocks Pasteboard.swift
[27/48] Compiling Blocks PlainDate.swift
[28/48] Compiling Blocks Bundle.swift
[29/48] Compiling Blocks Calendar.swift
[30/48] Compiling Blocks Data.swift
[31/48] Compiling Blocks Font.swift
[32/48] Compiling Blocks JSONDecoder.swift
[33/48] Compiling Blocks GenericPasswordKeychainItem.swift
[34/48] Compiling Blocks PKCE.swift
[35/48] Compiling Blocks SecurityError.swift
[36/48] Compiling Blocks SecurityUtils.swift
[37/48] Compiling Blocks StatusCodeCheckingTransport.swift
[38/48] Compiling Blocks TaskState.swift
[39/48] Compiling Blocks Transport.swift
[40/48] Compiling Blocks TransportError.swift
[41/48] 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 {
[42/48] 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 {
[43/48] 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 {
[44/48] 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 {
[45/48] Compiling Blocks SimpleMessageError.swift
[46/48] Compiling Blocks Sitemap.swift
[47/48] Compiling Blocks Endpoint.swift
[48/48] Compiling Blocks LoggingTransport.swift
Build complete! (7.88s)
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",
"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",
"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",
"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.