[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] testing mcalawa/jikan against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcalawa%2Fjikan" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcalawa/jikan on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-0/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] 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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70c7b9b90c2a234e1f64139c82a00f50d41374e36450237701c204110f3649ad [INFO] running `Command { std: "docker" "start" "-a" "70c7b9b90c2a234e1f64139c82a00f50d41374e36450237701c204110f3649ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70c7b9b90c2a234e1f64139c82a00f50d41374e36450237701c204110f3649ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c7b9b90c2a234e1f64139c82a00f50d41374e36450237701c204110f3649ad", kill_on_drop: false }` [INFO] [stdout] 70c7b9b90c2a234e1f64139c82a00f50d41374e36450237701c204110f3649ad [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4f23428e2306eff4a990ac78272e800cff87af151880f4423daa84c7a3aeba0f [INFO] running `Command { std: "docker" "start" "-a" "4f23428e2306eff4a990ac78272e800cff87af151880f4423daa84c7a3aeba0f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.39 [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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 `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` (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 `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` (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 `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` (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 `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` (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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "4f23428e2306eff4a990ac78272e800cff87af151880f4423daa84c7a3aeba0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f23428e2306eff4a990ac78272e800cff87af151880f4423daa84c7a3aeba0f", kill_on_drop: false }` [INFO] [stdout] 4f23428e2306eff4a990ac78272e800cff87af151880f4423daa84c7a3aeba0f [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bc605cce53544fca0c72936ac4e05cbdae4cea499d04748f4b58dc4066e2ebe1 [INFO] running `Command { std: "docker" "start" "-a" "bc605cce53544fca0c72936ac4e05cbdae4cea499d04748f4b58dc4066e2ebe1", kill_on_drop: false }` [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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 `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` (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 `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` (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 `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` (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 `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` (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: 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: 7 warnings emitted [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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 `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` (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 `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` (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 `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` (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 `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` (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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.09s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/jikan-4148c34ec54c0326) [INFO] [stderr] Executable tests/jikan.rs (/opt/rustwide/target/debug/deps/jikan-b81c1ec0a8d5cdf1) [INFO] running `Command { std: "docker" "inspect" "bc605cce53544fca0c72936ac4e05cbdae4cea499d04748f4b58dc4066e2ebe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc605cce53544fca0c72936ac4e05cbdae4cea499d04748f4b58dc4066e2ebe1", kill_on_drop: false }` [INFO] [stdout] bc605cce53544fca0c72936ac4e05cbdae4cea499d04748f4b58dc4066e2ebe1 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 46b42dc6c72c41750fe613ca2f98aac0d2e2512b18aa7aeaefb33f4b69f2190c [INFO] running `Command { std: "docker" "start" "-a" "46b42dc6c72c41750fe613ca2f98aac0d2e2512b18aa7aeaefb33f4b69f2190c", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/jpn/era.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | '\u{4e00}'...'\u{9faf}' | [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/jpn/era.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | '\u{3400}'...'\u{4dbf}' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/jpn/era.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / lazy_static! { [INFO] [stderr] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stderr] 17 | | let mut m = HashMap::new(); [INFO] [stderr] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stderr] ... | [INFO] [stderr] 1721 | | }; [INFO] [stderr] 1722 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/jpn/era.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / lazy_static! { [INFO] [stderr] 16 | | static ref LUNAR_NEW_YEAR: HashMap = { [INFO] [stderr] 17 | | let mut m = HashMap::new(); [INFO] [stderr] 18 | | m.insert(645, NaiveDate::from_ymd(645, 2, 5)); [INFO] [stderr] ... | [INFO] [stderr] 1721 | | }; [INFO] [stderr] 1722 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/jpn/period.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / lazy_static! { [INFO] [stderr] 11 | | static ref PERIODS: HashMap<&'static str, Period> = { [INFO] [stderr] 12 | | let mut m = HashMap::new(); [INFO] [stderr] 13 | | m.insert("asuka", Period::new("Asuka jidai", "飛鳥時代", "あすかじだい", "Asuka jidai", "Asuka zidai", "Asuka zidai", "Asuka period" ... [INFO] [stderr] ... | [INFO] [stderr] 164 | | }; [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/jpn/era.rs:2053:17 [INFO] [stderr] | [INFO] [stderr] 2053 | let mut y1 = y + i; [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `jikan` (lib) generated 7 warnings (1 duplicate) [INFO] [stderr] warning: `jikan` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jikan-4148c34ec54c0326) [INFO] [stdout] [INFO] [stderr] Running tests/jikan.rs (/opt/rustwide/target/debug/deps/jikan-b81c1ec0a8d5cdf1) [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] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test date_from_georgian_returns_errors_for_invalid_dates ... ok [INFO] [stdout] test period_name_after_hyphen_not_read ... ok [INFO] [stdout] test era_from_georgian_returns_error_for_invalid_dates ... ok [INFO] [stdout] test period_name_ignores_numeric_characters ... ok [INFO] [stdout] test period_name_ignores_punctuation_other_than_hyphen ... ok [INFO] [stdout] test era_year_from_georgian_returns_error_for_invalid_dates ... ok [INFO] [stdout] test period_name_ignores_words_after_first_nonleading_whitespace ... ok [INFO] [stdout] test period_name_ignores_leading_whitespace ... ok [INFO] [stdout] test era_from_georgian_returns_correct_eras ... ok [INFO] [stdout] test era_from_georgian_year_returns_correct_eras ... ok [INFO] [stdout] test period_name_read_as_lowercase ... ok [INFO] [stdout] test era_from_georgian_year_returns_error_for_invalid_years ... ok [INFO] [stdout] test era_from_gymd_returns_correct_eras ... ok [INFO] [stdout] test era_from_kanji_errs_on_invalid_era_kanji ... ok [INFO] [stdout] test era_from_kanji_ignores_non_kanji_characters ... ok [INFO] [stdout] test era_from_georgian_year_returns_correct_number_of_eras ... ok [INFO] [stdout] test date_to_georgian_returns_input_of_date_from_georgian ... ok [INFO] [stdout] test era_year_from_georgian_returns_correct_era_years ... ok [INFO] [stdout] test date_from_georgian_returns_correct_dates ... ok [INFO] [stderr] Doc-tests jikan [INFO] [stdout] test era_year_to_georgian_year_returns_correct_years ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/jpn/era.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | '\u{4e00}'...'\u{9faf}' | [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/jpn/era.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | '\u{3400}'...'\u{4dbf}' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [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" "46b42dc6c72c41750fe613ca2f98aac0d2e2512b18aa7aeaefb33f4b69f2190c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b42dc6c72c41750fe613ca2f98aac0d2e2512b18aa7aeaefb33f4b69f2190c", kill_on_drop: false }` [INFO] [stdout] 46b42dc6c72c41750fe613ca2f98aac0d2e2512b18aa7aeaefb33f4b69f2190c