[INFO] cloning repository https://github.com/yukimakura/probability_example_Q_p50 [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_example_Q_p50" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fprobability_example_Q_p50", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fprobability_example_Q_p50'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bb471c825e3b48167d578a469a2bccc4b5145c9 [INFO] checking yukimakura/probability_example_Q_p50 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fprobability_example_Q_p50" "/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/yukimakura/probability_example_Q_p50 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yukimakura/probability_example_Q_p50 [INFO] finished tweaking git repo https://github.com/yukimakura/probability_example_Q_p50 [INFO] tweaked toml for git repo https://github.com/yukimakura/probability_example_Q_p50 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/yukimakura/probability_example_Q_p50 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6922be8a9d5d9817a6bf801431e0d063798643810f5ce18fb2bd5ea22ffa20ae [INFO] running `Command { std: "docker" "start" "-a" "6922be8a9d5d9817a6bf801431e0d063798643810f5ce18fb2bd5ea22ffa20ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6922be8a9d5d9817a6bf801431e0d063798643810f5ce18fb2bd5ea22ffa20ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6922be8a9d5d9817a6bf801431e0d063798643810f5ce18fb2bd5ea22ffa20ae", kill_on_drop: false }` [INFO] [stdout] 6922be8a9d5d9817a6bf801431e0d063798643810f5ce18fb2bd5ea22ffa20ae [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" "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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 247e1425b553aae151affac6993ce072b016f5a9ba8b6279be30670a2bdd4303 [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" "247e1425b553aae151affac6993ce072b016f5a9ba8b6279be30670a2bdd4303", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling serde v1.0.104 [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.9 [INFO] [stderr] Checking csv v1.1.2 [INFO] [stderr] Checking csv_import_general v0.1.0 (https://github.com/yukimakura/csv_import_general.git?branch=master#9308b3e6) [INFO] [stderr] Checking probability_example_Q_p50 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `AXIS_RANGE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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: type `MEMBER_STATUS_ENUM` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum MEMBER_STATUS_ENUM { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemberStatusEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `height` should have an upper camel case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | height, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `weight` should have an upper camel case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | weight [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MEMBER_STATUS` should have an upper camel case name [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct MEMBER_STATUS{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemberStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AXIS_RANGE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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: type `MEMBER_STATUS_ENUM` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum MEMBER_STATUS_ENUM { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemberStatusEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `height` should have an upper camel case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | height, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `weight` should have an upper camel case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | weight [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MEMBER_STATUS` should have an upper camel case name [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct MEMBER_STATUS{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemberStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> src/main.rs:41:78 [INFO] [stdout] | [INFO] [stdout] 41 | fn plot_points(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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> src/main.rs:57:66 [INFO] [stdout] | [INFO] [stdout] 57 | fn plot_line(a : f64 , b : f64,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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut datas = csv_parse::read_csv_data("dataset.csv".to_string()).unwrap(); [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: crate `probability_example_Q_p50` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `probability_example_q_p50` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Sxy` should have a snake case name [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut Sxy = 0.0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `sxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Sx` should have a snake case name [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut Sx = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Sy` should have a snake case name [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut Sy = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> src/main.rs:41:78 [INFO] [stdout] | [INFO] [stdout] 41 | fn plot_points(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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caption` [INFO] [stdout] --> src/main.rs:57:66 [INFO] [stdout] | [INFO] [stdout] 57 | fn plot_line(a : f64 , b : f64,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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut datas = csv_parse::read_csv_data("dataset.csv".to_string()).unwrap(); [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: crate `probability_example_Q_p50` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `probability_example_q_p50` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Sxy` should have a snake case name [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut Sxy = 0.0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `sxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Sx` should have a snake case name [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut Sx = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Sy` should have a snake case name [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut Sy = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.23s [INFO] running `Command { std: "docker" "inspect" "247e1425b553aae151affac6993ce072b016f5a9ba8b6279be30670a2bdd4303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247e1425b553aae151affac6993ce072b016f5a9ba8b6279be30670a2bdd4303", kill_on_drop: false }` [INFO] [stdout] 247e1425b553aae151affac6993ce072b016f5a9ba8b6279be30670a2bdd4303