[INFO] cloning repository https://github.com/lgarcia93/rust_linear_algebra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lgarcia93/rust_linear_algebra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgarcia93%2Frust_linear_algebra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgarcia93%2Frust_linear_algebra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1977ba5f44b798ab2c4799899183b9550dbc88a [INFO] checking lgarcia93/rust_linear_algebra against try#c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgarcia93%2Frust_linear_algebra" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lgarcia93/rust_linear_algebra [INFO] finished tweaking git repo https://github.com/lgarcia93/rust_linear_algebra [INFO] tweaked toml for git repo https://github.com/lgarcia93/rust_linear_algebra written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lgarcia93/rust_linear_algebra on toolchain c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lgarcia93/rust_linear_algebra 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" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aab9b737346495bd810d67d9058d007600637cfc32a22a371e16c3d4a9b6c09f [INFO] running `Command { std: "docker" "start" "-a" "aab9b737346495bd810d67d9058d007600637cfc32a22a371e16c3d4a9b6c09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aab9b737346495bd810d67d9058d007600637cfc32a22a371e16c3d4a9b6c09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab9b737346495bd810d67d9058d007600637cfc32a22a371e16c3d4a9b6c09f", kill_on_drop: false }` [INFO] [stdout] aab9b737346495bd810d67d9058d007600637cfc32a22a371e16c3d4a9b6c09f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b6fa0ef3a66e465115ef58238e0a69c8ad1d6b84af3ef8f7c771c7d9c405db5 [INFO] running `Command { std: "docker" "start" "-a" "7b6fa0ef3a66e465115ef58238e0a69c8ad1d6b84af3ef8f7c771c7d9c405db5", kill_on_drop: false }` [INFO] [stderr] Checking math_operations v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `normalize` [INFO] [stdout] --> src/main.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::{check_vector_type, normalize, Vec3D}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `orthogonal` should have an upper camel case name [INFO] [stdout] --> src/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | orthogonal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Orthogonal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `parallel` should have an upper camel case name [INFO] [stdout] --> src/math.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | parallel, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `neitherOrthogonalOrParallel` should have an upper camel case name [INFO] [stdout] --> src/math.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | neitherOrthogonalOrParallel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NeitherOrthogonalOrParallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `normalize` [INFO] [stdout] --> src/main.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::{check_vector_type, normalize, Vec3D}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `orthogonal` should have an upper camel case name [INFO] [stdout] --> src/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | orthogonal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Orthogonal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `parallel` should have an upper camel case name [INFO] [stdout] --> src/math.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | parallel, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Parallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `neitherOrthogonalOrParallel` should have an upper camel case name [INFO] [stdout] --> src/math.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | neitherOrthogonalOrParallel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NeitherOrthogonalOrParallel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vec` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn add_vec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_vec` is never used [INFO] [stdout] --> src/main.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn sub_vec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale_vec` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn scale_vec() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_len` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn vec_len() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_vec` is never used [INFO] [stdout] --> src/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn normalize_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_dot_prod` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn calc_dot_prod() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_angles` is never used [INFO] [stdout] --> src/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn calc_angles() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_vector_types` is never used [INFO] [stdout] --> src/main.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn check_vector_types() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VectorType` is never used [INFO] [stdout] --> src/math.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum VectorType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vec` is never used [INFO] [stdout] --> src/math.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add_vec(a: &Vec3D, b: &Vec3D) -> Vec3D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale_vec` is never used [INFO] [stdout] --> src/math.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn scale_vec(a: &Vec3D, scale: f64) -> Vec3D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arccos` is never used [INFO] [stdout] --> src/math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn arccos(a: &Vec3D, b: &Vec3D) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degress` is never used [INFO] [stdout] --> src/math.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn degress(a: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_zero_vector` is never used [INFO] [stdout] --> src/math.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn is_zero_vector(a: &Vec3D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_vector_type` is never used [INFO] [stdout] --> src/math.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn check_vector_type(a: &Vec3D, b: &Vec3D) -> VectorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vec` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn add_vec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_vec` is never used [INFO] [stdout] --> src/main.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn sub_vec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale_vec` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn scale_vec() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_len` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn vec_len() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_vec` is never used [INFO] [stdout] --> src/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn normalize_vec() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_dot_prod` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn calc_dot_prod() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_angles` is never used [INFO] [stdout] --> src/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn calc_angles() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_vector_types` is never used [INFO] [stdout] --> src/main.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn check_vector_types() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VectorType` is never used [INFO] [stdout] --> src/math.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum VectorType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vec` is never used [INFO] [stdout] --> src/math.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add_vec(a: &Vec3D, b: &Vec3D) -> Vec3D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale_vec` is never used [INFO] [stdout] --> src/math.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn scale_vec(a: &Vec3D, scale: f64) -> Vec3D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arccos` is never used [INFO] [stdout] --> src/math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn arccos(a: &Vec3D, b: &Vec3D) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degress` is never used [INFO] [stdout] --> src/math.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn degress(a: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_zero_vector` is never used [INFO] [stdout] --> src/math.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn is_zero_vector(a: &Vec3D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_vector_type` is never used [INFO] [stdout] --> src/math.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn check_vector_type(a: &Vec3D, b: &Vec3D) -> VectorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "7b6fa0ef3a66e465115ef58238e0a69c8ad1d6b84af3ef8f7c771c7d9c405db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b6fa0ef3a66e465115ef58238e0a69c8ad1d6b84af3ef8f7c771c7d9c405db5", kill_on_drop: false }` [INFO] [stdout] 7b6fa0ef3a66e465115ef58238e0a69c8ad1d6b84af3ef8f7c771c7d9c405db5