[INFO] cloning repository https://github.com/coatsd/rust_espresso_maker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coatsd/rust_espresso_maker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoatsd%2Frust_espresso_maker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoatsd%2Frust_espresso_maker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5df27d98246c66e1e7cf2cf44ccad04b910af17c [INFO] testing coatsd/rust_espresso_maker 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%2Fcoatsd%2Frust_espresso_maker" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coatsd/rust_espresso_maker 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/coatsd/rust_espresso_maker [INFO] finished tweaking git repo https://github.com/coatsd/rust_espresso_maker [INFO] tweaked toml for git repo https://github.com/coatsd/rust_espresso_maker written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/coatsd/rust_espresso_maker 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] a28abe7eac8c23602b037436aeac3b5d0a769f69514dcf1c20ca108e555f02e9 [INFO] running `Command { std: "docker" "start" "-a" "a28abe7eac8c23602b037436aeac3b5d0a769f69514dcf1c20ca108e555f02e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a28abe7eac8c23602b037436aeac3b5d0a769f69514dcf1c20ca108e555f02e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28abe7eac8c23602b037436aeac3b5d0a769f69514dcf1c20ca108e555f02e9", kill_on_drop: false }` [INFO] [stdout] a28abe7eac8c23602b037436aeac3b5d0a769f69514dcf1c20ca108e555f02e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 983230897a8869ae6821441a5f8d84adb6f58f6f51abd3ad050b623ac0968f55 [INFO] running `Command { std: "docker" "start" "-a" "983230897a8869ae6821441a5f8d84adb6f58f6f51abd3ad050b623ac0968f55", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling espresso_maker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/message_based.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time, thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/message_based.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/message_based.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/message_based.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(s: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_ingredient` [INFO] [stdout] --> src/message_based.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn add_ingredient(mut self, i: Ingredient) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_checks` [INFO] [stdout] --> src/message_based.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn run_checks(t_o: u64, s: Size) -> [Result<(), &'static str>; 5] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `message_based_main` [INFO] [stdout] --> src/message_based.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn message_based_main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAPACITY` [INFO] [stdout] --> src/machine_components.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CAPACITY: f32 = 64.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/machine_components.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/machine_components.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Espresso` [INFO] [stdout] --> src/machine_components.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | Espresso, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Milk` [INFO] [stdout] --> src/machine_components.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Milk, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Small` [INFO] [stdout] --> src/machine_components.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Medium` [INFO] [stdout] --> src/machine_components.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Large` [INFO] [stdout] --> src/machine_components.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grind_beans` [INFO] [stdout] --> src/machine_components.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn grind_beans(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `press` [INFO] [stdout] --> src/machine_components.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn press(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `froth` [INFO] [stdout] --> src/machine_components.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn froth(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/message_based.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time, thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/message_based.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/message_based.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_ingredient` [INFO] [stdout] --> src/message_based.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn add_ingredient(mut self, i: Ingredient) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAPACITY` [INFO] [stdout] --> src/machine_components.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CAPACITY: f32 = 64.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/machine_components.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/machine_components.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Espresso` [INFO] [stdout] --> src/machine_components.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | Espresso, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Milk` [INFO] [stdout] --> src/machine_components.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Milk, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Small` [INFO] [stdout] --> src/machine_components.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Large` [INFO] [stdout] --> src/machine_components.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grind_beans` [INFO] [stdout] --> src/machine_components.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn grind_beans(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `press` [INFO] [stdout] --> src/machine_components.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn press(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `froth` [INFO] [stdout] --> src/machine_components.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn froth(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.41s [INFO] running `Command { std: "docker" "inspect" "983230897a8869ae6821441a5f8d84adb6f58f6f51abd3ad050b623ac0968f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983230897a8869ae6821441a5f8d84adb6f58f6f51abd3ad050b623ac0968f55", kill_on_drop: false }` [INFO] [stdout] 983230897a8869ae6821441a5f8d84adb6f58f6f51abd3ad050b623ac0968f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 71cac9ee46648ad3d6389234f060178e163ebc22480077f438a59bf241c74ffe [INFO] running `Command { std: "docker" "start" "-a" "71cac9ee46648ad3d6389234f060178e163ebc22480077f438a59bf241c74ffe", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/message_based.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time, thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/message_based.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/message_based.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/message_based.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(s: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_ingredient` [INFO] [stdout] --> src/message_based.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn add_ingredient(mut self, i: Ingredient) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_checks` [INFO] [stdout] --> src/message_based.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn run_checks(t_o: u64, s: Size) -> [Result<(), &'static str>; 5] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `message_based_main` [INFO] [stdout] --> src/message_based.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn message_based_main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAPACITY` [INFO] [stdout] --> src/machine_components.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CAPACITY: f32 = 64.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/machine_components.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/machine_components.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Espresso` [INFO] [stdout] --> src/machine_components.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | Espresso, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Milk` [INFO] [stdout] --> src/machine_components.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Milk, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Small` [INFO] [stdout] --> src/machine_components.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Medium` [INFO] [stdout] --> src/machine_components.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Large` [INFO] [stdout] --> src/machine_components.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling espresso_maker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `grind_beans` [INFO] [stdout] --> src/machine_components.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn grind_beans(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `press` [INFO] [stdout] --> src/machine_components.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn press(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `froth` [INFO] [stdout] --> src/machine_components.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn froth(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/message_based.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time, thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/message_based.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time, thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/message_based.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/message_based.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_ingredient` [INFO] [stdout] --> src/message_based.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn add_ingredient(mut self, i: Ingredient) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAPACITY` [INFO] [stdout] --> src/machine_components.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CAPACITY: f32 = 64.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/machine_components.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/machine_components.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Espresso` [INFO] [stdout] --> src/machine_components.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | Espresso, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Milk` [INFO] [stdout] --> src/machine_components.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Milk, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Small` [INFO] [stdout] --> src/machine_components.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Large` [INFO] [stdout] --> src/machine_components.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grind_beans` [INFO] [stdout] --> src/machine_components.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn grind_beans(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `press` [INFO] [stdout] --> src/machine_components.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn press(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `froth` [INFO] [stdout] --> src/machine_components.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn froth(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/message_based.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/message_based.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/message_based.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(s: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_ingredient` [INFO] [stdout] --> src/message_based.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn add_ingredient(mut self, i: Ingredient) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_checks` [INFO] [stdout] --> src/message_based.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn run_checks(t_o: u64, s: Size) -> [Result<(), &'static str>; 5] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `message_based_main` [INFO] [stdout] --> src/message_based.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn message_based_main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAPACITY` [INFO] [stdout] --> src/machine_components.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CAPACITY: f32 = 64.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `S` [INFO] [stdout] --> src/machine_components.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type S = mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/machine_components.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | type R = mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Espresso` [INFO] [stdout] --> src/machine_components.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | Espresso, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Milk` [INFO] [stdout] --> src/machine_components.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Milk, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Small` [INFO] [stdout] --> src/machine_components.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Medium` [INFO] [stdout] --> src/machine_components.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Large` [INFO] [stdout] --> src/machine_components.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/machine_components.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grind_beans` [INFO] [stdout] --> src/machine_components.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn grind_beans(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `press` [INFO] [stdout] --> src/machine_components.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn press(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispense` [INFO] [stdout] --> src/machine_components.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `froth` [INFO] [stdout] --> src/machine_components.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn froth(timeout: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.31s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/espresso_maker-d620be8651131cdf) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/espresso_maker-df7667e29c9b06cc) [INFO] running `Command { std: "docker" "inspect" "71cac9ee46648ad3d6389234f060178e163ebc22480077f438a59bf241c74ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71cac9ee46648ad3d6389234f060178e163ebc22480077f438a59bf241c74ffe", kill_on_drop: false }` [INFO] [stdout] 71cac9ee46648ad3d6389234f060178e163ebc22480077f438a59bf241c74ffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 00598ef16e7477e878a5ea42e8ebacd2e48aee4c762ef455560505668adacf47 [INFO] running `Command { std: "docker" "start" "-a" "00598ef16e7477e878a5ea42e8ebacd2e48aee4c762ef455560505668adacf47", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `thread`, `time` [INFO] [stderr] --> src/message_based.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{time, thread}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `S` [INFO] [stderr] --> src/message_based.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | type S = mpsc::Sender; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `R` [INFO] [stderr] --> src/message_based.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | type R = mpsc::Receiver; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/message_based.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | fn new(s: Size) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_ingredient` [INFO] [stderr] --> src/message_based.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | fn add_ingredient(mut self, i: Ingredient) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_checks` [INFO] [stderr] --> src/message_based.rs:72:4 [INFO] [stderr] | [INFO] [stderr] 72 | fn run_checks(t_o: u64, s: Size) -> [Result<(), &'static str>; 5] { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `message_based_main` [INFO] [stderr] --> src/message_based.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn message_based_main() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CAPACITY` [INFO] [stderr] --> src/machine_components.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const CAPACITY: f32 = 64.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `S` [INFO] [stderr] --> src/machine_components.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | type S = mpsc::Sender; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `R` [INFO] [stderr] --> src/machine_components.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | type R = mpsc::Receiver; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Espresso` [INFO] [stderr] --> src/machine_components.rs:18:2 [INFO] [stderr] | [INFO] [stderr] 18 | Espresso, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Milk` [INFO] [stderr] --> src/machine_components.rs:19:2 [INFO] [stderr] | [INFO] [stderr] 19 | Milk, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Small` [INFO] [stderr] --> src/machine_components.rs:33:2 [INFO] [stderr] | [INFO] [stderr] 33 | Small, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/machine_components.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Medium` [INFO] [stderr] --> src/machine_components.rs:34:2 [INFO] [stderr] | [INFO] [stderr] 34 | Medium, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/machine_components.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Large` [INFO] [stderr] --> src/machine_components.rs:35:2 [INFO] [stderr] | [INFO] [stderr] 35 | Large, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Size` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/machine_components.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `grind_beans` [INFO] [stderr] --> src/machine_components.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn grind_beans(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dispense` [INFO] [stderr] --> src/machine_components.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `press` [INFO] [stderr] --> src/machine_components.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn press(timeout: u64) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dispense` [INFO] [stderr] --> src/machine_components.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn dispense(s: Size, timeout: u64) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `froth` [INFO] [stderr] --> src/machine_components.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn froth(timeout: u64) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `espresso_maker` (lib) generated 20 warnings [INFO] [stderr] warning: `espresso_maker` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `espresso_maker` (bin "espresso_maker" test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/espresso_maker-d620be8651131cdf) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/espresso_maker-df7667e29c9b06cc) [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] [stderr] Doc-tests espresso_maker [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.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "00598ef16e7477e878a5ea42e8ebacd2e48aee4c762ef455560505668adacf47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00598ef16e7477e878a5ea42e8ebacd2e48aee4c762ef455560505668adacf47", kill_on_drop: false }` [INFO] [stdout] 00598ef16e7477e878a5ea42e8ebacd2e48aee4c762ef455560505668adacf47