[INFO] fetching crate ucred 1.1.0... [INFO] testing ucred-1.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ucred 1.1.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ucred 1.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64fa4da0b024aeedb37e06e1cf548029eebfff0c5461cea731a10d2b93084fe6 [INFO] running `Command { std: "docker" "start" "-a" "64fa4da0b024aeedb37e06e1cf548029eebfff0c5461cea731a10d2b93084fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64fa4da0b024aeedb37e06e1cf548029eebfff0c5461cea731a10d2b93084fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64fa4da0b024aeedb37e06e1cf548029eebfff0c5461cea731a10d2b93084fe6", kill_on_drop: false }` [INFO] [stdout] 64fa4da0b024aeedb37e06e1cf548029eebfff0c5461cea731a10d2b93084fe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e58dd5b22c9aa5c6c355dfa6146d671c8e5f5ccb4d00dde134a7ab5f1496633d [INFO] running `Command { std: "docker" "start" "-a" "e58dd5b22c9aa5c6c355dfa6146d671c8e5f5ccb4d00dde134a7ab5f1496633d", kill_on_drop: false }` [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[E0412]: 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] | ^^^^^^^ help: a struct with a similar name exists: `ucred` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/unix/linux_like/linux/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / s! { [INFO] [stdout] 62 | | pub struct glob_t { [INFO] [stdout] 63 | | pub gl_pathc: ::size_t, [INFO] [stdout] 64 | | pub gl_pathv: *mut *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 745 | | } [INFO] [stdout] | |_- similarly named struct `ucred` defined here [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[E0412]: 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] | ^^^^^^^ help: a struct with a similar name exists: `ucred` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/unix/linux_like/linux/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / s! { [INFO] [stdout] 62 | | pub struct glob_t { [INFO] [stdout] 63 | | pub gl_pathc: ::size_t, [INFO] [stdout] 64 | | pub gl_pathv: *mut *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 745 | | } [INFO] [stdout] | |_- similarly named struct `ucred` defined here [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] | ^^^^^^^^^^^^ help: a function with a similar name exists: `getpeername` [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] [INFO] [stdout] error[E0412]: 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] | ^^^^^^^ help: a struct with a similar name exists: `ucred` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.153/src/unix/linux_like/linux/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / s! { [INFO] [stdout] 62 | | pub struct glob_t { [INFO] [stdout] 63 | | pub gl_pathc: ::size_t, [INFO] [stdout] 64 | | pub gl_pathv: *mut *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 745 | | } [INFO] [stdout] | |_- similarly named struct `ucred` defined here [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] | ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_getgroups` [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] [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: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ucred` (lib) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "e58dd5b22c9aa5c6c355dfa6146d671c8e5f5ccb4d00dde134a7ab5f1496633d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58dd5b22c9aa5c6c355dfa6146d671c8e5f5ccb4d00dde134a7ab5f1496633d", kill_on_drop: false }` [INFO] [stdout] e58dd5b22c9aa5c6c355dfa6146d671c8e5f5ccb4d00dde134a7ab5f1496633d