[INFO] cloning repository https://github.com/dsxragnarok/rusty-dice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsxragnarok/rusty-dice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a24654115d20c7eff03f3dd2fb6ac40642bf27d5 [INFO] testing dsxragnarok/rusty-dice against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice" "/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/dsxragnarok/rusty-dice on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dsxragnarok/rusty-dice [INFO] finished tweaking git repo https://github.com/dsxragnarok/rusty-dice [INFO] tweaked toml for git repo https://github.com/dsxragnarok/rusty-dice written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dsxragnarok/rusty-dice 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" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21ba3e59748dc1f02a5839320029bb6547f72d9f45e55727e593ed272e9281d2 [INFO] running `Command { std: "docker" "start" "-a" "21ba3e59748dc1f02a5839320029bb6547f72d9f45e55727e593ed272e9281d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21ba3e59748dc1f02a5839320029bb6547f72d9f45e55727e593ed272e9281d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ba3e59748dc1f02a5839320029bb6547f72d9f45e55727e593ed272e9281d2", kill_on_drop: false }` [INFO] [stdout] 21ba3e59748dc1f02a5839320029bb6547f72d9f45e55727e593ed272e9281d2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f77d4d8ea698885850bfc4eb21e26a00cf7e89dda7daa6818dc9cc895349dc1 [INFO] running `Command { std: "docker" "start" "-a" "5f77d4d8ea698885850bfc4eb21e26a00cf7e89dda7daa6818dc9cc895349dc1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling rustydice v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/logger.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | Error::new(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/main.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | return err.description().to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "5f77d4d8ea698885850bfc4eb21e26a00cf7e89dda7daa6818dc9cc895349dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f77d4d8ea698885850bfc4eb21e26a00cf7e89dda7daa6818dc9cc895349dc1", kill_on_drop: false }` [INFO] [stdout] 5f77d4d8ea698885850bfc4eb21e26a00cf7e89dda7daa6818dc9cc895349dc1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5abd9db43b7e2317fb273c714ba1bdf1c4e50a16c32ab6f53124a87aba649f0 [INFO] running `Command { std: "docker" "start" "-a" "e5abd9db43b7e2317fb273c714ba1bdf1c4e50a16c32ab6f53124a87aba649f0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling rustydice v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/logger.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | Error::new(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/main.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | return err.description().to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | Error::new(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:388:36 [INFO] [stdout] | [INFO] [stdout] 388 | Err(e) => assert_eq!(e.description(), "Unable to match the die type!"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:412:36 [INFO] [stdout] | [INFO] [stdout] 412 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:422:36 [INFO] [stdout] | [INFO] [stdout] 422 | Err(e) => assert_eq!(e.description(), "Unable to match the die type!"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:471:36 [INFO] [stdout] | [INFO] [stdout] 471 | Err(e) => assert_eq!(e.description(), "Unable to match the die type!"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:481:36 [INFO] [stdout] | [INFO] [stdout] 481 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:491:36 [INFO] [stdout] | [INFO] [stdout] 491 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:501:36 [INFO] [stdout] | [INFO] [stdout] 501 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dice.rs:511:36 [INFO] [stdout] | [INFO] [stdout] 511 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dice.rs:387:31 [INFO] [stdout] | [INFO] [stdout] 387 | Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 387 - Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stdout] 387 + Ok(die) => panic!("Expected an error but found {:?}", die), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dice.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 411 - Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stdout] 411 + Ok(die) => panic!("Expected an error but found {:?}", die), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dice.rs:421:31 [INFO] [stdout] | [INFO] [stdout] 421 | Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 421 - Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stdout] 421 + Ok(die) => panic!("Expected an error but found {:?}", die), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "e5abd9db43b7e2317fb273c714ba1bdf1c4e50a16c32ab6f53124a87aba649f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5abd9db43b7e2317fb273c714ba1bdf1c4e50a16c32ab6f53124a87aba649f0", kill_on_drop: false }` [INFO] [stdout] e5abd9db43b7e2317fb273c714ba1bdf1c4e50a16c32ab6f53124a87aba649f0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 372e456341c2f16ec8bac867838354e278f94f8507809843308386df18fb746d [INFO] running `Command { std: "docker" "start" "-a" "372e456341c2f16ec8bac867838354e278f94f8507809843308386df18fb746d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused import: `TimeZone` [INFO] [stderr] --> src/logger.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, Local, TimeZone}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | Error::new(err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:388:36 [INFO] [stderr] | [INFO] [stderr] 388 | Err(e) => assert_eq!(e.description(), "Unable to match the die type!"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:412:36 [INFO] [stderr] | [INFO] [stderr] 412 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:422:36 [INFO] [stderr] | [INFO] [stderr] 422 | Err(e) => assert_eq!(e.description(), "Unable to match the die type!"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:471:36 [INFO] [stderr] | [INFO] [stderr] 471 | Err(e) => assert_eq!(e.description(), "Unable to match the die type!"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:481:36 [INFO] [stderr] | [INFO] [stderr] 481 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:491:36 [INFO] [stderr] | [INFO] [stderr] 491 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:501:36 [INFO] [stderr] | [INFO] [stderr] 501 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/dice.rs:511:36 [INFO] [stderr] | [INFO] [stderr] 511 | Err(e) => assert_eq!(e.description(), "invalid digit found in string"), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/dice.rs:387:31 [INFO] [stderr] | [INFO] [stderr] 387 | Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 387 - Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stderr] 387 + Ok(die) => panic!("Expected an error but found {:?}", die), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/dice.rs:411:31 [INFO] [stderr] | [INFO] [stderr] 411 | Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 411 - Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stderr] 411 + Ok(die) => panic!("Expected an error but found {:?}", die), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/dice.rs:421:31 [INFO] [stderr] | [INFO] [stderr] 421 | Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 421 - Ok(die) => panic!(format!("Expected an error but found {:?}", die)), [INFO] [stderr] 421 + Ok(die) => panic!("Expected an error but found {:?}", die), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rustydice` (lib) generated 2 warnings (run `cargo fix --lib -p rustydice` to apply 1 suggestion) [INFO] [stderr] warning: `rustydice` (lib test) generated 12 warnings (1 duplicate) (run `cargo fix --lib -p rustydice --tests` to apply 3 suggestions) [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/bin/main.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | return err.description().to_string(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustydice` (bin "main" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustydice-98c5c791195e17d2) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test dice::tests::it_creates_a_d2_from_2u32 ... ok [INFO] [stdout] test dice::tests::it_creates_a_eight_sided_die ... ok [INFO] [stdout] test dice::tests::it_creates_a_d20_from_20u32 ... ok [INFO] [stdout] test dice::tests::it_creates_a_d8_from_string ... ok [INFO] [stdout] test dice::tests::it_creates_a_four_sided_die ... ok [INFO] [stdout] test dice::tests::it_creates_an_error_for_invalid_die ... ok [INFO] [stdout] test dice::tests::it_creates_a_d12_from_string ... ok [INFO] [stdout] test dice::tests::it_creates_a_d4_from_4u32 ... ok [INFO] [stdout] test dice::tests::it_creates_a_twenty_sided_die ... ok [INFO] [stdout] test dice::tests::it_parses_1d20_with_negative_modifier ... ok [INFO] [stdout] test dice::tests::it_parses_2d8 ... ok [INFO] [stdout] test dice::tests::it_parses_a_unit_d12_die ... ok [INFO] [stdout] test dice::tests::it_parses_a_unit_d4_die ... ok [INFO] [stdout] test dice::tests::it_returns_an_error_for_invalid_die_string ... ok [INFO] [stdout] test dice::tests::it_parses_3d6_with_positive_modifier ... ok [INFO] [stdout] test dice::tests::it_returns_an_error_for_invalid_input ... ok [INFO] [stdout] test dice::tests::it_returns_resulting_vector_of_rolls_and_total ... ok [INFO] [stdout] test dice::tests::it_sets_the_modifier_property ... ok [INFO] [stdout] test dice::tests::it_sets_the_n_property ... ok [INFO] [stdout] test dice::tests::it_returns_number_between_1_and_4 ... ok [INFO] [stdout] test dice::tests::it_should_chain_methods_to_build_roll_result ... ok [INFO] [stdout] test dice::tests::it_should_raise_error_for_invalid_die ... ok [INFO] [stdout] test dice::tests::it_should_raise_error_for_invalid_mod ... ok [INFO] [stdout] test dice::tests::it_should_raise_error_for_invalid_n ... ok [INFO] [stdout] test dice::tests::it_should_raise_error_for_invalid_negative_mod ... ok [INFO] [stdout] test dice::tests::it_successfully_tries_to_parse_1d100_with_negative_modifier ... ok [INFO] [stdout] test dice::tests::it_should_raise_error_for_invalid_positive_mod ... ok [INFO] [stdout] test dice::tests::it_successfully_tries_to_parse_2d10 ... ok [INFO] [stdout] test dice::tests::it_successfully_tries_to_parse_a_d8_die ... ok [INFO] [stdout] test dice::tests::it_successfully_tries_to_parse_4d6_with_positive_modifier ... ok [INFO] [stdout] test logger::tests::it_constructs_the_log_text_from_roll_result_with_zero_modifier ... ok [INFO] [stdout] test logger::tests::it_constructs_the_log_text_from_roll_result_with_negative_modifier ... ok [INFO] [stdout] test logger::tests::it_constructs_the_log_text_from_roll_result_with_positive_modifier ... ok [INFO] [stdout] test logger::tests::it_constructs_the_log_text_with_timestamp ... ok [INFO] [stdout] test logger::tests::it_constructs_the_log_text_with_vector_of_individual_rolls ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-958af340f9822149) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rustydice [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "372e456341c2f16ec8bac867838354e278f94f8507809843308386df18fb746d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "372e456341c2f16ec8bac867838354e278f94f8507809843308386df18fb746d", kill_on_drop: false }` [INFO] [stdout] 372e456341c2f16ec8bac867838354e278f94f8507809843308386df18fb746d [INFO] testing dsxragnarok/rusty-dice against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsxragnarok/rusty-dice on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dsxragnarok/rusty-dice [INFO] finished tweaking git repo https://github.com/dsxragnarok/rusty-dice [INFO] tweaked toml for git repo https://github.com/dsxragnarok/rusty-dice written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dsxragnarok/rusty-dice 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" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing dsxragnarok/rusty-dice against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/logger.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing dsxragnarok/rusty-dice against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/dice.rs [INFO] [stderr] error: unable to write file src/lib.rs [INFO] [stderr] error: unable to write file src/logger.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing dsxragnarok/rusty-dice against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/dice.rs [INFO] [stderr] error: unable to write file src/lib.rs [INFO] [stderr] error: unable to write file src/logger.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing dsxragnarok/rusty-dice against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/dice.rs [INFO] [stderr] error: unable to write file src/lib.rs [INFO] [stderr] error: unable to write file src/logger.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [ERROR] this task or one of its parent failed! [ERROR] failed to checkout https://github.com/dsxragnarok/rusty-dice [ERROR] caused by: command failed: exit status: 128 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.