[INFO] cloning repository https://github.com/arjun-myanger/rust_ml_library [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arjun-myanger/rust_ml_library" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjun-myanger%2Frust_ml_library", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjun-myanger%2Frust_ml_library'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4de8aca6db2f1903cbe89e084cd086e374c1378b [INFO] checking arjun-myanger/rust_ml_library against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjun-myanger%2Frust_ml_library" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arjun-myanger/rust_ml_library [INFO] finished tweaking git repo https://github.com/arjun-myanger/rust_ml_library [INFO] tweaked toml for git repo https://github.com/arjun-myanger/rust_ml_library written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arjun-myanger/rust_ml_library on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arjun-myanger/rust_ml_library 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking arjun-myanger/rust_ml_library against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farjun-myanger%2Frust_ml_library" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arjun-myanger/rust_ml_library [INFO] finished tweaking git repo https://github.com/arjun-myanger/rust_ml_library [INFO] tweaked toml for git repo https://github.com/arjun-myanger/rust_ml_library written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arjun-myanger/rust_ml_library on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arjun-myanger/rust_ml_library 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.81 [INFO] [stderr] Downloaded nalgebra-macros v0.1.0 [INFO] [stderr] Downloaded autocfg v1.2.0 [INFO] [stderr] Downloaded num-complex v0.4.5 [INFO] [stderr] Downloaded matrixmultiply v0.3.8 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded simba v0.6.0 [INFO] [stderr] Downloaded safe_arch v0.7.1 [INFO] [stderr] Downloaded wide v0.7.16 [INFO] [stderr] Downloaded nalgebra v0.29.0 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72ceacf1b0dec07c173ce9ab0b447ae37331d5a3b9345f2eb4d918a5b1cf01c8 [INFO] running `Command { std: "docker" "start" "-a" "72ceacf1b0dec07c173ce9ab0b447ae37331d5a3b9345f2eb4d918a5b1cf01c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72ceacf1b0dec07c173ce9ab0b447ae37331d5a3b9345f2eb4d918a5b1cf01c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ceacf1b0dec07c173ce9ab0b447ae37331d5a3b9345f2eb4d918a5b1cf01c8", kill_on_drop: false }` [INFO] [stdout] 72ceacf1b0dec07c173ce9ab0b447ae37331d5a3b9345f2eb4d918a5b1cf01c8 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84d6154a1c99a67d58dfcf5621296e82ed564fe8d196e848bba1f84fa53a45bf [INFO] running `Command { std: "docker" "start" "-a" "84d6154a1c99a67d58dfcf5621296e82ed564fe8d196e848bba1f84fa53a45bf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking wide v0.7.16 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking rust_ml_library v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn forward(&mut self, inputs: Vec) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn backward(&mut self, targets: &Vec) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn update_weights_and_biases(&mut self, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn train(&mut self, data: &[(Vec, Vec)], epochs: usize, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn layers(&self) -> &Vec { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn forward(&mut self, inputs: Vec) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn backward(&mut self, targets: &Vec) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn update_weights_and_biases(&mut self, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn train(&mut self, data: &[(Vec, Vec)], epochs: usize, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/neural_net.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn layers(&self) -> &Vec { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/neural_net.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | layer.forward(inputs); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/neural_net.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | layer.forward(inputs); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/neural_net.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | let error_sum: f64 = weights_next [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/neural_net.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | let error_sum: f64 = weights_next [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/neural_net.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | .step_by(outputs_next.len()) [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/neural_net.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | .step_by(outputs_next.len()) [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ml_library` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_ml_library` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "84d6154a1c99a67d58dfcf5621296e82ed564fe8d196e848bba1f84fa53a45bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d6154a1c99a67d58dfcf5621296e82ed564fe8d196e848bba1f84fa53a45bf", kill_on_drop: false }` [INFO] [stdout] 84d6154a1c99a67d58dfcf5621296e82ed564fe8d196e848bba1f84fa53a45bf