[INFO] cloning repository https://github.com/Aboussejra/neural-net-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aboussejra/neural-net-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAboussejra%2Fneural-net-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAboussejra%2Fneural-net-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 547026c5eda655ee4203933a1fd5c5a66d86250e [INFO] checking Aboussejra/neural-net-rs/547026c5eda655ee4203933a1fd5c5a66d86250e against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAboussejra%2Fneural-net-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aboussejra/neural-net-rs on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aboussejra/neural-net-rs [INFO] finished tweaking git repo https://github.com/Aboussejra/neural-net-rs [INFO] tweaked toml for git repo https://github.com/Aboussejra/neural-net-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aboussejra/neural-net-rs 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8588037372f6fe81b38569632201c59008b984ba19e591e2c06fc5ce68c4376 [INFO] running `Command { std: "docker" "start" "-a" "c8588037372f6fe81b38569632201c59008b984ba19e591e2c06fc5ce68c4376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8588037372f6fe81b38569632201c59008b984ba19e591e2c06fc5ce68c4376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8588037372f6fe81b38569632201c59008b984ba19e591e2c06fc5ce68c4376", kill_on_drop: false }` [INFO] [stdout] c8588037372f6fe81b38569632201c59008b984ba19e591e2c06fc5ce68c4376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d99fbc2dde2d385fe3da3ef8d07ad88a453bbab0f429fb6428e9f129b34d7ce3 [INFO] running `Command { std: "docker" "start" "-a" "d99fbc2dde2d385fe3da3ef8d07ad88a453bbab0f429fb6428e9f129b34d7ce3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking neural-net-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/data_structures/utilities.rs (3 fixes) [INFO] [stdout] warning: unused variable: `bias` [INFO] [stdout] --> src/data_structures/utilities.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | let (activations_previous_layer, weights_matrix, bias) = cache_forward_prop; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bias` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_cost` is never used [INFO] [stdout] --> src/data_structures/utilities.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn compute_cost( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_backward` is never used [INFO] [stdout] --> src/data_structures/utilities.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn linear_backward( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let X = array![[0.5, 0.5]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let Y = array![[0., 1.]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 110 | let test_output: Array = array![[0.5000164, 0.49998199]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let b2 = array![[0.]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let W2 = array![[0.00096497, -0.01863493]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let b1 = array![[0.], [0.]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | let W1 = array![[0.01788628], [0.0043651]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let X = array![[-1.02387576, 1.12397796]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let real_out = array![[-0.8019544, 3.857635]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let b = array![[1.]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let W = array![[0.74505627, 1.97611078, -1.24412333]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let X = array![ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `linear_forward` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let (out, _cache) = linear_forward(X, W, b); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 85 + use crate::data_structures::utilities::linear_forward; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeepNeuralNet` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let model = DeepNeuralNet { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 85 + use crate::data_structures::DeepNeuralNet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | let test_output: Array = array![[0.5000164, 0.49998199]]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 85 + use crate::data_structures::utilities::Array; [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ix2` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | let test_output: Array = array![[0.5000164, 0.49998199]]; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 85 + use crate::data_structures::utilities::Ix2; [INFO] [stdout] | [INFO] [stdout] 85 + use ndarray::Ix2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_cost` in this scope [INFO] [stdout] --> src/data_structures/utilities.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(compute_cost(X, Y), 0.6931472) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 85 + use crate::data_structures::utilities::compute_cost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bias` [INFO] [stdout] --> src/data_structures/utilities.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | let (activations_previous_layer, weights_matrix, bias) = cache_forward_prop; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bias` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neural-net-rs` (lib test) due to 18 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d99fbc2dde2d385fe3da3ef8d07ad88a453bbab0f429fb6428e9f129b34d7ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99fbc2dde2d385fe3da3ef8d07ad88a453bbab0f429fb6428e9f129b34d7ce3", kill_on_drop: false }` [INFO] [stdout] d99fbc2dde2d385fe3da3ef8d07ad88a453bbab0f429fb6428e9f129b34d7ce3