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 for macOS (SPM) on 31 Oct 2024 18:02:22 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/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
Fetching https://github.com/evolution-app/ZeroMQ.git
[1/421] Fetching zeromq
Fetched https://github.com/evolution-app/ZeroMQ.git from cache (0.76s)
Computing version for https://github.com/evolution-app/ZeroMQ.git
Computed https://github.com/evolution-app/ZeroMQ.git at 1.1.1 (0.68s)
Fetching https://github.com/unnamedd/CZeroMQ.git
[1/80] Fetching czeromq
Fetched https://github.com/unnamedd/CZeroMQ.git from cache (0.58s)
Computing version for https://github.com/unnamedd/CZeroMQ.git
Computed https://github.com/unnamedd/CZeroMQ.git at 1.0.4 (0.67s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "zeromqswift",
      "name": "ZeroMQSwift",
      "url": "https://github.com/evolution-app/zeromqswift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/zeromqswift",
      "dependencies": [
        {
          "identity": "zeromq",
          "name": "ZeroMQ",
          "url": "https://github.com/evolution-app/ZeroMQ.git",
          "version": "1.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZeroMQ",
          "dependencies": [
            {
              "identity": "czeromq",
              "name": "CZeroMQ",
              "url": "https://github.com/unnamedd/CZeroMQ.git",
              "version": "1.0.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CZeroMQ",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/evolution-app/zeromqswift.git
[4/198] Fetching zeromqswift
Fetched https://github.com/evolution-app/zeromqswift.git from cache (0.67s)
Fetching https://github.com/evolution-app/ZeroMQ.git from cache
Fetched https://github.com/evolution-app/ZeroMQ.git from cache (0.49s)
Computing version for https://github.com/evolution-app/ZeroMQ.git
Computed https://github.com/evolution-app/ZeroMQ.git at 1.1.1 (0.03s)
Fetching https://github.com/unnamedd/CZeroMQ.git from cache
Fetched https://github.com/unnamedd/CZeroMQ.git from cache (0.47s)
Computing version for https://github.com/unnamedd/CZeroMQ.git
Computed https://github.com/unnamedd/CZeroMQ.git at 1.0.4 (0.02s)
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
Creating working copy for https://github.com/evolution-app/zeromqswift.git
Working copy of https://github.com/evolution-app/zeromqswift.git resolved at 1.1.2 (e087b18)
warning: 'czeromq': ignoring declared target(s) 'CZeroMQ' in the system package
Found 1 product dependencies
  - ZeroMQ
========================================
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.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/10] Write sources
[3/10] Write Main-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/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) {
[9/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) {
[10/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) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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) {
[12/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) {
[13/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) {
[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) {
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