[INFO] cloning repository https://github.com/laoning2008/simple-network
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laoning2008/simple-network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaoning2008%2Fsimple-network", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaoning2008%2Fsimple-network'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3cee6d340f5ee306c041d13ff8166a4b5450c69
[INFO] checking laoning2008/simple-network against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaoning2008%2Fsimple-network" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/laoning2008/simple-network
[INFO] finished tweaking git repo https://github.com/laoning2008/simple-network
[INFO] tweaked toml for git repo https://github.com/laoning2008/simple-network written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/laoning2008/simple-network on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/laoning2008/simple-network 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytebuffer v2.3.0
[INFO] [stderr]   Downloaded prost-derive v0.13.1
[INFO] [stderr]   Downloaded prost v0.13.1
[INFO] [stderr]   Downloaded prost-build v0.13.1
[INFO] [stderr]   Downloaded multimap v0.10.0
[INFO] [stderr]   Downloaded cc v1.1.8
[INFO] [stderr]   Downloaded prost-types v0.13.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa79d171660b660839b6c7f4be74af88dcf7d1a275b9359c49e113aa069f7e36
[INFO] running `Command { std: "docker" "start" "-a" "fa79d171660b660839b6c7f4be74af88dcf7d1a275b9359c49e113aa069f7e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa79d171660b660839b6c7f4be74af88dcf7d1a275b9359c49e113aa069f7e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa79d171660b660839b6c7f4be74af88dcf7d1a275b9359c49e113aa069f7e36", kill_on_drop: false }`
[INFO] [stdout] fa79d171660b660839b6c7f4be74af88dcf7d1a275b9359c49e113aa069f7e36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6f6356f2522c6a1ee1db1564052c50abf44daff9e96938bc9f8d7285b68df2c6
[INFO] running `Command { std: "docker" "start" "-a" "6f6356f2522c6a1ee1db1564052c50abf44daff9e96938bc9f8d7285b68df2c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling prettyplease v0.2.20
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking bytebuffer v2.3.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking lock_api v0.4.12
[INFO] [stderr]    Compiling indexmap v2.3.0
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.1
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling prost-derive v0.13.1
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]     Checking tokio v1.39.2
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking prost v0.13.1
[INFO] [stderr]    Compiling prost-types v0.13.1
[INFO] [stderr]    Compiling prost-build v0.13.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]    Compiling hub v0.1.0 (/opt/rustwide/workdir/hub)
[INFO] [stderr]     Checking simple-network v0.1.0 (/opt/rustwide/workdir/simple-network)
[INFO] [stdout] warning: unused import: `crate::connector::StreamConnector`
[INFO] [stdout]   --> simple-network/src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::connector::StreamConnector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEARTBEAT_INTERVAL_SECONDS` is never used
[INFO] [stdout]   --> simple-network/src/packet.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HEARTBEAT_INTERVAL_SECONDS: u64 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RECONNECT_INTERVAL_MILLIS` is never used
[INFO] [stdout]   --> simple-network/src/client.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const RECONNECT_INTERVAL_MILLIS : u64 = 1000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RE_OBSERVER_EVENT_INTERVAL_MILLIS` is never used
[INFO] [stdout]   --> simple-network/src/client.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const RE_OBSERVER_EVENT_INTERVAL_MILLIS : u64 = 500;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connector::StreamConnector`
[INFO] [stdout]   --> simple-network/src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::connector::StreamConnector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEARTBEAT_INTERVAL_SECONDS` is never used
[INFO] [stdout]   --> simple-network/src/packet.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HEARTBEAT_INTERVAL_SECONDS: u64 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RECONNECT_INTERVAL_MILLIS` is never used
[INFO] [stdout]   --> simple-network/src/client.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const RECONNECT_INTERVAL_MILLIS : u64 = 1000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RE_OBSERVER_EVENT_INTERVAL_MILLIS` is never used
[INFO] [stdout]   --> simple-network/src/client.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const RE_OBSERVER_EVENT_INTERVAL_MILLIS : u64 = 500;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking example v0.1.0 (/opt/rustwide/workdir/example)
[INFO] [stderr]     Checking device v0.1.0 (/opt/rustwide/workdir/device)
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> example/src/server.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 |     let server = StreamServer::new(server_name);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ ----------- unexpected argument of type `&str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> simple-network/src/server.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout]  7 -     let server = StreamServer::new(server_name);
[INFO] [stdout]  7 +     let server = StreamServer::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> example/src/server.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 |     let server = StreamServer::new(server_name);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ ----------- unexpected argument of type `&str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> simple-network/src/server.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout]  7 -     let server = StreamServer::new(server_name);
[INFO] [stdout]  7 +     let server = StreamServer::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::select`
[INFO] [stdout]  --> hub/src/device_hub.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::select;
[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: `Service`
[INFO] [stdout]  --> hub/src/device.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::service::{Service, ServiceMgr};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_request` found for struct `StreamServer` in the current scope
[INFO] [stdout]   --> example/src/server.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (chan_id, req) = server.wait_request(1).await;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ method not found in `StreamServer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_request` found for struct `StreamServer` in the current scope
[INFO] [stdout]   --> example/src/server.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let (chan_id, req) = server.wait_request(1).await;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ method not found in `StreamServer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_request_wait_response` found for struct `StreamClient` in the current scope
[INFO] [stdout]   --> device/src/main.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 |         if let Ok(rsp) = client.send_request_wait_response(&req, 1000).await {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `StreamClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_response` found for struct `StreamServer` in the current scope
[INFO] [stdout]   --> example/src/server.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if server.send_response(chan_id, &rsp).await.is_ok() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_push` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 -         if server.send_response(chan_id, &rsp).await.is_ok() {
[INFO] [stdout] 14 +         if server.send_push(chan_id, &rsp).await.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_closed_event` found for struct `Arc<StreamClient>` in the current scope
[INFO] [stdout]   --> example/src/client.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 |             client_reconnect.wait_closed_event().await;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ method not found in `Arc<StreamClient>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_response` found for struct `StreamServer` in the current scope
[INFO] [stdout]   --> example/src/server.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if server.send_response(chan_id, &rsp).await.is_ok() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_push` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 -         if server.send_response(chan_id, &rsp).await.is_ok() {
[INFO] [stdout] 14 +         if server.send_push(chan_id, &rsp).await.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `device` (bin "device") due to 1 previous error
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `example` (bin "server" test) due to 3 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_closed_event` found for struct `Arc<StreamClient>` in the current scope
[INFO] [stdout]   --> example/src/client.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 |             client_reconnect.wait_closed_event().await;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ method not found in `Arc<StreamClient>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `example` (bin "server") due to 3 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::select`
[INFO] [stdout]  --> hub/src/device_hub.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::select;
[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: `Service`
[INFO] [stdout]  --> hub/src/device.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::service::{Service, ServiceMgr};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `example` (bin "client") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `example` (bin "client" test) due to 1 previous error
[INFO] [stdout] warning: unused variable: `channel_id`
[INFO] [stdout]   --> hub/src/device_hub.rs:23:116
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.rpc_server.register_request_callback::<DeviceOnlineRequest, DeviceOfflineRequest>(CMD_DEVICE_ONLINE, |channel_id, req| {
[INFO] [stdout]    |                                                                                                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> hub/src/device_hub.rs:23:128
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.rpc_server.register_request_callback::<DeviceOnlineRequest, DeviceOfflineRequest>(CMD_DEVICE_ONLINE, |channel_id, req| {
[INFO] [stdout]    |                                                                                                                                ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_id`
[INFO] [stdout]   --> hub/src/device_hub.rs:23:116
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.rpc_server.register_request_callback::<DeviceOnlineRequest, DeviceOfflineRequest>(CMD_DEVICE_ONLINE, |channel_id, req| {
[INFO] [stdout]    |                                                                                                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> hub/src/device_hub.rs:23:128
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.rpc_server.register_request_callback::<DeviceOnlineRequest, DeviceOfflineRequest>(CMD_DEVICE_ONLINE, |channel_id, req| {
[INFO] [stdout]    |                                                                                                                                ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_DEVICE_ONLINE` is never used
[INFO] [stdout]  --> hub/src/device_hub.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CMD_DEVICE_ONLINE : u32 = 1;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_DEVICE_OFFLINE` is never used
[INFO] [stdout]  --> hub/src/device_hub.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CMD_DEVICE_OFFLINE : u32 = 2;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceHub` is never constructed
[INFO] [stdout]  --> hub/src/device_hub.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct DeviceHub {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `start` are never used
[INFO] [stdout]   --> hub/src/device_hub.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DeviceHub {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub async fn start(&self) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Service` is never constructed
[INFO] [stdout]  --> hub/src/service.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Service {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> hub/src/service.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Service {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 7 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceMgr` is never constructed
[INFO] [stdout]   --> hub/src/service.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ServiceMgr {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> hub/src/service.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl ServiceMgr {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceMessage` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ServiceMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceMessage` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct DeviceMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceOnlineRequest` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct DeviceOnlineRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceOfflineRequest` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct DeviceOfflineRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SyncDeviceRequest` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct SyncDeviceRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SyncDeviceResponse` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct SyncDeviceResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceStatusPush` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DeviceStatusPush {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Device` is never constructed
[INFO] [stdout]  --> hub/src/device.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Device {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> hub/src/device.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Device {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(id: &str, name: &str, address: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceMgr` is never constructed
[INFO] [stdout]   --> hub/src/device.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct DeviceMgr {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `on_channel_closed`, `on_device_online`, and `on_device_offline` are never used
[INFO] [stdout]   --> hub/src/device.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl DeviceMgr {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 32 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn on_channel_closed(&self, channel_id: u64) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub async fn on_device_online(&self, request: DeviceOnlineRequest) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn on_device_offline(&self, request: DeviceOfflineRequest) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_DEVICE_ONLINE` is never used
[INFO] [stdout]  --> hub/src/device_hub.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CMD_DEVICE_ONLINE : u32 = 1;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMD_DEVICE_OFFLINE` is never used
[INFO] [stdout]  --> hub/src/device_hub.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CMD_DEVICE_OFFLINE : u32 = 2;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceHub` is never constructed
[INFO] [stdout]  --> hub/src/device_hub.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct DeviceHub {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `start` are never used
[INFO] [stdout]   --> hub/src/device_hub.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DeviceHub {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub async fn start(&self) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Service` is never constructed
[INFO] [stdout]  --> hub/src/service.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Service {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> hub/src/service.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Service {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 7 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceMgr` is never constructed
[INFO] [stdout]   --> hub/src/service.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ServiceMgr {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> hub/src/service.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl ServiceMgr {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceMessage` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ServiceMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceMessage` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct DeviceMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceOnlineRequest` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct DeviceOnlineRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceOfflineRequest` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct DeviceOfflineRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SyncDeviceRequest` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct SyncDeviceRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SyncDeviceResponse` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct SyncDeviceResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceStatusPush` is never constructed
[INFO] [stdout]   --> hub/src/proto.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DeviceStatusPush {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Device` is never constructed
[INFO] [stdout]  --> hub/src/device.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Device {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> hub/src/device.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Device {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(id: &str, name: &str, address: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceMgr` is never constructed
[INFO] [stdout]   --> hub/src/device.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct DeviceMgr {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `on_channel_closed`, `on_device_online`, and `on_device_offline` are never used
[INFO] [stdout]   --> hub/src/device.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl DeviceMgr {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 32 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn on_channel_closed(&self, channel_id: u64) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub async fn on_device_online(&self, request: DeviceOnlineRequest) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn on_device_offline(&self, request: DeviceOfflineRequest) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_request_wait_response` found for struct `StreamClient` in the current scope
[INFO] [stdout]   --> device/src/main.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 |         if let Ok(rsp) = client.send_request_wait_response(&req, 1000).await {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `StreamClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `device` (bin "device" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "6f6356f2522c6a1ee1db1564052c50abf44daff9e96938bc9f8d7285b68df2c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f6356f2522c6a1ee1db1564052c50abf44daff9e96938bc9f8d7285b68df2c6", kill_on_drop: false }`
[INFO] [stdout] 6f6356f2522c6a1ee1db1564052c50abf44daff9e96938bc9f8d7285b68df2c6
