[INFO] cloning repository https://github.com/colinjfw/rustsnek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colinjfw/rustsnek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinjfw%2Frustsnek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinjfw%2Frustsnek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 134020549b87a7b091993eeee64d3afa0a5c68af [INFO] checking colinjfw/rustsnek against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinjfw%2Frustsnek" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colinjfw/rustsnek on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/colinjfw/rustsnek [INFO] finished tweaking git repo https://github.com/colinjfw/rustsnek [INFO] tweaked toml for git repo https://github.com/colinjfw/rustsnek written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/colinjfw/rustsnek already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6d738412f78f31b8f0576910c1e2a8d474038c5c735293e6adee71c8b44a5a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c6d738412f78f31b8f0576910c1e2a8d474038c5c735293e6adee71c8b44a5a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6d738412f78f31b8f0576910c1e2a8d474038c5c735293e6adee71c8b44a5a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d738412f78f31b8f0576910c1e2a8d474038c5c735293e6adee71c8b44a5a1", kill_on_drop: false }` [INFO] [stdout] c6d738412f78f31b8f0576910c1e2a8d474038c5c735293e6adee71c8b44a5a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65c790998ec7fc7c252657b3ed58854ffd4fd9ad381749b8f31c49145134bce9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65c790998ec7fc7c252657b3ed58854ffd4fd9ad381749b8f31c49145134bce9", kill_on_drop: false }` [INFO] [stderr] Checking rustsnek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `unv` in this scope [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let cur = unv[0]; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unv` in this scope [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let cur = unv[0]; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | while queue.list { [INFO] [stdout] | ^^^^^^^^^^ expected `bool`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Graph` in the current scope [INFO] [stdout] --> src/main.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 51 | struct Graph { [INFO] [stdout] | ------------ method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 84 | let cur_cost = graph.get(cur.0, cur.1).cost; [INFO] [stdout] | ^^^ method not found in `Graph` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | while queue.list { [INFO] [stdout] | ^^^^^^^^^^ expected `bool`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Graph` in the current scope [INFO] [stdout] --> src/main.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 51 | struct Graph { [INFO] [stdout] | ------------ method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 84 | let cur_cost = graph.get(cur.0, cur.1).cost; [INFO] [stdout] | ^^^ method not found in `Graph` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustsnek` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65c790998ec7fc7c252657b3ed58854ffd4fd9ad381749b8f31c49145134bce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c790998ec7fc7c252657b3ed58854ffd4fd9ad381749b8f31c49145134bce9", kill_on_drop: false }` [INFO] [stdout] 65c790998ec7fc7c252657b3ed58854ffd4fd9ad381749b8f31c49145134bce9