[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#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinjfw%2Frustsnek" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colinjfw/rustsnek on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 398fb851f03e81f7f4b2e1d438ef38ab65a5b8ec4d79e24b0f3e32eaeb247d05 [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" "398fb851f03e81f7f4b2e1d438ef38ab65a5b8ec4d79e24b0f3e32eaeb247d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "398fb851f03e81f7f4b2e1d438ef38ab65a5b8ec4d79e24b0f3e32eaeb247d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398fb851f03e81f7f4b2e1d438ef38ab65a5b8ec4d79e24b0f3e32eaeb247d05", kill_on_drop: false }` [INFO] [stdout] 398fb851f03e81f7f4b2e1d438ef38ab65a5b8ec4d79e24b0f3e32eaeb247d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db2dc73883aa1f0e8b1475a5c260e34f866b4d0d578ec05ef482d55833ad7d1c [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" "db2dc73883aa1f0e8b1475a5c260e34f866b4d0d578ec05ef482d55833ad7d1c", 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: 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[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: build failed [INFO] running `Command { std: "docker" "inspect" "db2dc73883aa1f0e8b1475a5c260e34f866b4d0d578ec05ef482d55833ad7d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2dc73883aa1f0e8b1475a5c260e34f866b4d0d578ec05ef482d55833ad7d1c", kill_on_drop: false }` [INFO] [stdout] db2dc73883aa1f0e8b1475a5c260e34f866b4d0d578ec05ef482d55833ad7d1c