[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 master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDigitalShooting%2FDSC-Rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DigitalShooting/DSC-Rust on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "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-2/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" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded backtrace v0.3.14 [INFO] [stderr] Downloaded sha-1 v0.7.0 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded tokio-tls v0.2.1 [INFO] [stderr] Downloaded dotenv v0.9.0 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded safemem v0.3.0 [INFO] [stderr] Downloaded time v0.2.10 [INFO] [stderr] Downloaded serde_derive v1.0.89 [INFO] [stderr] Downloaded standback v0.2.6 [INFO] [stderr] Downloaded pest v2.1.0 [INFO] [stderr] Downloaded websocket v0.24.0 [INFO] [stderr] Downloaded syn v0.15.29 [INFO] [stderr] Downloaded pest_generator v2.1.0 [INFO] [stderr] Downloaded tempfile v3.0.7 [INFO] [stderr] Downloaded hyper v0.10.15 [INFO] [stderr] Downloaded futures v0.1.25 [INFO] [stderr] Downloaded websocket-base v0.24.0 [INFO] [stderr] Downloaded pest_meta v2.1.0 [INFO] [stderr] Downloaded rand_jitter v0.1.3 [INFO] [stderr] Downloaded tokio-executor v0.1.6 [INFO] [stderr] Downloaded tokio-sync v0.1.3 [INFO] [stderr] Downloaded cc v1.0.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 334c6b1c4c0a5a0186139865e3eb60504429c1c34f0fcb28512646918e051e49 [INFO] running `Command { std: "docker" "start" "-a" "334c6b1c4c0a5a0186139865e3eb60504429c1c34f0fcb28512646918e051e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "334c6b1c4c0a5a0186139865e3eb60504429c1c34f0fcb28512646918e051e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334c6b1c4c0a5a0186139865e3eb60504429c1c34f0fcb28512646918e051e49", kill_on_drop: false }` [INFO] [stdout] 334c6b1c4c0a5a0186139865e3eb60504429c1c34f0fcb28512646918e051e49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 364db1222679aa518bfa48c4b11b0bde73571d84ede698c3537fabf14c1dc1ff [INFO] running `Command { std: "docker" "start" "-a" "364db1222679aa518bfa48c4b11b0bde73571d84ede698c3537fabf14c1dc1ff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Compiling standback v0.2.6 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking tokio-sync v0.1.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Compiling time v0.2.10 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking websocket-base v0.24.0 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling dsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking websocket v0.24.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking clap v2.32.0 [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 doc comment [INFO] [stdout] --> src/device_api/esa/esa.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / /// We use some c functions to comunicate with the ESA interface, using rust crates just did not [INFO] [stdout] 14 | | /// work. I just could not read data from the device. [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] 15 | / extern { [INFO] [stdout] 16 | | fn serialOpen(device: *const u8) -> i32; [INFO] [stdout] 17 | | fn serialClose(fd: i32); [INFO] [stdout] 18 | | fn serialWrite(fd: i32, data: *const u8, length: usize); [INFO] [stdout] 19 | | fn serialRead(fd: i32, arr: *const u8, length: usize) -> usize; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [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 doc comment [INFO] [stdout] --> src/device_api/esa/esa.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / /// We use some c functions to comunicate with the ESA interface, using rust crates just did not [INFO] [stdout] 14 | | /// work. I just could not read data from the device. [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] 15 | / extern { [INFO] [stdout] 16 | | fn serialOpen(device: *const u8) -> i32; [INFO] [stdout] 17 | | fn serialClose(fd: i32); [INFO] [stdout] 18 | | fn serialWrite(fd: i32, data: *const u8, length: usize); [INFO] [stdout] 19 | | fn serialRead(fd: i32, arr: *const u8, length: usize) -> usize; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [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: `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: `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: `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: `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: `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: `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: `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: `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: 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: 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 `empty` is never used [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 `demo` is never used [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 `lg_discipline` is never used [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 `lg_target` is never used [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.68s [INFO] running `Command { std: "docker" "inspect" "364db1222679aa518bfa48c4b11b0bde73571d84ede698c3537fabf14c1dc1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "364db1222679aa518bfa48c4b11b0bde73571d84ede698c3537fabf14c1dc1ff", kill_on_drop: false }` [INFO] [stdout] 364db1222679aa518bfa48c4b11b0bde73571d84ede698c3537fabf14c1dc1ff