[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] testing N-give/viri against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN-give%2Fviri" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/N-give/viri on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-7/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5253d2578b5d24609811cec68954620a9478c1bf5e58fe6200984641f0f0957a [INFO] running `Command { std: "docker" "start" "-a" "5253d2578b5d24609811cec68954620a9478c1bf5e58fe6200984641f0f0957a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5253d2578b5d24609811cec68954620a9478c1bf5e58fe6200984641f0f0957a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5253d2578b5d24609811cec68954620a9478c1bf5e58fe6200984641f0f0957a", kill_on_drop: false }` [INFO] [stdout] 5253d2578b5d24609811cec68954620a9478c1bf5e58fe6200984641f0f0957a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aff474b3c31f4ca895122d5ed717099d97242e67b30aa9bd91e28a365a48ae50 [INFO] running `Command { std: "docker" "start" "-a" "aff474b3c31f4ca895122d5ed717099d97242e67b30aa9bd91e28a365a48ae50", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.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] Compiling phf v0.8.0 [INFO] [stderr] Compiling 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] [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.95s [INFO] running `Command { std: "docker" "inspect" "aff474b3c31f4ca895122d5ed717099d97242e67b30aa9bd91e28a365a48ae50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff474b3c31f4ca895122d5ed717099d97242e67b30aa9bd91e28a365a48ae50", kill_on_drop: false }` [INFO] [stdout] aff474b3c31f4ca895122d5ed717099d97242e67b30aa9bd91e28a365a48ae50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f88b46a18ccebaf2738b88d1a0b8cfc1e2aa2ba5d09c857b35f2381ed7beabe9 [INFO] running `Command { std: "docker" "start" "-a" "f88b46a18ccebaf2738b88d1a0b8cfc1e2aa2ba5d09c857b35f2381ed7beabe9", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "f88b46a18ccebaf2738b88d1a0b8cfc1e2aa2ba5d09c857b35f2381ed7beabe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88b46a18ccebaf2738b88d1a0b8cfc1e2aa2ba5d09c857b35f2381ed7beabe9", kill_on_drop: false }` [INFO] [stdout] f88b46a18ccebaf2738b88d1a0b8cfc1e2aa2ba5d09c857b35f2381ed7beabe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 550cba90c1179c49b43d89119d2b50588cd81a366cebb84e143a6b2853b652f3 [INFO] running `Command { std: "docker" "start" "-a" "550cba90c1179c49b43d89119d2b50588cd81a366cebb84e143a6b2853b652f3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `output` [INFO] [stderr] --> src/child.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{output, cursor::Cursor}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/child.rs:13:39 [INFO] [stderr] | [INFO] [stderr] 13 | }, runtime::Runtime, sync::mpsc::{self, UnboundedReceiver}}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `clone`, `slice::Iter` [INFO] [stderr] --> src/state.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{clone, collections::HashMap, slice::Iter}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Child` [INFO] [stderr] --> src/output.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Child(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/output.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Input` [INFO] [stderr] --> src/output.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Input(Cursor), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/output.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Exec` [INFO] [stderr] --> src/output.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Exec(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OutputType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/output.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `recv` [INFO] [stderr] --> src/output.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | recv: Receiver, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/output.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `input` [INFO] [stderr] --> src/output.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | input: Cursor, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/output.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `output` [INFO] [stderr] --> src/output.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | output: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/output.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/output.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(recv: Receiver) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `run_output` [INFO] [stderr] --> src/output.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn run_output(mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_buffer` [INFO] [stderr] --> src/output.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | async fn print_buffer( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `viri` (bin "viri" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/viri-e3f2b68c82452e04) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cursor::tests::move_cursor_left ... ok [INFO] [stdout] test cursor::tests::move_cursor_right ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "550cba90c1179c49b43d89119d2b50588cd81a366cebb84e143a6b2853b652f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "550cba90c1179c49b43d89119d2b50588cd81a366cebb84e143a6b2853b652f3", kill_on_drop: false }` [INFO] [stdout] 550cba90c1179c49b43d89119d2b50588cd81a366cebb84e143a6b2853b652f3