[INFO] cloning repository https://github.com/rkanati/mazesolve
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rkanati/mazesolve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fmazesolve", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fmazesolve'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d02eb3d6ee286e07493f6ffb4e54d41c1b64194
[INFO] testing rkanati/mazesolve against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Fmazesolve" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rkanati/mazesolve
[INFO] finished tweaking git repo https://github.com/rkanati/mazesolve
[INFO] tweaked toml for git repo https://github.com/rkanati/mazesolve written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rkanati/mazesolve on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rkanati/mazesolve 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded indexmap v0.4.1
[INFO] [stderr]   Downloaded num-iter v0.1.39
[INFO] [stderr]   Downloaded color_quant v1.0.1
[INFO] [stderr]   Downloaded num-rational v0.2.2
[INFO] [stderr]   Downloaded pcg_rand v0.11.1
[INFO] [stderr]   Downloaded getrandom v0.1.13
[INFO] [stderr]   Downloaded rand v0.7.2
[INFO] [stderr]   Downloaded num-integer v0.1.41
[INFO] [stderr]   Downloaded png v0.15.2
[INFO] [stderr]   Downloaded wasi v0.7.0
[INFO] [stderr]   Downloaded image v0.22.3
[INFO] [stderr]   Downloaded num-traits v0.2.10
[INFO] [stderr]   Downloaded libc v0.2.66
[INFO] [stderr]   Downloaded priority-queue v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b259187b774aa813abbaa9b1dc461ed7f9399f5fac2df72253b99da4da15fa0f
[INFO] running `Command { std: "docker" "start" "-a" "b259187b774aa813abbaa9b1dc461ed7f9399f5fac2df72253b99da4da15fa0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b259187b774aa813abbaa9b1dc461ed7f9399f5fac2df72253b99da4da15fa0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b259187b774aa813abbaa9b1dc461ed7f9399f5fac2df72253b99da4da15fa0f", kill_on_drop: false }`
[INFO] [stdout] b259187b774aa813abbaa9b1dc461ed7f9399f5fac2df72253b99da4da15fa0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe5afc2a689be23e025ce1f3e96c07a20c8acd630cd3d70afd5cf4dfeeb5f355
[INFO] running `Command { std: "docker" "start" "-a" "fe5afc2a689be23e025ce1f3e96c07a20c8acd630cd3d70afd5cf4dfeeb5f355", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling indexmap v0.4.1
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling priority-queue v0.6.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling png v0.15.2
[INFO] [stderr]    Compiling pcg_rand v0.11.1
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling mazesolve-rk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/graph.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl<Data> Graph<Data> for DijkstraGraph<Data> {
[INFO] [stdout]    |      ---- expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn nodes(&self) -> &HashMap<NodeID, Data> {
[INFO] [stdout]    |                        ---------------------- expected `&HashMap<NonZero<u32>, Data>` because of return type
[INFO] [stdout] 82 |         self.inner.nodes()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ expected `&HashMap<NonZero<u32>, Data>`, found `&HashMap<NonZero<u32>, (Data, i32)>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&HashMap<_, Data>`
[INFO] [stdout]               found reference `&HashMap<_, (Data, i32)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*data` which is behind a shared reference
[INFO] [stdout]    --> src/graph.rs:148:41
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 .map(|(id, data)| (*id, *data))
[INFO] [stdout]     |                                         ^^^^^ move occurs because `*data` has type `Data`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: if `Data` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/graph.rs:86:6
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl<Data> EdgeSetGraph<Data> {
[INFO] [stdout]     |      ^^^^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 148 |                 .map(|(id, data)| (*id, *data))
[INFO] [stdout]     |                                         ----- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of partially moved value: `self`
[INFO] [stdout]    --> src/graph.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut edges = self.edges;
[INFO] [stdout]     |                         ---------- value partially moved here
[INFO] [stdout] ...
[INFO] [stdout] 130 |                 .filter(|(id, degree)| **degree < 2 && **id != self.start() && **id != self.goal())
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^                         ---- borrow occurs due to use in closure
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         value borrowed here after partial move
[INFO] [stdout]     |
[INFO] [stdout]     = note: partial move occurs because `self.edges` has type `HashSet<Edge>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*data` which is behind a shared reference
[INFO] [stdout]    --> src/graph.rs:200:38
[INFO] [stdout]     |
[INFO] [stdout] 200 |             .map(|(id, data)| (*id, (*data, dists[id].unwrap_or(std::i32::MAX))))
[INFO] [stdout]     |                                      ^^^^^ move occurs because `*data` has type `Data`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: if `Data` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/graph.rs:158:6
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl<Data> AdjacencyGraph<Data> {
[INFO] [stdout]     |      ^^^^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 200 |             .map(|(id, data)| (*id, (*data, dists[id].unwrap_or(std::i32::MAX))))
[INFO] [stdout]     |                                      ----- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mazesolve-rk` (bin "mazesolve-rk") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "fe5afc2a689be23e025ce1f3e96c07a20c8acd630cd3d70afd5cf4dfeeb5f355", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe5afc2a689be23e025ce1f3e96c07a20c8acd630cd3d70afd5cf4dfeeb5f355", kill_on_drop: false }`
[INFO] [stdout] fe5afc2a689be23e025ce1f3e96c07a20c8acd630cd3d70afd5cf4dfeeb5f355
