[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#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn" "/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/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ContainedBlargh/rustlearn on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ContainedBlargh/rustlearn 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea2b04d24731781450b6a6b4447470fb4461e26b15e85d856b8639ac5df0ecb7 [INFO] running `Command { std: "docker" "start" "-a" "ea2b04d24731781450b6a6b4447470fb4461e26b15e85d856b8639ac5df0ecb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea2b04d24731781450b6a6b4447470fb4461e26b15e85d856b8639ac5df0ecb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2b04d24731781450b6a6b4447470fb4461e26b15e85d856b8639ac5df0ecb7", kill_on_drop: false }` [INFO] [stdout] ea2b04d24731781450b6a6b4447470fb4461e26b15e85d856b8639ac5df0ecb7 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd801dcc7dbe541d9acabf486fbdf3864e5dd45efc5ca6da76557f7588f8168c [INFO] running `Command { std: "docker" "start" "-a" "cd801dcc7dbe541d9acabf486fbdf3864e5dd45efc5ca6da76557f7588f8168c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 serde v1.0.104 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [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 quote v1.0.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_os v0.1.3 [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 rand_jitter v0.1.4 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking statistical v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Checking csv v1.1.1 [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)]` (part of `#[warn(unused)]`) on by default [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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] [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: function `arrayfire_test` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn arrayfire_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fc_test` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn fc_test() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax` is never used [INFO] [stdout] --> src/utils.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn softmax(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax_deriv` is never used [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: multiple methods are never used [INFO] [stdout] --> src/layer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Layer { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn learning_rate(self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | fn decay_rate(self) -> f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn squared_decay_rate(self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | fn epsilon(self) -> f32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | fn timestep(self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | fn movement(self) -> Array; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | fn squared_movement(self) -> Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_random_fc` is never used [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 `init_identity_fc` is never used [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: 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) on by default [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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] [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: function `arrayfire_test` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn arrayfire_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fc_test` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn fc_test() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax` is never used [INFO] [stdout] --> src/utils.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn softmax(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax_deriv` is never used [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: multiple methods are never used [INFO] [stdout] --> src/layer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Layer { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn learning_rate(self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | fn decay_rate(self) -> f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn squared_decay_rate(self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | fn epsilon(self) -> f32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | fn timestep(self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | fn movement(self) -> Array; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | fn squared_movement(self) -> Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_random_fc` is never used [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 `init_identity_fc` is never used [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: 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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.68s [INFO] running `Command { std: "docker" "inspect" "cd801dcc7dbe541d9acabf486fbdf3864e5dd45efc5ca6da76557f7588f8168c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd801dcc7dbe541d9acabf486fbdf3864e5dd45efc5ca6da76557f7588f8168c", kill_on_drop: false }` [INFO] [stdout] cd801dcc7dbe541d9acabf486fbdf3864e5dd45efc5ca6da76557f7588f8168c