+ 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/citron-0.15.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/citron-0.15.0/work.log ===> Building for citron-0.15.0 Compiling proc-macro2 v1.0.36 Compiling unicode-xid v0.2.2 Compiling syn v1.0.85 Compiling libc v0.2.124 Compiling bitflags v1.2.1 Compiling version_check v0.9.4 Compiling memchr v2.4.1 Compiling quote v1.0.14 Compiling proc-macro-error-attr v1.0.4 Compiling pkg-config v0.3.24 Compiling proc-macro-error v1.0.4 Compiling autocfg v1.0.1 Compiling nix v0.17.0 Compiling libdbus-sys v0.2.2 Compiling serde_derive v1.0.133 Compiling indexmap v1.8.0 Compiling serde v1.0.133 Compiling unicode-width v0.1.9 Compiling unicode-segmentation v1.8.0 Compiling void v1.0.2 Compiling cfg-if v0.1.10 Compiling minimal-lexical v0.2.1 Compiling heck v0.3.3 error[E0432]: unresolved import `self::os` --> /home/pbulk/build/x11/citron/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/x11/citron/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/x11/citron/work/vendor/nix-0.17.0/src/sys/socket/mod.rs:30:5 | 30 | LinkAddr, | ^^^^^^^^ no `LinkAddr` in `sys::socket::addr` | note: found an item that was configured out --> /home/pbulk/build/x11/citron/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:26:25 | 26 | pub use self::datalink::LinkAddr; | ^^^^^^^^ note: the item is gated here --> /home/pbulk/build/x11/citron/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:18:1 | 18 | / #[cfg(any(target_os = "android", 19 | | target_os = "dragonfly", 20 | | target_os = "freebsd", 21 | | target_os = "ios", ... | 24 | | target_os = "netbsd", 25 | | target_os = "openbsd"))] | |__________________________________^ error[E0432]: unresolved import `errno::Errno` --> /home/pbulk/build/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:3:5 | 3 | use errno::Errno; | ^^^^^^^^^^^^ no `Errno` in `errno` | help: a similar name exists in the module | 3 | use errno::errno; | ~~~~~ help: consider importing this unresolved item through its public re-export instead | 3 | use sys::socket::Errno; | ~~~~~~~~~~~~~~~~~~ error[E0432]: unresolved import `errno::Errno` --> /home/pbulk/build/x11/citron/work/vendor/nix-0.17.0/src/sys/socket/sockopt.rs:3:5 | 3 | use errno::Errno; | ^^^^^^^^^^^^ no `Errno` in `errno` | help: a similar name exists in the module | 3 | use errno::errno; | ~~~~~ help: consider importing this unresolved item through its public re-export instead | 3 | use sys::socket::Errno; | ~~~~~~~~~~~~~~~~~~ error[E0432]: unresolved import `errno::Errno` --> /home/pbulk/build/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/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/x11/citron/work/vendor/nix-0.17.0/src/unistd.rs:1720:9 | 1720 | use errno::Errno; | ^^^^^^^^^^^^ no `Errno` in `errno` | help: a similar name exists in the module | 1720 | use errno::errno; | ~~~~~ help: consider importing this unresolved item through its public re-export instead | 1720 | use unistd::Errno; | ~~~~~~~~~~~~~ error[E0432]: unresolved import `errno::Errno` --> /home/pbulk/build/x11/citron/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` Compiling nom v7.1.1 error[E0081]: discriminant value `12` assigned more than once --> /home/pbulk/build/x11/citron/work/vendor/nix-0.17.0/src/sys/socket/addr.rs:34:1 | 34 | pub enum AddressFamily { | ^^^^^^^^^^^^^^^^^^^^^^ ... 69 | Decnet = libc::AF_DECnet, | --------------- `12` assigned here ... 102 | Bluetooth = libc::AF_BLUETOOTH, | ------------------ `12` assigned here error[E0081]: discriminant value `4` assigned more than once --> /home/pbulk/build/x11/citron/work/vendor/nix-0.17.0/src/macros.rs:95:9 | 95 | / $v enum $BitFlags { 96 | | $($entries)* 97 | | } | |_________^ ... 164 | $entry = libc::$entry, | ------------ | | | `4` assigned here | `4` assigned here | ::: /home/pbulk/build/x11/citron/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` assigned more than once --> /home/pbulk/build/x11/citron/work/vendor/nix-0.17.0/src/macros.rs:95:9 | 95 | / $v enum $BitFlags { 96 | | $($entries)* 97 | | } | |_________^ ... 164 | $entry = libc::$entry, | ------------ | | | `5` assigned here | `5` assigned here | ::: /home/pbulk/build/x11/citron/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[E0609]: no field `d_fileno` on type `dirent` --> /home/pbulk/build/x11/citron/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/x11/citron/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/x11/citron/work/vendor/nix-0.17.0/src/unistd.rs:896:47 | 896 | let res = unsafe { libc::sethostname(ptr, len) }; | ----------------- ^^^ expected `i32`, found `usize` | | | arguments to this function are incorrect | note: function defined here --> /home/pbulk/build/x11/citron/work/vendor/libc-0.2.124/src/unix/solarish/mod.rs:2759:12 | 2759 | pub fn sethostname(name: *const ::c_char, len: ::c_int) -> ::c_int; | ^^^^^^^^^^^ 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/x11/citron/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` | | | arguments to this function are incorrect | note: function defined here --> /home/pbulk/build/x11/citron/work/vendor/libc-0.2.124/src/unix/solarish/mod.rs:2715:12 | 2715 | pub fn setgroups(ngroups: ::c_int, ptr: *const ::gid_t) -> ::c_int; | ^^^^^^^^^ 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/x11/citron/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/x11/citron/work/vendor/nix-0.17.0/src/unistd.rs:2530:31 | 2530 | change: (*pw).pw_change, | ^^^^^^^^^ unknown field | help: a field with a similar name exists | 2530 | change: (*pw).pw_age, | ~~~~~~ error[E0609]: no field `pw_expire` on type `passwd` --> /home/pbulk/build/x11/citron/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 Compiling textwrap v0.11.0 Some errors have detailed explanations: E0081, E0308, E0432, E0609. For more information about an error, try `rustc --explain E0081`. error: could not compile `nix` (lib) due to 33 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/x11/citron *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/citron