[INFO] cloning repository https://github.com/bytesnake/erkenntnis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bytesnake/erkenntnis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytesnake%2Ferkenntnis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytesnake%2Ferkenntnis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f314b2134594016885f0b26599cb6c8355eee2bf [INFO] checking bytesnake/erkenntnis against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytesnake%2Ferkenntnis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bytesnake/erkenntnis [INFO] finished tweaking git repo https://github.com/bytesnake/erkenntnis [INFO] tweaked toml for git repo https://github.com/bytesnake/erkenntnis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bytesnake/erkenntnis on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bytesnake/erkenntnis 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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "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 bytesnake/erkenntnis against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytesnake%2Ferkenntnis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bytesnake/erkenntnis [INFO] finished tweaking git repo https://github.com/bytesnake/erkenntnis [INFO] tweaked toml for git repo https://github.com/bytesnake/erkenntnis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bytesnake/erkenntnis on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bytesnake/erkenntnis 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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 029f74d9c49586f690691af0e46a093220563f8395c734dff8cfe75a7107c795 [INFO] running `Command { std: "docker" "start" "-a" "029f74d9c49586f690691af0e46a093220563f8395c734dff8cfe75a7107c795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "029f74d9c49586f690691af0e46a093220563f8395c734dff8cfe75a7107c795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029f74d9c49586f690691af0e46a093220563f8395c734dff8cfe75a7107c795", kill_on_drop: false }` [INFO] [stdout] 029f74d9c49586f690691af0e46a093220563f8395c734dff8cfe75a7107c795 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e34f0d6b297fbf1c9e9781860a0df8d14b821d3ea320e7c84dc98383bf0b3515 [INFO] running `Command { std: "docker" "start" "-a" "e34f0d6b297fbf1c9e9781860a0df8d14b821d3ea320e7c84dc98383bf0b3515", kill_on_drop: false }` [INFO] [stderr] Checking tensor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `op`, and `input_nodes` are never read [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 23 | // unique identification in the graph [INFO] [stdout] 24 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | // performing operation [INFO] [stdout] 26 | op: Box, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 30 | input_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 38 | pub(crate) fn add(&mut self, mut node: Node) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs` and `graph` are never read [INFO] [stdout] --> src/op.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ComputeContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | graph: Rc> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `en` [INFO] [stdout] --> src/lib.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let graph = en::Graph::on_cpu(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `en` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `en`, use `cargo add en` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 + use crate::Graph; [INFO] [stdout] | [INFO] [stdout] help: if you import `Graph`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - let graph = en::Graph::on_cpu(); [INFO] [stdout] 51 + let graph = Graph::on_cpu(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 49 | fn it_works() { [INFO] [stdout] | ------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 54 | let input = graph.load(Array2::zeros((5, 5))).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:55:69 [INFO] [stdout] | [INFO] [stdout] 49 | fn it_works() { [INFO] [stdout] | ------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 55 | let parameter = graph.load_trainable(Array2::zeros((5, 5))).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn it_works() { [INFO] [stdout] | ------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 63 | let result = output.await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array2` [INFO] [stdout] --> src/lib.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | let input = graph.load(Array2::zeros((5, 5))).await; [INFO] [stdout] | ^^^^^^ use of undeclared type `Array2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array2` [INFO] [stdout] --> src/lib.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | let parameter = graph.load_trainable(Array2::zeros((5, 5))).await; [INFO] [stdout] | ^^^^^^ use of undeclared type `Array2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tensor` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "e34f0d6b297fbf1c9e9781860a0df8d14b821d3ea320e7c84dc98383bf0b3515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34f0d6b297fbf1c9e9781860a0df8d14b821d3ea320e7c84dc98383bf0b3515", kill_on_drop: false }` [INFO] [stdout] e34f0d6b297fbf1c9e9781860a0df8d14b821d3ea320e7c84dc98383bf0b3515