[INFO] cloning repository https://github.com/jlewisbrewer/rust_kana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlewisbrewer/rust_kana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlewisbrewer%2Frust_kana", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlewisbrewer%2Frust_kana'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93989fce9b022e1d6c93787e297ebbe40fd00ee7 [INFO] building jlewisbrewer/rust_kana against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlewisbrewer%2Frust_kana" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlewisbrewer/rust_kana on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jlewisbrewer/rust_kana [INFO] finished tweaking git repo https://github.com/jlewisbrewer/rust_kana [INFO] tweaked toml for git repo https://github.com/jlewisbrewer/rust_kana written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/jlewisbrewer/rust_kana already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9adb8c6d9328363d1c6f77acfefc1f95fc2d901b2c0281cf7fafa50c3e72a57d [INFO] running `Command { std: "docker" "start" "-a" "9adb8c6d9328363d1c6f77acfefc1f95fc2d901b2c0281cf7fafa50c3e72a57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9adb8c6d9328363d1c6f77acfefc1f95fc2d901b2c0281cf7fafa50c3e72a57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9adb8c6d9328363d1c6f77acfefc1f95fc2d901b2c0281cf7fafa50c3e72a57d", kill_on_drop: false }` [INFO] [stdout] 9adb8c6d9328363d1c6f77acfefc1f95fc2d901b2c0281cf7fafa50c3e72a57d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a0ca3e8a634ce299231e5a23cae946b6e80054e50721389df57463b8f79690 [INFO] running `Command { std: "docker" "start" "-a" "e9a0ca3e8a634ce299231e5a23cae946b6e80054e50721389df57463b8f79690", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling to_kana v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / /// Global constant hashmaps that map Latin 1 syllables to Japanese [INFO] [stdout] 30 | | /// kana in unicode. [INFO] [stdout] | |_-------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ref HIRAGANA: HashMap = { initialize_hiragana() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 32 - pub static ref HIRAGANA: HashMap = { initialize_hiragana() }; [INFO] [stdout] 32 + pub static ref HIRAGANA: HashMap = initialize_hiragana(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | pub static ref KATAKANA: HashMap = { initialize_katakana() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 33 - pub static ref KATAKANA: HashMap = { initialize_katakana() }; [INFO] [stdout] 33 + pub static ref KATAKANA: HashMap = initialize_katakana(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | pub static ref ROOMAJI_HIRAGANA: HashMap = { initilize_roomaji(initialize_hiragana_keys) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 34 - pub static ref ROOMAJI_HIRAGANA: HashMap = { initilize_roomaji(initialize_hiragana_keys) }; [INFO] [stdout] 34 + pub static ref ROOMAJI_HIRAGANA: HashMap = initilize_roomaji(initialize_hiragana_keys); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | pub static ref ROOMAJI_KATAKANA: HashMap = { initilize_roomaji(initialize_katakana_keys) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 - pub static ref ROOMAJI_KATAKANA: HashMap = { initilize_roomaji(initialize_katakana_keys) }; [INFO] [stdout] 35 + pub static ref ROOMAJI_KATAKANA: HashMap = initilize_roomaji(initialize_katakana_keys); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | pub static ref HIRAGANA_KEYS: Vec<&'static str> = { initialize_hiragana_keys() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 36 - pub static ref HIRAGANA_KEYS: Vec<&'static str> = { initialize_hiragana_keys() }; [INFO] [stdout] 36 + pub static ref HIRAGANA_KEYS: Vec<&'static str> = initialize_hiragana_keys(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | pub static ref KATAKANA_KEYS: Vec<&'static str> = { initialize_katakana_keys() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 37 - pub static ref KATAKANA_KEYS: Vec<&'static str> = { initialize_katakana_keys() }; [INFO] [stdout] 37 + pub static ref KATAKANA_KEYS: Vec<&'static str> = initialize_katakana_keys(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kana/cmu.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | for mut phone in &mut eng_phones { [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: variable does not need to be mutable [INFO] [stdout] --> src/kana/trans.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let mut temp = c.to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kana/trans.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let mut temp = c.to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/kana/trans.rs:238:40 [INFO] [stdout] | [INFO] [stdout] 238 | let index = digraph_vowels.into_iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 238 | let index = digraph_vowels.iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 238 | let index = IntoIterator::into_iter(digraph_vowels).position(|x| x == &c).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/kana/trans.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | let index = digraph_vowels.into_iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 292 | let index = digraph_vowels.iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 292 | let index = IntoIterator::into_iter(digraph_vowels).position(|x| x == &c).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.11s [INFO] running `Command { std: "docker" "inspect" "e9a0ca3e8a634ce299231e5a23cae946b6e80054e50721389df57463b8f79690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a0ca3e8a634ce299231e5a23cae946b6e80054e50721389df57463b8f79690", kill_on_drop: false }` [INFO] [stdout] e9a0ca3e8a634ce299231e5a23cae946b6e80054e50721389df57463b8f79690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 425b0bcf98781679f949f21f5301911c80c74dd531e8b57f38bc2b3579fe0889 [INFO] running `Command { std: "docker" "start" "-a" "425b0bcf98781679f949f21f5301911c80c74dd531e8b57f38bc2b3579fe0889", kill_on_drop: false }` [INFO] [stderr] Compiling to_kana v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / /// Global constant hashmaps that map Latin 1 syllables to Japanese [INFO] [stdout] 30 | | /// kana in unicode. [INFO] [stdout] | |_-------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ref HIRAGANA: HashMap = { initialize_hiragana() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 32 - pub static ref HIRAGANA: HashMap = { initialize_hiragana() }; [INFO] [stdout] 32 + pub static ref HIRAGANA: HashMap = initialize_hiragana(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | pub static ref KATAKANA: HashMap = { initialize_katakana() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 33 - pub static ref KATAKANA: HashMap = { initialize_katakana() }; [INFO] [stdout] 33 + pub static ref KATAKANA: HashMap = initialize_katakana(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | pub static ref ROOMAJI_HIRAGANA: HashMap = { initilize_roomaji(initialize_hiragana_keys) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 34 - pub static ref ROOMAJI_HIRAGANA: HashMap = { initilize_roomaji(initialize_hiragana_keys) }; [INFO] [stdout] 34 + pub static ref ROOMAJI_HIRAGANA: HashMap = initilize_roomaji(initialize_hiragana_keys); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | pub static ref ROOMAJI_KATAKANA: HashMap = { initilize_roomaji(initialize_katakana_keys) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 - pub static ref ROOMAJI_KATAKANA: HashMap = { initilize_roomaji(initialize_katakana_keys) }; [INFO] [stdout] 35 + pub static ref ROOMAJI_KATAKANA: HashMap = initilize_roomaji(initialize_katakana_keys); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | pub static ref HIRAGANA_KEYS: Vec<&'static str> = { initialize_hiragana_keys() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 36 - pub static ref HIRAGANA_KEYS: Vec<&'static str> = { initialize_hiragana_keys() }; [INFO] [stdout] 36 + pub static ref HIRAGANA_KEYS: Vec<&'static str> = initialize_hiragana_keys(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | pub static ref KATAKANA_KEYS: Vec<&'static str> = { initialize_katakana_keys() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 37 - pub static ref KATAKANA_KEYS: Vec<&'static str> = { initialize_katakana_keys() }; [INFO] [stdout] 37 + pub static ref KATAKANA_KEYS: Vec<&'static str> = initialize_katakana_keys(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kana/cmu.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | for mut phone in &mut eng_phones { [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: variable does not need to be mutable [INFO] [stdout] --> src/kana/trans.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let mut temp = c.to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kana/trans.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let mut temp = c.to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/kana/trans.rs:238:40 [INFO] [stdout] | [INFO] [stdout] 238 | let index = digraph_vowels.into_iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 238 | let index = digraph_vowels.iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 238 | let index = IntoIterator::into_iter(digraph_vowels).position(|x| x == &c).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/kana/trans.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | let index = digraph_vowels.into_iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 292 | let index = digraph_vowels.iter().position(|x| x == &c).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 292 | let index = IntoIterator::into_iter(digraph_vowels).position(|x| x == &c).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/to_kana-3892ad852264bec7) [INFO] running `Command { std: "docker" "inspect" "425b0bcf98781679f949f21f5301911c80c74dd531e8b57f38bc2b3579fe0889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425b0bcf98781679f949f21f5301911c80c74dd531e8b57f38bc2b3579fe0889", kill_on_drop: false }` [INFO] [stdout] 425b0bcf98781679f949f21f5301911c80c74dd531e8b57f38bc2b3579fe0889