[INFO] cloning repository https://github.com/mcalawa/jikan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcalawa/jikan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcalawa%2Fjikan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcalawa%2Fjikan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e6ec3fccdc83446de3990099c83bf5b291fe73c [INFO] building mcalawa/jikan 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%2Fmcalawa%2Fjikan" "/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/mcalawa/jikan 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/mcalawa/jikan [INFO] finished tweaking git repo https://github.com/mcalawa/jikan [INFO] tweaked toml for git repo https://github.com/mcalawa/jikan written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mcalawa/jikan 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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99b3e660ee98cb3ee3d57c10e57560c018a266a76995373d33f0d3b87caf75d5 [INFO] running `Command { std: "docker" "start" "-a" "99b3e660ee98cb3ee3d57c10e57560c018a266a76995373d33f0d3b87caf75d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99b3e660ee98cb3ee3d57c10e57560c018a266a76995373d33f0d3b87caf75d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b3e660ee98cb3ee3d57c10e57560c018a266a76995373d33f0d3b87caf75d5", kill_on_drop: false }` [INFO] [stdout] 99b3e660ee98cb3ee3d57c10e57560c018a266a76995373d33f0d3b87caf75d5 [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 -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] 5a6396ece49fffa392d2a3ad8a805a85eb287ee9c5b756c7ab254de034a1753b [INFO] running `Command { std: "docker" "start" "-a" "5a6396ece49fffa392d2a3ad8a805a85eb287ee9c5b756c7ab254de034a1753b", 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.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling chrono v0.4.4 [INFO] [stderr] Compiling jikan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/jpn/era.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | '\u{4e00}'...'\u{9faf}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/jpn/era.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | '\u{3400}'...'\u{4dbf}' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/period.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref PERIODS: HashMap<&'static str, Period> = { [INFO] [stdout] 12 | | let mut m = HashMap::new(); [INFO] [stdout] 13 | | m.insert("asuka", Period::new("Asuka jidai", "飛鳥時代", "あすかじだい", "Asuka jidai", "Asuka zidai", "Asuka zidai", "Asuka period" ... [INFO] [stdout] ... | [INFO] [stdout] 164 | | }; [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jpn/era.rs:2053:17 [INFO] [stdout] | [INFO] [stdout] 2053 | let mut y1 = y + i; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jpn/period.rs:212:71 [INFO] [stdout] | [INFO] [stdout] 212 | let period = PERIODS.get(formatted_name.as_str()).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Period` does not implement `Clone`, so calling `clone` on `&Period` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 212 - let period = PERIODS.get(formatted_name.as_str()).unwrap().clone(); [INFO] [stdout] 212 + let period = PERIODS.get(formatted_name.as_str()).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Period`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 168 + #[derive(Clone)] [INFO] [stdout] 169 | pub struct Period { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "5a6396ece49fffa392d2a3ad8a805a85eb287ee9c5b756c7ab254de034a1753b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a6396ece49fffa392d2a3ad8a805a85eb287ee9c5b756c7ab254de034a1753b", kill_on_drop: false }` [INFO] [stdout] 5a6396ece49fffa392d2a3ad8a805a85eb287ee9c5b756c7ab254de034a1753b [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 -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] 4bc1073a4ec1b34c73a4c8bd30f6ec59410c0b744ff02eee14d2b9735dbb2fe8 [INFO] running `Command { std: "docker" "start" "-a" "4bc1073a4ec1b34c73a4c8bd30f6ec59410c0b744ff02eee14d2b9735dbb2fe8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/jpn/era.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | '\u{4e00}'...'\u{9faf}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/jpn/era.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | '\u{3400}'...'\u{4dbf}' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jikan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/period.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref PERIODS: HashMap<&'static str, Period> = { [INFO] [stdout] 12 | | let mut m = HashMap::new(); [INFO] [stdout] 13 | | m.insert("asuka", Period::new("Asuka jidai", "飛鳥時代", "あすかじだい", "Asuka jidai", "Asuka zidai", "Asuka zidai", "Asuka period" ... [INFO] [stdout] ... | [INFO] [stdout] 164 | | }; [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jpn/era.rs:2053:17 [INFO] [stdout] | [INFO] [stdout] 2053 | let mut y1 = y + i; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jpn/period.rs:212:71 [INFO] [stdout] | [INFO] [stdout] 212 | let period = PERIODS.get(formatted_name.as_str()).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Period` does not implement `Clone`, so calling `clone` on `&Period` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 212 - let period = PERIODS.get(formatted_name.as_str()).unwrap().clone(); [INFO] [stdout] 212 + let period = PERIODS.get(formatted_name.as_str()).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Period`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 168 + #[derive(Clone)] [INFO] [stdout] 169 | pub struct Period { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/jpn/era.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | '\u{4e00}'...'\u{9faf}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/jpn/era.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | '\u{3400}'...'\u{4dbf}' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/era.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stdout] 17 | | let mut m = HashMap::new(); [INFO] [stdout] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stdout] ... | [INFO] [stdout] 1721 | | }; [INFO] [stdout] 1722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/jpn/period.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref PERIODS: HashMap<&'static str, Period> = { [INFO] [stdout] 12 | | let mut m = HashMap::new(); [INFO] [stdout] 13 | | m.insert("asuka", Period::new("Asuka jidai", "飛鳥時代", "あすかじだい", "Asuka jidai", "Asuka zidai", "Asuka zidai", "Asuka period" ... [INFO] [stdout] ... | [INFO] [stdout] 164 | | }; [INFO] [stdout] 165 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jpn/era.rs:2053:17 [INFO] [stdout] | [INFO] [stdout] 2053 | let mut y1 = y + i; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/jpn/period.rs:212:71 [INFO] [stdout] | [INFO] [stdout] 212 | let period = PERIODS.get(formatted_name.as_str()).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Period` does not implement `Clone`, so calling `clone` on `&Period` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 212 - let period = PERIODS.get(formatted_name.as_str()).unwrap().clone(); [INFO] [stdout] 212 + let period = PERIODS.get(formatted_name.as_str()).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Period`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 168 + #[derive(Clone)] [INFO] [stdout] 169 | pub struct Period { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "4bc1073a4ec1b34c73a4c8bd30f6ec59410c0b744ff02eee14d2b9735dbb2fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc1073a4ec1b34c73a4c8bd30f6ec59410c0b744ff02eee14d2b9735dbb2fe8", kill_on_drop: false }` [INFO] [stdout] 4bc1073a4ec1b34c73a4c8bd30f6ec59410c0b744ff02eee14d2b9735dbb2fe8