[INFO] cloning repository https://github.com/WeirdConstructor/datynapse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WeirdConstructor/datynapse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeirdConstructor%2Fdatynapse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeirdConstructor%2Fdatynapse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ddebe804f6cdd72be4965c79f4bcbec26280681 [INFO] checking WeirdConstructor/datynapse against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeirdConstructor%2Fdatynapse" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WeirdConstructor/datynapse on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WeirdConstructor/datynapse [INFO] removed path dependency wlambda from git repo https://github.com/WeirdConstructor/datynapse [INFO] finished tweaking git repo https://github.com/WeirdConstructor/datynapse [INFO] tweaked toml for git repo https://github.com/WeirdConstructor/datynapse written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/WeirdConstructor/datynapse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wlambda) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wlambda) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bfcfbd972bd8b539e90daaf0137a79d7d062370e088a6232deb646cc3d86e10 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0bfcfbd972bd8b539e90daaf0137a79d7d062370e088a6232deb646cc3d86e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bfcfbd972bd8b539e90daaf0137a79d7d062370e088a6232deb646cc3d86e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfcfbd972bd8b539e90daaf0137a79d7d062370e088a6232deb646cc3d86e10", kill_on_drop: false }` [INFO] [stdout] 0bfcfbd972bd8b539e90daaf0137a79d7d062370e088a6232deb646cc3d86e10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90bb44e48980b856e2ce366b9b0e8f76fad0782d8f7708c47127293779270806 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "90bb44e48980b856e2ce366b9b0e8f76fad0782d8f7708c47127293779270806", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wlambda) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rmp v0.8.9 [INFO] [stderr] Checking dirs-sys-next v0.1.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking wlambda v0.6.3 [INFO] [stderr] Checking datynapse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wlambda::VVal` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wlambda::VVal; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn write_msg_arg(w: &mut std::fmt::Write, arg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::fmt::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_msg_args(w: &mut std::fmt::Write, args: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::fmt::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wlambda::VVal` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wlambda::VVal; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn write_msg_arg(w: &mut std::fmt::Write, arg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::fmt::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_msg_args(w: &mut std::fmt::Write, args: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::fmt::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 297 | / loop { [INFO] [stdout] 298 | | let evctx = e_rx.recv().expect("no error"); [INFO] [stdout] 299 | | let id = evctx.user_id; [INFO] [stdout] 300 | | let ev = evctx.event; [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 377 | / { [INFO] [stdout] 378 | | // let mut c = tcp_csv_msg_connection::TCPCSVConnection::new(); [INFO] [stdout] 379 | | // [INFO] [stdout] 380 | | // c.connect(); [INFO] [stdout] ... | [INFO] [stdout] 404 | | // c.shutdown(); [INFO] [stdout] 405 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 297 | / loop { [INFO] [stdout] 298 | | let evctx = e_rx.recv().expect("no error"); [INFO] [stdout] 299 | | let id = evctx.user_id; [INFO] [stdout] 300 | | let ev = evctx.event; [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 377 | / { [INFO] [stdout] 378 | | // let mut c = tcp_csv_msg_connection::TCPCSVConnection::new(); [INFO] [stdout] 379 | | // [INFO] [stdout] 380 | | // c.connect(); [INFO] [stdout] ... | [INFO] [stdout] 404 | | // c.shutdown(); [INFO] [stdout] 405 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:336:41 [INFO] [stdout] | [INFO] [stdout] 336 | Msg::Payload(p_cmd, args, payload) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Msg::Ok(arg) => None, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | Msg::Hello(args) => Some(Msg::Ok("hello".to_string())), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | Msg::Error(args) => Some(Msg::Ok("error".to_string())), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | Msg::Direct(args) => Some(Msg::Ok("direct".to_string())), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:392:28 [INFO] [stdout] | [INFO] [stdout] 392 | fn server_event(&self, e: Event) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 406 | ... if let Err(e) = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_rx` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 396 | let (stream_tx, stream_rx) = std::sync::mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:538:29 [INFO] [stdout] | [INFO] [stdout] 538 | if let Some(s) = &stream { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stream` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | stream = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reader` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | reader = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stream` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | stream = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur_frame` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:702:13 [INFO] [stdout] | [INFO] [stdout] 702 | cur_frame = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur_write_ptr` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | cur_write_ptr = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:739:21 [INFO] [stdout] | [INFO] [stdout] 739 | let mut stream = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReaderConnectionAvailable` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | ReaderConnectionAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogInf` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | LogInf(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Client` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | Client(ClientID, Event), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Server` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Server(Event), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TCPCSVServer` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | pub struct TCPCSVServer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TCPServerConInfo` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct TCPServerConInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TCPServerConnection` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct TCPServerConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_event` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | fn server_event(&self, e: Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spawn_server_thread` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | fn spawn_server_thread(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shutdown` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `garbage_collect` [INFO] [stdout] --> src/main.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn garbage_collect(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Again` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Again, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Crash` [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | Crash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:336:41 [INFO] [stdout] | [INFO] [stdout] 336 | Msg::Payload(p_cmd, args, payload) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Msg::Ok(arg) => None, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | Msg::Hello(args) => Some(Msg::Ok("hello".to_string())), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | Msg::Error(args) => Some(Msg::Ok("error".to_string())), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | Msg::Direct(args) => Some(Msg::Ok("direct".to_string())), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:392:28 [INFO] [stdout] | [INFO] [stdout] 392 | fn server_event(&self, e: Event) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 406 | ... if let Err(e) = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_rx` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 396 | let (stream_tx, stream_rx) = std::sync::mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:538:29 [INFO] [stdout] | [INFO] [stdout] 538 | if let Some(s) = &stream { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stream` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | stream = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reader` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | reader = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stream` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | stream = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur_frame` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:702:13 [INFO] [stdout] | [INFO] [stdout] 702 | cur_frame = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cur_write_ptr` is never read [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | cur_write_ptr = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:739:21 [INFO] [stdout] | [INFO] [stdout] 739 | let mut stream = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | / con.send(Msg::Hello(vec![ [INFO] [stdout] 309 | | my_name.to_string(), [INFO] [stdout] 310 | | my_version.to_string(), [INFO] [stdout] 311 | | proto_version.to_string() [INFO] [stdout] 312 | | ])); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | con.send(resp); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:584:33 [INFO] [stdout] | [INFO] [stdout] 584 | / ... stream.take().unwrap().into_inner() [INFO] [stdout] 585 | | ... .shutdown(std::net::Shutdown::Both); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:685:37 [INFO] [stdout] | [INFO] [stdout] 685 | / ... stream.take().unwrap() [INFO] [stdout] 686 | | ... .shutdown(std::net::Shutdown::Both); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync_event.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut ev = SyncEvent::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync_event.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut evt = ev.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReaderConnectionAvailable` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | ReaderConnectionAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogInf` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | LogInf(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Client` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | Client(ClientID, Event), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Server` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | Server(Event), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TCPCSVServer` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | pub struct TCPCSVServer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TCPServerConInfo` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct TCPServerConInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TCPServerConnection` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct TCPServerConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_event` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | fn server_event(&self, e: Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spawn_server_thread` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | fn spawn_server_thread(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shutdown` [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `garbage_collect` [INFO] [stdout] --> src/main.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn garbage_collect(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Again` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Again, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Crash` [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | Crash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | / con.send(Msg::Hello(vec![ [INFO] [stdout] 309 | | my_name.to_string(), [INFO] [stdout] 310 | | my_version.to_string(), [INFO] [stdout] 311 | | proto_version.to_string() [INFO] [stdout] 312 | | ])); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | con.send(resp); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:584:33 [INFO] [stdout] | [INFO] [stdout] 584 | / ... stream.take().unwrap().into_inner() [INFO] [stdout] 585 | | ... .shutdown(std::net::Shutdown::Both); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tcp_csv_msg_connection.rs:685:37 [INFO] [stdout] | [INFO] [stdout] 685 | / ... stream.take().unwrap() [INFO] [stdout] 686 | | ... .shutdown(std::net::Shutdown::Both); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "90bb44e48980b856e2ce366b9b0e8f76fad0782d8f7708c47127293779270806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bb44e48980b856e2ce366b9b0e8f76fad0782d8f7708c47127293779270806", kill_on_drop: false }` [INFO] [stdout] 90bb44e48980b856e2ce366b9b0e8f76fad0782d8f7708c47127293779270806