[INFO] cloning repository https://github.com/DigitalShooting/DSC-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DigitalShooting/DSC-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDigitalShooting%2FDSC-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDigitalShooting%2FDSC-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c03d53b7489725cad3c5d8192fa81fe8043c8844 [INFO] checking DigitalShooting/DSC-Rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDigitalShooting%2FDSC-Rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DigitalShooting/DSC-Rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DigitalShooting/DSC-Rust [INFO] finished tweaking git repo https://github.com/DigitalShooting/DSC-Rust [INFO] tweaked toml for git repo https://github.com/DigitalShooting/DSC-Rust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/DigitalShooting/DSC-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded tokio-tls v0.2.1 [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] [stderr] Downloaded tempfile v3.0.7 [INFO] [stderr] Downloaded unic-char-property v0.7.0 [INFO] [stderr] Downloaded pest_generator v2.1.0 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded dotenv v0.9.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.13 [INFO] [stderr] Downloaded sha-1 v0.7.0 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded tera v0.11.20 [INFO] [stderr] Downloaded unic-ucd-segment v0.7.0 [INFO] [stderr] Downloaded standback v0.2.6 [INFO] [stderr] Downloaded tokio-sync v0.1.3 [INFO] [stderr] Downloaded pest_meta v2.1.0 [INFO] [stderr] Downloaded unic-segment v0.7.0 [INFO] [stderr] Downloaded openssl-sys v0.9.55 [INFO] [stderr] Downloaded serde v1.0.89 [INFO] [stderr] Downloaded websocket v0.24.0 [INFO] [stderr] Downloaded regex v1.1.2 [INFO] [stderr] Downloaded syn v0.15.29 [INFO] [stderr] Downloaded serde_derive v1.0.89 [INFO] [stderr] Downloaded hyper v0.10.15 [INFO] [stderr] Downloaded regex-syntax v0.6.5 [INFO] [stderr] Downloaded backtrace v0.3.14 [INFO] [stderr] Downloaded openssl v0.10.29 [INFO] [stderr] Downloaded time v0.2.10 [INFO] [stderr] Downloaded pest v2.1.0 [INFO] [stderr] Downloaded humansize v1.1.0 [INFO] [stderr] Downloaded unic-ucd-version v0.7.0 [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded cc v1.0.31 [INFO] [stderr] Downloaded unic-common v0.7.0 [INFO] [stderr] Downloaded websocket-base v0.24.0 [INFO] [stderr] Downloaded time-macros v0.1.0 [INFO] [stderr] Downloaded unic-char-range v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a5fd3054357348381d8ce1bad616be1eda10b33e375e269ad375f709eac636e [INFO] running `Command { std: "docker" "start" "-a" "0a5fd3054357348381d8ce1bad616be1eda10b33e375e269ad375f709eac636e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a5fd3054357348381d8ce1bad616be1eda10b33e375e269ad375f709eac636e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5fd3054357348381d8ce1bad616be1eda10b33e375e269ad375f709eac636e", kill_on_drop: false }` [INFO] [stdout] 0a5fd3054357348381d8ce1bad616be1eda10b33e375e269ad375f709eac636e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f14018fb0252db1e8c658e5ff41f40c47be4ecb2ff350a8bcd204e84f2ff4f [INFO] running `Command { std: "docker" "start" "-a" "51f14018fb0252db1e8c658e5ff41f40c47be4ecb2ff350a8bcd204e84f2ff4f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling standback v0.2.6 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Compiling dsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking backtrace-sys v0.1.28 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking backtrace v0.3.14 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking tokio-sync v0.1.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking regex v1.1.2 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking websocket-base v0.24.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking websocket v0.24.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.10 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | fn add_shot(&mut self, Shot, &Discipline, &CountMode); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Shot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | fn add_shot(&mut self, Shot, &Discipline, &CountMode); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Discipline` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | fn add_shot(&mut self, Shot, &Discipline, &CountMode); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &CountMode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | fn add_shot_raw(&mut self, ShotRaw); [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ShotRaw` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `discipline::*` [INFO] [stdout] --> src/session/session.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | use discipline::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | fn add_shot(&mut self, Shot, &Discipline, &CountMode); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Shot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | fn add_shot(&mut self, Shot, &Discipline, &CountMode); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Discipline` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | fn add_shot(&mut self, Shot, &Discipline, &CountMode); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &CountMode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/session/shot.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | fn add_shot_raw(&mut self, ShotRaw); [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ShotRaw` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `discipline::*` [INFO] [stdout] --> src/session/shot.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | use discipline::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disciplines` [INFO] [stdout] --> src/config/config.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | fn parse_config(path: PathBuf, disciplines: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disciplines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/session/session.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | Time::InstantStart { duration } => Some(SystemTime::now()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/session/session.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | Time::FirstShot { duration } if self.number_of_shots == 0 => Some(SystemTime::now()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/device_api/esa/esa.rs:348:52 [INFO] [stdout] | [INFO] [stdout] 348 | ... NopResult::Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/web/socket.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let x = manager.lock().unwrap().get_stored_sessions(since); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since` [INFO] [stdout] --> src/database/handler.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_stored_sessions(&self, since: SystemTime) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since` [INFO] [stdout] --> src/database/handler.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_stored_sessions(&self, since: SystemTime) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disciplines` [INFO] [stdout] --> src/config/config.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | fn parse_config(path: PathBuf, disciplines: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disciplines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/session/session.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | Time::InstantStart { duration } => Some(SystemTime::now()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/session/session.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | Time::FirstShot { duration } if self.number_of_shots == 0 => Some(SystemTime::now()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shot` [INFO] [stdout] --> src/session/session.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let shot = Shot::from_cartesian_coordinates (0, 0, &target, &CountMode::Integer); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_shot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/device_api/esa/esa.rs:348:52 [INFO] [stdout] | [INFO] [stdout] 348 | ... NopResult::Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/web/socket.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let x = manager.lock().unwrap().get_stored_sessions(since); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since` [INFO] [stdout] --> src/database/handler.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_stored_sessions(&self, since: SystemTime) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since` [INFO] [stdout] --> src/database/handler.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_stored_sessions(&self, since: SystemTime) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/session/info.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn empty() -> User { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `demo` [INFO] [stdout] --> src/session/info.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn demo() -> Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lg_discipline` [INFO] [stdout] --> src/helper/dsc_demo.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn lg_discipline() -> Discipline { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lg_target` [INFO] [stdout] --> src/helper/dsc_demo.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn lg_target() -> Target { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/session/session.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let mut session = get_session(); [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.85s [INFO] running `Command { std: "docker" "inspect" "51f14018fb0252db1e8c658e5ff41f40c47be4ecb2ff350a8bcd204e84f2ff4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f14018fb0252db1e8c658e5ff41f40c47be4ecb2ff350a8bcd204e84f2ff4f", kill_on_drop: false }` [INFO] [stdout] 51f14018fb0252db1e8c658e5ff41f40c47be4ecb2ff350a8bcd204e84f2ff4f