[INFO] cloning repository https://github.com/yukimakura/probability_calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yukimakura/probability_calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fprobability_calc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fprobability_calc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8848082e4d09e061b8e0542270fa4481fe4d58db [INFO] checking yukimakura/probability_calc against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fprobability_calc" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yukimakura/probability_calc 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/yukimakura/probability_calc [INFO] finished tweaking git repo https://github.com/yukimakura/probability_calc [INFO] tweaked toml for git repo https://github.com/yukimakura/probability_calc written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/yukimakura/probability_calc 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] [stderr] Updating git repository `https://github.com/yukimakura/csv_import.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] e6288b991055ce36a417228891482d572c3e1483a0a34929f377ebd81188775a [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" "e6288b991055ce36a417228891482d572c3e1483a0a34929f377ebd81188775a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6288b991055ce36a417228891482d572c3e1483a0a34929f377ebd81188775a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6288b991055ce36a417228891482d572c3e1483a0a34929f377ebd81188775a", kill_on_drop: false }` [INFO] [stdout] e6288b991055ce36a417228891482d572c3e1483a0a34929f377ebd81188775a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 28562321fd5b89c8a31d568d02df6ff61c86e2bde05b8d2f6d28e8529d59083a [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" "28562321fd5b89c8a31d568d02df6ff61c86e2bde05b8d2f6d28e8529d59083a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking gnuplot v0.0.33 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking csv v1.1.2 [INFO] [stderr] Checking csv_import v0.1.0 (https://github.com/yukimakura/csv_import.git?branch=crate_version#a376aa2c) [INFO] [stderr] Checking probability_calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `AXIS_RANGE` should have an upper camel case name [INFO] [stdout] --> src/probability_calc.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AXIS_RANGE{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AxisRange` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/probability_calc.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | if(datas[hour as usize][0].ir == -255){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/probability_calc.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | if(datas[hour as usize][0].lidar == -255){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AXIS_RANGE` should have an upper camel case name [INFO] [stdout] --> src/probability_calc.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AXIS_RANGE{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AxisRange` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/probability_calc.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | if(datas[hour as usize][0].ir == -255){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/probability_calc.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | if(datas[hour as usize][0].lidar == -255){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/probability_calc.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for n in 0..24{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_buff` [INFO] [stdout] --> src/probability_calc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut p_buff : PROBABILITY; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/probability_calc.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | for n in 0..24{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_buff` [INFO] [stdout] --> src/probability_calc.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut p_buff : PROBABILITY; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> src/probability_calc.rs:122:73 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn plot(datas : &Vec,fg : &mut Figure , color : String,caption : String, axis_info : &AXIS_RANGE){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caption` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/probability_calc.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for n in 0..24{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_buff` [INFO] [stdout] --> src/probability_calc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut p_buff : PROBABILITY; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/probability_calc.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | for n in 0..24{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_buff` [INFO] [stdout] --> src/probability_calc.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut p_buff : PROBABILITY; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> src/probability_calc.rs:122:73 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn plot(datas : &Vec,fg : &mut Figure , color : String,caption : String, axis_info : &AXIS_RANGE){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caption` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `datas` is never read [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut datas: Vec = Vec::new(); [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 `datas` is never read [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut datas: Vec = Vec::new(); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | plot_data.show(); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | plot_data.show(); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.15s [INFO] running `Command { std: "docker" "inspect" "28562321fd5b89c8a31d568d02df6ff61c86e2bde05b8d2f6d28e8529d59083a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28562321fd5b89c8a31d568d02df6ff61c86e2bde05b8d2f6d28e8529d59083a", kill_on_drop: false }` [INFO] [stdout] 28562321fd5b89c8a31d568d02df6ff61c86e2bde05b8d2f6d28e8529d59083a