[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#9fa580b1175018b0a276b0bc68f9827a106f7260 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-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yukimakura/probability_example_Q_p50 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b447ae7f05e6d838723176854687e11b708d8c2892b2f55c14aaa80ec764bc38 [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" "b447ae7f05e6d838723176854687e11b708d8c2892b2f55c14aaa80ec764bc38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b447ae7f05e6d838723176854687e11b708d8c2892b2f55c14aaa80ec764bc38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b447ae7f05e6d838723176854687e11b708d8c2892b2f55c14aaa80ec764bc38", kill_on_drop: false }` [INFO] [stdout] b447ae7f05e6d838723176854687e11b708d8c2892b2f55c14aaa80ec764bc38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 1183b28205b1cae04979a3faf531ccc0ad240827d3b6fda311f046d7ec38e9f1 [INFO] running `Command { std: "docker" "start" "-a" "1183b28205b1cae04979a3faf531ccc0ad240827d3b6fda311f046d7ec38e9f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [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 quote v1.0.9 [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: 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 `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 35.22s [INFO] running `Command { std: "docker" "inspect" "1183b28205b1cae04979a3faf531ccc0ad240827d3b6fda311f046d7ec38e9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1183b28205b1cae04979a3faf531ccc0ad240827d3b6fda311f046d7ec38e9f1", kill_on_drop: false }` [INFO] [stdout] 1183b28205b1cae04979a3faf531ccc0ad240827d3b6fda311f046d7ec38e9f1