[INFO] cloning repository https://github.com/shreyaspuducheri23/DS210_fMRI_analysis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shreyaspuducheri23/DS210_fMRI_analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshreyaspuducheri23%2FDS210_fMRI_analysis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshreyaspuducheri23%2FDS210_fMRI_analysis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17b2fcfd3d7b361322b9da63f329559784fb9f90
[INFO] testing shreyaspuducheri23/DS210_fMRI_analysis against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshreyaspuducheri23%2FDS210_fMRI_analysis" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis
[INFO] finished tweaking git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis
[INFO] tweaked toml for git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 43e276942c727575927e01ae3962dab2d58338b48186546b75484886dc4fd98f
[INFO] running `Command { std: "docker" "start" "-a" "43e276942c727575927e01ae3962dab2d58338b48186546b75484886dc4fd98f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43e276942c727575927e01ae3962dab2d58338b48186546b75484886dc4fd98f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43e276942c727575927e01ae3962dab2d58338b48186546b75484886dc4fd98f", kill_on_drop: false }`
[INFO] [stdout] 43e276942c727575927e01ae3962dab2d58338b48186546b75484886dc4fd98f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b390779cc68d06a9ff0dfd5abace004011088f41f9da396e0a1d3716eb1f1679
[INFO] running `Command { std: "docker" "start" "-a" "b390779cc68d06a9ff0dfd5abace004011088f41f9da396e0a1d3716eb1f1679", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling simd-adler32 v0.3.5
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v3.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling png v0.17.8
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling const-cstr v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling font-kit v0.11.0
[INFO] [stderr]    Compiling plotters-backend v0.3.4
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling freetype v0.7.0
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling image v0.24.6
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.56
[INFO] [stderr]    Compiling float-ord v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]    Compiling plotters-svg v0.3.3
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling plotters-bitmap v0.3.2
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling pest v2.6.0
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling pathfinder_simd v0.5.1
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling plotters v0.3.4
[INFO] [stderr]    Compiling final_proj v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `fMRI_graph` should have an upper camel case name
[INFO] [stdout]   --> src/preprocessing.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub struct fMRI_graph {
[INFO] [stdout]    |                ^^^^^^^^^^ help: convert the identifier to upper camel case: `FMriGraph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/preprocessing.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout]     |                                         ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 110 -                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout] 110 +                 average_matrix[i][j] /= matrices.len() as f64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `plotters::data`
[INFO] [stdout]   --> src/clustering.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use plotters::data;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/clustering.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout]    |                       ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout] 66 +         let binding = "results/images/".to_owned() + &data.len().to_string() + view_name + &".png";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::preprocessing::read_data::Node`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::preprocessing::read_data::Node;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph`
[INFO] [stdout]   --> src/clustering.rs:46:53
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn plot_clusters(clusters: &Vec<Vec<Node>>, graph: &fMRI_graph) {
[INFO] [stdout]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/clustering.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let mut locs_of_cluster: Vec<(f64, f64, f64)> = cluster.iter().filter_map(|node| node.loc).collect();
[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: method `get_adjacency_matrix` is never used
[INFO] [stdout]   --> src/preprocessing.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     impl fMRI_graph {
[INFO] [stdout]    |     --------------- method in this implementation
[INFO] [stdout] 19 |         pub fn get_adjacency_matrix(&self) -> &Vec<Vec<f64>> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_parent_cluster` is never used
[INFO] [stdout]   --> src/preprocessing.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |     impl Node {
[INFO] [stdout]    |     --------- method in this implementation
[INFO] [stdout] 25 |         pub fn find_parent_cluster(&self, clusters: &Vec<Vec<Node>>) -> Option<usize> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Clusters` should have a snake case name
[INFO] [stdout]    --> src/main.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let mut Clusters: Vec<Vec<read_data::Node>> = graph.nodes.iter().map(|item| vec![item.clone()]).collect(); // the initial clusters sh...
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clusters`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         writeln!(file, "Region {}:", i + 1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         writeln!(file, "{:?}", cluster.iter().map(|node| node.name.clone()).collect::<Vec<String>>());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         writeln!(file, "");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn figure_3D(data: Vec<Vec<(f64, f64, f64)>>) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D_perspective` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn figure_3D_perspective(data: &Vec<Vec<(f64,f64,f64)>>, pitch: f64, yaw: f64, view_name: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d_perspective`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 21.22s
[INFO] running `Command { std: "docker" "inspect" "b390779cc68d06a9ff0dfd5abace004011088f41f9da396e0a1d3716eb1f1679", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b390779cc68d06a9ff0dfd5abace004011088f41f9da396e0a1d3716eb1f1679", kill_on_drop: false }`
[INFO] [stdout] b390779cc68d06a9ff0dfd5abace004011088f41f9da396e0a1d3716eb1f1679
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c21f71b80bd16fecd21ed627b2fe2cd2afcd80eb1f5d792b676139963d1cbaf
[INFO] running `Command { std: "docker" "start" "-a" "9c21f71b80bd16fecd21ed627b2fe2cd2afcd80eb1f5d792b676139963d1cbaf", kill_on_drop: false }`
[INFO] [stderr]    Compiling final_proj v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `fMRI_graph` should have an upper camel case name
[INFO] [stdout]   --> src/preprocessing.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub struct fMRI_graph {
[INFO] [stdout]    |                ^^^^^^^^^^ help: convert the identifier to upper camel case: `FMriGraph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/preprocessing.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout]     |                                         ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 110 -                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout] 110 +                 average_matrix[i][j] /= matrices.len() as f64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `plotters::data`
[INFO] [stdout]   --> src/clustering.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use plotters::data;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/clustering.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout]    |                       ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout] 66 +         let binding = "results/images/".to_owned() + &data.len().to_string() + view_name + &".png";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]   --> src/main.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use std::collections::HashSet;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph`
[INFO] [stdout]   --> src/clustering.rs:46:53
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn plot_clusters(clusters: &Vec<Vec<Node>>, graph: &fMRI_graph) {
[INFO] [stdout]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/clustering.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let mut locs_of_cluster: Vec<(f64, f64, f64)> = cluster.iter().filter_map(|node| node.loc).collect();
[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: method `get_adjacency_matrix` is never used
[INFO] [stdout]   --> src/preprocessing.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     impl fMRI_graph {
[INFO] [stdout]    |     --------------- method in this implementation
[INFO] [stdout] 19 |         pub fn get_adjacency_matrix(&self) -> &Vec<Vec<f64>> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Clusters` should have a snake case name
[INFO] [stdout]    --> src/main.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let mut Clusters: Vec<Vec<read_data::Node>> = graph.nodes.iter().map(|item| vec![item.clone()]).collect(); // the initial clusters sh...
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clusters`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         writeln!(file, "Region {}:", i + 1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         writeln!(file, "{:?}", cluster.iter().map(|node| node.name.clone()).collect::<Vec<String>>());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         writeln!(file, "");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn figure_3D(data: Vec<Vec<(f64, f64, f64)>>) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D_perspective` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn figure_3D_perspective(data: &Vec<Vec<(f64,f64,f64)>>, pitch: f64, yaw: f64, view_name: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d_perspective`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.95s
[INFO] running `Command { std: "docker" "inspect" "9c21f71b80bd16fecd21ed627b2fe2cd2afcd80eb1f5d792b676139963d1cbaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c21f71b80bd16fecd21ed627b2fe2cd2afcd80eb1f5d792b676139963d1cbaf", kill_on_drop: false }`
[INFO] [stdout] 9c21f71b80bd16fecd21ed627b2fe2cd2afcd80eb1f5d792b676139963d1cbaf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0b2cd9ccc17277f8168f75e1cecee109db835506387ebd34783c58d5c77ff0f8
[INFO] running `Command { std: "docker" "start" "-a" "0b2cd9ccc17277f8168f75e1cecee109db835506387ebd34783c58d5c77ff0f8", kill_on_drop: false }`
[INFO] [stderr] warning: type `fMRI_graph` should have an upper camel case name
[INFO] [stderr]   --> src/preprocessing.rs:13:16
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub struct fMRI_graph {
[INFO] [stderr]    |                ^^^^^^^^^^ help: convert the identifier to upper camel case: `FMriGraph`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/preprocessing.rs:110:41
[INFO] [stderr]     |
[INFO] [stderr] 110 |                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stderr]     |                                         ^                     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 110 -                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stderr] 110 +                 average_matrix[i][j] /= matrices.len() as f64;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `plotters::data`
[INFO] [stderr]   --> src/clustering.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |     use plotters::data;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/clustering.rs:66:23
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stderr]    |                       ^                                                                            ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 66 -         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stderr] 66 +         let binding = "results/images/".to_owned() + &data.len().to_string() + view_name + &".png";
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::io;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashSet`
[INFO] [stderr]   --> src/main.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |     use std::collections::HashSet;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `graph`
[INFO] [stderr]   --> src/clustering.rs:46:53
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub fn plot_clusters(clusters: &Vec<Vec<Node>>, graph: &fMRI_graph) {
[INFO] [stderr]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/clustering.rs:50:17
[INFO] [stderr]    |
[INFO] [stderr] 50 |             let mut locs_of_cluster: Vec<(f64, f64, f64)> = cluster.iter().filter_map(|node| node.loc).collect();
[INFO] [stderr]    |                 ----^^^^^^^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_adjacency_matrix` is never used
[INFO] [stderr]   --> src/preprocessing.rs:19:16
[INFO] [stderr]    |
[INFO] [stderr] 18 |     impl fMRI_graph {
[INFO] [stderr]    |     --------------- method in this implementation
[INFO] [stderr] 19 |         pub fn get_adjacency_matrix(&self) -> &Vec<Vec<f64>> {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Clusters` should have a snake case name
[INFO] [stderr]    --> src/main.rs:173:13
[INFO] [stderr]     |
[INFO] [stderr] 173 |     let mut Clusters: Vec<Vec<read_data::Node>> = graph.nodes.iter().map(|item| vec![item.clone()]).collect(); // the initial clusters sh...
[INFO] [stderr]     |             ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clusters`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 |         writeln!(file, "Region {}:", i + 1);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:181:9
[INFO] [stderr]     |
[INFO] [stderr] 181 |         writeln!(file, "{:?}", cluster.iter().map(|node| node.name.clone()).collect::<Vec<String>>());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:182:9
[INFO] [stderr]     |
[INFO] [stderr] 182 |         writeln!(file, "");
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function `figure_3D` should have a snake case name
[INFO] [stderr]   --> src/clustering.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 57 |     pub fn figure_3D(data: Vec<Vec<(f64, f64, f64)>>) {
[INFO] [stderr]    |            ^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d`
[INFO] [stderr] 
[INFO] [stderr] warning: function `figure_3D_perspective` should have a snake case name
[INFO] [stderr]   --> src/clustering.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 64 |     pub fn figure_3D_perspective(data: &Vec<Vec<(f64,f64,f64)>>, pitch: f64, yaw: f64, view_name: &str) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d_perspective`
[INFO] [stderr] 
[INFO] [stderr] warning: `final_proj` (bin "final_proj" test) generated 15 warnings (run `cargo fix --bin "final_proj" --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/final_proj-7f8efe9c8770f4ae)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test test_merge ... ok
[INFO] [stdout] test test_average_matrices ... ok
[INFO] [stdout] test test_find_parent_cluster ... ok
[INFO] [stdout] test test_sci_to_float ... ok
[INFO] [stdout] test test_dimensions_of_conn_matrix ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_dimensions_of_conn_matrix stdout ----
[INFO] [stdout] thread 'test_dimensions_of_conn_matrix' panicked at src/preprocessing.rs:41:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5636250e5376 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x5636250e5376 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5636250e5376 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5636250e5376 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x56362510f5c0 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x56362510f5c0 - core::fmt::write::h3ed6aeaa977c8e45
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x5636250e2ddf - std::io::Write::write_fmt::h1299aa7741865f2b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x5636250e5154 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5636250e5154 - std::sys_common::backtrace::print::h85035a511aafe7a8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5636250e6ec7 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
[INFO] [stdout]   10:     0x5636250e6bad - std::panicking::default_hook::hf5fcb0f213fe709a
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x563624edac17 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h60265c2dfa87ee34
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x563624edac17 - test::test_main::{{closure}}::h77865bd3127078c6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x5636250e74e6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbc5ccf4eb663e1e5
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x5636250e74e6 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x5636250e7232 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x5636250e5876 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5636250e6f90 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x563624e90285 - core::panicking::panic_fmt::h784f20a50eaab275
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x563624e90863 - core::result::unwrap_failed::h03d8a5018196e1cd
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
[INFO] [stdout]   20:     0x563624e9b0db - core::result::Result<T,E>::unwrap::h64cd04d99f08eb62
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1073:23
[INFO] [stdout]   21:     0x563624ea2c19 - final_proj::preprocessing::read_data::read_connectivity_matrix::h9f387c2d2dd9dbca
[INFO] [stdout]                                at /opt/rustwide/workdir/src/preprocessing.rs:41:20
[INFO] [stdout]   22:     0x563624e96842 - final_proj::test_dimensions_of_conn_matrix::h2a9ee2abdef45f5c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:26:18
[INFO] [stdout]   23:     0x563624e96807 - final_proj::test_dimensions_of_conn_matrix::{{closure}}::h3bc12ea8a0999632
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:24:36
[INFO] [stdout]   24:     0x563624e99db6 - core::ops::function::FnOnce::call_once::h88a6cae13737e918
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x563624ee04ef - core::ops::function::FnOnce::call_once::h8dc6907944022cf6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x563624ee04ef - test::__rust_begin_short_backtrace::haae1a87433f1efb3
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x563624edf271 - test::run_test_in_process::{{closure}}::h8c7decfa7c14e152
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x563624edf271 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h19e6ff056d9d21e9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x563624edf271 - std::panicking::try::do_call::h89c848fcaa37c035
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x563624edf271 - std::panicking::try::h57ab3dc74e2839b8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x563624edf271 - std::panic::catch_unwind::hfb6a1b1abc120fb9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x563624edf271 - test::run_test_in_process::h5ae2f9875edd562d
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x563624edf271 - test::run_test::{{closure}}::h35d7300d8928a067
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x563624ea65a6 - test::run_test::{{closure}}::h7525ced405d23d1b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x563624ea65a6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e7db78ce05afad8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x563624eab607 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcfbcb64f1a1b3482
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x563624eab607 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9d89c5c4108bd689
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x563624eab607 - std::panicking::try::do_call::h8a4869bc94ec50c9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x563624eab607 - std::panicking::try::h9a576f20ff81ac30
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x563624eab607 - std::panic::catch_unwind::hbcb4e3f860ef9830
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x563624eab607 - std::thread::Builder::spawn_unchecked_::{{closure}}::h93c79a6be1505948
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x563624eab607 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h426d96740c81bdaf
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5636250ebfc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x5636250ebfc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x5636250ebfc5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fb0707b7ac3 - <unknown>
[INFO] [stdout]   47:     0x7fb070848bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_dimensions_of_conn_matrix
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin final_proj`
[INFO] running `Command { std: "docker" "inspect" "0b2cd9ccc17277f8168f75e1cecee109db835506387ebd34783c58d5c77ff0f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b2cd9ccc17277f8168f75e1cecee109db835506387ebd34783c58d5c77ff0f8", kill_on_drop: false }`
[INFO] [stdout] 0b2cd9ccc17277f8168f75e1cecee109db835506387ebd34783c58d5c77ff0f8
[INFO] testing shreyaspuducheri23/DS210_fMRI_analysis against beta-2024-02-10 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshreyaspuducheri23%2FDS210_fMRI_analysis" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis
[INFO] finished tweaking git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis
[INFO] tweaked toml for git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/shreyaspuducheri23/DS210_fMRI_analysis already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ecc5aad187b7b63542bcd48beac96efcdab329971d328ac319dc80a2666442c
[INFO] running `Command { std: "docker" "start" "-a" "6ecc5aad187b7b63542bcd48beac96efcdab329971d328ac319dc80a2666442c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ecc5aad187b7b63542bcd48beac96efcdab329971d328ac319dc80a2666442c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ecc5aad187b7b63542bcd48beac96efcdab329971d328ac319dc80a2666442c", kill_on_drop: false }`
[INFO] [stdout] 6ecc5aad187b7b63542bcd48beac96efcdab329971d328ac319dc80a2666442c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5208bffa7609fe1bc271890fc2f0751005b58230c188b942beeca3610331f869
[INFO] running `Command { std: "docker" "start" "-a" "5208bffa7609fe1bc271890fc2f0751005b58230c188b942beeca3610331f869", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling simd-adler32 v0.3.5
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v3.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling png v0.17.8
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling plotters-backend v0.3.4
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling const-cstr v0.3.0
[INFO] [stderr]    Compiling font-kit v0.11.0
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling freetype v0.7.0
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling float-ord v0.2.0
[INFO] [stderr]    Compiling image v0.24.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.56
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]    Compiling plotters-svg v0.3.3
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling plotters-bitmap v0.3.2
[INFO] [stderr]    Compiling pest v2.6.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling pathfinder_simd v0.5.1
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling plotters v0.3.4
[INFO] [stderr]    Compiling final_proj v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `fMRI_graph` should have an upper camel case name
[INFO] [stdout]   --> src/preprocessing.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub struct fMRI_graph {
[INFO] [stdout]    |                ^^^^^^^^^^ help: convert the identifier to upper camel case: `FMriGraph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/preprocessing.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout]     |                                         ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 110 -                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout] 110 +                 average_matrix[i][j] /= matrices.len() as f64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `plotters::data`
[INFO] [stdout]   --> src/clustering.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use plotters::data;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/clustering.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout]    |                       ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout] 66 +         let binding = "results/images/".to_owned() + &data.len().to_string() + view_name + &".png";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::preprocessing::read_data::Node`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::preprocessing::read_data::Node;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph`
[INFO] [stdout]   --> src/clustering.rs:46:53
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn plot_clusters(clusters: &Vec<Vec<Node>>, graph: &fMRI_graph) {
[INFO] [stdout]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/clustering.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let mut locs_of_cluster: Vec<(f64, f64, f64)> = cluster.iter().filter_map(|node| node.loc).collect();
[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: method `get_adjacency_matrix` is never used
[INFO] [stdout]   --> src/preprocessing.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     impl fMRI_graph {
[INFO] [stdout]    |     --------------- method in this implementation
[INFO] [stdout] 19 |         pub fn get_adjacency_matrix(&self) -> &Vec<Vec<f64>> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_parent_cluster` is never used
[INFO] [stdout]   --> src/preprocessing.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |     impl Node {
[INFO] [stdout]    |     --------- method in this implementation
[INFO] [stdout] 25 |         pub fn find_parent_cluster(&self, clusters: &Vec<Vec<Node>>) -> Option<usize> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Clusters` should have a snake case name
[INFO] [stdout]    --> src/main.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let mut Clusters: Vec<Vec<read_data::Node>> = graph.nodes.iter().map(|item| vec![item.clone()]).collect(); // the initial clusters sh...
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clusters`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         writeln!(file, "Region {}:", i + 1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         writeln!(file, "{:?}", cluster.iter().map(|node| node.name.clone()).collect::<Vec<String>>());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         writeln!(file, "");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn figure_3D(data: Vec<Vec<(f64, f64, f64)>>) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D_perspective` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn figure_3D_perspective(data: &Vec<Vec<(f64,f64,f64)>>, pitch: f64, yaw: f64, view_name: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d_perspective`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 34.68s
[INFO] running `Command { std: "docker" "inspect" "5208bffa7609fe1bc271890fc2f0751005b58230c188b942beeca3610331f869", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5208bffa7609fe1bc271890fc2f0751005b58230c188b942beeca3610331f869", kill_on_drop: false }`
[INFO] [stdout] 5208bffa7609fe1bc271890fc2f0751005b58230c188b942beeca3610331f869
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16c0b27575dab36b3a30538f5df2b08eb504c53aa8256a4de86585b3d70fbc9d
[INFO] running `Command { std: "docker" "start" "-a" "16c0b27575dab36b3a30538f5df2b08eb504c53aa8256a4de86585b3d70fbc9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling final_proj v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `fMRI_graph` should have an upper camel case name
[INFO] [stdout]   --> src/preprocessing.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub struct fMRI_graph {
[INFO] [stdout]    |                ^^^^^^^^^^ help: convert the identifier to upper camel case: `FMriGraph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/preprocessing.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout]     |                                         ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 110 -                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stdout] 110 +                 average_matrix[i][j] /= matrices.len() as f64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `plotters::data`
[INFO] [stdout]   --> src/clustering.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use plotters::data;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/clustering.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout]    |                       ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stdout] 66 +         let binding = "results/images/".to_owned() + &data.len().to_string() + view_name + &".png";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]   --> src/main.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use std::collections::HashSet;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph`
[INFO] [stdout]   --> src/clustering.rs:46:53
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn plot_clusters(clusters: &Vec<Vec<Node>>, graph: &fMRI_graph) {
[INFO] [stdout]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/clustering.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let mut locs_of_cluster: Vec<(f64, f64, f64)> = cluster.iter().filter_map(|node| node.loc).collect();
[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: method `get_adjacency_matrix` is never used
[INFO] [stdout]   --> src/preprocessing.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     impl fMRI_graph {
[INFO] [stdout]    |     --------------- method in this implementation
[INFO] [stdout] 19 |         pub fn get_adjacency_matrix(&self) -> &Vec<Vec<f64>> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Clusters` should have a snake case name
[INFO] [stdout]    --> src/main.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let mut Clusters: Vec<Vec<read_data::Node>> = graph.nodes.iter().map(|item| vec![item.clone()]).collect(); // the initial clusters sh...
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clusters`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         writeln!(file, "Region {}:", i + 1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         writeln!(file, "{:?}", cluster.iter().map(|node| node.name.clone()).collect::<Vec<String>>());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         writeln!(file, "");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn figure_3D(data: Vec<Vec<(f64, f64, f64)>>) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `figure_3D_perspective` should have a snake case name
[INFO] [stdout]   --> src/clustering.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn figure_3D_perspective(data: &Vec<Vec<(f64,f64,f64)>>, pitch: f64, yaw: f64, view_name: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d_perspective`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.00s
[INFO] running `Command { std: "docker" "inspect" "16c0b27575dab36b3a30538f5df2b08eb504c53aa8256a4de86585b3d70fbc9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16c0b27575dab36b3a30538f5df2b08eb504c53aa8256a4de86585b3d70fbc9d", kill_on_drop: false }`
[INFO] [stdout] 16c0b27575dab36b3a30538f5df2b08eb504c53aa8256a4de86585b3d70fbc9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e73f18333ade96d53d327cf4ae591c9817fbf0a25a2f912a9fb1438e9a03a068
[INFO] running `Command { std: "docker" "start" "-a" "e73f18333ade96d53d327cf4ae591c9817fbf0a25a2f912a9fb1438e9a03a068", kill_on_drop: false }`
[INFO] [stderr] warning: type `fMRI_graph` should have an upper camel case name
[INFO] [stderr]   --> src/preprocessing.rs:13:16
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub struct fMRI_graph {
[INFO] [stderr]    |                ^^^^^^^^^^ help: convert the identifier to upper camel case: `FMriGraph`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/preprocessing.rs:110:41
[INFO] [stderr]     |
[INFO] [stderr] 110 |                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stderr]     |                                         ^                     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 110 -                 average_matrix[i][j] /= (matrices.len() as f64);
[INFO] [stderr] 110 +                 average_matrix[i][j] /= matrices.len() as f64;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `plotters::data`
[INFO] [stderr]   --> src/clustering.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |     use plotters::data;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/clustering.rs:66:23
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stderr]    |                       ^                                                                            ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 66 -         let binding = ("results/images/".to_owned() + &data.len().to_string() + view_name + &".png");
[INFO] [stderr] 66 +         let binding = "results/images/".to_owned() + &data.len().to_string() + view_name + &".png";
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::io;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashSet`
[INFO] [stderr]   --> src/main.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |     use std::collections::HashSet;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `graph`
[INFO] [stderr]   --> src/clustering.rs:46:53
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub fn plot_clusters(clusters: &Vec<Vec<Node>>, graph: &fMRI_graph) {
[INFO] [stderr]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/clustering.rs:50:17
[INFO] [stderr]    |
[INFO] [stderr] 50 |             let mut locs_of_cluster: Vec<(f64, f64, f64)> = cluster.iter().filter_map(|node| node.loc).collect();
[INFO] [stderr]    |                 ----^^^^^^^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_adjacency_matrix` is never used
[INFO] [stderr]   --> src/preprocessing.rs:19:16
[INFO] [stderr]    |
[INFO] [stderr] 18 |     impl fMRI_graph {
[INFO] [stderr]    |     --------------- method in this implementation
[INFO] [stderr] 19 |         pub fn get_adjacency_matrix(&self) -> &Vec<Vec<f64>> {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Clusters` should have a snake case name
[INFO] [stderr]    --> src/main.rs:173:13
[INFO] [stderr]     |
[INFO] [stderr] 173 |     let mut Clusters: Vec<Vec<read_data::Node>> = graph.nodes.iter().map(|item| vec![item.clone()]).collect(); // the initial clusters sh...
[INFO] [stderr]     |             ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clusters`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 |         writeln!(file, "Region {}:", i + 1);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:181:9
[INFO] [stderr]     |
[INFO] [stderr] 181 |         writeln!(file, "{:?}", cluster.iter().map(|node| node.name.clone()).collect::<Vec<String>>());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:182:9
[INFO] [stderr]     |
[INFO] [stderr] 182 |         writeln!(file, "");
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function `figure_3D` should have a snake case name
[INFO] [stderr]   --> src/clustering.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 57 |     pub fn figure_3D(data: Vec<Vec<(f64, f64, f64)>>) {
[INFO] [stderr]    |            ^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d`
[INFO] [stderr] 
[INFO] [stderr] warning: function `figure_3D_perspective` should have a snake case name
[INFO] [stderr]   --> src/clustering.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 64 |     pub fn figure_3D_perspective(data: &Vec<Vec<(f64,f64,f64)>>, pitch: f64, yaw: f64, view_name: &str) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `figure_3_d_perspective`
[INFO] [stderr] 
[INFO] [stderr] warning: `final_proj` (bin "final_proj" test) generated 15 warnings (run `cargo fix --bin "final_proj" --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/final_proj-b85f968d186bb9d1)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test test_sci_to_float ... ok
[INFO] [stdout] test test_average_matrices ... ok
[INFO] [stdout] test test_find_parent_cluster ... ok
[INFO] [stdout] test test_merge ... ok
[INFO] [stdout] test test_dimensions_of_conn_matrix ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_dimensions_of_conn_matrix stdout ----
[INFO] [stdout] thread 'test_dimensions_of_conn_matrix' panicked at src/preprocessing.rs:41:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5594f459f6d6 - std::backtrace_rs::backtrace::libunwind::trace::h140b6deb6a45c671
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x5594f459f6d6 - std::backtrace_rs::backtrace::trace_unsynchronized::h8450d7e4e9219aed
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5594f459f6d6 - std::sys_common::backtrace::_print_fmt::hbd28e5e6c6fc3a3f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5594f459f6d6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb058f285768cf98e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5594f45c9760 - core::fmt::rt::Argument::fmt::h87dec7a95127da24
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x5594f45c9760 - core::fmt::write::h873f89a91a4832db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x5594f459cf2f - std::io::Write::write_fmt::h90f651e9e694a4bb
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/io/mod.rs:1846:15
[INFO] [stdout]    7:     0x5594f459f4b4 - std::sys_common::backtrace::_print::h7719d1529d9a9e13
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5594f459f4b4 - std::sys_common::backtrace::print::haa3afbd0e7947108
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5594f45a1227 - std::panicking::default_hook::{{closure}}::h10e3de2ec0eaff22
[INFO] [stdout]   10:     0x5594f45a0f0d - std::panicking::default_hook::hbdc1b1b7fe073dab
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x5594f4396437 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h20f7887d7cd0a330
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x5594f4396437 - test::test_main::{{closure}}::hc125a615957b5cb1
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x5594f45a1846 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h8c19e0590f8443c4
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x5594f45a1846 - std::panicking::rust_panic_with_hook::hb81692602460473d
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:785:13
[INFO] [stdout]   15:     0x5594f45a1592 - std::panicking::begin_panic_handler::{{closure}}::h2470593aa2678e9c
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:659:13
[INFO] [stdout]   16:     0x5594f459fbd6 - std::sys_common::backtrace::__rust_end_short_backtrace::h560bb50225b0562b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5594f45a12e4 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:647:5
[INFO] [stdout]   18:     0x5594f434cd15 - core::panicking::panic_fmt::h29b6f262f6458dc3
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5594f434d2f3 - core::result::unwrap_failed::h12bc80647957bcdb
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/result.rs:1649:5
[INFO] [stdout]   20:     0x5594f435bf95 - core::result::Result<T,E>::unwrap::h66f46b77b99b9fb1
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/result.rs:1073:23
[INFO] [stdout]   21:     0x5594f435bf95 - final_proj::preprocessing::read_data::read_connectivity_matrix::h7cac782795cdea63
[INFO] [stdout]                                at /opt/rustwide/workdir/src/preprocessing.rs:41:20
[INFO] [stdout]   22:     0x5594f434fec2 - final_proj::test_dimensions_of_conn_matrix::h9be9db1205d9549b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:26:18
[INFO] [stdout]   23:     0x5594f434fe87 - final_proj::test_dimensions_of_conn_matrix::{{closure}}::h14a26d8aa152fe70
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:24:36
[INFO] [stdout]   24:     0x5594f4356cc6 - core::ops::function::FnOnce::call_once::hae59194756b2c322
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5594f439c02f - core::ops::function::FnOnce::call_once::h692fe6f34484199f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5594f439c02f - test::__rust_begin_short_backtrace::h48b62e76bd60e2de
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:621:18
[INFO] [stdout]   27:     0x5594f439ae51 - test::run_test_in_process::{{closure}}::h1c68597526ef43db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:60
[INFO] [stdout]   28:     0x5594f439ae51 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hcae98092997f976b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x5594f439ae51 - std::panicking::try::do_call::h8d1548c2f5bb535a
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   30:     0x5594f439ae51 - std::panicking::try::hbb7a2054f484688e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   31:     0x5594f439ae51 - std::panic::catch_unwind::h696d12d9d80497c2
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x5594f439ae51 - test::run_test_in_process::h053367a7217c825b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:27
[INFO] [stdout]   33:     0x5594f439ae51 - test::run_test::{{closure}}::hfa524e9fabcba78e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:567:43
[INFO] [stdout]   34:     0x5594f43622b6 - test::run_test::{{closure}}::h2c4d0bb741ef7f9f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:595:41
[INFO] [stdout]   35:     0x5594f43622b6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0d2c708415550075
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x5594f4367277 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h76e2635840d7293f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x5594f4367277 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::haa640b67a810a214
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x5594f4367277 - std::panicking::try::do_call::h41892e3bc2807ab5
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   39:     0x5594f4367277 - std::panicking::try::h861a16d180681c80
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   40:     0x5594f4367277 - std::panic::catch_unwind::h8195f9064b1509fa
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x5594f4367277 - std::thread::Builder::spawn_unchecked_::{{closure}}::h73cc419da1217371
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x5594f4367277 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h79dc6499ff073b09
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5594f45a5c15 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha718e8cdc51a5182
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x5594f45a5c15 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h86072abc877c5474
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x5594f45a5c15 - std::sys::pal::unix::thread::Thread::new::thread_start::hac4056197c365894
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f7d7929fac3 - <unknown>
[INFO] [stdout]   47:     0x7f7d79330bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_dimensions_of_conn_matrix
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin final_proj`
[INFO] running `Command { std: "docker" "inspect" "e73f18333ade96d53d327cf4ae591c9817fbf0a25a2f912a9fb1438e9a03a068", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e73f18333ade96d53d327cf4ae591c9817fbf0a25a2f912a9fb1438e9a03a068", kill_on_drop: false }`
[INFO] [stdout] e73f18333ade96d53d327cf4ae591c9817fbf0a25a2f912a9fb1438e9a03a068
