[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 against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Frpg-dice-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgunay/rpg-dice-rust on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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-6-tc2/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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dgunay/rpg-dice-rust against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Frpg-dice-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgunay/rpg-dice-rust on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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-6-tc2/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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dgunay/rpg-dice-rust against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Frpg-dice-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgunay/rpg-dice-rust on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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-6-tc2/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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded evalexpr v5.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21fa4b6f8e4d0ee167ee8c03a1a07198ad94c44a9687deba13d7c76f1a9216fd [INFO] running `Command { std: "docker" "start" "-a" "21fa4b6f8e4d0ee167ee8c03a1a07198ad94c44a9687deba13d7c76f1a9216fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21fa4b6f8e4d0ee167ee8c03a1a07198ad94c44a9687deba13d7c76f1a9216fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fa4b6f8e4d0ee167ee8c03a1a07198ad94c44a9687deba13d7c76f1a9216fd", kill_on_drop: false }` [INFO] [stdout] 21fa4b6f8e4d0ee167ee8c03a1a07198ad94c44a9687deba13d7c76f1a9216fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d6bbeb43601082e8d756b6b7dcbe3c1c7fa99fe298b90f6e7072bb078af6d88 [INFO] running `Command { std: "docker" "start" "-a" "3d6bbeb43601082e8d756b6b7dcbe3c1c7fa99fe298b90f6e7072bb078af6d88", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking evalexpr v5.0.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.7 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [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_chacha v0.2.1 [INFO] [stderr] Checking rand_pcg 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 `std::ops::RangeInclusive::::contains` [INFO] [stdout] --> /rustc/bf5ff6675cf10ce009ac02007b064a7cfc4509ac/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/bf5ff6675cf10ce009ac02007b064a7cfc4509ac/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" "3d6bbeb43601082e8d756b6b7dcbe3c1c7fa99fe298b90f6e7072bb078af6d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d6bbeb43601082e8d756b6b7dcbe3c1c7fa99fe298b90f6e7072bb078af6d88", kill_on_drop: false }` [INFO] [stdout] 3d6bbeb43601082e8d756b6b7dcbe3c1c7fa99fe298b90f6e7072bb078af6d88