[INFO] fetching crate ucred 1.1.0... [INFO] testing ucred-1.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate ucred 1.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ucred 1.1.0 [INFO] finished tweaking crates.io crate ucred 1.1.0 [INFO] tweaked toml for crates.io crate ucred 1.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ucred 1.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ucred 1.1.0 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" "+562dee4820c458d823175268e41601d4c060588a" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b8e0dd3b9aacf9ef0f7f73fc01dd45ad7777601635e59cfb467715547d6c65b [INFO] running `Command { std: "docker" "start" "-a" "6b8e0dd3b9aacf9ef0f7f73fc01dd45ad7777601635e59cfb467715547d6c65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b8e0dd3b9aacf9ef0f7f73fc01dd45ad7777601635e59cfb467715547d6c65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8e0dd3b9aacf9ef0f7f73fc01dd45ad7777601635e59cfb467715547d6c65b", kill_on_drop: false }` [INFO] [stdout] 6b8e0dd3b9aacf9ef0f7f73fc01dd45ad7777601635e59cfb467715547d6c65b [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2f44e50b7a36cba2f091168aad1ce30d73ff7d635dde1b4401a4208c114deec [INFO] running `Command { std: "docker" "start" "-a" "b2f44e50b7a36cba2f091168aad1ce30d73ff7d635dde1b4401a4208c114deec", 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] | no `projid_t` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [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] 11 + use libc::{c_char, c_int, gid_t, pid_t, projid_t, ucred, uid_t, zoneid_t}; [INFO] [stdout] | [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] [stderr] error: could not compile `ucred` (lib) due to 21 previous errors [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] running `Command { std: "docker" "inspect" "b2f44e50b7a36cba2f091168aad1ce30d73ff7d635dde1b4401a4208c114deec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f44e50b7a36cba2f091168aad1ce30d73ff7d635dde1b4401a4208c114deec", kill_on_drop: false }` [INFO] [stdout] b2f44e50b7a36cba2f091168aad1ce30d73ff7d635dde1b4401a4208c114deec