[INFO] fetching crate metalmq 0.1.0... [INFO] testing metalmq-0.1.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate metalmq 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate metalmq 0.1.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate metalmq 0.1.0 [INFO] finished tweaking crates.io crate metalmq 0.1.0 [INFO] tweaked toml for crates.io crate metalmq 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate metalmq 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 96ec741f740db9c8fec2a9aa774095eb97504f11849313ddf5c03964a4041bf0 [INFO] running `Command { std: "docker" "start" "-a" "96ec741f740db9c8fec2a9aa774095eb97504f11849313ddf5c03964a4041bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96ec741f740db9c8fec2a9aa774095eb97504f11849313ddf5c03964a4041bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ec741f740db9c8fec2a9aa774095eb97504f11849313ddf5c03964a4041bf0", kill_on_drop: false }` [INFO] [stdout] 96ec741f740db9c8fec2a9aa774095eb97504f11849313ddf5c03964a4041bf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3d9a828dd241eb694dbce144a64d7a2148f04cb20ad83fd17c6503ac8fb1fc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be3d9a828dd241eb694dbce144a64d7a2148f04cb20ad83fd17c6503ac8fb1fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling metalmq-codec v0.2.0 [INFO] [stderr] Compiling metalmq-client v0.2.0 [INFO] [stderr] Compiling metalmq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `manager::ExchangeManager` [INFO] [stdout] --> src/client/state.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::exchange::{handler::ExchangeCommandSink, handler::ExchangeCommand, manager::ExchangeManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manager::QueueManager` [INFO] [stdout] --> src/client/state.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::queue::{manager::QueueManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `InitFn` [INFO] [stdout] --> src/bdd.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type InitFn = fn() -> Pin>>>; [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: `StepFn` [INFO] [stdout] --> src/bdd.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type StepFn = for<'r> fn(&'r mut W) -> Pin> + 'r>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Step` [INFO] [stdout] --> src/bdd.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Steps` [INFO] [stdout] --> src/bdd.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Steps { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `feature` [INFO] [stdout] --> src/bdd.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn feature(text: &str, f: InitFn) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `given` [INFO] [stdout] --> src/bdd.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn given(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `when` [INFO] [stdout] --> src/bdd.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn when(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/bdd.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn then(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/bdd.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fail` [INFO] [stdout] --> src/bdd.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn fail(error: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/bdd.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn write(step: &Step) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_client_error` [INFO] [stdout] --> src/bdd.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn to_client_error(result: Result) -> metalmq_client::ClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queues` [INFO] [stdout] --> src/client/state.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | queues: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/queue.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: String, [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 21.12s [INFO] running `Command { std: "docker" "inspect" "be3d9a828dd241eb694dbce144a64d7a2148f04cb20ad83fd17c6503ac8fb1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3d9a828dd241eb694dbce144a64d7a2148f04cb20ad83fd17c6503ac8fb1fc", kill_on_drop: false }` [INFO] [stdout] be3d9a828dd241eb694dbce144a64d7a2148f04cb20ad83fd17c6503ac8fb1fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ba41c676bb1d76d47f1f98a7ca1ee8883ca5177ff3a6d47d83de9c8d580168 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b9ba41c676bb1d76d47f1f98a7ca1ee8883ca5177ff3a6d47d83de9c8d580168", kill_on_drop: false }` [INFO] [stderr] Compiling metalmq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `manager::ExchangeManager` [INFO] [stdout] --> src/client/state.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::exchange::{handler::ExchangeCommandSink, handler::ExchangeCommand, manager::ExchangeManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manager::QueueManager` [INFO] [stdout] --> src/client/state.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::queue::{manager::QueueManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `InitFn` [INFO] [stdout] --> src/bdd.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type InitFn = fn() -> Pin>>>; [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: `StepFn` [INFO] [stdout] --> src/bdd.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type StepFn = for<'r> fn(&'r mut W) -> Pin> + 'r>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Step` [INFO] [stdout] --> src/bdd.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Steps` [INFO] [stdout] --> src/bdd.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Steps { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `feature` [INFO] [stdout] --> src/bdd.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn feature(text: &str, f: InitFn) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `given` [INFO] [stdout] --> src/bdd.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn given(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `when` [INFO] [stdout] --> src/bdd.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn when(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/bdd.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn then(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/bdd.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fail` [INFO] [stdout] --> src/bdd.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn fail(error: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/bdd.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn write(step: &Step) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_client_error` [INFO] [stdout] --> src/bdd.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn to_client_error(result: Result) -> metalmq_client::ClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queues` [INFO] [stdout] --> src/client/state.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | queues: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/queue.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::metalmq_client as client` [INFO] [stdout] --> tests/conn.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::metalmq_client as client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `metalmq` [INFO] [stdout] --> tests/publish.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use metalmq::bdd::{init, step, Steps}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `metalmq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metalmq` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `default_connection` [INFO] [stdout] --> tests/helper/conn.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) async fn default_connection(exchange: &str, queue: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_client_error` [INFO] [stdout] --> tests/helper/conn.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn to_client_error(result: Result) -> ClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `metalmq` [INFO] [stdout] --> tests/exchange.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use metalmq::bdd::{init, step, Steps}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `metalmq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metalmq_client as client` [INFO] [stdout] --> tests/exchange.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use metalmq_client as client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_messages` [INFO] [stdout] --> tests/helper/conn.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) async fn consume_messages<'a>(client: &'a Client, channel: Channel, queue: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::metalmq_client as client` [INFO] [stdout] --> tests/consume.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::metalmq_client as client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `helper::conn::default_connection` [INFO] [stdout] --> tests/consume.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use helper::conn::default_connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> tests/consume.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::{oneshot}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manager::ExchangeManager` [INFO] [stdout] --> src/client/state.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::exchange::{handler::ExchangeCommandSink, handler::ExchangeCommand, manager::ExchangeManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manager::QueueManager` [INFO] [stdout] --> src/client/state.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::queue::{manager::QueueManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_connection` [INFO] [stdout] --> tests/helper/conn.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) async fn default_connection(exchange: &str, queue: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_client_error` [INFO] [stdout] --> tests/helper/conn.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn to_client_error(result: Result) -> ClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_messages` [INFO] [stdout] --> tests/helper/conn.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) async fn consume_messages<'a>(client: &'a Client, channel: Channel, queue: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `InitFn` [INFO] [stdout] --> src/bdd.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type InitFn = fn() -> Pin>>>; [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: `StepFn` [INFO] [stdout] --> src/bdd.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type StepFn = for<'r> fn(&'r mut W) -> Pin> + 'r>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Step` [INFO] [stdout] --> src/bdd.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Steps` [INFO] [stdout] --> src/bdd.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Steps { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `feature` [INFO] [stdout] --> src/bdd.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn feature(text: &str, f: InitFn) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `given` [INFO] [stdout] --> src/bdd.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn given(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `when` [INFO] [stdout] --> src/bdd.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn when(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/bdd.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn then(&mut self, text: &str, f: StepFn) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/bdd.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fail` [INFO] [stdout] --> src/bdd.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn fail(error: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/bdd.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn write(step: &Step) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_client_error` [INFO] [stdout] --> src/bdd.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn to_client_error(result: Result) -> metalmq_client::ClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queues` [INFO] [stdout] --> src/client/state.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | queues: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/queue.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b9ba41c676bb1d76d47f1f98a7ca1ee8883ca5177ff3a6d47d83de9c8d580168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ba41c676bb1d76d47f1f98a7ca1ee8883ca5177ff3a6d47d83de9c8d580168", kill_on_drop: false }` [INFO] [stdout] b9ba41c676bb1d76d47f1f98a7ca1ee8883ca5177ff3a6d47d83de9c8d580168