[INFO] cloning repository https://github.com/saguUU/tower [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saguUU/tower" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsaguUU%2Ftower", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsaguUU%2Ftower'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9225a969d5ce5c134910e93a9f1e3f54b51a6ca [INFO] checking saguUU/tower against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsaguUU%2Ftower" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saguUU/tower on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saguUU/tower [INFO] finished tweaking git repo https://github.com/saguUU/tower [INFO] tweaked toml for git repo https://github.com/saguUU/tower written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/saguUU/tower already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c77bdfb7b1fe9f393fb9250132310a1f0c30012aca255226c0801226649871c [INFO] running `Command { std: "docker" "start" "-a" "2c77bdfb7b1fe9f393fb9250132310a1f0c30012aca255226c0801226649871c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c77bdfb7b1fe9f393fb9250132310a1f0c30012aca255226c0801226649871c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c77bdfb7b1fe9f393fb9250132310a1f0c30012aca255226c0801226649871c", kill_on_drop: false }` [INFO] [stdout] 2c77bdfb7b1fe9f393fb9250132310a1f0c30012aca255226c0801226649871c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5272ba5e66c74b988c369c0a774cbf139cb9ed6f0bd7075da1972be48c6bd4b [INFO] running `Command { std: "docker" "start" "-a" "b5272ba5e66c74b988c369c0a774cbf139cb9ed6f0bd7075da1972be48c6bd4b", kill_on_drop: false }` [INFO] [stderr] Checking tower v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/main.rs:866:21 [INFO] [stdout] | [INFO] [stdout] 865 | Statement::If(_, if_statement) | Statement::IfNot(_, if_statement) => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 866 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/main.rs:866:21 [INFO] [stdout] | [INFO] [stdout] 865 | Statement::If(_, if_statement) | Statement::IfNot(_, if_statement) => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 866 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/main.rs:863:17 [INFO] [stdout] | [INFO] [stdout] 863 | / if let Some(last_statement) = statements.last() { [INFO] [stdout] 864 | | match last_statement { [INFO] [stdout] | |_____________________- [INFO] [stdout] 865 | || Statement::If(_, if_statement) | Statement::IfNot(_, if_statement) => [INFO] [stdout] 866 | || } [INFO] [stdout] | ||_____________________- found here [INFO] [stdout] 867 | | } [INFO] [stdout] | |_________________^ expected `()`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(Statement, usize)` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0317`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/main.rs:863:17 [INFO] [stdout] | [INFO] [stdout] 863 | / if let Some(last_statement) = statements.last() { [INFO] [stdout] 864 | | match last_statement { [INFO] [stdout] | |_____________________- [INFO] [stdout] 865 | || Statement::If(_, if_statement) | Statement::IfNot(_, if_statement) => [INFO] [stdout] 866 | || } [INFO] [stdout] | ||_____________________- found here [INFO] [stdout] 867 | | } [INFO] [stdout] | |_________________^ expected `()`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(Statement, usize)` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0317`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b5272ba5e66c74b988c369c0a774cbf139cb9ed6f0bd7075da1972be48c6bd4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5272ba5e66c74b988c369c0a774cbf139cb9ed6f0bd7075da1972be48c6bd4b", kill_on_drop: false }` [INFO] [stdout] b5272ba5e66c74b988c369c0a774cbf139cb9ed6f0bd7075da1972be48c6bd4b