[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ContainedBlargh/rustlearn on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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" "+beta" "fetch" "--locked" "--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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e1b7312f8381c2da9d9015095f2d0f655d43d8f3119b89d97010bb91c1cf629 [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" "7e1b7312f8381c2da9d9015095f2d0f655d43d8f3119b89d97010bb91c1cf629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e1b7312f8381c2da9d9015095f2d0f655d43d8f3119b89d97010bb91c1cf629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e1b7312f8381c2da9d9015095f2d0f655d43d8f3119b89d97010bb91c1cf629", kill_on_drop: false }` [INFO] [stdout] 7e1b7312f8381c2da9d9015095f2d0f655d43d8f3119b89d97010bb91c1cf629 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e401139458633d7fb134da258e112eb622989a5cea971d52ec1cd5b2c04fbd36 [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" "e401139458633d7fb134da258e112eb622989a5cea971d52ec1cd5b2c04fbd36", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking statistical v1.0.0 [INFO] [stderr] Compiling arrayfire v3.6.2 [INFO] [stderr] Checking rustlearn v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.93s [INFO] running `Command { std: "docker" "inspect" "e401139458633d7fb134da258e112eb622989a5cea971d52ec1cd5b2c04fbd36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e401139458633d7fb134da258e112eb622989a5cea971d52ec1cd5b2c04fbd36", kill_on_drop: false }` [INFO] [stdout] e401139458633d7fb134da258e112eb622989a5cea971d52ec1cd5b2c04fbd36