[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDigitalShooting%2FDSC-Rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DigitalShooting/DSC-Rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e4900544f7b7d627ed55bf06011e7ed3e998413af66af1fdd83e7d10850393d [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" "3e4900544f7b7d627ed55bf06011e7ed3e998413af66af1fdd83e7d10850393d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e4900544f7b7d627ed55bf06011e7ed3e998413af66af1fdd83e7d10850393d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4900544f7b7d627ed55bf06011e7ed3e998413af66af1fdd83e7d10850393d", kill_on_drop: false }` [INFO] [stdout] 3e4900544f7b7d627ed55bf06011e7ed3e998413af66af1fdd83e7d10850393d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26416b8e1624c016902540748c52d8de3f6f24010dc8dedadb6169b00367b932 [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" "26416b8e1624c016902540748c52d8de3f6f24010dc8dedadb6169b00367b932", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling standback v0.2.6 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking sha1 v0.6.0 [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 ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking tokio-sync v0.1.3 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling dsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking backtrace v0.3.14 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking serde_json v1.0.39 [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 websocket v0.24.0 [INFO] [stderr] Checking tera v0.11.20 [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: 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: 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: `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: 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: 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: 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "26416b8e1624c016902540748c52d8de3f6f24010dc8dedadb6169b00367b932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26416b8e1624c016902540748c52d8de3f6f24010dc8dedadb6169b00367b932", kill_on_drop: false }` [INFO] [stdout] 26416b8e1624c016902540748c52d8de3f6f24010dc8dedadb6169b00367b932