[INFO] cloning repository https://github.com/cnsr/rusty-anna [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cnsr/rusty-anna" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcnsr%2Frusty-anna", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcnsr%2Frusty-anna'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b7577f84ce153a5d6d46bfb45690923bdf2d6f7 [INFO] testing cnsr/rusty-anna against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcnsr%2Frusty-anna" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cnsr/rusty-anna on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cnsr/rusty-anna [INFO] finished tweaking git repo https://github.com/cnsr/rusty-anna [INFO] tweaked toml for git repo https://github.com/cnsr/rusty-anna written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/cnsr/rusty-anna already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 231bf496c162ae4113b91cdd2625a09a13afca498e9e14339ed0f23f8ce73c6f [INFO] running `Command { std: "docker" "start" "-a" "231bf496c162ae4113b91cdd2625a09a13afca498e9e14339ed0f23f8ce73c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "231bf496c162ae4113b91cdd2625a09a13afca498e9e14339ed0f23f8ce73c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231bf496c162ae4113b91cdd2625a09a13afca498e9e14339ed0f23f8ce73c6f", kill_on_drop: false }` [INFO] [stdout] 231bf496c162ae4113b91cdd2625a09a13afca498e9e14339ed0f23f8ce73c6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4ec41dc9aca34d3b0c681ebe9a6ce8ffad8d76ba5480529c0f0ca0c3b7b8594 [INFO] running `Command { std: "docker" "start" "-a" "d4ec41dc9aca34d3b0c681ebe9a6ce8ffad8d76ba5480529c0f0ca0c3b7b8594", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling kotapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/connection/model.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/connection/model.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::commands::{Command, CommandSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, `warn` [INFO] [stdout] --> src/message/model.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/commands/commandset.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection/model.rs:94:42 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn add_to_queue(&mut self, mut message: InboundMessage) -> Result<(), anyhow::Error> { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_successful` [INFO] [stdout] --> src/message/model.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_successful(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `limit_messages` [INFO] [stdout] --> src/message/model.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | limit_messages: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[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: `limit_bot_messages` [INFO] [stdout] --> src/message/model.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | limit_bot_messages: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[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: `limit_outbound_messages` [INFO] [stdout] --> src/message/model.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | limit_outbound_messages: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[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: `add_to_history` [INFO] [stdout] --> src/message/model.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | pub async fn add_to_history(&mut self, message: InboundMessage) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cleanup` [INFO] [stdout] --> src/message/model.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | pub async fn cleanup(&mut self) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.85s [INFO] running `Command { std: "docker" "inspect" "d4ec41dc9aca34d3b0c681ebe9a6ce8ffad8d76ba5480529c0f0ca0c3b7b8594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ec41dc9aca34d3b0c681ebe9a6ce8ffad8d76ba5480529c0f0ca0c3b7b8594", kill_on_drop: false }` [INFO] [stdout] d4ec41dc9aca34d3b0c681ebe9a6ce8ffad8d76ba5480529c0f0ca0c3b7b8594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d327846ccad9bc32a4ec7b8d9b978db4fa29bf791c81047bbae921ffc748e8d7 [INFO] running `Command { std: "docker" "start" "-a" "d327846ccad9bc32a4ec7b8d9b978db4fa29bf791c81047bbae921ffc748e8d7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling kotapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/connection/model.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/connection/model.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::commands::{Command, CommandSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, `warn` [INFO] [stdout] --> src/message/model.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/commands/commandset.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection/model.rs:94:42 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn add_to_queue(&mut self, mut message: InboundMessage) -> Result<(), anyhow::Error> { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_successful` [INFO] [stdout] --> src/message/model.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_successful(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `limit_messages` [INFO] [stdout] --> src/message/model.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | limit_messages: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[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: `limit_bot_messages` [INFO] [stdout] --> src/message/model.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | limit_bot_messages: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[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: `limit_outbound_messages` [INFO] [stdout] --> src/message/model.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | limit_outbound_messages: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[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: `add_to_history` [INFO] [stdout] --> src/message/model.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | pub async fn add_to_history(&mut self, message: InboundMessage) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cleanup` [INFO] [stdout] --> src/message/model.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | pub async fn cleanup(&mut self) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.13s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/kotapi-98f29d31a7ed0b37) [INFO] running `Command { std: "docker" "inspect" "d327846ccad9bc32a4ec7b8d9b978db4fa29bf791c81047bbae921ffc748e8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d327846ccad9bc32a4ec7b8d9b978db4fa29bf791c81047bbae921ffc748e8d7", kill_on_drop: false }` [INFO] [stdout] d327846ccad9bc32a4ec7b8d9b978db4fa29bf791c81047bbae921ffc748e8d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05c1ddc163c562cd696af7d1c25fae19d3ad5dffe77b77ab5f9610936287b731 [INFO] running `Command { std: "docker" "start" "-a" "05c1ddc163c562cd696af7d1c25fae19d3ad5dffe77b77ab5f9610936287b731", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `error`, `warn` [INFO] [stderr] --> src/connection/model.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{info, warn, error, debug}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Command` [INFO] [stderr] --> src/connection/model.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::commands::{Command, CommandSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `info`, `warn` [INFO] [stderr] --> src/message/model.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use log::{info, warn, error, debug}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `warn` [INFO] [stderr] --> src/commands/commandset.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | use log::{info, warn, error, debug}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/connection/model.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn add_to_queue(&mut self, mut message: InboundMessage) -> Result<(), anyhow::Error> { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_successful` [INFO] [stderr] --> src/message/model.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn is_successful(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `limit_messages` [INFO] [stderr] --> src/message/model.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | limit_messages: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/model.rs:88:10 [INFO] [stderr] | [INFO] [stderr] 88 | #[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: `limit_bot_messages` [INFO] [stderr] --> src/message/model.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | limit_bot_messages: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/model.rs:88:10 [INFO] [stderr] | [INFO] [stderr] 88 | #[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: `limit_outbound_messages` [INFO] [stderr] --> src/message/model.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | limit_outbound_messages: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MessageQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/message/model.rs:88:10 [INFO] [stderr] | [INFO] [stderr] 88 | #[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: `add_to_history` [INFO] [stderr] --> src/message/model.rs:204:18 [INFO] [stderr] | [INFO] [stderr] 204 | pub async fn add_to_history(&mut self, message: InboundMessage) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cleanup` [INFO] [stderr] --> src/message/model.rs:214:18 [INFO] [stderr] | [INFO] [stderr] 214 | pub async fn cleanup(&mut self) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kotapi` (bin "kotapi" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kotapi-98f29d31a7ed0b37) [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" "05c1ddc163c562cd696af7d1c25fae19d3ad5dffe77b77ab5f9610936287b731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c1ddc163c562cd696af7d1c25fae19d3ad5dffe77b77ab5f9610936287b731", kill_on_drop: false }` [INFO] [stdout] 05c1ddc163c562cd696af7d1c25fae19d3ad5dffe77b77ab5f9610936287b731