[INFO] cloning repository https://github.com/Neidi387/two [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Neidi387/two" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeidi387%2Ftwo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeidi387%2Ftwo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0540f56feef51e8f7000d20f00ee8410e7ba533b [INFO] testing Neidi387/two against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeidi387%2Ftwo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Neidi387/two [INFO] finished tweaking git repo https://github.com/Neidi387/two [INFO] tweaked toml for git repo https://github.com/Neidi387/two written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Neidi387/two on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Neidi387/two 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2819270b257eae9e8f9f068537e1de8a71664541d4994fb5c6384486dc46b1e7 [INFO] running `Command { std: "docker" "start" "-a" "2819270b257eae9e8f9f068537e1de8a71664541d4994fb5c6384486dc46b1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2819270b257eae9e8f9f068537e1de8a71664541d4994fb5c6384486dc46b1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2819270b257eae9e8f9f068537e1de8a71664541d4994fb5c6384486dc46b1e7", kill_on_drop: false }` [INFO] [stdout] 2819270b257eae9e8f9f068537e1de8a71664541d4994fb5c6384486dc46b1e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9ff03db048e6a32c33c8908d83623b0d806bad6635dbf8fe876c6147db1ae0c [INFO] running `Command { std: "docker" "start" "-a" "a9ff03db048e6a32c33c8908d83623b0d806bad6635dbf8fe876c6147db1ae0c", kill_on_drop: false }` [INFO] [stderr] Compiling two v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0381]: used binding `last_diff` is possibly-uninitialized [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 19 | let mut last_diff: i16; [INFO] [stdout] | ------------- binding declared here but left uninitialized [INFO] [stdout] 20 | for i in 0..report.len() - 1 { [INFO] [stdout] | ------------------- if the `for` loop runs 0 times, `last_diff` is not initialized [INFO] [stdout] ... [INFO] [stdout] 29 | if 0 == i { [INFO] [stdout] | ------ if this `if` condition is `false`, `last_diff` is not initialized [INFO] [stdout] ... [INFO] [stdout] 32 | } [INFO] [stdout] | - an `else` arm might be missing here, initializing `last_diff` [INFO] [stdout] 33 | if last_diff < 0 && diff > 0 { [INFO] [stdout] | ^^^^^^^^^ `last_diff` used here but it is possibly-uninitialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0381`. [INFO] [stdout] [INFO] [stderr] error: could not compile `two` (bin "two") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a9ff03db048e6a32c33c8908d83623b0d806bad6635dbf8fe876c6147db1ae0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ff03db048e6a32c33c8908d83623b0d806bad6635dbf8fe876c6147db1ae0c", kill_on_drop: false }` [INFO] [stdout] a9ff03db048e6a32c33c8908d83623b0d806bad6635dbf8fe876c6147db1ae0c