[INFO] cloning repository https://github.com/mnickrogers/Rust-ML
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnickrogers/Rust-ML" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnickrogers%2FRust-ML", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnickrogers%2FRust-ML'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eef705bb8ad859a7fedc09c5b5f39b4e3a5d4d1e
[INFO] checking mnickrogers/Rust-ML against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnickrogers%2FRust-ML" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mnickrogers/Rust-ML
[INFO] finished tweaking git repo https://github.com/mnickrogers/Rust-ML
[INFO] tweaked toml for git repo https://github.com/mnickrogers/Rust-ML written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mnickrogers/Rust-ML on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mnickrogers/Rust-ML 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be95c79668bacde97bf8ae23be28fe9cb845cdf77767a2523af0255a2f35f399
[INFO] running `Command { std: "docker" "start" "-a" "be95c79668bacde97bf8ae23be28fe9cb845cdf77767a2523af0255a2f35f399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be95c79668bacde97bf8ae23be28fe9cb845cdf77767a2523af0255a2f35f399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be95c79668bacde97bf8ae23be28fe9cb845cdf77767a2523af0255a2f35f399", kill_on_drop: false }`
[INFO] [stdout] be95c79668bacde97bf8ae23be28fe9cb845cdf77767a2523af0255a2f35f399
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd741ad7e3f7e29dba659334fd1f227d76aa647228cc75185f37927173b1f2a8
[INFO] running `Command { std: "docker" "start" "-a" "bd741ad7e3f7e29dba659334fd1f227d76aa647228cc75185f37927173b1f2a8", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_ml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashSet, hash::Hash};
[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 import: `hash::Hash`
[INFO] [stdout]  --> src/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashSet, hash::Hash};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:49:32
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     build_topo(child, topo, visited);
[INFO] [stdout]    |                     ---------- ^^^^^ expected `&mut Value`, found `&mut *mut Value`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut Value`
[INFO] [stdout]               found mutable reference `&mut *mut Value`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |         fn build_topo(v: &mut Value, topo: &mut Vec<&mut Value>, visited: &mut HashSet<*mut Value>) {
[INFO] [stdout]    |            ^^^^^^^^^^ -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:49:32
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     build_topo(child, topo, visited);
[INFO] [stdout]    |                     ---------- ^^^^^ expected `&mut Value`, found `&mut *mut Value`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut Value`
[INFO] [stdout]               found mutable reference `&mut *mut Value`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |         fn build_topo(v: &mut Value, topo: &mut Vec<&mut Value>, visited: &mut HashSet<*mut Value>) {
[INFO] [stdout]    |            ^^^^^^^^^^ -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `node._backward` which is behind a shared reference
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             node._backward;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ move occurs because `node._backward` has type `Box<dyn FnMut()>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `node._backward` which is behind a shared reference
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             node._backward;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ move occurs because `node._backward` has type `Box<dyn FnMut()>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `out.grad` does not live long enough
[INFO] [stdout]   --> src/main.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut out = Value{
[INFO] [stdout]    |             ------- binding `out` declared here
[INFO] [stdout] ...
[INFO] [stdout] 75 |         let _backward = || {
[INFO] [stdout]    |                         -- value captured here
[INFO] [stdout] 76 |             self.grad += 1.0 * out.grad;
[INFO] [stdout]    |                                ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ------------- coercion requires that `out.grad` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     }
[INFO] [stdout]    |     - `out.grad` dropped here while still borrowed
[INFO] [stdout]    |
[INFO] [stdout]    = note: due to object lifetime defaults, `Box<dyn FnMut()>` actually means `Box<(dyn FnMut() + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `out.grad` does not live long enough
[INFO] [stdout]   --> src/main.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut out = Value{
[INFO] [stdout]    |             ------- binding `out` declared here
[INFO] [stdout] ...
[INFO] [stdout] 75 |         let _backward = || {
[INFO] [stdout]    |                         -- value captured here
[INFO] [stdout] 76 |             self.grad += 1.0 * out.grad;
[INFO] [stdout]    |                                ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ------------- coercion requires that `out.grad` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     }
[INFO] [stdout]    |     - `out.grad` dropped here while still borrowed
[INFO] [stdout]    |
[INFO] [stdout]    = note: due to object lifetime defaults, `Box<dyn FnMut()>` actually means `Box<(dyn FnMut() + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn add(&mut self, other: &mut Value) -> Value {
[INFO] [stdout]    |                - let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ coercion requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn add(&mut self, other: &mut Value) -> Value {
[INFO] [stdout]    |                - let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ coercion requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn add(&mut self, other: &mut Value) -> Value {
[INFO] [stdout]    |                                  - let's call the lifetime of this reference `'2`
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ coercion requires that `'2` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn add(&mut self, other: &mut Value) -> Value {
[INFO] [stdout]    |                                  - let's call the lifetime of this reference `'2`
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ coercion requires that `'2` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `out` because it is borrowed
[INFO] [stdout]   --> src/main.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _backward = || {
[INFO] [stdout]    |                         -- borrow of `out.grad` occurs here
[INFO] [stdout] 76 |             self.grad += 1.0 * out.grad;
[INFO] [stdout]    |                                -------- borrow occurs due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ------------- coercion requires that `out.grad` is borrowed for `'static`
[INFO] [stdout] 80 |
[INFO] [stdout] 81 |         return out;
[INFO] [stdout]    |                ^^^ move out of `out` occurs here
[INFO] [stdout]    |
[INFO] [stdout]    = note: due to object lifetime defaults, `Box<dyn FnMut()>` actually means `Box<(dyn FnMut() + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `out` because it is borrowed
[INFO] [stdout]   --> src/main.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _backward = || {
[INFO] [stdout]    |                         -- borrow of `out.grad` occurs here
[INFO] [stdout] 76 |             self.grad += 1.0 * out.grad;
[INFO] [stdout]    |                                -------- borrow occurs due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 79 |         out._backward = Box::new(_backward);
[INFO] [stdout]    |         ------------- coercion requires that `out.grad` is borrowed for `'static`
[INFO] [stdout] 80 |
[INFO] [stdout] 81 |         return out;
[INFO] [stdout]    |                ^^^ move out of `out` occurs here
[INFO] [stdout]    |
[INFO] [stdout]    = note: due to object lifetime defaults, `Box<dyn FnMut()>` actually means `Box<(dyn FnMut() + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0507, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0507, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ml` (bin "rust_ml" test) due to 6 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_ml` (bin "rust_ml") due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "bd741ad7e3f7e29dba659334fd1f227d76aa647228cc75185f37927173b1f2a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd741ad7e3f7e29dba659334fd1f227d76aa647228cc75185f37927173b1f2a8", kill_on_drop: false }`
[INFO] [stdout] bd741ad7e3f7e29dba659334fd1f227d76aa647228cc75185f37927173b1f2a8
