[INFO] cloning repository https://github.com/dgunay/rpg-dice-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgunay/rpg-dice-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Frpg-dice-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Frpg-dice-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bbf0f9046bd13c9e652b62c7ad282a78e3940ad [INFO] checking dgunay/rpg-dice-rust/5bbf0f9046bd13c9e652b62c7ad282a78e3940ad against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Frpg-dice-rust" "/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/dgunay/rpg-dice-rust on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgunay/rpg-dice-rust [INFO] finished tweaking git repo https://github.com/dgunay/rpg-dice-rust [INFO] tweaked toml for git repo https://github.com/dgunay/rpg-dice-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dgunay/rpg-dice-rust 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.21 [INFO] [stderr] Downloaded rustversion v1.0.2 [INFO] [stderr] Downloaded proc-macro-error v0.4.8 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.8 [INFO] [stderr] Downloaded structopt-derive v0.4.2 [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] [stderr] Downloaded evalexpr v5.0.5 [INFO] [stderr] Downloaded aho-corasick v0.7.7 [INFO] [stderr] Downloaded structopt v0.3.9 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79272816df49c31b9c4a883f16be54856655ca2e7544393670d812eca9d9a801 [INFO] running `Command { std: "docker" "start" "-a" "79272816df49c31b9c4a883f16be54856655ca2e7544393670d812eca9d9a801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79272816df49c31b9c4a883f16be54856655ca2e7544393670d812eca9d9a801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79272816df49c31b9c4a883f16be54856655ca2e7544393670d812eca9d9a801", kill_on_drop: false }` [INFO] [stdout] 79272816df49c31b9c4a883f16be54856655ca2e7544393670d812eca9d9a801 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dadd94c3e5f94542ceffa5fde902b230d6c7ce114d5945c1bc1cf2b3f67ead33 [INFO] running `Command { std: "docker" "start" "-a" "dadd94c3e5f94542ceffa5fde902b230d6c7ce114d5945c1bc1cf2b3f67ead33", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking evalexpr v5.0.5 [INFO] [stderr] Checking aho-corasick v0.7.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling proc-macro-error v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.8 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Checking structopt v0.3.9 [INFO] [stderr] Checking rpg-dice-rust v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: can't compare `{integer}` with `DiceResult` [INFO] [stdout] --> tests/integration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / assert_eq!( [INFO] [stdout] 10 | | 4, [INFO] [stdout] 11 | | solve_dice_expression(&String::from("2 + 2"), None).unwrap() [INFO] [stdout] 12 | | ); [INFO] [stdout] | |_____^ no implementation for `{integer} == DiceResult` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] f128 [INFO] [stdout] f16 [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] and 8 others [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `DiceResult` doesn't implement `Debug` [INFO] [stdout] --> tests/integration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / assert_eq!( [INFO] [stdout] 10 | | 4, [INFO] [stdout] 11 | | solve_dice_expression(&String::from("2 + 2"), None).unwrap() [INFO] [stdout] 12 | | ); [INFO] [stdout] | |_____^ `DiceResult` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `DiceResult` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `DiceResult` [INFO] [stdout] --> tests/integration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(a.unwrap(), b.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | DiceResult [INFO] [stdout] | DiceResult [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `DiceResult` doesn't implement `PartialEq` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DiceResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `DiceResult` doesn't implement `Debug` [INFO] [stdout] --> tests/integration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(a.unwrap(), b.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiceResult` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `DiceResult` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `DiceResult` doesn't implement `Debug` [INFO] [stdout] --> tests/integration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(a.unwrap(), b.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiceResult` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `DiceResult` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `{integer}` with `DiceResult` [INFO] [stdout] --> tests/integration.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | assert!((2..=12).contains(&a)) [INFO] [stdout] | -------- ^^ no implementation for `{integer} < DiceResult` and `{integer} > DiceResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `PartialOrd`: [INFO] [stdout] f128 [INFO] [stdout] f16 [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] and 8 others [INFO] [stdout] note: required by a bound in `RangeInclusive::::contains` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/ops/range.rs:509:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `DiceResult` with `{integer}` [INFO] [stdout] --> tests/integration.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | assert!((2..=12).contains(&a)) [INFO] [stdout] | -------- ^^ no implementation for `DiceResult < {integer}` and `DiceResult > {integer}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd<{integer}>` is not implemented for `DiceResult` [INFO] [stdout] note: required by a bound in `RangeInclusive::::contains` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/ops/range.rs:509:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpg-dice-rust` (test "integration") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "dadd94c3e5f94542ceffa5fde902b230d6c7ce114d5945c1bc1cf2b3f67ead33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadd94c3e5f94542ceffa5fde902b230d6c7ce114d5945c1bc1cf2b3f67ead33", kill_on_drop: false }` [INFO] [stdout] dadd94c3e5f94542ceffa5fde902b230d6c7ce114d5945c1bc1cf2b3f67ead33