[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] building dsxragnarok/rusty-dice against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsxragnarok%2Frusty-dice" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsxragnarok/rusty-dice on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb8cbbcee3330afd7abecffa22a7baaa736c9e323e6a480ade7130b3f23084b9 [INFO] running `Command { std: "docker" "start" "-a" "fb8cbbcee3330afd7abecffa22a7baaa736c9e323e6a480ade7130b3f23084b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb8cbbcee3330afd7abecffa22a7baaa736c9e323e6a480ade7130b3f23084b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8cbbcee3330afd7abecffa22a7baaa736c9e323e6a480ade7130b3f23084b9", kill_on_drop: false }` [INFO] [stdout] fb8cbbcee3330afd7abecffa22a7baaa736c9e323e6a480ade7130b3f23084b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de52ba2b46ca72806b0dfaeeb1937a05896d9726c09c5c1ea7bc61b49ff7d206 [INFO] running `Command { std: "docker" "start" "-a" "de52ba2b46ca72806b0dfaeeb1937a05896d9726c09c5c1ea7bc61b49ff7d206", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "de52ba2b46ca72806b0dfaeeb1937a05896d9726c09c5c1ea7bc61b49ff7d206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de52ba2b46ca72806b0dfaeeb1937a05896d9726c09c5c1ea7bc61b49ff7d206", kill_on_drop: false }` [INFO] [stdout] de52ba2b46ca72806b0dfaeeb1937a05896d9726c09c5c1ea7bc61b49ff7d206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0087797d36442858926a6464211a0c9fa713381c535ca7dbaaabe620c59f8560 [INFO] running `Command { std: "docker" "start" "-a" "0087797d36442858926a6464211a0c9fa713381c535ca7dbaaabe620c59f8560", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling rustydice v1.0.0 (/opt/rustwide/workdir) [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/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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "0087797d36442858926a6464211a0c9fa713381c535ca7dbaaabe620c59f8560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0087797d36442858926a6464211a0c9fa713381c535ca7dbaaabe620c59f8560", kill_on_drop: false }` [INFO] [stdout] 0087797d36442858926a6464211a0c9fa713381c535ca7dbaaabe620c59f8560