Build Information
Failed to build Rope with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bermudadigitalstudio/rope.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bermudadigitalstudio/rope
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 06dfa6c Merge pull request #93 from bermudadigitalstudio/timestamptz-support
Cloned https://github.com/bermudadigitalstudio/rope.git
Revision (git rev-parse @):
06dfa6c69767766c53a8045edf474a29d520ae1a
SUCCESS checkout https://github.com/bermudadigitalstudio/rope.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/bermudadigitalstudio/rope.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Compiling Rope RopeResult.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
2 | #define RopeLibpq_shim_h
3 |
4 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
5 | #include <libpq-events.h>
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
1 | import RopeLibpq
| `- error: could not build Objective-C module 'RopeLibpq'
2 |
3 | import Dispatch
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module Rope
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
2 | #define RopeLibpq_shim_h
3 |
4 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
5 | #include <libpq-events.h>
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
1 | import RopeLibpq
| `- error: could not build Objective-C module 'RopeLibpq'
2 |
3 | import Dispatch
[5/6] Compiling Rope Rope.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
2 | #define RopeLibpq_shim_h
3 |
4 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
5 | #include <libpq-events.h>
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
1 | import RopeLibpq
| `- error: could not build Objective-C module 'RopeLibpq'
2 |
3 | import Dispatch
[6/6] Compiling Rope PGErrorCode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
2 | #define RopeLibpq_shim_h
3 |
4 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
5 | #include <libpq-events.h>
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
1 | import RopeLibpq
| `- error: could not build Objective-C module 'RopeLibpq'
2 |
3 | import Dispatch
Fetching https://github.com/bermudadigitalstudio/RopeLibpq.git
[1/42] Fetching ropelibpq
Fetched https://github.com/bermudadigitalstudio/RopeLibpq.git from cache (0.70s)
Computing version for https://github.com/bermudadigitalstudio/RopeLibpq.git
Computed https://github.com/bermudadigitalstudio/RopeLibpq.git at 0.3.0 (0.69s)
Creating working copy for https://github.com/bermudadigitalstudio/RopeLibpq.git
Working copy of https://github.com/bermudadigitalstudio/RopeLibpq.git resolved at 0.3.0
warning: 'ropelibpq': ignoring declared target(s) 'RopeLibpq' 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 libpq using your system-packager:
brew install postgresql
BUILD FAILURE 6.0 macosSpm