[INFO] cloning repository https://github.com/rustspeak/dijkstra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustspeak/dijkstra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustspeak%2Fdijkstra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustspeak%2Fdijkstra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cd319d9c376162b4d78c4f86dc26caebc090c56 [INFO] checking rustspeak/dijkstra against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustspeak%2Fdijkstra" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rustspeak/dijkstra [INFO] finished tweaking git repo https://github.com/rustspeak/dijkstra [INFO] tweaked toml for git repo https://github.com/rustspeak/dijkstra written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustspeak/dijkstra on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rustspeak/dijkstra 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35852360dc9d1adb5c85d058bb2325ee85f59c360106803b3b8b526620832fbc [INFO] running `Command { std: "docker" "start" "-a" "35852360dc9d1adb5c85d058bb2325ee85f59c360106803b3b8b526620832fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35852360dc9d1adb5c85d058bb2325ee85f59c360106803b3b8b526620832fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35852360dc9d1adb5c85d058bb2325ee85f59c360106803b3b8b526620832fbc", kill_on_drop: false }` [INFO] [stdout] 35852360dc9d1adb5c85d058bb2325ee85f59c360106803b3b8b526620832fbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1ed42d128dda8899dbf3f4e8cfab8af65f92a1d925adfb611d2993b197e37a0 [INFO] running `Command { std: "docker" "start" "-a" "e1ed42d128dda8899dbf3f4e8cfab8af65f92a1d925adfb611d2993b197e37a0", kill_on_drop: false }` [INFO] [stderr] Checking dijkstra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `poids` in this scope [INFO] [stdout] --> src/main.rs:78:115 [INFO] [stdout] | [INFO] [stdout] 78 | for (voisin, poids) in self.arcs.iter().filter(|(_, poids_arc)| *poids_arc <= distance_courante + poids) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `poids` in this scope [INFO] [stdout] --> src/main.rs:78:115 [INFO] [stdout] | [INFO] [stdout] 78 | for (voisin, poids) in self.arcs.iter().filter(|(_, poids_arc)| *poids_arc <= distance_courante + poids) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:78:95 [INFO] [stdout] | [INFO] [stdout] 78 | for (voisin, poids) in self.arcs.iter().filter(|(_, poids_arc)| *poids_arc <= distance_courante + poids) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&i32`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 78 | for (voisin, poids) in self.arcs.iter().filter(|(_, poids_arc)| **poids_arc <= distance_courante + poids) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:78:95 [INFO] [stdout] | [INFO] [stdout] 78 | for (voisin, poids) in self.arcs.iter().filter(|(_, poids_arc)| *poids_arc <= distance_courante + poids) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&i32`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 78 | for (voisin, poids) in self.arcs.iter().filter(|(_, poids_arc)| **poids_arc <= distance_courante + poids) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:54 [INFO] [stdout] | [INFO] [stdout] 82 | if nouvelle_distance < distances[voisin] { [INFO] [stdout] | ^^^^^^ expected `&i32`, found `&(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&(i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:54 [INFO] [stdout] | [INFO] [stdout] 82 | if nouvelle_distance < distances[voisin] { [INFO] [stdout] | ^^^^^^ expected `&i32`, found `&(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&(i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | distances.insert(*voisin, nouvelle_distance); [INFO] [stdout] | ------ ^^^^^^^ expected `i32`, found `(i32, i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found tuple `(i32, i32)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/collections/hash/map.rs:1207:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | distances.insert(*voisin, nouvelle_distance); [INFO] [stdout] | ------ ^^^^^^^ expected `i32`, found `(i32, i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found tuple `(i32, i32)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/collections/hash/map.rs:1207:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | self.noeuds.get_mut(voisin).unwrap().distance = nouvelle_distance; [INFO] [stdout] | ------- ^^^^^^ expected `&i32`, found `&(i32, i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&(i32, i32)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/collections/hash/map.rs:1171:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | self.noeuds.get_mut(voisin).unwrap().distance = nouvelle_distance; [INFO] [stdout] | ------- ^^^^^^ expected `&i32`, found `&(i32, i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&(i32, i32)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/collections/hash/map.rs:1171:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | self.noeuds.get_mut(voisin).unwrap().precedent = Some(noeud_courant); [INFO] [stdout] | ------- ^^^^^^ expected `&i32`, found `&(i32, i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&(i32, i32)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/collections/hash/map.rs:1171:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | self.noeuds.get_mut(voisin).unwrap().precedent = Some(noeud_courant); [INFO] [stdout] | ------- ^^^^^^ expected `&i32`, found `&(i32, i32)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i32` [INFO] [stdout] found reference `&(i32, i32)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/collections/hash/map.rs:1171:11 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | tas.push((nouvelle_distance, *voisin)); [INFO] [stdout] | ^^^^^^^ expected `i32`, found `(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found tuple `(i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | tas.push((nouvelle_distance, *voisin)); [INFO] [stdout] | ^^^^^^^ expected `i32`, found `(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found tuple `(i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dijkstra` (bin "dijkstra" test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dijkstra` (bin "dijkstra") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "e1ed42d128dda8899dbf3f4e8cfab8af65f92a1d925adfb611d2993b197e37a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ed42d128dda8899dbf3f4e8cfab8af65f92a1d925adfb611d2993b197e37a0", kill_on_drop: false }` [INFO] [stdout] e1ed42d128dda8899dbf3f4e8cfab8af65f92a1d925adfb611d2993b197e37a0