[INFO] cloning repository https://github.com/N-give/viri [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/N-give/viri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN-give%2Fviri", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN-give%2Fviri'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d10017883abd607c16998d0f0d13bd65f2ad550 [INFO] checking N-give/viri against master#69a5d2481e856a5a18885390b8cf6950b9ff8dd3 for pr-96376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN-give%2Fviri" "/workspace/builds/worker-111/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-111/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/N-give/viri on toolchain 69a5d2481e856a5a18885390b8cf6950b9ff8dd3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/N-give/viri [INFO] finished tweaking git repo https://github.com/N-give/viri [INFO] tweaked toml for git repo https://github.com/N-give/viri written to /workspace/builds/worker-111/source/Cargo.toml [INFO] crate git repo https://github.com/N-give/viri already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c7aecb8d8d75a9b4295670ea1368246b88b60995419240a8eb54b770afa3422 [INFO] running `Command { std: "docker" "start" "-a" "9c7aecb8d8d75a9b4295670ea1368246b88b60995419240a8eb54b770afa3422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c7aecb8d8d75a9b4295670ea1368246b88b60995419240a8eb54b770afa3422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c7aecb8d8d75a9b4295670ea1368246b88b60995419240a8eb54b770afa3422", kill_on_drop: false }` [INFO] [stdout] 9c7aecb8d8d75a9b4295670ea1368246b88b60995419240a8eb54b770afa3422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+69a5d2481e856a5a18885390b8cf6950b9ff8dd3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 417ac5a89b83036a65905c6770fa14acb79d88c4e97c75be0e9188f92284b24d [INFO] running `Command { std: "docker" "start" "-a" "417ac5a89b83036a65905c6770fa14acb79d88c4e97c75be0e9188f92284b24d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking viri v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `output` [INFO] [stdout] --> src/child.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{output, cursor::Cursor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.74s [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/child.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | }, runtime::Runtime, sync::mpsc::{self, UnboundedReceiver}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clone`, `slice::Iter` [INFO] [stdout] --> src/state.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{clone, collections::HashMap, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output` [INFO] [stdout] --> src/child.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{output, cursor::Cursor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/child.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | }, runtime::Runtime, sync::mpsc::{self, UnboundedReceiver}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clone`, `slice::Iter` [INFO] [stdout] --> src/state.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{clone, collections::HashMap, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Child` [INFO] [stdout] --> src/output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Child(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/output.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Input(Cursor), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exec` [INFO] [stdout] --> src/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exec(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `recv` [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | recv: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | input: Cursor, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output` [INFO] [stdout] --> src/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | output: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/output.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(recv: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_output` [INFO] [stdout] --> src/output.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn run_output(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_buffer` [INFO] [stdout] --> src/output.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | async fn print_buffer( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Child` [INFO] [stdout] --> src/output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Child(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/output.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Input(Cursor), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exec` [INFO] [stdout] --> src/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exec(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `recv` [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | recv: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | input: Cursor, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output` [INFO] [stdout] --> src/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | output: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/output.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/output.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(recv: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_output` [INFO] [stdout] --> src/output.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn run_output(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_buffer` [INFO] [stdout] --> src/output.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | async fn print_buffer( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "417ac5a89b83036a65905c6770fa14acb79d88c4e97c75be0e9188f92284b24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417ac5a89b83036a65905c6770fa14acb79d88c4e97c75be0e9188f92284b24d", kill_on_drop: false }` [INFO] [stdout] 417ac5a89b83036a65905c6770fa14acb79d88c4e97c75be0e9188f92284b24d