[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fprobability_example_Q_p50" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yukimakura/probability_example_Q_p50 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_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-6/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/yukimakura/csv_import_general.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/yukimakura/csv_import_general.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gnuplot v0.0.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] bfe05f8714dded3479d65b524ca4c30619a5e4cdf47fd9d0dc60bb78b0356039 [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" "bfe05f8714dded3479d65b524ca4c30619a5e4cdf47fd9d0dc60bb78b0356039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfe05f8714dded3479d65b524ca4c30619a5e4cdf47fd9d0dc60bb78b0356039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe05f8714dded3479d65b524ca4c30619a5e4cdf47fd9d0dc60bb78b0356039", kill_on_drop: false }` [INFO] [stdout] bfe05f8714dded3479d65b524ca4c30619a5e4cdf47fd9d0dc60bb78b0356039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] f05ba80cef6973b3447f824fd620b234bd73e68fe15ae866609400da37ae7ed8 [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" "f05ba80cef6973b3447f824fd620b234bd73e68fe15ae866609400da37ae7ed8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking gnuplot v0.0.33 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking csv v1.1.6 [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: 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: 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: 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 `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 `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 30.77s [INFO] running `Command { std: "docker" "inspect" "f05ba80cef6973b3447f824fd620b234bd73e68fe15ae866609400da37ae7ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05ba80cef6973b3447f824fd620b234bd73e68fe15ae866609400da37ae7ed8", kill_on_drop: false }` [INFO] [stdout] f05ba80cef6973b3447f824fd620b234bd73e68fe15ae866609400da37ae7ed8