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 ZeroMQSwift, reference 1.1.2 (e087b1), with Swift 6.0 (beta) for macOS (SPM) on 11 Sep 2024 15:54:49 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/evolution-app/zeromqswift.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/evolution-app/zeromqswift
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at e087b18 added guard to unwrap the value converted on String(data:,encoding:)
Cloned https://github.com/evolution-app/zeromqswift.git
Revision (git rev-parse @):
e087b1865514b71c42434002e4f4c7821fbc8857
SUCCESS checkout https://github.com/evolution-app/zeromqswift.git at 1.1.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/evolution-app/zeromqswift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[5/10] Write Main-entitlement.plist
[6/10] Write swift-version-117DEE11B69C53C9.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/18] Emitting module ZeroMQKit
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
[9/18] Compiling ZeroMQKit Context.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
[10/18] Compiling ZeroMQKit Poller.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
[11/18] Compiling ZeroMQKit Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
[12/18] Compiling ZeroMQKit Proxy.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
[13/18] Compiling ZeroMQKit Message.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
[14/18] Compiling ZeroMQKit Socket.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
[15/18] Compiling ZeroMQKit CURVE.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "./zmqinclude.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
1 | #import <zmq.h>
  |         `- error: 'zmq.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeroMQ/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build Objective-C module 'CZeroMQ'
23 | // SOFTWARE.
24 |
25 | import CZeroMQ
   |        `- error: could not build Objective-C module 'CZeroMQ'
26 |
27 | public func CURVEKeyPair() throws -> (publicKey: String, secretKey: String) {
Fetching https://github.com/evolution-app/ZeroMQ.git
[1/421] Fetching zeromq
Fetched https://github.com/evolution-app/ZeroMQ.git from cache (0.77s)
Computing version for https://github.com/evolution-app/ZeroMQ.git
Computed https://github.com/evolution-app/ZeroMQ.git at 1.1.1 (0.67s)
Fetching https://github.com/unnamedd/CZeroMQ.git
[1/80] Fetching czeromq
Fetched https://github.com/unnamedd/CZeroMQ.git from cache (0.68s)
Computing version for https://github.com/unnamedd/CZeroMQ.git
Computed https://github.com/unnamedd/CZeroMQ.git at 1.0.4 (0.65s)
Creating working copy for https://github.com/unnamedd/CZeroMQ.git
Working copy of https://github.com/unnamedd/CZeroMQ.git resolved at 1.0.4
Creating working copy for https://github.com/evolution-app/ZeroMQ.git
Working copy of https://github.com/evolution-app/ZeroMQ.git resolved at 1.1.1
warning: 'czeromq': ignoring declared target(s) 'CZeroMQ' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libzmq using your system-packager:
    brew install zmq
BUILD FAILURE 6.0 macosSpm