+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/meli-0.7.2nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/meli-0.7.2nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for meli-0.7.2nb2
   Compiling libc v0.2.81
   Compiling autocfg v1.0.1
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.58
   Compiling memchr v2.3.4
   Compiling pkg-config v0.3.19
   Compiling cfg-if v0.1.10
   Compiling cfg-if v1.0.0
   Compiling futures-core v0.3.8
   Compiling bitflags v1.2.1
   Compiling once_cell v1.5.2
   Compiling lazy_static v1.4.0
   Compiling version_check v0.9.2
   Compiling futures-io v0.3.8
   Compiling serde_derive v1.0.118
   Compiling log v0.4.11
   Compiling cache-padded v1.1.1
   Compiling serde v1.0.118
   Compiling parking v2.0.0
   Compiling pin-project-lite v0.2.1
   Compiling waker-fn v1.1.0
   Compiling fastrand v1.4.0
   Compiling event-listener v2.5.1
   Compiling maybe-uninit v2.0.0
   Compiling encoding_index_tests v0.1.4
   Compiling getrandom v0.1.16
   Compiling proc-macro-hack v0.5.19
   Compiling vec-arena v1.0.0
   Compiling ryu v1.0.5
   Compiling ahash v0.4.7
   Compiling proc-macro-nested v0.1.6
   Compiling async-task v4.0.3
   Compiling futures-sink v0.3.8
   Compiling atomic-waker v1.0.0
   Compiling lexical-core v0.7.5
   Compiling openssl v0.10.32
   Compiling slab v0.4.2
   Compiling foreign-types-shared v0.1.1
   Compiling byteorder v1.3.4
   Compiling ppv-lite86 v0.2.10
   Compiling pin-utils v0.1.0
   Compiling crc32fast v1.2.1
   Compiling same-file v1.0.6
   Compiling arrayvec v0.5.2
   Compiling scopeguard v1.1.0
   Compiling unicode-segmentation v1.7.1
   Compiling static_assertions v1.1.0
   Compiling native-tls v0.2.7
   Compiling adler v0.2.3
   Compiling unicode-width v0.1.8
   Compiling nix v0.17.0
   Compiling sha1 v0.6.0
   Compiling openssl-probe v0.1.2
   Compiling melib v0.7.2 (/home/pbulk/build/mail/meli/work/meli/melib)
   Compiling fallible-iterator v0.2.0
   Compiling serde_json v1.0.61
   Compiling fallible-streaming-iterator v0.1.9
   Compiling void v1.0.2
   Compiling base64 v0.12.3
   Compiling numtoa v0.1.0
   Compiling xdg-utils v0.4.0
   Compiling xdg v2.2.0
   Compiling data-encoding v2.3.1
   Compiling itoa v0.4.7
   Compiling async-task v3.0.0
   Compiling crossbeam-utils v0.7.2
   Compiling memoffset v0.5.6
   Compiling crossbeam-epoch v0.8.2
   Compiling indexmap v1.6.1
   Compiling miniz_oxide v0.4.3
   Compiling libsqlite3-sys v0.20.1
   Compiling libloading v0.6.6
   Compiling futures-task v0.3.8
   Compiling thread_local v1.0.1
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling nom v5.1.2
   Compiling concurrent-queue v1.2.2
   Compiling async-lock v2.3.0
   Compiling encoding-index-japanese v1.20141219.5
   Compiling encoding-index-korean v1.20141219.5
   Compiling encoding-index-simpchinese v1.20141219.5
   Compiling encoding-index-singlebyte v1.20141219.5
   Compiling encoding-index-tradchinese v1.20141219.5
   Compiling hashbrown v0.9.1
   Compiling futures-channel v0.3.8
   Compiling foreign-types v0.3.2
   Compiling walkdir v2.3.1
   Compiling heck v0.3.2
   Compiling textwrap v0.11.0
   Compiling async-channel v1.5.1
   Compiling encoding v0.2.33
   Compiling hashlink v0.6.0
   Compiling nb-connect v1.0.2
   Compiling signal-hook-registry v1.3.0
   Compiling filetime v0.2.13
   Compiling num_cpus v1.13.0
   Compiling termion v1.5.5
   Compiling jobserver v0.1.21
   Compiling quote v1.0.8
   Compiling futures-lite v1.11.3
   Compiling linkify v0.4.0
   Compiling clap v2.33.3
error[E0432]: unresolved import `self::os`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/features.rs:2:15
  |
2 | pub use self::os::*;
  |               ^^ could not find `os` in `self`

error[E0432]: unresolved import `self::consts`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:7:15
  |
7 | pub use self::consts::*;
  |               ^^^^^^ could not find `consts` in `self`

error[E0432]: unresolved import `self::addr::LinkAddr`
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/mod.rs:30:5
   |
30 |     LinkAddr,
   |     ^^^^^^^^ no `LinkAddr` in `sys::socket::addr`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/dir.rs:2:5
  |
2 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `self::Errno`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:133:15
    |
133 |     use self::Errno::*;
    |               ^^^^^ could not find `Errno` in `self`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/fcntl.rs:2:5
  |
2 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/poll.rs:10:5
   |
10 | use errno::Errno;
   |     ^^^^^^^-----
   |     |      |
   |     |      help: a similar name exists in the module: `errno`
   |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/pty.rs:15:5
   |
15 | use errno::Errno;
   |     ^^^^^^^-----
   |     |      |
   |     |      help: a similar name exists in the module: `errno`
   |     no `Errno` in `errno`

error[E0432]: unresolved import `Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sched.rs:2:6
  |
2 | use {Errno, Result};
  |      ^^^^^
  |      |
  |      no `Errno` in the root
  |      help: a similar name exists in the module: `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/mman.rs:4:5
  |
4 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/select.rs:6:5
  |
6 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/signal.rs:8:5
  |
8 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/mod.rs:5:5
  |
5 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:3:5
  |
3 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/sockopt.rs:3:5
  |
3 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/stat.rs:5:5
  |
5 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/statvfs.rs:11:5
   |
11 | use errno::Errno;
   |     ^^^^^^^-----
   |     |      |
   |     |      help: a similar name exists in the module: `errno`
   |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/termios.rs:161:5
    |
161 | use errno::Errno;
    |     ^^^^^^^-----
    |     |      |
    |     |      help: a similar name exists in the module: `errno`
    |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/uio.rs:5:5
  |
5 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/wait.rs:3:5
  |
3 | use errno::Errno;
  |     ^^^^^^^-----
  |     |      |
  |     |      help: a similar name exists in the module: `errno`
  |     no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
 --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:3:19
  |
3 | use errno::{self, Errno};
  |                   ^^^^^
  |                   |
  |                   no `Errno` in `errno`
  |                   help: a similar name exists in the module: `errno`

error[E0432]: unresolved import `errno::Errno`
    --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:1720:9
     |
1720 |     use errno::Errno;
     |         ^^^^^^^-----
     |         |      |
     |         |      help: a similar name exists in the module: `errno`
     |         no `Errno` in `errno`

error[E0432]: unresolved import `errno::Errno`
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/lib.rs:87:5
   |
87 | use errno::Errno;
   |     ^^^^^^^-----
   |     |      |
   |     |      help: a similar name exists in the module: `errno`
   |     no `Errno` in `errno`

error[E0433]: failed to resolve: use of undeclared type `Errno`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:129:5
    |
129 |     Errno::from_i32(errno())
    |     ^^^^^ use of undeclared type `Errno`

error[E0425]: cannot find function `errno_location` in this scope
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:50:6
   |
50 |     *errno_location() = 0;
   |      ^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find function `errno_location` in this scope
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:56:11
   |
56 |         (*errno_location()) as i32
   |           ^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `Errno` in this scope
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:60:6
   |
60 | impl Errno {
   |      ^^^^^ not found in this scope

error[E0412]: cannot find type `Errno` in this scope
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:69:34
   |
69 |     pub fn from_i32(err: i32) -> Errno {
   |                                  ^^^^^ not found in this scope

error[E0425]: cannot find function `from_i32` in this scope
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:70:9
   |
70 |         from_i32(err)
   |         ^^^^^^^^ not found in this scope

error[E0412]: cannot find type `Errno` in this scope
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:114:23
    |
114 | impl error::Error for Errno {}
    |                       ^^^^^ not found in this scope

error[E0412]: cannot find type `Errno` in this scope
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:116:23
    |
116 | impl fmt::Display for Errno {
    |                       ^^^^^ not found in this scope

error[E0412]: cannot find type `Errno` in this scope
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:122:11
    |
122 | impl From<Errno> for io::Error {
    |     -     ^^^^^ not found in this scope
    |     |
    |     help: you might be missing a type parameter: `<Errno>`

error[E0412]: cannot find type `Errno` in this scope
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:123:18
    |
123 |     fn from(err: Errno) -> Self {
    |                  ^^^^^ not found in this scope

error[E0412]: cannot find type `Errno` in this scope
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:128:14
    |
128 | fn last() -> Errno {
    |              ^^^^^ not found in this scope

error[E0412]: cannot find type `Errno` in this scope
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/errno.rs:132:16
    |
132 | fn desc(errno: Errno) -> &'static str {
    |                ^^^^^ not found in this scope

error[E0425]: cannot find value `O_ASYNC` in crate `libc`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/fcntl.rs:47:9
    |
47  |         O_ASYNC;
    |         ^^^^^^^ help: a constant with a similar name exists: `O_DSYNC`
    |
   ::: /home/pbulk/build/mail/meli/work/vendor/libc-0.2.81/src/unix/solarish/mod.rs:980:1
    |
980 | pub const O_DSYNC: ::c_int = 0x40;
    | ---------------------------------- similarly named constant `O_DSYNC` defined here

error[E0425]: cannot find value `O_DIRECTORY` in crate `libc`
  --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/fcntl.rs:62:9
   |
62 |         O_DIRECTORY;
   |         ^^^^^^^^^^^ not found in `libc`

error[E0425]: cannot find value `AF_BLUETOOTH` in crate `libc`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:102:23
    |
102 |     Bluetooth = libc::AF_BLUETOOTH,
    |                       ^^^^^^^^^^^^ not found in `libc`

error[E0425]: cannot find value `AF_ISDN` in crate `libc`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:107:18
    |
107 |     Isdn = libc::AF_ISDN,
    |                  ^^^^^^^ not found in `libc`

error[E0425]: cannot find value `SO_REUSEPORT` in crate `libc`
    --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/sockopt.rs:213:56
     |
213  | sockopt_impl!(Both, ReusePort, libc::SOL_SOCKET, libc::SO_REUSEPORT, bool);
     |                                                        ^^^^^^^^^^^^ help: a constant with a similar name exists: `SO_REUSEADDR`
     |
    ::: /home/pbulk/build/mail/meli/work/vendor/libc-0.2.81/src/unix/solarish/mod.rs:1410:1
     |
1410 | pub const SO_REUSEADDR: ::c_int = 0x0004;
     | ----------------------------------------- similarly named constant `SO_REUSEADDR` defined here

error[E0425]: cannot find function `getgrouplist` in crate `libc`
    --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:1545:19
     |
1545 |             libc::getgrouplist(user.as_ptr(),
     |                   ^^^^^^^^^^^^
     |
    ::: /home/pbulk/build/mail/meli/work/vendor/libc-0.2.81/src/unix/mod.rs:921:5
     |
921  |     pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int;
     |     ---------------------------------------------------------------------- similarly named function `getgroups` defined here
     |
help: a function with a similar name exists
     |
1545 |             libc::getgroups(user.as_ptr(),
     |                   ~~~~~~~~~
help: consider importing this function
     |
3    | use unistd::getgrouplist;
     |

error[E0081]: discriminant value `4` already exists
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/macros.rs:164:26
    |
164 |                   $entry = libc::$entry,
    |                            ^^^^^^^^^^^^
    |                            |
    |                            first use of `4`
    |                            enum already has `4`
    |
   ::: /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/termios.rs:537:1
    |
537 | / libc_enum! {
538 | |     /// Indices into the `termios.c_cc` array for special characters.
539 | |     #[repr(usize)]
540 | |     pub enum SpecialCharacterIndices {
...   |
579 | |     }
580 | | }
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0081]: discriminant value `5` already exists
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/macros.rs:164:26
    |
164 |                   $entry = libc::$entry,
    |                            ^^^^^^^^^^^^
    |                            |
    |                            first use of `5`
    |                            enum already has `5`
    |
   ::: /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/termios.rs:537:1
    |
537 | / libc_enum! {
538 | |     /// Indices into the `termios.c_cc` array for special characters.
539 | |     #[repr(usize)]
540 | |     pub enum SpecialCharacterIndices {
...   |
579 | |     }
580 | | }
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0081]: discriminant value `12` already exists
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:102:17
    |
69  |     Decnet = libc::AF_DECnet,
    |              --------------- first use of `12`
...
102 |     Bluetooth = libc::AF_BLUETOOTH,
    |                 ^^^^^^^^^^^^^^^^^^ enum already has `12`

error[E0609]: no field `d_fileno` on type `dirent`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/dir.rs:171:26
    |
171 |         u64::from(self.0.d_fileno)
    |                          ^^^^^^^^ unknown field
    |
    = note: available fields are: `d_ino`, `d_off`, `d_reclen`, `d_name`

error[E0609]: no field `d_type` on type `dirent`
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/dir.rs:185:22
    |
185 |         match self.0.d_type {
    |                      ^^^^^^ unknown field
    |
    = note: available fields are: `d_ino`, `d_off`, `d_reclen`, `d_name`

error[E0308]: mismatched types
   --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:896:47
    |
896 |     let res = unsafe { libc::sethostname(ptr, len) };
    |                                               ^^^ expected `i32`, found `usize`
    |
help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit
    |
896 |     let res = unsafe { libc::sethostname(ptr, len.try_into().unwrap()) };
    |                                                  ++++++++++++++++++++

error[E0308]: mismatched types
    --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:1500:25
     |
1500 |         libc::setgroups(groups.len() as setgroups_ngroups_t, groups.as_ptr() as *const gid_t)
     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `usize`
     |
help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit
     |
1500 |         libc::setgroups((groups.len() as setgroups_ngroups_t).try_into().unwrap(), groups.as_ptr() as *const gid_t)
     |                         +                                   +++++++++++++++++++++

error[E0609]: no field `pw_class` on type `passwd`
    --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:2528:58
     |
2528 |                 class: CString::new(CStr::from_ptr((*pw).pw_class).to_bytes()).unwrap(),
     |                                                          ^^^^^^^^ unknown field
     |
     = note: available fields are: `pw_name`, `pw_passwd`, `pw_uid`, `pw_gid`, `pw_age` ... and 4 others

error[E0609]: no field `pw_change` on type `passwd`
    --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:2530:31
     |
2530 |                 change: (*pw).pw_change,
     |                               ^^^^^^^^^ help: a field with a similar name exists: `pw_age`

error[E0609]: no field `pw_expire` on type `passwd`
    --> /home/pbulk/build/mail/meli/work/vendor/nix-0.17.0/src/unistd.rs:2532:31
     |
2532 |                 expire: (*pw).pw_expire
     |                               ^^^^^^^^^ unknown field
     |
     = note: available fields are: `pw_name`, `pw_passwd`, `pw_uid`, `pw_gid`, `pw_age` ... and 4 others

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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/meli
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/meli