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

Failed to build DL4STensorboard, reference 0.1.0 (4d9803), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 20:22:44 UTC.

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/palle-k/DL4S-Tensorboard.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/palle-k/DL4S-Tensorboard
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 4d98033 minor changes
Cloned https://github.com/palle-k/DL4S-Tensorboard.git
Revision (git rev-parse @):
4d98033d0f414a8db4c39792c0a36e045c1dd1c1
SUCCESS checkout https://github.com/palle-k/DL4S-Tensorboard.git at 0.1.0
Fetching https://github.com/palle-k/DL4S.git
[1/5736] Fetching dl4s
Fetched https://github.com/palle-k/DL4S.git from cache (2.30s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/twostraws/SwiftGD
[1/438] Fetching swiftgd
[439/38265] Fetching swiftgd, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (3.18s)
Fetched https://github.com/twostraws/SwiftGD from cache (3.18s)
Computing version for https://github.com/twostraws/SwiftGD
Computed https://github.com/twostraws/SwiftGD at 2.5.0 (0.65s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.9.0 (2.53s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.9.0
Creating working copy for https://github.com/palle-k/DL4S.git
Working copy of https://github.com/palle-k/DL4S.git resolved at master (4235345)
Creating working copy for https://github.com/twostraws/SwiftGD
Working copy of https://github.com/twostraws/SwiftGD resolved at 2.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/palle-k/DL4S-Tensorboard.git
[3/111] Fetching dl4s-tensorboard
Fetched https://github.com/palle-k/DL4S-Tensorboard.git from cache (0.66s)
Fetching https://github.com/palle-k/DL4S.git from cache
Fetched https://github.com/palle-k/DL4S.git from cache (0.47s)
error: Invalid manifest (compiled with: ["/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryDirectory.VHAIbl/vfs.yaml", "-L", "/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-sdk", "/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk", "-F", "/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk", "-package-description-version", "5.2.0", "/Package.swift", "-o", "/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryDirectory.thz24U/dl4s-manifest"])
/Package.swift:29:10: error: 'testTarget(name:dependencies:path:exclude:sources:resources:cSettings:cxxSettings:swiftSettings:linkerSettings:)' is unavailable
27 |             dependencies: ["MKL"]
28 |         ),
29 |         .testTarget(
   |          `- error: 'testTarget(name:dependencies:path:exclude:sources:resources:cSettings:cxxSettings:swiftSettings:linkerSettings:)' is unavailable
30 |             name: "DL4STests",
31 |             dependencies: ["DL4S"],
PackageDescription.Target:79:24: note: 'testTarget(name:dependencies:path:exclude:sources:resources:cSettings:cxxSettings:swiftSettings:linkerSettings:)' was introduced in PackageDescription 5.3
77 |     public static func testTarget(name: String, dependencies: [Target.Dependency] = [], path: String? = nil, exclude: [String] = [], sources: [String]? = nil, cSettings: [CSetting]? = nil, cxxSettings: [CXXSetting]? = nil, swiftSettings: [SwiftSetting]? = nil, linkerSettings: [LinkerSetting]? = nil) -> Target
78 |     @available(_PackageDescription, introduced: 5.3, obsoleted: 5.5)
79 |     public static func testTarget(name: String, dependencies: [Target.Dependency] = [], path: String? = nil, exclude: [String] = [], sources: [String]? = nil, resources: [Resource]? = nil, cSettings: [CSetting]? = nil, cxxSettings: [CXXSetting]? = nil, swiftSettings: [SwiftSetting]? = nil, linkerSettings: [LinkerSetting]? = nil) -> Target
   |                        `- note: 'testTarget(name:dependencies:path:exclude:sources:resources:cSettings:cxxSettings:swiftSettings:linkerSettings:)' was introduced in PackageDescription 5.3
80 |     @available(_PackageDescription, introduced: 5.5, obsoleted: 5.9)
81 |     public static func testTarget(name: String, dependencies: [Target.Dependency] = [], path: String? = nil, exclude: [String] = [], sources: [String]? = nil, resources: [Resource]? = nil, cSettings: [CSetting]? = nil, cxxSettings: [CXXSetting]? = nil, swiftSettings: [SwiftSetting]? = nil, linkerSettings: [LinkerSetting]? = nil, plugins: [Target.PluginUsage]? = nil) -> Target in https://github.com/palle-k/DL4S.git
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/palle-k/DL4S-Tensorboard.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/6] Write sources
[4/6] Compiling MKL placeholder.c
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/143] Emitting module SwiftProtobuf
[8/151] Emitting module DL4S
[9/157] Compiling SwiftGD Image.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with <angled> include; use "quotes" instead
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found with <angled> include; use "quotes" instead
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[10/157] Compiling SwiftGD Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with <angled> include; use "quotes" instead
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found with <angled> include; use "quotes" instead
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/157] Emitting module SwiftGD
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with <angled> include; use "quotes" instead
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found with <angled> include; use "quotes" instead
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[12/157] Compiling SwiftGD Format.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with <angled> include; use "quotes" instead
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found with <angled> include; use "quotes" instead
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[13/157] Compiling SwiftGD Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with <angled> include; use "quotes" instead
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found with <angled> include; use "quotes" instead
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[14/157] Compiling SwiftGD Geometry.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with <angled> include; use "quotes" instead
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found with <angled> include; use "quotes" instead
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gdlib using your system-packager:
    brew install gd
BUILD FAILURE 6.0 macosSpm