[INFO] fetching crate bankholidays 1.1.2... [INFO] testing bankholidays-1.1.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate bankholidays 1.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bankholidays 1.1.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bankholidays 1.1.2 [INFO] finished tweaking crates.io crate bankholidays 1.1.2 [INFO] tweaked toml for crates.io crate bankholidays 1.1.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dde974719a94535eee0c9e6afaf47f96d814fb51a1c39c06ce1999b4212ca29 [INFO] running `Command { std: "docker" "start" "-a" "5dde974719a94535eee0c9e6afaf47f96d814fb51a1c39c06ce1999b4212ca29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dde974719a94535eee0c9e6afaf47f96d814fb51a1c39c06ce1999b4212ca29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dde974719a94535eee0c9e6afaf47f96d814fb51a1c39c06ce1999b4212ca29", kill_on_drop: false }` [INFO] [stdout] 5dde974719a94535eee0c9e6afaf47f96d814fb51a1c39c06ce1999b4212ca29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f78ef1d5ed55d249b041dcb1aa26e3df2bf6376a557ef0795ed09eb67b88783c [INFO] running `Command { std: "docker" "start" "-a" "f78ef1d5ed55d249b041dcb1aa26e3df2bf6376a557ef0795ed09eb67b88783c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling computus v1.0.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bankholidays v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.26s [INFO] running `Command { std: "docker" "inspect" "f78ef1d5ed55d249b041dcb1aa26e3df2bf6376a557ef0795ed09eb67b88783c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f78ef1d5ed55d249b041dcb1aa26e3df2bf6376a557ef0795ed09eb67b88783c", kill_on_drop: false }` [INFO] [stdout] f78ef1d5ed55d249b041dcb1aa26e3df2bf6376a557ef0795ed09eb67b88783c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c58491b3a458740c05efc94cc750cf5355644a07ea20cd9f409c0307b85f2fca [INFO] running `Command { std: "docker" "start" "-a" "c58491b3a458740c05efc94cc750cf5355644a07ea20cd9f409c0307b85f2fca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bankholidays v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / test!(year_1999, 1999, [INFO] [stdout] 100 | | [(1, 1), (2, 4), (5, 4), (3, 5), (31, 5), (30, 8), (27, 12), (28, 12), (31, 12)]); [INFO] [stdout] | |___________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | / test!(year_2002, 2002, [INFO] [stdout] 103 | | [(1, 1), (29, 3), (1, 4), (6, 5), (3, 6), (4, 6), (26, 8), (25, 12), (26, 12)]); [INFO] [stdout] | |_________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / test!(year_2012, 2012, [INFO] [stdout] 106 | | [(2, 1), (6, 4), (9, 4), (7, 5), (4, 6), (5, 6), (27, 8), (25, 12), (26, 12)]); [INFO] [stdout] | |________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | / test!(year_2013, 2013, [INFO] [stdout] 109 | | [(1, 1), (29, 3), (1, 4), (6, 5), (27, 5), (26, 8), (25, 12), (26, 12)]); [INFO] [stdout] | |__________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | / test!(year_2014, 2014, [INFO] [stdout] 112 | | [(1, 1), (18, 4), (21, 4), (5, 5), (26, 5), (25, 8), (25, 12), (26, 12)]); [INFO] [stdout] | |___________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | / test!(year_2015, 2015, [INFO] [stdout] 115 | | [(1, 1), (3, 4), (6, 4), (4, 5), (25, 5), (31, 8), (25, 12), (28, 12)]); [INFO] [stdout] | |_________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | / test!(year_2016, 2016, [INFO] [stdout] 118 | | [(1, 1), (25, 3), (28, 3), (2, 5), (30, 5), (29, 8), (26, 12), (27, 12)]); [INFO] [stdout] | |___________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | / test!(year_2017, 2017, [INFO] [stdout] 121 | | [(2, 1), (14, 4), (17, 4), (1, 5), (29, 5), (28, 8), (25, 12), (26, 12)]); [INFO] [stdout] | |___________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / test!(year_2018, 2018, [INFO] [stdout] 124 | | [(1, 1), (30, 3), (2, 4), (7, 5), (28, 5), (27, 8), (25, 12), (26, 12)]); [INFO] [stdout] | |__________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | / test!(year_2020, 2020, [INFO] [stdout] 127 | | [(1, 1), (10, 4), (13, 4), (8, 5), (25, 5), (31, 8), (25, 12), (28, 12)]); [INFO] [stdout] | |___________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uk.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | / test!(year_2022, 2022, [INFO] [stdout] 130 | | [(3, 1), (15, 4), (18, 4), (2, 5), (2, 6), (3, 6), (29, 8), (26, 12), (27, 12)]); [INFO] [stdout] | |__________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stdout] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "c58491b3a458740c05efc94cc750cf5355644a07ea20cd9f409c0307b85f2fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58491b3a458740c05efc94cc750cf5355644a07ea20cd9f409c0307b85f2fca", kill_on_drop: false }` [INFO] [stdout] c58491b3a458740c05efc94cc750cf5355644a07ea20cd9f409c0307b85f2fca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef97e47c9941b03cf00e106420b53dd00ecf532739c2fda42381c7d67f47f4e3 [INFO] running `Command { std: "docker" "start" "-a" "ef97e47c9941b03cf00e106420b53dd00ecf532739c2fda42381c7d67f47f4e3", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | / test!(year_1999, 1999, [INFO] [stderr] 100 | | [(1, 1), (2, 4), (5, 4), (3, 5), (31, 5), (30, 8), (27, 12), (28, 12), (31, 12)]); [INFO] [stderr] | |___________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | / test!(year_2002, 2002, [INFO] [stderr] 103 | | [(1, 1), (29, 3), (1, 4), (6, 5), (3, 6), (4, 6), (26, 8), (25, 12), (26, 12)]); [INFO] [stderr] | |_________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | / test!(year_2012, 2012, [INFO] [stderr] 106 | | [(2, 1), (6, 4), (9, 4), (7, 5), (4, 6), (5, 6), (27, 8), (25, 12), (26, 12)]); [INFO] [stderr] | |________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | / test!(year_2013, 2013, [INFO] [stderr] 109 | | [(1, 1), (29, 3), (1, 4), (6, 5), (27, 5), (26, 8), (25, 12), (26, 12)]); [INFO] [stderr] | |__________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | / test!(year_2014, 2014, [INFO] [stderr] 112 | | [(1, 1), (18, 4), (21, 4), (5, 5), (26, 5), (25, 8), (25, 12), (26, 12)]); [INFO] [stderr] | |___________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | / test!(year_2015, 2015, [INFO] [stderr] 115 | | [(1, 1), (3, 4), (6, 4), (4, 5), (25, 5), (31, 8), (25, 12), (28, 12)]); [INFO] [stderr] | |_________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | / test!(year_2016, 2016, [INFO] [stderr] 118 | | [(1, 1), (25, 3), (28, 3), (2, 5), (30, 5), (29, 8), (26, 12), (27, 12)]); [INFO] [stderr] | |___________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | / test!(year_2017, 2017, [INFO] [stderr] 121 | | [(2, 1), (14, 4), (17, 4), (1, 5), (29, 5), (28, 8), (25, 12), (26, 12)]); [INFO] [stderr] | |___________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | / test!(year_2018, 2018, [INFO] [stderr] 124 | | [(1, 1), (30, 3), (2, 4), (7, 5), (28, 5), (27, 8), (25, 12), (26, 12)]); [INFO] [stderr] | |__________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | / test!(year_2020, 2020, [INFO] [stderr] 127 | | [(1, 1), (10, 4), (13, 4), (8, 5), (25, 5), (31, 8), (25, 12), (28, 12)]); [INFO] [stderr] | |___________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/uk.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | / test!(year_2022, 2022, [INFO] [stderr] 130 | | [(3, 1), (15, 4), (18, 4), (2, 5), (2, 6), (3, 6), (29, 8), (26, 12), (27, 12)]); [INFO] [stderr] | |__________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - format!("Expected {} for {} but got {}", expected, date, holiday)); [INFO] [stderr] 92 + "Expected {} for {} but got {}", expected, date, holiday); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bankholidays` (lib test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bankholidays-ae334d454360d98b) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test uk::tests::year_1999 ... ok [INFO] [stdout] test uk::tests::year_2002 ... ok [INFO] [stdout] test uk::tests::year_2012 ... ok [INFO] [stdout] test uk::tests::year_2013 ... ok [INFO] [stdout] test uk::tests::year_2017 ... ok [INFO] [stdout] test uk::tests::year_2014 ... ok [INFO] [stdout] test uk::tests::year_2018 ... ok [INFO] [stdout] test uk::tests::year_2016 ... ok [INFO] [stdout] test uk::tests::year_2015 ... ok [INFO] [stdout] test uk::tests::year_2020 ... ok [INFO] [stdout] test uk::tests::year_2022 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests bankholidays [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" "ef97e47c9941b03cf00e106420b53dd00ecf532739c2fda42381c7d67f47f4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef97e47c9941b03cf00e106420b53dd00ecf532739c2fda42381c7d67f47f4e3", kill_on_drop: false }` [INFO] [stdout] ef97e47c9941b03cf00e106420b53dd00ecf532739c2fda42381c7d67f47f4e3