[INFO] cloning repository https://github.com/illumos/ucred-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/illumos/ucred-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fucred-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fucred-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 35817ca3599e28a7d065ba47dad307a270ee015e
[INFO] testing illumos/ucred-rs against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fucred-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/illumos/ucred-rs
[INFO] finished tweaking git repo https://github.com/illumos/ucred-rs
[INFO] tweaked toml for git repo https://github.com/illumos/ucred-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/illumos/ucred-rs on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/illumos/ucred-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2adf981dcb14a4455990b45225a9ca363da6c4c9b406210465cd76b6b97003ce
[INFO] running `Command { std: "docker" "start" "-a" "2adf981dcb14a4455990b45225a9ca363da6c4c9b406210465cd76b6b97003ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2adf981dcb14a4455990b45225a9ca363da6c4c9b406210465cd76b6b97003ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2adf981dcb14a4455990b45225a9ca363da6c4c9b406210465cd76b6b97003ce", kill_on_drop: false }`
[INFO] [stdout] 2adf981dcb14a4455990b45225a9ca363da6c4c9b406210465cd76b6b97003ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c6d306db4df295d6421477500691ef5cdb00ae9463ca96ba255768954d2a654
[INFO] running `Command { std: "docker" "start" "-a" "7c6d306db4df295d6421477500691ef5cdb00ae9463ca96ba255768954d2a654", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling ucred v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `libc::projid_t`, `libc::ucred_t`, `libc::zoneid_t`
[INFO] [stdout]   --> src/lib.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 | use libc::{c_char, c_int, gid_t, pid_t, projid_t, ucred_t, uid_t, zoneid_t};
[INFO] [stdout]    |                                         ^^^^^^^^  ^^^^^^^         ^^^^^^^^ no `zoneid_t` in the root
[INFO] [stdout]    |                                         |         |
[INFO] [stdout]    |                                         |         no `ucred_t` in the root
[INFO] [stdout]    |                                         |         help: a similar name exists in the module: `ucred`
[INFO] [stdout]    |                                         no `projid_t` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ucred_t` in crate `libc`
[INFO] [stdout]   --> src/lib.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |     uc: *mut libc::ucred_t,
[INFO] [stdout]    |                    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/macros.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             pub struct $i { $($field)* }
[INFO] [stdout]    |             ------------- similarly named struct `ucred` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 25 -     uc: *mut libc::ucred_t,
[INFO] [stdout] 25 +     uc: *mut libc::ucred,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ucred_get` in crate `libc`
[INFO] [stdout]   --> src/lib.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let uc = unsafe { libc::ucred_get(pid) };
[INFO] [stdout]    |                                 ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ucred_t` in crate `libc`
[INFO] [stdout]   --> src/lib.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut uc: *mut libc::ucred_t = std::ptr::null_mut();
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/macros.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             pub struct $i { $($field)* }
[INFO] [stdout]    |             ------------- similarly named struct `ucred` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 66 -         let mut uc: *mut libc::ucred_t = std::ptr::null_mut();
[INFO] [stdout] 66 +         let mut uc: *mut libc::ucred = std::ptr::null_mut();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getpeerucred` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:67:32
[INFO] [stdout]     |
[INFO] [stdout]  67 |           let r = unsafe { libc::getpeerucred(fd.as_raw_fd(), &mut uc) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/unix/mod.rs:639:5
[INFO] [stdout]     |
[INFO] [stdout] 639 | /     pub fn getpeername(
[INFO] [stdout] 640 | |         socket: ::c_int,
[INFO] [stdout] 641 | |         address: *mut sockaddr,
[INFO] [stdout] 642 | |         address_len: *mut socklen_t,
[INFO] [stdout] 643 | |     ) -> ::c_int;
[INFO] [stdout]     | |_________________- similarly named function `getpeername` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout]  67 -         let r = unsafe { libc::getpeerucred(fd.as_raw_fd(), &mut uc) };
[INFO] [stdout]  67 +         let r = unsafe { libc::getpeername(fd.as_raw_fd(), &mut uc) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ucred_t` in crate `libc`
[INFO] [stdout]   --> src/lib.rs:89:32
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut uc: *mut libc::ucred_t = std::ptr::null_mut();
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/macros.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             pub struct $i { $($field)* }
[INFO] [stdout]    |             ------------- similarly named struct `ucred` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 -         let mut uc: *mut libc::ucred_t = std::ptr::null_mut();
[INFO] [stdout] 89 +         let mut uc: *mut libc::ucred = std::ptr::null_mut();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getpid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:133:33
[INFO] [stdout]     |
[INFO] [stdout] 133 |         self.common_get_s(libc::ucred_getpid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getprojid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:149:33
[INFO] [stdout]     |
[INFO] [stdout] 149 |         self.common_get_s(libc::ucred_getprojid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getzoneid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:157:33
[INFO] [stdout]     |
[INFO] [stdout] 157 |         self.common_get_s(libc::ucred_getzoneid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_geteuid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:183:33
[INFO] [stdout]     |
[INFO] [stdout] 183 |         self.common_get_u(libc::ucred_geteuid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getruid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:202:33
[INFO] [stdout]     |
[INFO] [stdout] 202 |         self.common_get_u(libc::ucred_getruid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getsuid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:221:33
[INFO] [stdout]     |
[INFO] [stdout] 221 |         self.common_get_u(libc::ucred_getsuid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getegid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:240:33
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.common_get_u(libc::ucred_getegid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getrgid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:259:33
[INFO] [stdout]     |
[INFO] [stdout] 259 |         self.common_get_u(libc::ucred_getrgid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ucred_getsgid` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:278:33
[INFO] [stdout]     |
[INFO] [stdout] 278 |         self.common_get_u(libc::ucred_getsgid)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ucred_getgroups` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:300:38
[INFO] [stdout]     |
[INFO] [stdout] 300 |         let ngroups = unsafe { libc::ucred_getgroups(self.uc, &mut groups) };
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/unix/linux_like/linux/gnu/b64/x86_64/not_x32.rs:195:1
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub const SYS_getgroups: ::c_long = 115;
[INFO] [stdout]     | --------------------------------- similarly named constant `SYS_getgroups` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 300 -         let ngroups = unsafe { libc::ucred_getgroups(self.uc, &mut groups) };
[INFO] [stdout] 300 +         let ngroups = unsafe { libc::SYS_getgroups(self.uc, &mut groups) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ucred_free` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:320:24
[INFO] [stdout]     |
[INFO] [stdout] 320 |         unsafe { libc::ucred_free(self.uc) };
[INFO] [stdout]     |                        ^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:335:21
[INFO] [stdout]     |
[INFO] [stdout] 335 |     unsafe { *libc::___errno() = 0 };
[INFO] [stdout]     |                     ^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:338:33
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let e = unsafe { *libc::___errno() };
[INFO] [stdout]     |                                 ^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |     unsafe { *libc::___errno() = 0 };
[INFO] [stdout]     |                     ^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc`
[INFO] [stdout]    --> src/lib.rs:369:33
[INFO] [stdout]     |
[INFO] [stdout] 369 |         let e = unsafe { *libc::___errno() };
[INFO] [stdout]     |                                 ^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ucred` (lib) due to 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "7c6d306db4df295d6421477500691ef5cdb00ae9463ca96ba255768954d2a654", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c6d306db4df295d6421477500691ef5cdb00ae9463ca96ba255768954d2a654", kill_on_drop: false }`
[INFO] [stdout] 7c6d306db4df295d6421477500691ef5cdb00ae9463ca96ba255768954d2a654
