+ 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/kalker-2.2.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kalker-2.2.2/work.log ===> Building for kalker-2.2.2 Compiling libc v0.2.172 Compiling unicode-ident v1.0.18 Compiling proc-macro2 v1.0.95 Compiling wasm-bindgen-shared v0.2.100 Compiling cfg-if v1.0.0 Compiling gmp-mpfr-sys v1.6.5 Compiling bumpalo v3.17.0 Compiling log v0.4.27 Compiling memchr v2.7.4 Compiling quote v1.0.40 Compiling syn v2.0.100 Compiling rustversion v1.0.20 Compiling libm v0.2.11 Compiling az v1.2.1 Compiling rug v1.27.0 Compiling wasm-bindgen v0.2.100 Compiling wasm-bindgen-backend v0.2.100 Compiling aho-corasick v1.1.3 Compiling dirs-sys-next v0.1.2 Compiling wasm-bindgen-macro-support v0.2.100 Compiling regex-syntax v0.8.5 Compiling wasm-bindgen-macro v0.2.100 Compiling once_cell v1.21.3 Compiling bitflags v1.3.2 Compiling nix v0.19.1 error[E0432]: unresolved import `self::os` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/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/math/kalker/work/vendor/nix-0.19.1/src/errno.rs:6:15 | 6 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0432]: unresolved import `self::addr::LinkAddr` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/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/math/kalker/work/vendor/nix-0.19.1/src/sys/socket/addr.rs:25:25 | 25 | pub use self::datalink::LinkAddr; | ^^^^^^^^ note: the item is gated here --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/socket/addr.rs:17:1 | 17 | / #[cfg(any(target_os = "android", 18 | | target_os = "dragonfly", 19 | | target_os = "freebsd", 20 | | target_os = "ios", ... | 23 | | target_os = "netbsd", 24 | | target_os = "openbsd"))] | |__________________________________^ error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/dir.rs:2:5 | 2 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `self::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/errno.rs:118:15 | 118 | use self::Errno::*; | ^^^^^ could not find `Errno` in `self` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/fcntl.rs:1:5 | 1 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/poll.rs:9:5 | 9 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/pty.rs:14:5 | 14 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sched.rs:1:13 | 1 | use crate::{Errno, Result}; | ^^^^^ | | | no `Errno` in the root | help: a similar name exists in the module: `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/mman.rs:4:5 | 4 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/select.rs:8:5 | 8 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/signal.rs:7:5 | 7 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/socket/mod.rs:5:28 | 5 | use crate::{Error, Result, errno::Errno}; | ^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/socket/addr.rs:3:5 | 3 | use crate::errno::Errno; | ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | help: a similar name exists in the module | 3 - use crate::errno::Errno; 3 + use crate::errno::errno; | help: consider importing this unresolved item through its public re-export instead | 3 - use crate::errno::Errno; 3 + use crate::sys::socket::Errno; | error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/socket/sockopt.rs:4:5 | 4 | use crate::errno::Errno; | ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | help: a similar name exists in the module | 4 - use crate::errno::Errno; 4 + use crate::errno::errno; | help: consider importing this unresolved item through its public re-export instead | 4 - use crate::errno::Errno; 4 + use crate::sys::socket::Errno; | error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/stat.rs:4:30 | 4 | use crate::{Result, NixPath, errno::Errno}; | ^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/statvfs.rs:10:30 | 10 | use crate::{Result, NixPath, errno::Errno}; | ^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/termios.rs:156:5 | 156 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/uio.rs:5:5 | 5 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/wait.rs:4:5 | 4 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0432]: unresolved import `crate::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/time.rs:10:13 | 10 | use crate::{Errno, Result}; | ^^^^^ | | | no `Errno` in the root | help: a similar name exists in the module: `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/unistd.rs:5:26 | 5 | use crate::errno::{self, Errno}; | ^^^^^ | | | no `Errno` in `errno` | help: a similar name exists in the module: `errno` error[E0432]: unresolved import `crate::errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/unistd.rs:1699:9 | 1699 | use crate::errno::Errno; | ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | help: a similar name exists in the module | 1699 - use crate::errno::Errno; 1699 + use crate::errno::errno; | help: consider importing this unresolved item through its public re-export instead | 1699 - use crate::errno::Errno; 1699 + use crate::unistd::Errno; | error[E0432]: unresolved import `errno::Errno` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/lib.rs:85:5 | 85 | use errno::Errno; | ^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0081]: discriminant value `12` assigned more than once --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/sys/socket/addr.rs:33:1 | 33 | pub enum AddressFamily { | ^^^^^^^^^^^^^^^^^^^^^^ ... 68 | Decnet = libc::AF_DECnet, | --------------- `12` assigned here ... 101 | Bluetooth = libc::AF_BLUETOOTH, | ------------------ `12` assigned here error[E0081]: discriminant value `4` assigned more than once --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/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/math/kalker/work/vendor/nix-0.19.1/src/sys/termios.rs:498:1 | 498 | / libc_enum! { 499 | | /// Indices into the `termios.c_cc` array for special characters. 500 | | #[repr(usize)] 501 | | pub enum SpecialCharacterIndices { ... | 541 | | } | |_- 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/math/kalker/work/vendor/nix-0.19.1/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/math/kalker/work/vendor/nix-0.19.1/src/sys/termios.rs:498:1 | 498 | / libc_enum! { 499 | | /// Indices into the `termios.c_cc` array for special characters. 500 | | #[repr(usize)] 501 | | pub enum SpecialCharacterIndices { ... | 541 | | } | |_- 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/math/kalker/work/vendor/nix-0.19.1/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/math/kalker/work/vendor/nix-0.19.1/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/math/kalker/work/vendor/nix-0.19.1/src/unistd.rs:918:47 | 918 | let res = unsafe { libc::sethostname(ptr, len) }; | ----------------- ^^^ expected `i32`, found `usize` | | | arguments to this function are incorrect | note: function defined here --> /home/pbulk/build/math/kalker/work/vendor/libc-0.2.172/src/unix/solarish/mod.rs:2654:12 | 2654 | 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 | 918 | let res = unsafe { libc::sethostname(ptr, len.try_into().unwrap()) }; | ++++++++++++++++++++ error[E0308]: mismatched types --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/unistd.rs:1482:25 | 1482 | 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/math/kalker/work/vendor/libc-0.2.172/src/unix/solarish/mod.rs:2614:12 | 2614 | pub fn setgroups(ngroups: c_int, ptr: *const crate::gid_t) -> c_int; | ^^^^^^^^^ help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit | 1482 | 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/math/kalker/work/vendor/nix-0.19.1/src/unistd.rs:2563:58 | 2563 | 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/math/kalker/work/vendor/nix-0.19.1/src/unistd.rs:2565:31 | 2565 | change: (*pw).pw_change, | ^^^^^^^^^ unknown field | help: a field with a similar name exists | 2565 - change: (*pw).pw_change, 2565 + change: (*pw).pw_age, | error[E0609]: no field `pw_expire` on type `passwd` --> /home/pbulk/build/math/kalker/work/vendor/nix-0.19.1/src/unistd.rs:2567:31 | 2567 | 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, E0432, E0609. For more information about an error, try `rustc --explain E0081`. error: could not compile `nix` (lib) due to 34 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/math/kalker *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/kalker