[INFO] cloning repository https://github.com/ContainedBlargh/rustlearn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ContainedBlargh/rustlearn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99aae4588743133e90ba197de40ac108ee561256 [INFO] checking ContainedBlargh/rustlearn against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ContainedBlargh/rustlearn on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ContainedBlargh/rustlearn [INFO] finished tweaking git repo https://github.com/ContainedBlargh/rustlearn [INFO] tweaked toml for git repo https://github.com/ContainedBlargh/rustlearn written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ContainedBlargh/rustlearn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded statistical v1.0.0 [INFO] [stderr] Downloaded arrayfire v3.6.2 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd5fc39ad36c6b8e0445bd8f52c2f5338672744a445f011fa0d0e43bf71ac24e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dd5fc39ad36c6b8e0445bd8f52c2f5338672744a445f011fa0d0e43bf71ac24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd5fc39ad36c6b8e0445bd8f52c2f5338672744a445f011fa0d0e43bf71ac24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5fc39ad36c6b8e0445bd8f52c2f5338672744a445f011fa0d0e43bf71ac24e", kill_on_drop: false }` [INFO] [stdout] dd5fc39ad36c6b8e0445bd8f52c2f5338672744a445f011fa0d0e43bf71ac24e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d92cc41683d7606f682362f676df8d20292b518579e0a4cb937f524c3263acb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d92cc41683d7606f682362f676df8d20292b518579e0a4cb937f524c3263acb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking memchr v2.2.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking statistical v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling arrayfire v3.6.2 [INFO] [stderr] Checking rustlearn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | .filter_map(|(i, r)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..epochs { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/fc.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | (Some(x), Some(y)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `softmax` [INFO] [stdout] --> src/utils.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn softmax(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `softmax_deriv` [INFO] [stdout] --> src/utils.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn softmax_deriv(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_random_fc` [INFO] [stdout] --> src/fc.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn init_random_fc(input_size: u64, output_size: u64) -> FCLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_identity_fc` [INFO] [stdout] --> src/fc.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn init_identity_fc(input_size: u64, output_size: u64) -> FCLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrayfire_test` [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn arrayfire_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fc_test` [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn fc_test() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/main.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | fn mean_square_error(Y: &Array, y: &Array) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | .filter_map(|(i, r)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..epochs { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/fc.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | (Some(x), Some(y)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `softmax` [INFO] [stdout] --> src/utils.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn softmax(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `softmax_deriv` [INFO] [stdout] --> src/utils.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn softmax_deriv(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_random_fc` [INFO] [stdout] --> src/fc.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn init_random_fc(input_size: u64, output_size: u64) -> FCLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_identity_fc` [INFO] [stdout] --> src/fc.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn init_identity_fc(input_size: u64, output_size: u64) -> FCLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrayfire_test` [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn arrayfire_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fc_test` [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn fc_test() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/main.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | fn mean_square_error(Y: &Array, y: &Array) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.06s [INFO] running `Command { std: "docker" "inspect" "1d92cc41683d7606f682362f676df8d20292b518579e0a4cb937f524c3263acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d92cc41683d7606f682362f676df8d20292b518579e0a4cb937f524c3263acb", kill_on_drop: false }` [INFO] [stdout] 1d92cc41683d7606f682362f676df8d20292b518579e0a4cb937f524c3263acb