[INFO] cloning repository https://github.com/ghkivanc/rustmax-classifier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghkivanc/rustmax-classifier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghkivanc%2Frustmax-classifier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghkivanc%2Frustmax-classifier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53ad5bf27e976aaf4233c1cb71ea492263819afd [INFO] checking ghkivanc/rustmax-classifier against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghkivanc%2Frustmax-classifier" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ghkivanc/rustmax-classifier [INFO] finished tweaking git repo https://github.com/ghkivanc/rustmax-classifier [INFO] tweaked toml for git repo https://github.com/ghkivanc/rustmax-classifier written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ghkivanc/rustmax-classifier on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ghkivanc/rustmax-classifier 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06dcf20e5b65a54ef87bcb941ac8ffc2ef3abe583654ad719d58557a92217262 [INFO] running `Command { std: "docker" "start" "-a" "06dcf20e5b65a54ef87bcb941ac8ffc2ef3abe583654ad719d58557a92217262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06dcf20e5b65a54ef87bcb941ac8ffc2ef3abe583654ad719d58557a92217262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06dcf20e5b65a54ef87bcb941ac8ffc2ef3abe583654ad719d58557a92217262", kill_on_drop: false }` [INFO] [stdout] 06dcf20e5b65a54ef87bcb941ac8ffc2ef3abe583654ad719d58557a92217262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f6f7c7113514fd87c2db0c92ae5a2679728a748e6876768e2b29e501f69818 [INFO] running `Command { std: "docker" "start" "-a" "75f6f7c7113514fd87c2db0c92ae5a2679728a748e6876768e2b29e501f69818", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking softmax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `fVector` should have an upper camel case name [INFO] [stdout] --> src/f_Vector/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct fVector [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FVector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fVector` should have an upper camel case name [INFO] [stdout] --> src/f_Vector/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct fVector [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FVector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scaler` [INFO] [stdout] --> src/lib.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let scaler = 5.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scaler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `f_Vector` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod f_Vector; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `f_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/f_Vector/mod.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self)->Iter [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self)->Iter<'_, f64> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/f_Vector/mod.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn iter_mut(&mut self)->IterMut [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn iter_mut(&mut self)->IterMut<'_, f64> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `otherVec` should have a snake case name [INFO] [stdout] --> src/f_Vector/mod.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn dot(&self, otherVec: &Self)->f64 [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `other_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `addVec` should have a snake case name [INFO] [stdout] --> src/lib.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let addVec = vec1.add(vec2); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `add_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compVec` should have a snake case name [INFO] [stdout] --> src/lib.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let compVec = fVector::<3>{data:result}; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `comp_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `addVec` should have a snake case name [INFO] [stdout] --> src/lib.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let addVec = vec1.mul(5.0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `add_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compVec` should have a snake case name [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let compVec = fVector::<3>{data:result}; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `comp_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `f_Vector` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod f_Vector; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `f_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/f_Vector/mod.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self)->Iter [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self)->Iter<'_, f64> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/f_Vector/mod.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn iter_mut(&mut self)->IterMut [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn iter_mut(&mut self)->IterMut<'_, f64> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `otherVec` should have a snake case name [INFO] [stdout] --> src/f_Vector/mod.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn dot(&self, otherVec: &Self)->f64 [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `other_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.06s [INFO] running `Command { std: "docker" "inspect" "75f6f7c7113514fd87c2db0c92ae5a2679728a748e6876768e2b29e501f69818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f6f7c7113514fd87c2db0c92ae5a2679728a748e6876768e2b29e501f69818", kill_on_drop: false }` [INFO] [stdout] 75f6f7c7113514fd87c2db0c92ae5a2679728a748e6876768e2b29e501f69818