[INFO] cloning repository https://github.com/hectorgrey/StarWarsDice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hectorgrey/StarWarsDice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhectorgrey%2FStarWarsDice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhectorgrey%2FStarWarsDice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2aa270e4d84d321a93142c8f69198deec8ab2e54 [INFO] checking hectorgrey/StarWarsDice against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhectorgrey%2FStarWarsDice" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hectorgrey/StarWarsDice on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hectorgrey/StarWarsDice [INFO] finished tweaking git repo https://github.com/hectorgrey/StarWarsDice [INFO] tweaked toml for git repo https://github.com/hectorgrey/StarWarsDice written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hectorgrey/StarWarsDice 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.12 [INFO] [stderr] Downloaded libc v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46fd7d41f8b782d906c5a9aa882e7e430c2f148b99b3cca34772b000cfaae2ea [INFO] running `Command { std: "docker" "start" "-a" "46fd7d41f8b782d906c5a9aa882e7e430c2f148b99b3cca34772b000cfaae2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46fd7d41f8b782d906c5a9aa882e7e430c2f148b99b3cca34772b000cfaae2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46fd7d41f8b782d906c5a9aa882e7e430c2f148b99b3cca34772b000cfaae2ea", kill_on_drop: false }` [INFO] [stdout] 46fd7d41f8b782d906c5a9aa882e7e430c2f148b99b3cca34772b000cfaae2ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5260fd98472f2334549c3a4421d7f5779f9825e173483cf9a2d928d44d3a1f1d [INFO] running `Command { std: "docker" "start" "-a" "5260fd98472f2334549c3a4421d7f5779f9825e173483cf9a2d928d44d3a1f1d", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.2.4 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Checking rand v0.3.12 [INFO] [stderr] Checking star_wars_dice v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | 1 ... 6 => DieValue::Dark, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | 8 ... 9 => DieValue::Light, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | 1 ... 6 => DieValue::Dark, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | 8 ... 9 => DieValue::Light, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed [INFO] [stdout] --> src/main.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let number = number_as_str.parse().expect("Incorrect Input"); [INFO] [stdout] | ^^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as FromStr>::Err == _` [INFO] [stdout] help: consider giving `number` an explicit type [INFO] [stdout] | [INFO] [stdout] 170 | let number: /* Type */ = number_as_str.parse().expect("Incorrect Input"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed [INFO] [stdout] --> src/main.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let number = number_as_str.parse().expect("Incorrect Input"); [INFO] [stdout] | ^^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as FromStr>::Err == _` [INFO] [stdout] help: consider giving `number` an explicit type [INFO] [stdout] | [INFO] [stdout] 170 | let number: /* Type */ = number_as_str.parse().expect("Incorrect Input"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `star_wars_dice` (bin "star_wars_dice") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `star_wars_dice` (bin "star_wars_dice" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5260fd98472f2334549c3a4421d7f5779f9825e173483cf9a2d928d44d3a1f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5260fd98472f2334549c3a4421d7f5779f9825e173483cf9a2d928d44d3a1f1d", kill_on_drop: false }` [INFO] [stdout] 5260fd98472f2334549c3a4421d7f5779f9825e173483cf9a2d928d44d3a1f1d