[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] testing dgunay/rpg-dice-rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Frpg-dice-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dgunay/rpg-dice-rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 proc-macro-error-attr v0.4.8 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] [stderr] Downloaded rustversion v1.0.2 [INFO] [stderr] Downloaded structopt-derive v0.4.2 [INFO] [stderr] Downloaded proc-macro-error v0.4.8 [INFO] [stderr] Downloaded structopt v0.3.9 [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 regex v1.3.4 [INFO] [stderr] Downloaded regex-syntax v0.6.14 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec1a5fe652844695feb87ea7e4db3861c5a56bbe79f3ecedeb13e095788480f2 [INFO] running `Command { std: "docker" "start" "-a" "ec1a5fe652844695feb87ea7e4db3861c5a56bbe79f3ecedeb13e095788480f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec1a5fe652844695feb87ea7e4db3861c5a56bbe79f3ecedeb13e095788480f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1a5fe652844695feb87ea7e4db3861c5a56bbe79f3ecedeb13e095788480f2", kill_on_drop: false }` [INFO] [stdout] ec1a5fe652844695feb87ea7e4db3861c5a56bbe79f3ecedeb13e095788480f2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16960724490d2f0a220b05d210780a1038d9381e14b282636638a681a727c716 [INFO] running `Command { std: "docker" "start" "-a" "16960724490d2f0a220b05d210780a1038d9381e14b282636638a681a727c716", 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.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling evalexpr v5.0.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling 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] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Compiling structopt v0.3.9 [INFO] [stderr] Compiling rpg-dice-rust v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.18s [INFO] running `Command { std: "docker" "inspect" "16960724490d2f0a220b05d210780a1038d9381e14b282636638a681a727c716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16960724490d2f0a220b05d210780a1038d9381e14b282636638a681a727c716", kill_on_drop: false }` [INFO] [stdout] 16960724490d2f0a220b05d210780a1038d9381e14b282636638a681a727c716 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85502aa99e748464c302be6bd069b386e97e2e48dd29d0247598460bc24cafb9 [INFO] running `Command { std: "docker" "start" "-a" "85502aa99e748464c302be6bd069b386e97e2e48dd29d0247598460bc24cafb9", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | |_____^ the trait `Debug` is not implemented for `DiceResult` [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `DiceResult` [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `DiceResult` [INFO] [stdout] | [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 `std::ops::RangeInclusive::::contains` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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 `std::ops::RangeInclusive::::contains` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "85502aa99e748464c302be6bd069b386e97e2e48dd29d0247598460bc24cafb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85502aa99e748464c302be6bd069b386e97e2e48dd29d0247598460bc24cafb9", kill_on_drop: false }` [INFO] [stdout] 85502aa99e748464c302be6bd069b386e97e2e48dd29d0247598460bc24cafb9