[INFO] cloning repository https://github.com/KittydaCat/LogicSolver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KittydaCat/LogicSolver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKittydaCat%2FLogicSolver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKittydaCat%2FLogicSolver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec38a2ddae55191e245f490d13753a9d897edf7f [INFO] checking KittydaCat/LogicSolver against try#4c525d43052e921548191f82f6ed9e2f9e98dcb1 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKittydaCat%2FLogicSolver" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KittydaCat/LogicSolver on toolchain 4c525d43052e921548191f82f6ed9e2f9e98dcb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KittydaCat/LogicSolver [INFO] finished tweaking git repo https://github.com/KittydaCat/LogicSolver [INFO] tweaked toml for git repo https://github.com/KittydaCat/LogicSolver written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KittydaCat/LogicSolver 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" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cddd52c5295e9e8c0c21073a82e7078c0c8be317c280eaf09e5af3fd566211f2 [INFO] running `Command { std: "docker" "start" "-a" "cddd52c5295e9e8c0c21073a82e7078c0c8be317c280eaf09e5af3fd566211f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cddd52c5295e9e8c0c21073a82e7078c0c8be317c280eaf09e5af3fd566211f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddd52c5295e9e8c0c21073a82e7078c0c8be317c280eaf09e5af3fd566211f2", kill_on_drop: false }` [INFO] [stdout] cddd52c5295e9e8c0c21073a82e7078c0c8be317c280eaf09e5af3fd566211f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99ac60381ab6a3bfb348a3b735a10cfc6fc4990cc55ab9afb7d66b0e9ad18a9a [INFO] running `Command { std: "docker" "start" "-a" "99ac60381ab6a3bfb348a3b735a10cfc6fc4990cc55ab9afb7d66b0e9ad18a9a", kill_on_drop: false }` [INFO] [stderr] Checking LogicSolver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `{`, found keyword `if` [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some((cond, _)) = scope.find( & |x| [INFO] [stdout] | ^^ expected `{` [INFO] [stdout] | [INFO] [stdout] note: the `if` expression is missing a block after this condition [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | if scope.find(&|x| *x == goal) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might have meant to write this as part of a block [INFO] [stdout] | [INFO] [stdout] 125 ~ { if let Some((cond, _)) = scope.find( & |x| [INFO] [stdout] 126 | if let Sentence::Conditional(prem, con) = x {**con == goal} else {false} [INFO] [stdout] ... [INFO] [stdout] 130 | [INFO] [stdout] 131 ~ }; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found keyword `if` [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some((cond, _)) = scope.find( & |x| [INFO] [stdout] | ^^ expected `{` [INFO] [stdout] | [INFO] [stdout] note: the `if` expression is missing a block after this condition [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | if scope.find(&|x| *x == goal) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might have meant to write this as part of a block [INFO] [stdout] | [INFO] [stdout] 125 ~ { if let Some((cond, _)) = scope.find( & |x| [INFO] [stdout] 126 | if let Sentence::Conditional(prem, con) = x {**con == goal} else {false} [INFO] [stdout] ... [INFO] [stdout] 130 | [INFO] [stdout] 131 ~ }; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(&&(Sentence, Rule, Option))` closure, found `&dyn for<'a> Fn(&'a Sentence) -> bool` [INFO] [stdout] --> src/main.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | match self.steps.iter().find(condition) { [INFO] [stdout] | ---- ^^^^^^^^^ expected an `FnMut(&&(Sentence, Rule, Option))` closure, found `&dyn for<'a> Fn(&'a Sentence) -> bool` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a &(Sentence, Rule, Option))` is not implemented for `dyn for<'a> Fn(&'a Sentence) -> bool` [INFO] [stdout] = note: expected a closure with arguments `(&Sentence,)` [INFO] [stdout] found a closure with arguments `(&&(Sentence, Rule, Option),)` [INFO] [stdout] = note: required for `&dyn for<'a> Fn(&'a Sentence) -> bool` to implement `for<'a> FnMut(&'a &(Sentence, Rule, Option))` [INFO] [stdout] note: required by a bound in `find` [INFO] [stdout] --> /rustc/4c525d43052e921548191f82f6ed9e2f9e98dcb1/library/core/src/iter/traits/iterator.rs:2835:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(&&(Sentence, Rule, Option))` closure, found `&dyn for<'a> Fn(&'a Sentence) -> bool` [INFO] [stdout] --> src/main.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | match self.steps.iter().find(condition) { [INFO] [stdout] | ---- ^^^^^^^^^ expected an `FnMut(&&(Sentence, Rule, Option))` closure, found `&dyn for<'a> Fn(&'a Sentence) -> bool` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'a> Fn(&'a &(Sentence, Rule, Option))` is not implemented for `dyn for<'a> Fn(&'a Sentence) -> bool` [INFO] [stdout] = note: expected a closure with arguments `(&Sentence,)` [INFO] [stdout] found a closure with arguments `(&&(Sentence, Rule, Option),)` [INFO] [stdout] = note: required for `&dyn for<'a> Fn(&'a Sentence) -> bool` to implement `for<'a> FnMut(&'a &(Sentence, Rule, Option))` [INFO] [stdout] note: required by a bound in `find` [INFO] [stdout] --> /rustc/4c525d43052e921548191f82f6ed9e2f9e98dcb1/library/core/src/iter/traits/iterator.rs:2835:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `LogicSolver` (bin "LogicSolver") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `LogicSolver` (bin "LogicSolver" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "99ac60381ab6a3bfb348a3b735a10cfc6fc4990cc55ab9afb7d66b0e9ad18a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ac60381ab6a3bfb348a3b735a10cfc6fc4990cc55ab9afb7d66b0e9ad18a9a", kill_on_drop: false }` [INFO] [stdout] 99ac60381ab6a3bfb348a3b735a10cfc6fc4990cc55ab9afb7d66b0e9ad18a9a