[INFO] cloning repository https://github.com/Alex-Fischman/egglog-speedrun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alex-Fischman/egglog-speedrun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Fischman%2Fegglog-speedrun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Fischman%2Fegglog-speedrun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d91f1190ae3577a9901fbd52661c05a1bfffa99a [INFO] checking Alex-Fischman/egglog-speedrun against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Fischman%2Fegglog-speedrun" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alex-Fischman/egglog-speedrun on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Alex-Fischman/egglog-speedrun [INFO] finished tweaking git repo https://github.com/Alex-Fischman/egglog-speedrun [INFO] tweaked toml for git repo https://github.com/Alex-Fischman/egglog-speedrun written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Alex-Fischman/egglog-speedrun 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b5dc76da3bdaf61677515f138a622bf302bcb65721f448eb4bd16caf99f55e3 [INFO] running `Command { std: "docker" "start" "-a" "5b5dc76da3bdaf61677515f138a622bf302bcb65721f448eb4bd16caf99f55e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b5dc76da3bdaf61677515f138a622bf302bcb65721f448eb4bd16caf99f55e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b5dc76da3bdaf61677515f138a622bf302bcb65721f448eb4bd16caf99f55e3", kill_on_drop: false }` [INFO] [stdout] 5b5dc76da3bdaf61677515f138a622bf302bcb65721f448eb4bd16caf99f55e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fec263e135cb2a5494da5a6b883dce4a89257da2918cb8240ebfab108225307 [INFO] running `Command { std: "docker" "start" "-a" "7fec263e135cb2a5494da5a6b883dce4a89257da2918cb8240ebfab108225307", kill_on_drop: false }` [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking egglog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `eqs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/query.rs:83:58 [INFO] [stdout] | [INFO] [stdout] 83 | let canonicalize: HashMap<_, _> = eqs.keys().map(|k| (k, eqs.find(k))).collect(); [INFO] [stdout] | --- --- ^^^ --- second borrow occurs due to use of `eqs` in closure [INFO] [stdout] | | | | [INFO] [stdout] | | | mutable borrow occurs here [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `eqs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/query.rs:107:58 [INFO] [stdout] | [INFO] [stdout] 107 | let canonicalize: HashMap<_, _> = eqs.keys().map(|k| (k, eqs.find(k))).collect(); [INFO] [stdout] | --- --- ^^^ --- second borrow occurs due to use of `eqs` in closure [INFO] [stdout] | | | | [INFO] [stdout] | | | mutable borrow occurs here [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `eqs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/query.rs:83:58 [INFO] [stdout] | [INFO] [stdout] 83 | let canonicalize: HashMap<_, _> = eqs.keys().map(|k| (k, eqs.find(k))).collect(); [INFO] [stdout] | --- --- ^^^ --- second borrow occurs due to use of `eqs` in closure [INFO] [stdout] | | | | [INFO] [stdout] | | | mutable borrow occurs here [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `eqs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/query.rs:107:58 [INFO] [stdout] | [INFO] [stdout] 107 | let canonicalize: HashMap<_, _> = eqs.keys().map(|k| (k, eqs.find(k))).collect(); [INFO] [stdout] | --- --- ^^^ --- second borrow occurs due to use of `eqs` in closure [INFO] [stdout] | | | | [INFO] [stdout] | | | mutable borrow occurs here [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `prev` does not live long enough [INFO] [stdout] --> src/query.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 314 | impl<'a, 'b> Bindings<'a, 'b> { [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 344 | fn build(&mut self, height: usize, prev: Values) { [INFO] [stdout] | ---- binding `prev` declared here [INFO] [stdout] ... [INFO] [stdout] 397 | if let Some(x) = prev.get(x) { [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 425 | iter = Some(Box::new( [INFO] [stdout] | _________________________________- [INFO] [stdout] 426 | | self.funcs[f].rows_with_value(iteration, x, c).map(zip_row), [INFO] [stdout] 427 | | )); [INFO] [stdout] | |_____________________- cast requires that `prev` is borrowed for `'b` [INFO] [stdout] ... [INFO] [stdout] 469 | } [INFO] [stdout] | - `prev` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `prev` does not live long enough [INFO] [stdout] --> src/query.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 314 | impl<'a, 'b> Bindings<'a, 'b> { [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 344 | fn build(&mut self, height: usize, prev: Values) { [INFO] [stdout] | ---- binding `prev` declared here [INFO] [stdout] ... [INFO] [stdout] 397 | if let Some(x) = prev.get(x) { [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 425 | iter = Some(Box::new( [INFO] [stdout] | _________________________________- [INFO] [stdout] 426 | | self.funcs[f].rows_with_value(iteration, x, c).map(zip_row), [INFO] [stdout] 427 | | )); [INFO] [stdout] | |_____________________- cast requires that `prev` is borrowed for `'b` [INFO] [stdout] ... [INFO] [stdout] 469 | } [INFO] [stdout] | - `prev` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `prev` because it is borrowed [INFO] [stdout] --> src/query.rs:447:58 [INFO] [stdout] | [INFO] [stdout] 314 | impl<'a, 'b> Bindings<'a, 'b> { [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 344 | fn build(&mut self, height: usize, prev: Values) { [INFO] [stdout] | ---- binding `prev` declared here [INFO] [stdout] ... [INFO] [stdout] 397 | if let Some(x) = prev.get(x) { [INFO] [stdout] | ---- borrow of `prev` occurs here [INFO] [stdout] ... [INFO] [stdout] 425 | iter = Some(Box::new( [INFO] [stdout] | _________________________________- [INFO] [stdout] 426 | | self.funcs[f].rows_with_value(iteration, x, c).map(zip_row), [INFO] [stdout] 427 | | )); [INFO] [stdout] | |_____________________- cast requires that `prev` is borrowed for `'b` [INFO] [stdout] ... [INFO] [stdout] 447 | let iterator = Box::new(iter.unwrap().filter_map(move |result| match result { [INFO] [stdout] | ^^^^^^^^^^^^^ move out of `prev` occurs here [INFO] [stdout] ... [INFO] [stdout] 450 | let mut prev = prev.clone(); [INFO] [stdout] | ---- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `prev` because it is borrowed [INFO] [stdout] --> src/query.rs:447:58 [INFO] [stdout] | [INFO] [stdout] 314 | impl<'a, 'b> Bindings<'a, 'b> { [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 344 | fn build(&mut self, height: usize, prev: Values) { [INFO] [stdout] | ---- binding `prev` declared here [INFO] [stdout] ... [INFO] [stdout] 397 | if let Some(x) = prev.get(x) { [INFO] [stdout] | ---- borrow of `prev` occurs here [INFO] [stdout] ... [INFO] [stdout] 425 | iter = Some(Box::new( [INFO] [stdout] | _________________________________- [INFO] [stdout] 426 | | self.funcs[f].rows_with_value(iteration, x, c).map(zip_row), [INFO] [stdout] 427 | | )); [INFO] [stdout] | |_____________________- cast requires that `prev` is borrowed for `'b` [INFO] [stdout] ... [INFO] [stdout] 447 | let iterator = Box::new(iter.unwrap().filter_map(move |result| match result { [INFO] [stdout] | ^^^^^^^^^^^^^ move out of `prev` occurs here [INFO] [stdout] ... [INFO] [stdout] 450 | let mut prev = prev.clone(); [INFO] [stdout] | ---- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `egglog` (bin "egglog") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0597. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `egglog` (bin "egglog" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7fec263e135cb2a5494da5a6b883dce4a89257da2918cb8240ebfab108225307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fec263e135cb2a5494da5a6b883dce4a89257da2918cb8240ebfab108225307", kill_on_drop: false }` [INFO] [stdout] 7fec263e135cb2a5494da5a6b883dce4a89257da2918cb8240ebfab108225307