[INFO] fetching crate mechutil 0.4.12... [INFO] building mechutil-0.4.12 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate mechutil 0.4.12 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mechutil 0.4.12 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mechutil 0.4.12 [INFO] tweaked toml for crates.io crate mechutil 0.4.12 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mechutil 0.4.12 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mechutil 0.4.12 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea917866ac50570f184b08026b8200b41b4657571de21fdad385f8f63d31cf9b [INFO] running `Command { std: "docker" "start" "-a" "ea917866ac50570f184b08026b8200b41b4657571de21fdad385f8f63d31cf9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea917866ac50570f184b08026b8200b41b4657571de21fdad385f8f63d31cf9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea917866ac50570f184b08026b8200b41b4657571de21fdad385f8f63d31cf9b", kill_on_drop: false }` [INFO] [stdout] ea917866ac50570f184b08026b8200b41b4657571de21fdad385f8f63d31cf9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 689abab217de59a5e37d37feef32b58da67baf2229cfcf942c9e8327c1123509 [INFO] running `Command { std: "docker" "start" "-a" "689abab217de59a5e37d37feef32b58da67baf2229cfcf942c9e8327c1123509", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling mechutil v0.4.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserializer`, `Serializer`, and `ser::SerializeStruct` [INFO] [stdout] --> src/command_arg_tuple.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use serde::{Deserialize, Deserializer, Serialize, Serializer, ser::SerializeStruct}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register_value::MechCommandRegisterValue` [INFO] [stdout] --> src/command.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | command_arg_tuple::MechFsmCommandArgTuple, register_value::MechCommandRegisterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/variant.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/subscription/subscription_manager.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::HashMap, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | use tokio::sync::{Mutex, mpsc, oneshot}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SubscriptionBroadcastRx`, `SubscriptionBroadcastTx`, `SubscriptionHandler`, `SubscriptionResponseTx`, and `filter::SubscriptionFilter` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | filter::SubscriptionFilter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | subscription_handler::{ [INFO] [stdout] 74 | SubscriptionBroadcastRx, SubscriptionBroadcastTx, SubscriptionHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | SubscriptionResponseTx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/corelink/udp_client.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Serializer` [INFO] [stdout] --> src/corelink/udp_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use serde_json::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fin` is never read [INFO] [stdout] --> src/command_fsm.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | let mut fin: Option> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/async_bus/async_node_registry.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | filter: Box + Send + Sync>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/object_dictionary.rs:900:47 [INFO] [stdout] | [INFO] [stdout] 900 | MechObjectDictionaryValue::Single(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProcessRoute` is never constructed [INFO] [stdout] --> src/actor.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 131 | enum ActorMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 137 | ProcessRoute { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestNodeChannel` and `Shutdown` are never constructed [INFO] [stdout] --> src/async_bus/async_node_registry.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum AsyncNodeRegistryControlMessage { [INFO] [stdout] | ------------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | RequestNodeChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/bin/command_playground.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `actor::MechActor`, `object_dictionary::MechObjectDictionary`, and `register_value::MechCommandRegisterValue` [INFO] [stdout] --> src/bin/command_playground.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | actor::MechActor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | object_dictionary::MechObjectDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | register_value::MechCommandRegisterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/bin/command_playground.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/bin/command_playground.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | async fn on_startup(&mut self, status: &mut MechFsmStatusTuple) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncIBusNodeHandle` [INFO] [stdout] --> src/bin/ibus_playground.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | is_valid_opmode_transition, AsyncIBusNode, AsyncIBusNodeFactory, AsyncIBusNodeHandle, AsyncIBusOpMode, IBusMessage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/ibus_playground.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::Mutex` and `task::JoinHandle` [INFO] [stdout] --> src/bin/ibus_playground.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::{sync::Mutex, task::JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/bin/ibus_playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::{mpsc, oneshot}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timeout` [INFO] [stdout] --> src/bin/ibus_playground.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::time::{Duration, timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscriptionInformation` is never constructed [INFO] [stdout] --> src/bin/ibus_playground.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct SubscriptionInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.72s [INFO] running `Command { std: "docker" "inspect" "689abab217de59a5e37d37feef32b58da67baf2229cfcf942c9e8327c1123509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689abab217de59a5e37d37feef32b58da67baf2229cfcf942c9e8327c1123509", kill_on_drop: false }` [INFO] [stdout] 689abab217de59a5e37d37feef32b58da67baf2229cfcf942c9e8327c1123509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21d818c905f1321d5c00f50951879f9878f23744889f712a1d1480cc6edd606b [INFO] running `Command { std: "docker" "start" "-a" "21d818c905f1321d5c00f50951879f9878f23744889f712a1d1480cc6edd606b", kill_on_drop: false }` [INFO] [stderr] Compiling mechutil v0.4.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserializer`, `Serializer`, and `ser::SerializeStruct` [INFO] [stdout] --> src/command_arg_tuple.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use serde::{Deserialize, Deserializer, Serialize, Serializer, ser::SerializeStruct}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register_value::MechCommandRegisterValue` [INFO] [stdout] --> src/command.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | command_arg_tuple::MechFsmCommandArgTuple, register_value::MechCommandRegisterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/variant.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/subscription/subscription_manager.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::HashMap, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | use tokio::sync::{Mutex, mpsc, oneshot}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SubscriptionBroadcastRx`, `SubscriptionBroadcastTx`, `SubscriptionHandler`, `SubscriptionResponseTx`, and `filter::SubscriptionFilter` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | filter::SubscriptionFilter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | subscription_handler::{ [INFO] [stdout] 74 | SubscriptionBroadcastRx, SubscriptionBroadcastTx, SubscriptionHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | SubscriptionResponseTx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/corelink/udp_client.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Serializer` [INFO] [stdout] --> src/corelink/udp_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use serde_json::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fin` is never read [INFO] [stdout] --> src/command_fsm.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | let mut fin: Option> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/async_bus/async_node_registry.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | filter: Box + Send + Sync>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/object_dictionary.rs:900:47 [INFO] [stdout] | [INFO] [stdout] 900 | MechObjectDictionaryValue::Single(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProcessRoute` is never constructed [INFO] [stdout] --> src/actor.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 131 | enum ActorMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 137 | ProcessRoute { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestNodeChannel` and `Shutdown` are never constructed [INFO] [stdout] --> src/async_bus/async_node_registry.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum AsyncNodeRegistryControlMessage { [INFO] [stdout] | ------------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | RequestNodeChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/bin/command_playground.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `actor::MechActor`, `object_dictionary::MechObjectDictionary`, and `register_value::MechCommandRegisterValue` [INFO] [stdout] --> src/bin/command_playground.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | actor::MechActor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | object_dictionary::MechObjectDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | register_value::MechCommandRegisterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/bin/command_playground.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/bin/command_playground.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | async fn on_startup(&mut self, status: &mut MechFsmStatusTuple) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncIBusNodeHandle` [INFO] [stdout] --> src/bin/ibus_playground.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | is_valid_opmode_transition, AsyncIBusNode, AsyncIBusNodeFactory, AsyncIBusNodeHandle, AsyncIBusOpMode, IBusMessage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/ibus_playground.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::Mutex` and `task::JoinHandle` [INFO] [stdout] --> src/bin/ibus_playground.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::{sync::Mutex, task::JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/bin/ibus_playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::{mpsc, oneshot}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timeout` [INFO] [stdout] --> src/bin/ibus_playground.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::time::{Duration, timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscriptionInformation` is never constructed [INFO] [stdout] --> src/bin/ibus_playground.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct SubscriptionInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/bin/command_playground.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `actor::MechActor`, `object_dictionary::MechObjectDictionary`, and `register_value::MechCommandRegisterValue` [INFO] [stdout] --> src/bin/command_playground.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | actor::MechActor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | object_dictionary::MechObjectDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | register_value::MechCommandRegisterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/bin/command_playground.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> tests/async_bus_channel_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/async_bus_channel_test.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut chan1, mut chan2) = async_pipeline::(32); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> tests/mech_fsm_tuple_test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/bin/command_playground.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | async fn on_startup(&mut self, status: &mut MechFsmStatusTuple) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncIBusNodeHandle` [INFO] [stdout] --> src/bin/ibus_playground.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | is_valid_opmode_transition, AsyncIBusNode, AsyncIBusNodeFactory, AsyncIBusNodeHandle, AsyncIBusOpMode, IBusMessage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/ibus_playground.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::Mutex` and `task::JoinHandle` [INFO] [stdout] --> src/bin/ibus_playground.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::{sync::Mutex, task::JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/bin/ibus_playground.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::{mpsc, oneshot}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timeout` [INFO] [stdout] --> src/bin/ibus_playground.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::time::{Duration, timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscriptionInformation` is never constructed [INFO] [stdout] --> src/bin/ibus_playground.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct SubscriptionInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer`, `Serializer`, and `ser::SerializeStruct` [INFO] [stdout] --> src/command_arg_tuple.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use serde::{Deserialize, Deserializer, Serialize, Serializer, ser::SerializeStruct}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register_value::MechCommandRegisterValue` [INFO] [stdout] --> src/command.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | command_arg_tuple::MechFsmCommandArgTuple, register_value::MechCommandRegisterValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/variant.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/subscription/subscription_manager.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::HashMap, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | use tokio::sync::{Mutex, mpsc, oneshot}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SubscriptionBroadcastRx`, `SubscriptionBroadcastTx`, `SubscriptionHandler`, `SubscriptionResponseTx`, and `filter::SubscriptionFilter` [INFO] [stdout] --> src/async_bus/async_ibus_node.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | filter::SubscriptionFilter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | subscription_handler::{ [INFO] [stdout] 74 | SubscriptionBroadcastRx, SubscriptionBroadcastTx, SubscriptionHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | SubscriptionResponseTx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/corelink/udp_client.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Serializer` [INFO] [stdout] --> src/corelink/udp_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use serde_json::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fin` is never read [INFO] [stdout] --> src/command_fsm.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | let mut fin: Option> = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/async_bus/async_node_registry.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | filter: Box + Send + Sync>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/object_dictionary.rs:900:47 [INFO] [stdout] | [INFO] [stdout] 900 | MechObjectDictionaryValue::Single(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProcessRoute` is never constructed [INFO] [stdout] --> src/actor.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 131 | enum ActorMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 137 | ProcessRoute { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestNodeChannel` and `Shutdown` are never constructed [INFO] [stdout] --> src/async_bus/async_node_registry.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum AsyncNodeRegistryControlMessage { [INFO] [stdout] | ------------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | RequestNodeChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "21d818c905f1321d5c00f50951879f9878f23744889f712a1d1480cc6edd606b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d818c905f1321d5c00f50951879f9878f23744889f712a1d1480cc6edd606b", kill_on_drop: false }` [INFO] [stdout] 21d818c905f1321d5c00f50951879f9878f23744889f712a1d1480cc6edd606b