+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rbw-1.10.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rbw-1.10.0/work.log
===> Building for rbw-1.10.0
   Compiling libc v0.2.153
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.81
   Compiling unicode-ident v1.0.12
   Compiling autocfg v1.2.0
   Compiling log v0.4.21
   Compiling smallvec v1.13.2
   Compiling version_check v0.9.4
   Compiling typenum v1.17.0
   Compiling cc v1.0.95
   Compiling quote v1.0.36
   Compiling generic-array v0.14.7
   Compiling syn v2.0.60
   Compiling bitflags v2.5.0
   Compiling rustix v0.38.32
   Compiling errno v0.3.8
   Compiling pin-project-lite v0.2.14
   Compiling once_cell v1.19.0
   Compiling subtle v2.5.0
   Compiling getrandom v0.2.14
   Compiling const-oid v0.9.6
   Compiling crypto-common v0.1.6
   Compiling slab v0.4.9
   Compiling memchr v2.7.2
   Compiling block-buffer v0.10.4
   Compiling pkg-config v0.3.30
   Compiling bytes v1.6.0
   Compiling wayland-sys v0.31.1
   Compiling digest v0.10.7
   Compiling lock_api v0.4.11
   Compiling libloading v0.8.3
   Compiling futures-core v0.3.30
   Compiling parking_lot_core v0.9.9
   Compiling zeroize v1.7.0
   Compiling itoa v1.0.11
   Compiling dlib v0.5.2
   Compiling tracing-core v0.1.32
   Compiling wayland-backend v0.3.3
   Compiling scopeguard v1.2.0
   Compiling tracing v0.1.40
   Compiling ring v0.17.8
   Compiling downcast-rs v1.2.1
   Compiling scoped-tls v1.0.1
   Compiling futures-sink v0.3.30
   Compiling futures-channel v0.3.30
error[E0425]: cannot find value `poll_fd` in this scope
  --> /home/pbulk/build/security/rbw/work/vendor/wayland-backend-0.3.3/src/rs/server_impl/common_poll.rs:52:57
   |
52 |         Ok(Self { state: Arc::new(Mutex::new(State::new(poll_fd))) })
   |                                                         ^^^^^^^ not found in this scope
...
63 |     pub fn poll_fd(&self) -> BorrowedFd {
   |            ------- a method by that name is available on `Self` here

error[E0425]: cannot find value `ret` in this scope
   --> /home/pbulk/build/security/rbw/work/vendor/wayland-backend-0.3.3/src/rs/server_impl/handle.rs:350:15
    |
350 |         match ret {
    |               ^^^ not found in this scope

error[E0599]: no associated item named `CMSG_CLOEXEC` found for struct `RecvFlags` in the current scope
  --> /home/pbulk/build/security/rbw/work/vendor/wayland-backend-0.3.3/src/rs/socket.rs:74:54
   |
74 |         let flags = RecvFlags::DONTWAIT | RecvFlags::CMSG_CLOEXEC;
   |                                                      ^^^^^^^^^^^^ associated item not found in `RecvFlags`

error[E0599]: no method named `dispatch_all_clients` found for struct `common_poll::InnerBackend` in the current scope
   --> /home/pbulk/build/security/rbw/work/vendor/wayland-backend-0.3.3/src/rs/../server_api.rs:575:22
    |
575 |         self.backend.dispatch_all_clients(data)
    |                      ^^^^^^^^^^^^^^^^^^^^
    |
   ::: /home/pbulk/build/security/rbw/work/vendor/wayland-backend-0.3.3/src/rs/server_impl/common_poll.rs:32:1
    |
32  | pub struct InnerBackend<D: 'static> {
    | ----------------------------------- method `dispatch_all_clients` not found for this struct
    |
help: there is a method `dispatch_client` with a similar name, but with different arguments
   --> /home/pbulk/build/security/rbw/work/vendor/wayland-backend-0.3.3/src/rs/server_impl/common_poll.rs:70:5
    |
70  | /     pub fn dispatch_client(
71  | |         &self,
72  | |         data: &mut D,
73  | |         client_id: InnerClientId,
74  | |     ) -> std::io::Result<usize> {
    | |_______________________________^

   Compiling quick-xml v0.31.0
   Compiling parking_lot v0.12.1
Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `wayland-backend` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
*** Error code 101

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/rbw
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/rbw