[INFO] cloning repository https://github.com/drewwyatt/yahtzee [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drewwyatt/yahtzee" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewwyatt%2Fyahtzee", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewwyatt%2Fyahtzee'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d45470822917fe8fd13634f8c598334f3b8cb19 [INFO] checking drewwyatt/yahtzee/9d45470822917fe8fd13634f8c598334f3b8cb19 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewwyatt%2Fyahtzee" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drewwyatt/yahtzee on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drewwyatt/yahtzee [INFO] finished tweaking git repo https://github.com/drewwyatt/yahtzee [INFO] tweaked toml for git repo https://github.com/drewwyatt/yahtzee written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/drewwyatt/yahtzee 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7291861cee069f57d3ad4a41537ec5d46bab94857f8061ec6349fb4e6804554c [INFO] running `Command { std: "docker" "start" "-a" "7291861cee069f57d3ad4a41537ec5d46bab94857f8061ec6349fb4e6804554c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7291861cee069f57d3ad4a41537ec5d46bab94857f8061ec6349fb4e6804554c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7291861cee069f57d3ad4a41537ec5d46bab94857f8061ec6349fb4e6804554c", kill_on_drop: false }` [INFO] [stdout] 7291861cee069f57d3ad4a41537ec5d46bab94857f8061ec6349fb4e6804554c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cccb216e03abd5cf1636a52fa1eeb8bed93dde28eae50f3a5560e38e684fd245 [INFO] running `Command { std: "docker" "start" "-a" "cccb216e03abd5cf1636a52fa1eeb8bed93dde28eae50f3a5560e38e684fd245", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Checking structopt v0.3.9 [INFO] [stderr] Checking yahtzee v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: a value of type `Result, YahtzeeError>` cannot be built from an iterator over elements of type `Result` [INFO] [stdout] --> src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | .collect::, YahtzeeError>>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `Result, YahtzeeError>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `Result, YahtzeeError>` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `Result, YahtzeeError>` [INFO] [stdout] = help: for that trait implementation, expected `YahtzeeError`, found `ParseIntError` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 30 | let file_contents = std::fs::read_to_string(path)?; [INFO] [stdout] | ------------------------------ this expression has type `String` [INFO] [stdout] 31 | file_contents [INFO] [stdout] 32 | .lines() [INFO] [stdout] | ------- `Iterator::Item` is `&str` here [INFO] [stdout] 33 | .map(|s| s.parse::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Result` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Result, YahtzeeError>` cannot be built from an iterator over elements of type `Result` [INFO] [stdout] --> src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | .collect::, YahtzeeError>>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `Result, YahtzeeError>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `Result, YahtzeeError>` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `Result, YahtzeeError>` [INFO] [stdout] = help: for that trait implementation, expected `YahtzeeError`, found `ParseIntError` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 30 | let file_contents = std::fs::read_to_string(path)?; [INFO] [stdout] | ------------------------------ this expression has type `String` [INFO] [stdout] 31 | file_contents [INFO] [stdout] 32 | .lines() [INFO] [stdout] | ------- `Iterator::Item` is `&str` here [INFO] [stdout] 33 | .map(|s| s.parse::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Result` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `YahtzeeError: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | Some(p) => rolls_for_path(p)?, [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `YahtzeeError`, which is required by `Result<(), Box>: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `Result` [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] = note: required for `Result<(), Box>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `YahtzeeError: std::error::Error` is not satisfied [INFO] [stdout] --> src/main.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | Some(p) => rolls_for_path(p)?, [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `YahtzeeError`, which is required by `Result<(), Box>: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `Result` [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] = note: required for `Result<(), Box>` to implement `FromResidual>` [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 E0277`. [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yahtzee` (bin "yahtzee") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yahtzee` (bin "yahtzee" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "cccb216e03abd5cf1636a52fa1eeb8bed93dde28eae50f3a5560e38e684fd245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cccb216e03abd5cf1636a52fa1eeb8bed93dde28eae50f3a5560e38e684fd245", kill_on_drop: false }` [INFO] [stdout] cccb216e03abd5cf1636a52fa1eeb8bed93dde28eae50f3a5560e38e684fd245