[INFO] cloning repository https://github.com/laurin-hefti/Hartree-Fock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laurin-hefti/Hartree-Fock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaurin-hefti%2FHartree-Fock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaurin-hefti%2FHartree-Fock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f2306b8bb9b426bf7d6625fba3ff68f52a3d216 [INFO] checking laurin-hefti/Hartree-Fock against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaurin-hefti%2FHartree-Fock" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/laurin-hefti/Hartree-Fock [INFO] finished tweaking git repo https://github.com/laurin-hefti/Hartree-Fock [INFO] tweaked toml for git repo https://github.com/laurin-hefti/Hartree-Fock written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/laurin-hefti/Hartree-Fock on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/laurin-hefti/Hartree-Fock 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking laurin-hefti/Hartree-Fock against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaurin-hefti%2FHartree-Fock" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/laurin-hefti/Hartree-Fock [INFO] finished tweaking git repo https://github.com/laurin-hefti/Hartree-Fock [INFO] tweaked toml for git repo https://github.com/laurin-hefti/Hartree-Fock written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/laurin-hefti/Hartree-Fock on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/laurin-hefti/Hartree-Fock 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simba v0.6.0 [INFO] [stderr] Downloaded nalgebra-macros v0.1.0 [INFO] [stderr] Downloaded statrs v0.16.1 [INFO] [stderr] Downloaded nalgebra v0.29.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 111194f89c4c30cea2539c833d7e1700ea4849ec615c6612d7070eb15ee52791 [INFO] running `Command { std: "docker" "start" "-a" "111194f89c4c30cea2539c833d7e1700ea4849ec615c6612d7070eb15ee52791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "111194f89c4c30cea2539c833d7e1700ea4849ec615c6612d7070eb15ee52791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "111194f89c4c30cea2539c833d7e1700ea4849ec615c6612d7070eb15ee52791", kill_on_drop: false }` [INFO] [stdout] 111194f89c4c30cea2539c833d7e1700ea4849ec615c6612d7070eb15ee52791 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0b29915aa32620a4065dc1182daee95e515b8b5ac5dff764065b2531a1b52f [INFO] running `Command { std: "docker" "start" "-a" "2b0b29915aa32620a4065dc1182daee95e515b8b5ac5dff764065b2531a1b52f", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking statrs v0.16.1 [INFO] [stderr] Checking HF v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/system.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/integrator.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | return (y * (3.0-2.0*y*len_vec(&sub_vec(&e1.pos, &e2.pos)).powf(2.0)) * s); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - return (y * (3.0-2.0*y*len_vec(&sub_vec(&e1.pos, &e2.pos)).powf(2.0)) * s); [INFO] [stdout] 187 + return y * (3.0-2.0*y*len_vec(&sub_vec(&e1.pos, &e2.pos)).powf(2.0)) * s; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] 77 + if m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] 93 + if m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/orb.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn H1S_rel(c: &Vec, alpha: &Vec) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DIIS` [INFO] [stdout] --> src/HartreeFock.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let DIIS: bool = true; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_DIIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` is never used [INFO] [stdout] --> src/utils.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_calculation` is never used [INFO] [stdout] --> src/HartreeFock.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl HF { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn test_calculation(&self, sys: &System) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HartreeFock` should have a snake case name [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod HartreeFock; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `hartree_fock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/orb.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `H1S_rel` should have a snake case name [INFO] [stdout] --> src/orb.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn H1S_rel(c: &Vec, alpha: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h1_s_rel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GTO` should have a snake case name [INFO] [stdout] --> src/orb.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn GTO(c: &Vec, alpha: &Vec) -> f64{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `gto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NORM_1S_GTO` should have a snake case name [INFO] [stdout] --> src/orb.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn NORM_1S_GTO(a: f64) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `norm_1_s_gto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NORM_GTO` should have a snake case name [INFO] [stdout] --> src/orb.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn NORM_GTO(l: f64, m: f64, n: f64, a: f64) -> f64{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `norm_gto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `STO` should have a snake case name [INFO] [stdout] --> src/orb.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn STO(){} [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `sto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/integrator.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dx` should have an upper case name [INFO] [stdout] --> src/settings.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const dx : f64 = 0.5; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `DX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `grid_dist` should have an upper case name [INFO] [stdout] --> src/settings.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const grid_dist : f64 = 2.0; //volume to integrate [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_DIST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `int_b` should have an upper case name [INFO] [stdout] --> src/settings.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const int_b : i32 = (grid_dist / dx) as i32; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INT_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dx_loss` should have an upper case name [INFO] [stdout] --> src/settings.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const dx_loss : f64 = 0.8; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DX_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gird_dist_loss` should have an upper case name [INFO] [stdout] --> src/settings.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const gird_dist_loss : f64 = 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GIRD_DIST_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `int_b_loss` should have an upper case name [INFO] [stdout] --> src/settings.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const int_b_loss : i32 = (gird_dist_loss / dx_loss) as i32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INT_B_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nuc_radius_cut_off` should have an upper case name [INFO] [stdout] --> src/settings.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const nuc_radius_cut_off : f64 = 10e-10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUC_RADIUS_CUT_OFF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `orb_radius_cut_off` should have an upper case name [INFO] [stdout] --> src/settings.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const orb_radius_cut_off : f64 = 10e-5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ORB_RADIUS_CUT_OFF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `orb_val_cut_off` should have an upper case name [INFO] [stdout] --> src/settings.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const orb_val_cut_off : f64 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ORB_VAL_CUT_OFF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/utils.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub S: M, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Hcore` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub Hcore: M, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `hcore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `P` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub P: M, [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub F: M, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `C` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub C: M, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_S` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn calc_S(&mut self, sys: &System){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `calc_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_Hore` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn calc_Hore(&mut self, sys: &System){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `calc_hore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clac_Fock` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn clac_Fock(&mut self, sys: &System){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clac_fock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Roothaan_Haal` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn Roothaan_Haal(&mut self, sys: &System) -> (DMatrix, DVector){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `roothaan_haal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_MOs` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn sort_MOs(c: &mut DMatrix, e: &mut DVector) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sort_mos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tot_E` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn get_tot_E(&self, sys: &System) -> f64{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_tot_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SCF` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn SCF(&mut self, sys: &System){ [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `scf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DIIS` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let DIIS: bool = true; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `diis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `old_P` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let old_P: M = self.P.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `old_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/system.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/integrator.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | return (y * (3.0-2.0*y*len_vec(&sub_vec(&e1.pos, &e2.pos)).powf(2.0)) * s); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - return (y * (3.0-2.0*y*len_vec(&sub_vec(&e1.pos, &e2.pos)).powf(2.0)) * s); [INFO] [stdout] 187 + return y * (3.0-2.0*y*len_vec(&sub_vec(&e1.pos, &e2.pos)).powf(2.0)) * s; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] 77 + if m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - if (m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len()){ [INFO] [stdout] 93 + if m1.m.len() != m2.m.len() || m1.m[0].len() != m2.m[0].len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/orb.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn H1S_rel(c: &Vec, alpha: &Vec) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DIIS` [INFO] [stdout] --> src/HartreeFock.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let DIIS: bool = true; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_DIIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` is never used [INFO] [stdout] --> src/utils.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_calculation` is never used [INFO] [stdout] --> src/HartreeFock.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl HF { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn test_calculation(&self, sys: &System) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HartreeFock` should have a snake case name [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod HartreeFock; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `hartree_fock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/orb.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `H1S_rel` should have a snake case name [INFO] [stdout] --> src/orb.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn H1S_rel(c: &Vec, alpha: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h1_s_rel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GTO` should have a snake case name [INFO] [stdout] --> src/orb.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn GTO(c: &Vec, alpha: &Vec) -> f64{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `gto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NORM_1S_GTO` should have a snake case name [INFO] [stdout] --> src/orb.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn NORM_1S_GTO(a: f64) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `norm_1_s_gto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NORM_GTO` should have a snake case name [INFO] [stdout] --> src/orb.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn NORM_GTO(l: f64, m: f64, n: f64, a: f64) -> f64{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `norm_gto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `STO` should have a snake case name [INFO] [stdout] --> src/orb.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn STO(){} [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `sto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/integrator.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dx` should have an upper case name [INFO] [stdout] --> src/settings.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const dx : f64 = 0.5; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `DX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `grid_dist` should have an upper case name [INFO] [stdout] --> src/settings.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const grid_dist : f64 = 2.0; //volume to integrate [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `GRID_DIST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `int_b` should have an upper case name [INFO] [stdout] --> src/settings.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const int_b : i32 = (grid_dist / dx) as i32; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INT_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dx_loss` should have an upper case name [INFO] [stdout] --> src/settings.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const dx_loss : f64 = 0.8; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DX_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gird_dist_loss` should have an upper case name [INFO] [stdout] --> src/settings.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const gird_dist_loss : f64 = 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `GIRD_DIST_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `int_b_loss` should have an upper case name [INFO] [stdout] --> src/settings.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const int_b_loss : i32 = (gird_dist_loss / dx_loss) as i32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INT_B_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nuc_radius_cut_off` should have an upper case name [INFO] [stdout] --> src/settings.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const nuc_radius_cut_off : f64 = 10e-10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUC_RADIUS_CUT_OFF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `orb_radius_cut_off` should have an upper case name [INFO] [stdout] --> src/settings.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const orb_radius_cut_off : f64 = 10e-5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ORB_RADIUS_CUT_OFF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `orb_val_cut_off` should have an upper case name [INFO] [stdout] --> src/settings.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const orb_val_cut_off : f64 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ORB_VAL_CUT_OFF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/utils.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const e: f64= std::f64::consts::E; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub S: M, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Hcore` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub Hcore: M, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `hcore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `P` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub P: M, [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub F: M, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `C` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub C: M, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_S` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn calc_S(&mut self, sys: &System){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `calc_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_Hore` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn calc_Hore(&mut self, sys: &System){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `calc_hore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clac_Fock` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn clac_Fock(&mut self, sys: &System){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `clac_fock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Roothaan_Haal` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn Roothaan_Haal(&mut self, sys: &System) -> (DMatrix, DVector){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `roothaan_haal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_MOs` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn sort_MOs(c: &mut DMatrix, e: &mut DVector) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sort_mos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tot_E` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn get_tot_E(&self, sys: &System) -> f64{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_tot_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SCF` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn SCF(&mut self, sys: &System){ [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `scf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DIIS` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let DIIS: bool = true; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `diis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `old_P` should have a snake case name [INFO] [stdout] --> src/HartreeFock.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let old_P: M = self.P.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `old_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.54s [INFO] running `Command { std: "docker" "inspect" "2b0b29915aa32620a4065dc1182daee95e515b8b5ac5dff764065b2531a1b52f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0b29915aa32620a4065dc1182daee95e515b8b5ac5dff764065b2531a1b52f", kill_on_drop: false }` [INFO] [stdout] 2b0b29915aa32620a4065dc1182daee95e515b8b5ac5dff764065b2531a1b52f