[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#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaoning2008%2Fsimple-network" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laoning2008/simple-network on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking laoning2008/simple-network against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaoning2008%2Fsimple-network" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laoning2008/simple-network on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-build v0.13.1 [INFO] [stderr] Downloaded prost-types v0.13.1 [INFO] [stderr] Downloaded prost v0.13.1 [INFO] [stderr] Downloaded cc v1.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f917575d030ec0ef29ac4d1b2f0f0d813f50750f2a3580f195dfd701431182e [INFO] running `Command { std: "docker" "start" "-a" "6f917575d030ec0ef29ac4d1b2f0f0d813f50750f2a3580f195dfd701431182e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f917575d030ec0ef29ac4d1b2f0f0d813f50750f2a3580f195dfd701431182e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f917575d030ec0ef29ac4d1b2f0f0d813f50750f2a3580f195dfd701431182e", kill_on_drop: false }` [INFO] [stdout] 6f917575d030ec0ef29ac4d1b2f0f0d813f50750f2a3580f195dfd701431182e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d181148cf6427e5b17f3ae1b67d9f9bfb4575b922ef71ab06fd39e9bbe0b161 [INFO] running `Command { std: "docker" "start" "-a" "0d181148cf6427e5b17f3ae1b67d9f9bfb4575b922ef71ab06fd39e9bbe0b161", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [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] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bytebuffer v2.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.72 [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)]` on by default [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)]` 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)]` 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: 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)]` 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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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)]` 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] 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)]` 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 `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] 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] error[E0599]: no method named `wait_closed_event` found for struct `Arc` 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` [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] error[E0599]: no method named `wait_closed_event` found for struct `Arc` 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` [INFO] [stdout] [INFO] [stdout] [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (bin "server" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `device` (bin "device") due to 1 previous error [INFO] [stderr] error: could not compile `example` (bin "client" test) due to 1 previous error [INFO] [stderr] error: could not compile `example` (bin "client") due to 1 previous error [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] [stderr] error: could not compile `device` (bin "device" 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::(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)]` 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::(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] 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] 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::(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)]` on by default [INFO] [stdout] [INFO] [stdout] [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] warning: unused variable: `req` [INFO] [stdout] --> hub/src/device_hub.rs:23:128 [INFO] [stdout] | [INFO] [stdout] 23 | self.rpc_server.register_request_callback::(CMD_DEVICE_ONLINE, |channel_id, req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (bin "server") due to 3 previous errors [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)]` 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 `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)]` 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 `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] running `Command { std: "docker" "inspect" "0d181148cf6427e5b17f3ae1b67d9f9bfb4575b922ef71ab06fd39e9bbe0b161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d181148cf6427e5b17f3ae1b67d9f9bfb4575b922ef71ab06fd39e9bbe0b161", kill_on_drop: false }` [INFO] [stdout] 0d181148cf6427e5b17f3ae1b67d9f9bfb4575b922ef71ab06fd39e9bbe0b161