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 master (762a69), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 20:22:40 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/palle-k/DL4S-Tensorboard
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 762a691 Merge pull request #1 from philipturner/patch-1
Cloned https://github.com/palle-k/DL4S-Tensorboard.git
Revision (git rev-parse @):
762a6912c4e661eb561962da06d52cfdb1df68d3
SUCCESS checkout https://github.com/palle-k/DL4S-Tensorboard.git at master
Fetching https://github.com/palle-k/DL4S.git
[1/5736] Fetching dl4s
Fetched https://github.com/palle-k/DL4S.git from cache (1.82s)
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.41s)
Fetched https://github.com/twostraws/SwiftGD from cache (3.41s)
Computing version for https://github.com/twostraws/SwiftGD
Computed https://github.com/twostraws/SwiftGD at 2.5.0 (0.71s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.12.0 (2.73s)
Creating working copy for https://github.com/twostraws/SwiftGD
Working copy of https://github.com/twostraws/SwiftGD resolved at 2.5.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.12.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 (1f90f87)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/palle-k/DL4S-Tensorboard.git
[1/111] Fetching dl4s-tensorboard
Fetched https://github.com/palle-k/DL4S-Tensorboard.git from cache (0.68s)
Fetching https://github.com/palle-k/DL4S.git from cache
Fetched https://github.com/palle-k/DL4S.git from cache (0.46s)
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.fIbuoS/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.az3Blp/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/159] 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
[8/159] 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
[9/159] 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
[10/159] Compiling SwiftProtobuf Message.swift
[11/159] Compiling SwiftProtobuf MessageExtension.swift
[12/159] Compiling SwiftProtobuf NameMap.swift
[13/159] Compiling SwiftProtobuf ProtoNameProviding.swift
[14/159] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[15/159] Compiling SwiftProtobuf ProtobufMap.swift
[16/159] Compiling SwiftProtobuf SelectiveVisitor.swift
[17/159] Compiling SwiftProtobuf SimpleExtensionMap.swift
[18/159] Compiling SwiftProtobuf StringUtils.swift
[19/159] Compiling SwiftProtobuf TextFormatDecoder.swift
[20/159] Compiling SwiftProtobuf TextFormatDecodingError.swift
[21/159] Compiling SwiftProtobuf TextFormatEncoder.swift
[22/159] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[23/159] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/166] 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
[25/166] 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
[26/166] 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
[27/166] Emitting module SwiftProtobuf
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