[INFO] cloning repository https://github.com/davidbarsky/husk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidbarsky/husk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidbarsky%2Fhusk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidbarsky%2Fhusk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88830a1c775a07879e27e7d2036b98602f90d5b1 [INFO] checking davidbarsky/husk/88830a1c775a07879e27e7d2036b98602f90d5b1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidbarsky%2Fhusk" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidbarsky/husk on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidbarsky/husk [INFO] finished tweaking git repo https://github.com/davidbarsky/husk [INFO] tweaked toml for git repo https://github.com/davidbarsky/husk written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davidbarsky/husk 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.2 [INFO] [stderr] Downloaded libc v0.2.22 [INFO] [stderr] Downloaded scopeguard v0.3.2 [INFO] [stderr] Downloaded termion v1.3.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca14e801012c962a3fdeb2b52fc90b9bf5707d668869be597fb45fe3e4593c15 [INFO] running `Command { std: "docker" "start" "-a" "ca14e801012c962a3fdeb2b52fc90b9bf5707d668869be597fb45fe3e4593c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca14e801012c962a3fdeb2b52fc90b9bf5707d668869be597fb45fe3e4593c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca14e801012c962a3fdeb2b52fc90b9bf5707d668869be597fb45fe3e4593c15", kill_on_drop: false }` [INFO] [stdout] ca14e801012c962a3fdeb2b52fc90b9bf5707d668869be597fb45fe3e4593c15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e353432d5eca5ead0cfa67319e822ee328efe1c2b8d5bb4dc2df3b343eed1a2f [INFO] running `Command { std: "docker" "start" "-a" "e353432d5eca5ead0cfa67319e822ee328efe1c2b8d5bb4dc2df3b343eed1a2f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.46 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking nix v0.8.1 [INFO] [stderr] Checking termion v1.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Checking backtrace v0.3.2 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking husk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | let len = buf.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 145 | let len = buf.trim_end().len(); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | let len = buf.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 145 | let len = buf.trim_end().len(); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(_) => unreachable!(), [INFO] [stdout] | ^^^^^ matches no values because `void::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | defer!(drop(close(tty_fd))); // drop to ignore result. [INFO] [stdout] | ^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | defer!(drop(setpgid(0, original_pgid))); // drop to ignore result. [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | defer!(drop(tcsetpgrp(tty_fd, original_tpgid))); // drop to ignore result. [INFO] [stdout] | ^^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(_) => unreachable!(), [INFO] [stdout] | ^^^^^ matches no values because `void::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | defer!(drop(close(tty_fd))); // drop to ignore result. [INFO] [stdout] | ^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | defer!(drop(setpgid(0, original_pgid))); // drop to ignore result. [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | defer!(drop(tcsetpgrp(tty_fd, original_tpgid))); // drop to ignore result. [INFO] [stdout] | ^^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e353432d5eca5ead0cfa67319e822ee328efe1c2b8d5bb4dc2df3b343eed1a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e353432d5eca5ead0cfa67319e822ee328efe1c2b8d5bb4dc2df3b343eed1a2f", kill_on_drop: false }` [INFO] [stdout] e353432d5eca5ead0cfa67319e822ee328efe1c2b8d5bb4dc2df3b343eed1a2f