[INFO] cloning repository https://github.com/seanlnge/Neural-Tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seanlnge/Neural-Tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlnge%2FNeural-Tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlnge%2FNeural-Tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cecb794f8d483cec74b80d68eb7bb1b8f3c19fc6 [INFO] testing seanlnge/Neural-Tree against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlnge%2FNeural-Tree" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanlnge/Neural-Tree on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seanlnge/Neural-Tree [INFO] finished tweaking git repo https://github.com/seanlnge/Neural-Tree [INFO] tweaked toml for git repo https://github.com/seanlnge/Neural-Tree written to /workspace/builds/worker-58/source/Cargo.toml [INFO] crate git repo https://github.com/seanlnge/Neural-Tree already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a84434b38583c223291fbc7b5fb947542999d5e3423e86fdc7f096d19a68814 [INFO] running `Command { std: "docker" "start" "-a" "4a84434b38583c223291fbc7b5fb947542999d5e3423e86fdc7f096d19a68814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a84434b38583c223291fbc7b5fb947542999d5e3423e86fdc7f096d19a68814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a84434b38583c223291fbc7b5fb947542999d5e3423e86fdc7f096d19a68814", kill_on_drop: false }` [INFO] [stdout] 4a84434b38583c223291fbc7b5fb947542999d5e3423e86fdc7f096d19a68814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32fd9c00a34603c514fb300253878187cc77e04eca74a91434838a8755d338d8 [INFO] running `Command { std: "docker" "start" "-a" "32fd9c00a34603c514fb300253878187cc77e04eca74a91434838a8755d338d8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling neural_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:143:2 [INFO] [stdout] | [INFO] [stdout] 29 | impl Transform { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 79 | Self::Scalar(x) => { // dT/dz = x [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `,` [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | , // dT/dz = x [INFO] [stdout] | ^ help: change this to `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/main.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl Transform { [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 82 | Self::Invert => -1.0 / expected.powi(1), // dT/dz = -1/z^2 [INFO] [stdout] | -^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: `}` may belong here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: enum is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/main.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | enum NodeType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the enum out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/main.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the struct out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | impl Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the implementation out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let m = Node::new(vec![], NodeType::Constant(1.0), Transform::new(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> src/main.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let m = Node::new(vec![], NodeType::Constant(1.0), Transform::new(vec![ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let n = Node::new(vec![], NodeType::Constant(-0.3), Transform::new(vec![ [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> src/main.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let n = Node::new(vec![], NodeType::Constant(-0.3), Transform::new(vec![ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut o = Node::new(vec![m, n], NodeType::Sum, Transform::Identity); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> src/main.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | let mut o = Node::new(vec![m, n], NodeType::Sum, Transform::Identity); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backpropagate` found for mutable reference `&mut Value` in the current scope [INFO] [stdout] --> src/main.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | x.backpropagate(expected); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | x.value() * expected [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neural_tree` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "32fd9c00a34603c514fb300253878187cc77e04eca74a91434838a8755d338d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fd9c00a34603c514fb300253878187cc77e04eca74a91434838a8755d338d8", kill_on_drop: false }` [INFO] [stdout] 32fd9c00a34603c514fb300253878187cc77e04eca74a91434838a8755d338d8