[INFO] cloning repository https://github.com/Zizico2/oxicast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zizico2/oxicast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZizico2%2Foxicast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZizico2%2Foxicast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 395673a1bc7585c3f7dd54115e5e13a2bc2bf5ee [INFO] checking Zizico2/oxicast against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZizico2%2Foxicast" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Zizico2/oxicast [INFO] finished tweaking git repo https://github.com/Zizico2/oxicast [INFO] tweaked toml for git repo https://github.com/Zizico2/oxicast written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Zizico2/oxicast on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Zizico2/oxicast 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc5f8634b9f047a1e5c11cf947fcc88987d1b84a399d8a101a81aa6c81f6067a [INFO] running `Command { std: "docker" "start" "-a" "cc5f8634b9f047a1e5c11cf947fcc88987d1b84a399d8a101a81aa6c81f6067a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc5f8634b9f047a1e5c11cf947fcc88987d1b84a399d8a101a81aa6c81f6067a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5f8634b9f047a1e5c11cf947fcc88987d1b84a399d8a101a81aa6c81f6067a", kill_on_drop: false }` [INFO] [stdout] cc5f8634b9f047a1e5c11cf947fcc88987d1b84a399d8a101a81aa6c81f6067a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f97759ff252539373bb0c28b0b8e74d8fc1a642cc226a50d81915f598ba29acc [INFO] running `Command { std: "docker" "start" "-a" "f97759ff252539373bb0c28b0b8e74d8fc1a642cc226a50d81915f598ba29acc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking spin v0.9.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking prost v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking tower v0.4.8 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking tonic v0.4.3 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking oxicast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/server/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/server/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [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: `rocket::figment::value::Num` [INFO] [stdout] --> src/server/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::figment::value::Num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::future::join` [INFO] [stdout] --> src/server/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use rocket::futures::future::join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/server/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/server/main.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/server/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/server/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [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: `rocket::figment::value::Num` [INFO] [stdout] --> src/server/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::figment::value::Num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::future::join` [INFO] [stdout] --> src/server/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use rocket::futures::future::join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/server/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/server/main.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged_sample` [INFO] [stdout] --> src/server/lib.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn push(&mut self, tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged_sample` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged_sample` [INFO] [stdout] --> src/server/lib.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn send_to_agents(tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing_samples` [INFO] [stdout] --> src/server/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let missing_samples = Arc::new(Mutex::new(TaggedSampleBuffer)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/server/lib.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/server/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_for_packet_b` [INFO] [stdout] --> src/server/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let wait_for_packet_b = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_for_packet_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_for_packet_a` [INFO] [stdout] --> src/server/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let wait_for_packet_a = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_for_packet_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_packet_a` [INFO] [stdout] --> src/server/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let send_packet_a = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_packet_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/server/main.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | fn send_packet_a(packet: PacketA) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged_sample` [INFO] [stdout] --> src/server/lib.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn push(&mut self, tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged_sample` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged_sample` [INFO] [stdout] --> src/server/lib.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn send_to_agents(tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing_samples` [INFO] [stdout] --> src/server/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let missing_samples = Arc::new(Mutex::new(TaggedSampleBuffer)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/server/lib.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/server/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/lib.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_for_packet_b` [INFO] [stdout] --> src/server/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let wait_for_packet_b = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_for_packet_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `packet_a_factory::PacketA` is more private than the item `PacketAFactory::new_packet` [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new_packet(&mut self, sample: Sample, sample_rate: SampleRate) -> PacketA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PacketAFactory::new_packet` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `packet_a_factory::PacketA` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct PacketA(ID, Sample, SampleRate); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_for_packet_a` [INFO] [stdout] --> src/server/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let wait_for_packet_a = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_for_packet_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_packet_a` [INFO] [stdout] --> src/server/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let send_packet_a = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_packet_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/server/main.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | fn send_packet_a(packet: PacketA) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/server/main.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenNode` is never constructed [INFO] [stdout] --> src/server/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct GenNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaggedSampleBuffer` is never constructed [INFO] [stdout] --> src/server/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct TaggedSampleBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, and `isEmpty` are never used [INFO] [stdout] --> src/server/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl TaggedSampleBuffer { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 10 | fn push(&mut self, tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | fn pop(&mut self) -> TaggedSample { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn isEmpty(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaggedSample` is never constructed [INFO] [stdout] --> src/server/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct TaggedSample; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/server/lib.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_data() -> TaggedSample { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_agents` is never used [INFO] [stdout] --> src/server/lib.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn send_to_agents(tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/server/lib.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn start_server() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sample` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Sample; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleRate` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SampleRate; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ID` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ID(u64); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketA` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct PacketA(ID, Sample, SampleRate); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketB` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct PacketB(Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketAFactory` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PacketAFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `new_packet` are never used [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PacketAFactory { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 47 | pub fn new() -> PacketAFactory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new_packet(&mut self, sample: Sample, sample_rate: SampleRate) -> PacketA { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isEmpty` should have a snake case name [INFO] [stdout] --> src/server/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn isEmpty(&self) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `packet_a_factory::PacketA` is more private than the item `PacketAFactory::new_packet` [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new_packet(&mut self, sample: Sample, sample_rate: SampleRate) -> PacketA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PacketAFactory::new_packet` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `packet_a_factory::PacketA` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct PacketA(ID, Sample, SampleRate); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/server/main.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | trait Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenNode` is never constructed [INFO] [stdout] --> src/server/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct GenNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaggedSampleBuffer` is never constructed [INFO] [stdout] --> src/server/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct TaggedSampleBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, and `isEmpty` are never used [INFO] [stdout] --> src/server/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl TaggedSampleBuffer { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 10 | fn push(&mut self, tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | fn pop(&mut self) -> TaggedSample { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn isEmpty(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaggedSample` is never constructed [INFO] [stdout] --> src/server/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct TaggedSample; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/server/lib.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_data() -> TaggedSample { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_agents` is never used [INFO] [stdout] --> src/server/lib.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn send_to_agents(tagged_sample: TaggedSample) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/server/lib.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn start_server() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sample` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Sample; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleRate` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SampleRate; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ID` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ID(u64); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketA` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct PacketA(ID, Sample, SampleRate); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketB` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct PacketB(Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PacketAFactory` is never constructed [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PacketAFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `new_packet` are never used [INFO] [stdout] --> src/server/packet_a_factory/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PacketAFactory { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 47 | pub fn new() -> PacketAFactory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new_packet(&mut self, sample: Sample, sample_rate: SampleRate) -> PacketA { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isEmpty` should have a snake case name [INFO] [stdout] --> src/server/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn isEmpty(&self) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f97759ff252539373bb0c28b0b8e74d8fc1a642cc226a50d81915f598ba29acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f97759ff252539373bb0c28b0b8e74d8fc1a642cc226a50d81915f598ba29acc", kill_on_drop: false }` [INFO] [stdout] f97759ff252539373bb0c28b0b8e74d8fc1a642cc226a50d81915f598ba29acc