[INFO] cloning repository https://github.com/supinie/will_it_compile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/supinie/will_it_compile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsupinie%2Fwill_it_compile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsupinie%2Fwill_it_compile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8daca0ab222f0b70b6058ff2012b3311dd68b230 [INFO] checking supinie/will_it_compile against try#70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsupinie%2Fwill_it_compile" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/supinie/will_it_compile [INFO] finished tweaking git repo https://github.com/supinie/will_it_compile [INFO] tweaked toml for git repo https://github.com/supinie/will_it_compile written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/supinie/will_it_compile on toolchain 70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/supinie/will_it_compile 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" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e28182e17b10778c2566a473ca8c05baebdb42a7a6389da33c05df6d2504c86e [INFO] running `Command { std: "docker" "start" "-a" "e28182e17b10778c2566a473ca8c05baebdb42a7a6389da33c05df6d2504c86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e28182e17b10778c2566a473ca8c05baebdb42a7a6389da33c05df6d2504c86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28182e17b10778c2566a473ca8c05baebdb42a7a6389da33c05df6d2504c86e", kill_on_drop: false }` [INFO] [stdout] e28182e17b10778c2566a473ca8c05baebdb42a7a6389da33c05df6d2504c86e [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5262e1aba253e6b2be5c7b80b97364ba71ae5c87d0df65c041739c4a95a341f [INFO] running `Command { std: "docker" "start" "-a" "a5262e1aba253e6b2be5c7b80b97364ba71ae5c87d0df65c041739c4a95a341f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking will_it_compile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/funky.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | break! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 27 | | return! { [INFO] [stdout] 28 | | 42 [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/funky.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | break! { [INFO] [stdout] | _______________________^ [INFO] [stdout] 27 | |/ return! { [INFO] [stdout] 28 | || 42 [INFO] [stdout] 29 | || } [INFO] [stdout] | ||_____________________- any code following this expression is unreachable [INFO] [stdout] 30 | | } [INFO] [stdout] | |__________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/funky.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | something(return x + y); [INFO] [stdout] | ^^^^^^^^^ ------------ any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/funky.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | break! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 27 | | return! { [INFO] [stdout] 28 | | 42 [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/funky.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | break! { [INFO] [stdout] | _______________________^ [INFO] [stdout] 27 | |/ return! { [INFO] [stdout] 28 | || 42 [INFO] [stdout] 29 | || } [INFO] [stdout] | ||_____________________- any code following this expression is unreachable [INFO] [stdout] 30 | | } [INFO] [stdout] | |__________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/funky.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | something(return x + y); [INFO] [stdout] | ^^^^^^^^^ ------------ any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `will_it_compile` (bin "will_it_compile" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `will_it_compile` (bin "will_it_compile") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5262e1aba253e6b2be5c7b80b97364ba71ae5c87d0df65c041739c4a95a341f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5262e1aba253e6b2be5c7b80b97364ba71ae5c87d0df65c041739c4a95a341f", kill_on_drop: false }` [INFO] [stdout] a5262e1aba253e6b2be5c7b80b97364ba71ae5c87d0df65c041739c4a95a341f