[INFO] cloning repository https://github.com/patrik-cihal/continous-nns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrik-cihal/continous-nns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrik-cihal%2Fcontinous-nns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrik-cihal%2Fcontinous-nns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67bc90322841b8dfbf446c078475943010e48865 [INFO] checking patrik-cihal/continous-nns against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrik-cihal%2Fcontinous-nns" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/patrik-cihal/continous-nns [INFO] finished tweaking git repo https://github.com/patrik-cihal/continous-nns [INFO] tweaked toml for git repo https://github.com/patrik-cihal/continous-nns written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patrik-cihal/continous-nns on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patrik-cihal/continous-nns 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/patrik-cihal/micrograd-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edb8741586e562c18906a0e94044252de469bdfaf0753ddadb0e4b2fe18a5aee [INFO] running `Command { std: "docker" "start" "-a" "edb8741586e562c18906a0e94044252de469bdfaf0753ddadb0e4b2fe18a5aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb8741586e562c18906a0e94044252de469bdfaf0753ddadb0e4b2fe18a5aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb8741586e562c18906a0e94044252de469bdfaf0753ddadb0e4b2fe18a5aee", kill_on_drop: false }` [INFO] [stdout] edb8741586e562c18906a0e94044252de469bdfaf0753ddadb0e4b2fe18a5aee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b4faf24c029f17e8ce8a2ac6d2f14ff5900d7d9e78ef6eeabbf975e03bf930 [INFO] running `Command { std: "docker" "start" "-a" "d3b4faf24c029f17e8ce8a2ac6d2f14ff5900d7d9e78ef6eeabbf975e03bf930", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking micrograd v0.1.0 (https://github.com/patrik-cihal/micrograd-rs#bd0a0126) [INFO] [stderr] Checking getrandom v0.2.11 [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 continous-nns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LayeredNetwork` and `TanhLayer` [INFO] [stdout] --> src/rnn.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{layer::{LayeredNetwork, TanhLayer}, Matrix}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayeredNetwork` and `TanhLayer` [INFO] [stdout] --> src/rnn.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{layer::{LayeredNetwork, TanhLayer}, Matrix}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/sin_approx_ltc.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | (x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - (x) [INFO] [stdout] 41 + x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/sin_approx_ltc.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | fn train(mut ltc: &mut LTC) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/sin_approx.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | (x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - (x) [INFO] [stdout] 36 + x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/sin_approx.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | (x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - (x) [INFO] [stdout] 36 + x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Option` by `{float}` [INFO] [stdout] --> src/bin/xsq.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | let new_val = param.eval()-param.grad(&label)*loss_speed; [INFO] [stdout] | ------------------^---------- {float} [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] note: `Option` does not implement `Mul<{float}>` [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/option.rs:600:0 [INFO] [stdout] | [INFO] [stdout] = note: `Option` is defined in another crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/sin_approx_ltc.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | (x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - (x) [INFO] [stdout] 41 + x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Option` by `{float}` [INFO] [stdout] --> src/bin/sin_approx.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | let nval = par.eval() - par.grad(&label) * loss_speed / (epoch_size as f64); [INFO] [stdout] | ---------------- ^ ---------- {float} [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] note: `Option` does not implement `Mul<{float}>` [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/option.rs:600:0 [INFO] [stdout] | [INFO] [stdout] = note: `Option` is defined in another crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/bin/xsq.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | for (step, (x, y)) in testing_data.into_iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Option` by `{float}` [INFO] [stdout] --> src/bin/sin_approx.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | let nval = par.eval() - par.grad(&label) * loss_speed / (epoch_size as f64); [INFO] [stdout] | ---------------- ^ ---------- {float} [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] note: `Option` does not implement `Mul<{float}>` [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/option.rs:600:0 [INFO] [stdout] | [INFO] [stdout] = note: `Option` is defined in another crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `continous-nns` (bin "xsq") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `continous-nns` (bin "sin_approx") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/sin_approx_ltc.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | fn train(mut ltc: &mut LTC) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Option` by `{float}` [INFO] [stdout] --> src/bin/xsq.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | let new_val = param.eval()-param.grad(&label)*loss_speed; [INFO] [stdout] | ------------------^---------- {float} [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] note: `Option` does not implement `Mul<{float}>` [INFO] [stdout] --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/option.rs:600:0 [INFO] [stdout] | [INFO] [stdout] = note: `Option` is defined in another crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/bin/xsq.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | for (step, (x, y)) in testing_data.into_iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `continous-nns` (bin "sin_approx" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `continous-nns` (bin "xsq" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d3b4faf24c029f17e8ce8a2ac6d2f14ff5900d7d9e78ef6eeabbf975e03bf930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b4faf24c029f17e8ce8a2ac6d2f14ff5900d7d9e78ef6eeabbf975e03bf930", kill_on_drop: false }` [INFO] [stdout] d3b4faf24c029f17e8ce8a2ac6d2f14ff5900d7d9e78ef6eeabbf975e03bf930