+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lsd-0.20.1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lsd-0.20.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for lsd-0.20.1
   Compiling libc v0.2.77
   Compiling bitflags v1.2.1
   Compiling autocfg v1.0.1
   Compiling proc-macro2 v1.0.24
   Compiling memchr v2.3.3
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.48
   Compiling log v0.4.11
   Compiling unicode-width v0.1.8
   Compiling serde_derive v1.0.117
   Compiling serde v1.0.117
   Compiling cfg-if v0.1.10
   Compiling lazy_static v1.4.0
   Compiling vec_map v0.8.2
   Compiling strsim v0.8.0
   Compiling ansi_term v0.11.0
   Compiling linked-hash-map v0.5.3
   Compiling regex-syntax v0.6.18
   Compiling version_check v0.9.2
   Compiling ansi_term v0.12.1
   Compiling fnv v1.0.7
   Compiling dtoa v0.4.6
   Compiling wild v2.0.4
   Compiling xdg v2.1.0
   Compiling human-sort v0.2.2
   Compiling num-traits v0.2.12
   Compiling num-integer v0.1.43
   Compiling term_grid v0.1.7
   Compiling thread_local v1.0.1
   Compiling yaml-rust v0.4.4
   Compiling lscolors v0.7.1
   Compiling time v0.1.44
   Compiling term_size v0.3.2
   Compiling atty v0.2.14
   Compiling dirs-sys v0.3.5
   Compiling terminal_size v0.1.13
   Compiling quote v1.0.7
   Compiling aho-corasick v0.7.13
   Compiling bstr v0.2.13
   Compiling users v0.11.0
error[E0433]: failed to resolve: could not find `UserExtras` in `os`
  --> /home/pbulk/build/sysutils/lsd/work/vendor/users-0.11.0/src/base.rs:78:26
   |
78 |         let extras = os::UserExtras::default();
   |                          ^^^^^^^^^^ could not find `UserExtras` in `os`

error[E0433]: failed to resolve: could not find `GroupExtras` in `os`
   --> /home/pbulk/build/sysutils/lsd/work/vendor/users-0.11.0/src/base.rs:192:26
    |
192 |         let extras = os::GroupExtras::default();
    |                          ^^^^^^^^^^^ could not find `GroupExtras` in `os`

error[E0433]: failed to resolve: could not find `UserExtras` in `os`
   --> /home/pbulk/build/sysutils/lsd/work/vendor/users-0.11.0/src/base.rs:266:28
    |
266 |         extras:        os::UserExtras::from_passwd(passwd),
    |                            ^^^^^^^^^^ could not find `UserExtras` in `os`

error[E0433]: failed to resolve: could not find `GroupExtras` in `os`
   --> /home/pbulk/build/sysutils/lsd/work/vendor/users-0.11.0/src/base.rs:280:23
    |
280 |         extras:   os::GroupExtras::from_struct(group),
    |                       ^^^^^^^^^^^ could not find `GroupExtras` in `os`

error[E0412]: cannot find type `UserExtras` in module `os`
  --> /home/pbulk/build/sysutils/lsd/work/vendor/users-0.11.0/src/base.rs:57:17
   |
57 |     extras: os::UserExtras,
   |                 ^^^^^^^^^^ not found in `os`

error[E0412]: cannot find type `GroupExtras` in module `os`
   --> /home/pbulk/build/sysutils/lsd/work/vendor/users-0.11.0/src/base.rs:171:17
    |
171 |     extras: os::GroupExtras,
    |                 ^^^^^^^^^^^ not found in `os`

error[E0425]: cannot find function `getgrouplist` in crate `libc`
   --> /home/pbulk/build/sysutils/lsd/work/vendor/users-0.11.0/src/base.rs:796:15
    |
796 |         libc::getgrouplist(name.as_ptr(), gid, buff.as_mut_ptr(), &mut count)
    |               ^^^^^^^^^^^^ help: a function with a similar name exists: `getgroups`
    |
   ::: /home/pbulk/build/sysutils/lsd/work/vendor/libc-0.2.77/src/unix/mod.rs:894:5
    |
894 |     pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int;
    |     ---------------------------------------------------------------------- similarly named function `getgroups` defined here

Some errors have detailed explanations: E0412, E0425, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `users` due to 7 previous errors
*** Error code 101

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/sysutils/lsd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/sysutils/lsd