[INFO] cloning repository https://github.com/huseyinyilmaz/goldfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huseyinyilmaz/goldfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuseyinyilmaz%2Fgoldfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuseyinyilmaz%2Fgoldfish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee44cfc4b819c384915f8013f7c4a86c418496f3 [INFO] testing huseyinyilmaz/goldfish against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuseyinyilmaz%2Fgoldfish" "/workspace/builds/worker-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huseyinyilmaz/goldfish 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/huseyinyilmaz/goldfish [INFO] finished tweaking git repo https://github.com/huseyinyilmaz/goldfish [INFO] tweaked toml for git repo https://github.com/huseyinyilmaz/goldfish written to /workspace/builds/worker-66/source/Cargo.toml [INFO] crate git repo https://github.com/huseyinyilmaz/goldfish 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] [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-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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] 1f45109146fffc9a0b2664a376a265d49cf1b85b1b3ea344eb6311a39afa2c1e [INFO] running `Command { std: "docker" "start" "-a" "1f45109146fffc9a0b2664a376a265d49cf1b85b1b3ea344eb6311a39afa2c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f45109146fffc9a0b2664a376a265d49cf1b85b1b3ea344eb6311a39afa2c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f45109146fffc9a0b2664a376a265d49cf1b85b1b3ea344eb6311a39afa2c1e", kill_on_drop: false }` [INFO] [stdout] 1f45109146fffc9a0b2664a376a265d49cf1b85b1b3ea344eb6311a39afa2c1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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] 1d8dc21135f96d383bf62802bb3f2f695f200fa45d2484409704abe376aa4d19 [INFO] running `Command { std: "docker" "start" "-a" "1d8dc21135f96d383bf62802bb3f2f695f200fa45d2484409704abe376aa4d19", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nb-connect v1.0.3 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling goldfish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_std::io::Read` [INFO] [stdout] --> src/handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::Write` [INFO] [stdout] --> src/handler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::BufReader` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::stream::Stream` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextError`, `ErrorKind`, `ParseError`, `VerboseError`, `anychar`, `context`, `convert_error`, `eof`, `multi::many1` [INFO] [stdout] --> src/parser.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | character::complete::{alphanumeric1, anychar, space1}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | eof, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/parser.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let (input, key) = parse_key(input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf_size` [INFO] [stdout] --> src/parser.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let buf_size = reader.read_until(b'\n', &mut buf).await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version_text` [INFO] [stdout] --> src/parser.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let version_text: Vec = b"version\r\n".to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quit_text` [INFO] [stdout] --> src/parser.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let quit_text: Vec = b"quit\r\n".to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quit_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/command.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn remove_newline(s: &str) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> src/handler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | current: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Handler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/handler.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: function is never used: `parse_key` [INFO] [stdout] --> src/parser.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_key(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_get` [INFO] [stdout] --> src/parser.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_get(input: &[u8]) -> IResult<&[u8], Command> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Set` [INFO] [stdout] --> src/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Set, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Add` [INFO] [stdout] --> src/command.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Replace` [INFO] [stdout] --> src/command.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Replace, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Append` [INFO] [stdout] --> src/command.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Append, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Prepend` [INFO] [stdout] --> src/command.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Prepend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Cas` [INFO] [stdout] --> src/command.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Cas, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Get` [INFO] [stdout] --> src/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gets` [INFO] [stdout] --> src/command.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Gets, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gat` [INFO] [stdout] --> src/command.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Gat, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gats` [INFO] [stdout] --> src/command.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Gats, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `remove_newline` [INFO] [stdout] --> src/command.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn remove_newline(s: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "1d8dc21135f96d383bf62802bb3f2f695f200fa45d2484409704abe376aa4d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8dc21135f96d383bf62802bb3f2f695f200fa45d2484409704abe376aa4d19", kill_on_drop: false }` [INFO] [stdout] 1d8dc21135f96d383bf62802bb3f2f695f200fa45d2484409704abe376aa4d19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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] bb158d244a91595fad7849a17d0a4204d55680c616cb4690d18c3cf85b8eb96a [INFO] running `Command { std: "docker" "start" "-a" "bb158d244a91595fad7849a17d0a4204d55680c616cb4690d18c3cf85b8eb96a", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `async_std::io::Read` [INFO] [stdout] --> src/handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::Write` [INFO] [stdout] --> src/handler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::BufReader` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::stream::Stream` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextError`, `ErrorKind`, `ParseError`, `VerboseError`, `anychar`, `context`, `convert_error`, `eof`, `multi::many1` [INFO] [stdout] --> src/parser.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | character::complete::{alphanumeric1, anychar, space1}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | eof, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/parser.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let (input, key) = parse_key(input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf_size` [INFO] [stdout] --> src/parser.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let buf_size = reader.read_until(b'\n', &mut buf).await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version_text` [INFO] [stdout] --> src/parser.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let version_text: Vec = b"version\r\n".to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quit_text` [INFO] [stdout] --> src/parser.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let quit_text: Vec = b"quit\r\n".to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quit_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/command.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn remove_newline(s: &str) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> src/handler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | current: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Handler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/handler.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: function is never used: `parse_key` [INFO] [stdout] --> src/parser.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_key(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_get` [INFO] [stdout] --> src/parser.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_get(input: &[u8]) -> IResult<&[u8], Command> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Set` [INFO] [stdout] --> src/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Set, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Add` [INFO] [stdout] --> src/command.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Replace` [INFO] [stdout] --> src/command.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Replace, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Append` [INFO] [stdout] --> src/command.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Append, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Prepend` [INFO] [stdout] --> src/command.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Prepend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Cas` [INFO] [stdout] --> src/command.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Cas, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Get` [INFO] [stdout] --> src/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gets` [INFO] [stdout] --> src/command.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Gets, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gat` [INFO] [stdout] --> src/command.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Gat, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gats` [INFO] [stdout] --> src/command.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Gats, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `remove_newline` [INFO] [stdout] --> src/command.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn remove_newline(s: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling goldfish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_std::io::Read` [INFO] [stdout] --> src/handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::Write` [INFO] [stdout] --> src/handler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::BufReader` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::stream::Stream` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextError`, `ErrorKind`, `ParseError`, `VerboseError`, `anychar`, `context`, `convert_error`, `eof`, `multi::many1` [INFO] [stdout] --> src/parser.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | character::complete::{alphanumeric1, anychar, space1}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | eof, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 14 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/parser.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let (input, key) = parse_key(input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf_size` [INFO] [stdout] --> src/parser.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let buf_size = reader.read_until(b'\n', &mut buf).await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version_text` [INFO] [stdout] --> src/parser.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let version_text: Vec = b"version\r\n".to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quit_text` [INFO] [stdout] --> src/parser.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let quit_text: Vec = b"quit\r\n".to_vec(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quit_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/command.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn remove_newline(s: &str) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> src/handler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | current: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Handler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/handler.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: function is never used: `parse_key` [INFO] [stdout] --> src/parser.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_key(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_get` [INFO] [stdout] --> src/parser.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_get(input: &[u8]) -> IResult<&[u8], Command> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Set` [INFO] [stdout] --> src/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Set, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Add` [INFO] [stdout] --> src/command.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Replace` [INFO] [stdout] --> src/command.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Replace, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Append` [INFO] [stdout] --> src/command.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Append, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Prepend` [INFO] [stdout] --> src/command.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Prepend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Cas` [INFO] [stdout] --> src/command.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Cas, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Get` [INFO] [stdout] --> src/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gets` [INFO] [stdout] --> src/command.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Gets, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gat` [INFO] [stdout] --> src/command.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Gat, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `Gats` [INFO] [stdout] --> src/command.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Gats, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq)] [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: `remove_newline` [INFO] [stdout] --> src/command.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn remove_newline(s: &str) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "bb158d244a91595fad7849a17d0a4204d55680c616cb4690d18c3cf85b8eb96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb158d244a91595fad7849a17d0a4204d55680c616cb4690d18c3cf85b8eb96a", kill_on_drop: false }` [INFO] [stdout] bb158d244a91595fad7849a17d0a4204d55680c616cb4690d18c3cf85b8eb96a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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] d45e02d69ecf7097f053a3c7a663c33d6675872ae28c25fc03f1222ae60db505 [INFO] running `Command { std: "docker" "start" "-a" "d45e02d69ecf7097f053a3c7a663c33d6675872ae28c25fc03f1222ae60db505", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `async_std::io::Read` [INFO] [stdout] running 3 tests [INFO] [stderr] --> src/handler.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use async_std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::io::Write` [INFO] [stderr] --> src/handler.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use async_std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::io::BufReader` [INFO] [stderr] --> src/parser.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use async_std::io::BufReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::net::TcpStream` [INFO] [stderr] --> src/parser.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use async_std::net::TcpStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::stream::Stream` [INFO] [stderr] --> src/parser.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use async_std::stream::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ContextError`, `ErrorKind`, `ParseError`, `VerboseError`, `anychar`, `context`, `convert_error`, `eof`, `multi::many1` [INFO] [stderr] --> src/parser.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | character::complete::{alphanumeric1, anychar, space1}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | eof, [INFO] [stderr] | ^^^ [INFO] [stderr] 13 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] 14 | multi::many1, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/parser.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | let (input, key) = parse_key(input)?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf_size` [INFO] [stderr] --> src/parser.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let buf_size = reader.read_until(b'\n', &mut buf).await; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `version_text` [INFO] [stderr] --> src/parser.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let version_text: Vec = b"version\r\n".to_vec(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quit_text` [INFO] [stderr] --> src/parser.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | let quit_text: Vec = b"quit\r\n".to_vec(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quit_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/command.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn remove_newline(s: &str) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current` [INFO] [stderr] --> src/handler.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | current: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Handler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/handler.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[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: function is never used: `parse_key` [INFO] [stderr] --> src/parser.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn parse_key(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_get` [INFO] [stderr] --> src/parser.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn parse_get(input: &[u8]) -> IResult<&[u8], Command> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/parser.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Set` [INFO] [stderr] --> src/command.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Set, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Add` [INFO] [stderr] --> src/command.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Add, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Replace` [INFO] [stderr] --> src/command.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Replace, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Append` [INFO] [stderr] --> src/command.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Append, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Prepend` [INFO] [stderr] --> src/command.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Prepend, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Cas` [INFO] [stderr] --> src/command.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Cas, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Get` [INFO] [stderr] --> src/command.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Get, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Gets` [INFO] [stderr] --> src/command.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Gets, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Gat` [INFO] [stderr] --> src/command.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Gat, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `Gats` [INFO] [stderr] --> src/command.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Gats, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/command.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq)] [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: `remove_newline` [INFO] [stderr] --> src/command.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn remove_newline(s: &str) {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `goldfish` (lib) generated 26 warnings [INFO] [stderr] warning: `goldfish` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/goldfish-e44b5eefea0dfbe1) [INFO] [stdout] test parser::tests::parse_quit ... ok [INFO] [stdout] test parser::tests::parse_quit_and_version ... ok [INFO] [stdout] test parser::tests::parse_version ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/goldfish-ccc821c9ec24e1f1) [INFO] [stderr] Doc-tests goldfish [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d45e02d69ecf7097f053a3c7a663c33d6675872ae28c25fc03f1222ae60db505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45e02d69ecf7097f053a3c7a663c33d6675872ae28c25fc03f1222ae60db505", kill_on_drop: false }` [INFO] [stdout] d45e02d69ecf7097f053a3c7a663c33d6675872ae28c25fc03f1222ae60db505