[INFO] fetching crate libc_tools 0.1.3... [INFO] checking libc_tools-0.1.3 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate libc_tools 0.1.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate libc_tools 0.1.3 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libc_tools 0.1.3 [INFO] finished tweaking crates.io crate libc_tools 0.1.3 [INFO] tweaked toml for crates.io crate libc_tools 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1a44771e4798f00368cd7a995522092b0111f9a48a75b7b81ade339de11eca0 [INFO] running `Command { std: "docker" "start" "-a" "b1a44771e4798f00368cd7a995522092b0111f9a48a75b7b81ade339de11eca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1a44771e4798f00368cd7a995522092b0111f9a48a75b7b81ade339de11eca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a44771e4798f00368cd7a995522092b0111f9a48a75b7b81ade339de11eca0", kill_on_drop: false }` [INFO] [stdout] b1a44771e4798f00368cd7a995522092b0111f9a48a75b7b81ade339de11eca0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90dcf22b68861e9626248dbfefc61d42559c472be6441e70b12137b253133352 [INFO] running `Command { std: "docker" "start" "-a" "90dcf22b68861e9626248dbfefc61d42559c472be6441e70b12137b253133352", kill_on_drop: false }` [INFO] [stderr] Checking libc_tools v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Close` [INFO] [stdout] --> src/dup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Close; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Close`, `PipeSide` [INFO] [stdout] --> src/close.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use crate::{Close, Pipe, PipeSide}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Close` [INFO] [stdout] --> src/dup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Close; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::execl` [INFO] [stdout] --> src/pipe.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use libc::execl; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_void`, `pipe`, `read` [INFO] [stdout] --> src/popen.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | __errno_location, _exit, c_int, c_void, execl, fclose, fdopen, pipe, pipe2, read, socketpair, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FILE`, `SOCK_CLOEXEC`, `__errno_location`, `fclose`, `perror` [INFO] [stdout] --> src/popen.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | __errno_location, fclose, fgets, perror, socketpair, strlen, FILE, PF_UNIX, SOCK_CLOEXEC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Wait`, `popen::popen` [INFO] [stdout] --> src/popen.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | use crate::{popen::popen, Close, Popen, Wait}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `null_mut` [INFO] [stdout] --> src/pty.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `stdin` [INFO] [stdout] --> src/run.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `close::*` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use close::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `exec::*` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use exec::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc::*` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use proc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_void`, `pipe`, `read` [INFO] [stdout] --> src/popen.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | __errno_location, _exit, c_int, c_void, execl, fclose, fdopen, pipe, pipe2, read, socketpair, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `null_mut` [INFO] [stdout] --> src/pty.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `stdin` [INFO] [stdout] --> src/run.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `close::*` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use close::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `exec::*` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use exec::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc::*` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use proc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `popen::Popen::arg`: do not use! [INFO] [stdout] --> src/popen.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | Popen::arg("date").exec().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `popen::Popen::exec`: do not use! [INFO] [stdout] --> src/popen.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | Popen::arg("date").exec().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `popen::Popen::arg`: do not use! [INFO] [stdout] --> src/popen.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | let popen = Popen::arg("time").exec().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `popen::Popen::exec`: do not use! [INFO] [stdout] --> src/popen.rs:238:44 [INFO] [stdout] | [INFO] [stdout] 238 | let popen = Popen::arg("time").exec().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `popen::Popen::arg`: do not use! [INFO] [stdout] --> src/popen.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | let o = Popen::arg( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `popen::Popen::exec`: do not use! [INFO] [stdout] --> src/popen.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | .exec() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/pipe.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let path = CString::new("/bin/sh")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/pipe.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let sh = CString::new("sh")?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> src/pipe.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let exec = CString::new("-c")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/pipe.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let arg = CString::new("ls")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/run.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/popen.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl PopenError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 36 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_pipe` is never used [INFO] [stdout] --> src/popen.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn socket_pipe() -> Result<[[c_int; 2]; 2], PopenError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/run.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/socket_pair.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl SocketPair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 24 | fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/run.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/popen.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl PopenError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 36 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_pipe` is never used [INFO] [stdout] --> src/popen.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn socket_pipe() -> Result<[[c_int; 2]; 2], PopenError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/run.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/socket_pair.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl SocketPair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 24 | fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "90dcf22b68861e9626248dbfefc61d42559c472be6441e70b12137b253133352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90dcf22b68861e9626248dbfefc61d42559c472be6441e70b12137b253133352", kill_on_drop: false }` [INFO] [stdout] 90dcf22b68861e9626248dbfefc61d42559c472be6441e70b12137b253133352 [INFO] checking libc_tools-0.1.3 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate libc_tools 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate libc_tools 0.1.3 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libc_tools 0.1.3 [INFO] finished tweaking crates.io crate libc_tools 0.1.3 [INFO] tweaked toml for crates.io crate libc_tools 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ead5147e459a04ca9fd3f1023546722b51bea1b6f249491016d00fcf0be76457 [INFO] running `Command { std: "docker" "start" "-a" "ead5147e459a04ca9fd3f1023546722b51bea1b6f249491016d00fcf0be76457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ead5147e459a04ca9fd3f1023546722b51bea1b6f249491016d00fcf0be76457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead5147e459a04ca9fd3f1023546722b51bea1b6f249491016d00fcf0be76457", kill_on_drop: false }` [INFO] [stdout] ead5147e459a04ca9fd3f1023546722b51bea1b6f249491016d00fcf0be76457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52c3d945aec2724efbb45d909b00d9a1537d6384321708254f9694034c8c109b [INFO] running `Command { std: "docker" "start" "-a" "52c3d945aec2724efbb45d909b00d9a1537d6384321708254f9694034c8c109b", kill_on_drop: false }` [INFO] [stderr] Checking libc_tools v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Close` [INFO] [stdout] --> src/dup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Close; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_void`, `pipe`, `read` [INFO] [stdout] --> src/popen.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | __errno_location, _exit, c_int, c_void, execl, fclose, fdopen, pipe, pipe2, read, socketpair, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `null_mut` [INFO] [stdout] --> src/pty.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `stdin` [INFO] [stdout] --> src/run.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `close::*` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use close::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Close`, `PipeSide` [INFO] [stdout] --> src/close.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use crate::{Close, Pipe, PipeSide}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `exec::*` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use exec::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Close` [INFO] [stdout] --> src/dup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Close; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc::*` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use proc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::execl` [INFO] [stdout] --> src/pipe.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use libc::execl; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_void`, `pipe`, `read` [INFO] [stdout] --> src/popen.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | __errno_location, _exit, c_int, c_void, execl, fclose, fdopen, pipe, pipe2, read, socketpair, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FILE`, `SOCK_CLOEXEC`, `__errno_location`, `fclose`, `perror` [INFO] [stdout] --> src/popen.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | __errno_location, fclose, fgets, perror, socketpair, strlen, FILE, PF_UNIX, SOCK_CLOEXEC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Wait`, `popen::popen` [INFO] [stdout] --> src/popen.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | use crate::{popen::popen, Close, Popen, Wait}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `null_mut` [INFO] [stdout] --> src/pty.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `stdin` [INFO] [stdout] --> src/run.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `close::*` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use close::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `exec::*` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use exec::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc::*` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use proc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/popen.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | / unsafe { [INFO] [stdout] 147 | | _exit(execl( [INFO] [stdout] 148 | | path.as_ptr(), [INFO] [stdout] 149 | | sh.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 155 | | )) [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/popen.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | / unsafe { [INFO] [stdout] 147 | | _exit(execl( [INFO] [stdout] 148 | | path.as_ptr(), [INFO] [stdout] 149 | | sh.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 155 | | )) [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `popen::Popen::arg`: do not use! [INFO] [stdout] --> src/popen.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | Popen::arg("date").exec().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `popen::Popen::exec`: do not use! [INFO] [stdout] --> src/popen.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | Popen::arg("date").exec().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `popen::Popen::arg`: do not use! [INFO] [stdout] --> src/popen.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | let popen = Popen::arg("time").exec().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `popen::Popen::exec`: do not use! [INFO] [stdout] --> src/popen.rs:238:44 [INFO] [stdout] | [INFO] [stdout] 238 | let popen = Popen::arg("time").exec().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `popen::Popen::arg`: do not use! [INFO] [stdout] --> src/popen.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | let o = Popen::arg( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `popen::Popen::exec`: do not use! [INFO] [stdout] --> src/popen.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | .exec() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/run.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/pipe.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let path = CString::new("/bin/sh")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/pipe.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let sh = CString::new("sh")?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> src/pipe.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let exec = CString::new("-c")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/pipe.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let arg = CString::new("ls")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libc_tools` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/run.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buf = [0 as u8; 4096]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libc_tools` (lib test) due to 2 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52c3d945aec2724efbb45d909b00d9a1537d6384321708254f9694034c8c109b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c3d945aec2724efbb45d909b00d9a1537d6384321708254f9694034c8c109b", kill_on_drop: false }` [INFO] [stdout] 52c3d945aec2724efbb45d909b00d9a1537d6384321708254f9694034c8c109b