[INFO] cloning repository https://github.com/kvsari/message-queue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvsari/message-queue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvsari%2Fmessage-queue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvsari%2Fmessage-queue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90906a0868b0a111bc05c0fb0d311bafde562c52 [INFO] testing kvsari/message-queue against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvsari%2Fmessage-queue" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kvsari/message-queue 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/kvsari/message-queue [INFO] finished tweaking git repo https://github.com/kvsari/message-queue [INFO] tweaked toml for git repo https://github.com/kvsari/message-queue written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/kvsari/message-queue 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] Downloading crates ... [INFO] [stderr] Downloaded tokio-core v0.1.9 [INFO] [stderr] Downloaded tokio-io v0.1.2 [INFO] [stderr] Downloaded mio v0.6.10 [INFO] [stderr] Downloaded net2 v0.2.30 [INFO] [stderr] Downloaded derive-getters v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] e885981d9f8280119416fb4258064ef39901c681e767d54f329d93e58cfaed02 [INFO] running `Command { std: "docker" "start" "-a" "e885981d9f8280119416fb4258064ef39901c681e767d54f329d93e58cfaed02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e885981d9f8280119416fb4258064ef39901c681e767d54f329d93e58cfaed02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e885981d9f8280119416fb4258064ef39901c681e767d54f329d93e58cfaed02", kill_on_drop: false }` [INFO] [stdout] e885981d9f8280119416fb4258064ef39901c681e767d54f329d93e58cfaed02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 0b5ce8c76787b63f5af4bc583d95617a26bb4cc60db93f8016ba3e6003b1c1ea [INFO] running `Command { std: "docker" "start" "-a" "0b5ce8c76787b63f5af4bc583d95617a26bb4cc60db93f8016ba3e6003b1c1ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling net2 v0.2.30 [INFO] [stderr] Compiling bytes v0.4.4 [INFO] [stderr] Compiling mio v0.6.10 [INFO] [stderr] Compiling tokio-io v0.1.2 [INFO] [stderr] Compiling tokio-core v0.1.9 [INFO] [stderr] Compiling derive-getters v0.0.2 [INFO] [stderr] Compiling message-queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stream` [INFO] [stdout] --> src/mqueue.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{Future, BoxFuture, Sink, Stream, stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::sync::oneshot` [INFO] [stdout] --> src/mqueue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/mqueue.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::sync::mpsc::{self, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dispenser` [INFO] [stdout] --> src/mqueue.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use endpoint::{self, Dispenser}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/endpoint.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use polymorphic::{Record, Entry}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | data: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - data: Box, [INFO] [stdout] 33 + data: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | operation: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - operation: Box, [INFO] [stdout] 34 + operation: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] 38 + pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:38:66 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] 38 + pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] 48 + pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:48:65 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] 48 + pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/polymorphic.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | fn execute(&mut self, dispenser: &mut Any); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn execute(&mut self, dispenser: &mut Any); [INFO] [stdout] 55 + fn execute(&mut self, dispenser: &mut dyn Any); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/polymorphic.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] 72 + fn execute(&mut self, dispenser: &mut dyn Any) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/polymorphic.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] 99 + fn execute(&mut self, dispenser: &mut dyn Any) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/mqueue.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let (_, _, data, mut operation) = env.open(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/polymorphic.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(mut dsp) = dispenser.downcast_mut::>() { [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: variable does not need to be mutable [INFO] [stdout] --> src/polymorphic.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(mut dsp) = dispenser.downcast_mut::>() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Yeeehaw` [INFO] [stdout] --> src/mqueue.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Yeeehaw, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqueue.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone)] [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: `Endpoint1` [INFO] [stdout] --> src/mqueue.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Endpoint1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Target` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqueue.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Copy, Clone)] [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: `Endpoint2` [INFO] [stdout] --> src/mqueue.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Endpoint2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Target` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqueue.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Copy, Clone)] [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: `num` [INFO] [stdout] --> src/polymorphic.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | num: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Record` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/polymorphic.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone, Getters)] [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "0b5ce8c76787b63f5af4bc583d95617a26bb4cc60db93f8016ba3e6003b1c1ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5ce8c76787b63f5af4bc583d95617a26bb4cc60db93f8016ba3e6003b1c1ea", kill_on_drop: false }` [INFO] [stdout] 0b5ce8c76787b63f5af4bc583d95617a26bb4cc60db93f8016ba3e6003b1c1ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 04647ecda6ef034cedb73bf306a8886b15c8376923512e8b77f15db1214c3a77 [INFO] running `Command { std: "docker" "start" "-a" "04647ecda6ef034cedb73bf306a8886b15c8376923512e8b77f15db1214c3a77", kill_on_drop: false }` [INFO] [stderr] Compiling message-queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `stream` [INFO] [stdout] --> src/mqueue.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{Future, BoxFuture, Sink, Stream, stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::sync::oneshot` [INFO] [stdout] --> src/mqueue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/mqueue.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::sync::mpsc::{self, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dispenser` [INFO] [stdout] --> src/mqueue.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use endpoint::{self, Dispenser}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/endpoint.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use polymorphic::{Record, Entry}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | data: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - data: Box, [INFO] [stdout] 33 + data: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | operation: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - operation: Box, [INFO] [stdout] 34 + operation: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] 38 + pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:38:66 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] 38 + pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] 48 + pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqueue.rs:48:65 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] 48 + pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/polymorphic.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | fn execute(&mut self, dispenser: &mut Any); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn execute(&mut self, dispenser: &mut Any); [INFO] [stdout] 55 + fn execute(&mut self, dispenser: &mut dyn Any); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/polymorphic.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] 72 + fn execute(&mut self, dispenser: &mut dyn Any) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/polymorphic.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - fn execute(&mut self, dispenser: &mut Any) { [INFO] [stdout] 99 + fn execute(&mut self, dispenser: &mut dyn Any) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/mqueue.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let (_, _, data, mut operation) = env.open(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/polymorphic.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(mut dsp) = dispenser.downcast_mut::>() { [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: variable does not need to be mutable [INFO] [stdout] --> src/polymorphic.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(mut dsp) = dispenser.downcast_mut::>() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Yeeehaw` [INFO] [stdout] --> src/mqueue.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Yeeehaw, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqueue.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone)] [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: `Endpoint1` [INFO] [stdout] --> src/mqueue.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Endpoint1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Target` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqueue.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Copy, Clone)] [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: `Endpoint2` [INFO] [stdout] --> src/mqueue.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Endpoint2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Target` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/mqueue.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Copy, Clone)] [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: `num` [INFO] [stdout] --> src/polymorphic.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | num: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Record` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/polymorphic.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone, Getters)] [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "04647ecda6ef034cedb73bf306a8886b15c8376923512e8b77f15db1214c3a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04647ecda6ef034cedb73bf306a8886b15c8376923512e8b77f15db1214c3a77", kill_on_drop: false }` [INFO] [stdout] 04647ecda6ef034cedb73bf306a8886b15c8376923512e8b77f15db1214c3a77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] d041a74a36baabaaea1558b747cd8b04d0eea66d86105cf9b0b99350918a2640 [INFO] running `Command { std: "docker" "start" "-a" "d041a74a36baabaaea1558b747cd8b04d0eea66d86105cf9b0b99350918a2640", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `stream` [INFO] [stderr] --> src/mqueue.rs:4:48 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{Future, BoxFuture, Sink, Stream, stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::sync::oneshot` [INFO] [stderr] --> src/mqueue.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Receiver` [INFO] [stderr] --> src/mqueue.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::sync::mpsc::{self, Receiver, Sender}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Dispenser` [INFO] [stderr] --> src/mqueue.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | use endpoint::{self, Dispenser}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Debug` [INFO] [stderr] --> src/endpoint.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Debug; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Entry` [INFO] [stderr] --> src/endpoint.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use polymorphic::{Record, Entry}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mqueue.rs:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | data: Box, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - data: Box, [INFO] [stderr] 33 + data: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mqueue.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | operation: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - operation: Box, [INFO] [stderr] 34 + operation: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mqueue.rs:38:46 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stderr] 38 + pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mqueue.rs:38:66 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stderr] 38 + pub fn new(t: Target, m: Message, d: Box, o: Box) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mqueue.rs:48:48 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stderr] 48 + pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mqueue.rs:48:65 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stderr] 48 + pub fn open(self) -> (Target, Message, Box, Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/polymorphic.rs:55:43 [INFO] [stderr] | [INFO] [stderr] 55 | fn execute(&mut self, dispenser: &mut Any); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 - fn execute(&mut self, dispenser: &mut Any); [INFO] [stderr] 55 + fn execute(&mut self, dispenser: &mut dyn Any); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/polymorphic.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 72 | fn execute(&mut self, dispenser: &mut Any) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 72 - fn execute(&mut self, dispenser: &mut Any) { [INFO] [stderr] 72 + fn execute(&mut self, dispenser: &mut dyn Any) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/polymorphic.rs:99:43 [INFO] [stderr] | [INFO] [stderr] 99 | fn execute(&mut self, dispenser: &mut Any) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - fn execute(&mut self, dispenser: &mut Any) { [INFO] [stderr] 99 + fn execute(&mut self, dispenser: &mut dyn Any) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/mqueue.rs:130:20 [INFO] [stderr] | [INFO] [stderr] 130 | let (_, _, data, mut operation) = env.open(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/polymorphic.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | if let Some(mut dsp) = dispenser.downcast_mut::>() { [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: variable does not need to be mutable [INFO] [stderr] --> src/polymorphic.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | if let Some(mut dsp) = dispenser.downcast_mut::>() { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Yeeehaw` [INFO] [stderr] --> src/mqueue.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Yeeehaw, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/mqueue.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, Copy, Clone)] [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: `Endpoint1` [INFO] [stderr] --> src/mqueue.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | Endpoint1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Target` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/mqueue.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Copy, Clone)] [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: `Endpoint2` [INFO] [stderr] --> src/mqueue.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Endpoint2, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Target` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/mqueue.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Copy, Clone)] [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: `num` [INFO] [stderr] --> src/polymorphic.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | num: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Record` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/polymorphic.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Clone, Getters)] [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: `message-queue` (bin "message-queue" test) generated 22 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/message_queue-8eb476cb4ee16bd4) [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" "d041a74a36baabaaea1558b747cd8b04d0eea66d86105cf9b0b99350918a2640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d041a74a36baabaaea1558b747cd8b04d0eea66d86105cf9b0b99350918a2640", kill_on_drop: false }` [INFO] [stdout] d041a74a36baabaaea1558b747cd8b04d0eea66d86105cf9b0b99350918a2640