[INFO] cloning repository https://github.com/detedetedetedete/DictWalker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/detedetedetedete/DictWalker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81ebbf52a0e124172b7697a1f8ee0748f98ed60e [INFO] checking detedetedetedete/DictWalker against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/detedetedetedete/DictWalker on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/detedetedetedete/DictWalker [INFO] finished tweaking git repo https://github.com/detedetedetedete/DictWalker [INFO] tweaked toml for git repo https://github.com/detedetedetedete/DictWalker written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/detedetedetedete/DictWalker 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.9 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] [stderr] Downloaded colored v1.6.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.21 [INFO] [stderr] Downloaded syn v0.15.18 [INFO] [stderr] Downloaded serde_json v1.0.32 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded fern v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66362d1dcccd6f70d901ba58ea5e46dc32de7a6a62c66cd5adfb518cd6b74919 [INFO] running `Command { std: "docker" "start" "-a" "66362d1dcccd6f70d901ba58ea5e46dc32de7a6a62c66cd5adfb518cd6b74919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66362d1dcccd6f70d901ba58ea5e46dc32de7a6a62c66cd5adfb518cd6b74919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66362d1dcccd6f70d901ba58ea5e46dc32de7a6a62c66cd5adfb518cd6b74919", kill_on_drop: false }` [INFO] [stdout] 66362d1dcccd6f70d901ba58ea5e46dc32de7a6a62c66cd5adfb518cd6b74919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8bb92a5fb3dec59eaa2670e5dd6b685bb916dd52fe19d4d27a8a343c5dbf223 [INFO] running `Command { std: "docker" "start" "-a" "d8bb92a5fb3dec59eaa2670e5dd6b685bb916dd52fe19d4d27a8a343c5dbf223", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking fern v0.5.6 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking dict_walker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dict_entry.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty()); [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/dict_entry.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty()); [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: static variable `ext_list_re` should have an upper case name [INFO] [stdout] --> src/cli_api.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | static ref postfix_accent_re: Regex = Regex::new(r"(?P[^ ])(?P_[^ ]+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/phoneme_resolvers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | ... static ref postfix_accent_re: Regex = Regex::new(r"^(?P[^ ]+) +(?P.+)$").unwrap(); // TODO fix var and named cap gro... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/phoneme_resolvers.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | phonemes.push(c_str.to_str().unwrap().clone().to_owned()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ext_list_re` should have an upper case name [INFO] [stdout] --> src/cli_api.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | static ref postfix_accent_re: Regex = Regex::new(r"(?P[^ ])(?P_[^ ]+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/phoneme_resolvers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | ... static ref postfix_accent_re: Regex = Regex::new(r"^(?P[^ ]+) +(?P.+)$").unwrap(); // TODO fix var and named cap gro... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/phoneme_resolvers.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | phonemes.push(c_str.to_str().unwrap().clone().to_owned()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.90s [INFO] running `Command { std: "docker" "inspect" "d8bb92a5fb3dec59eaa2670e5dd6b685bb916dd52fe19d4d27a8a343c5dbf223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8bb92a5fb3dec59eaa2670e5dd6b685bb916dd52fe19d4d27a8a343c5dbf223", kill_on_drop: false }` [INFO] [stdout] d8bb92a5fb3dec59eaa2670e5dd6b685bb916dd52fe19d4d27a8a343c5dbf223 [INFO] checking detedetedetedete/DictWalker against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetedetedetedete%2FDictWalker" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/detedetedetedete/DictWalker on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/detedetedetedete/DictWalker [INFO] finished tweaking git repo https://github.com/detedetedetedete/DictWalker [INFO] tweaked toml for git repo https://github.com/detedetedetedete/DictWalker written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/detedetedetedete/DictWalker 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 855b989338d027fcbf7e29594165ab99b3852c91c13eac7021965f37d4daf7e8 [INFO] running `Command { std: "docker" "start" "-a" "855b989338d027fcbf7e29594165ab99b3852c91c13eac7021965f37d4daf7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "855b989338d027fcbf7e29594165ab99b3852c91c13eac7021965f37d4daf7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "855b989338d027fcbf7e29594165ab99b3852c91c13eac7021965f37d4daf7e8", kill_on_drop: false }` [INFO] [stdout] 855b989338d027fcbf7e29594165ab99b3852c91c13eac7021965f37d4daf7e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e0a71b6bdc0779cbb177e06e8f7e63e8f408c17b5ce04a26411c0220928f1ab [INFO] running `Command { std: "docker" "start" "-a" "0e0a71b6bdc0779cbb177e06e8f7e63e8f408c17b5ce04a26411c0220928f1ab", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking fern v0.5.6 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking dict_walker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | fn convert_to_phonemes(str: &str, resolvers: &Vec>) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/training_entry.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 | pub fn construct(de: DictEntry, resolvers: &Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/dict_entry.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | Err(e) => return Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dict_entry.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty()); [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | let mut phoneme_resolvers: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ext_list_re` should have an upper case name [INFO] [stdout] --> src/cli_api.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | static ref postfix_accent_re: Regex = Regex::new(r"(?P[^ ])(?P_[^ ]+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/phoneme_resolvers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | ... static ref postfix_accent_re: Regex = Regex::new(r"^(?P[^ ]+) +(?P.+)$").unwrap(); // TODO fix var and named cap gro... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/phoneme_resolvers.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | phonemes.push(c_str.to_str().unwrap().clone().to_owned()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dict_entry.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | let mut entry = entries.entry(String::from(file_stem)).or_insert(DictEntry::new_empty()); [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: static variable `ext_list_re` should have an upper case name [INFO] [stdout] --> src/cli_api.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | static ref ext_list_re: Regex = Regex::new(r"[a-zA-Z0-9,]").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `EXT_LIST_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | static ref postfix_accent_re: Regex = Regex::new(r"(?P[^ ])(?P_[^ ]+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `multi_space_re` should have an upper case name [INFO] [stdout] --> src/training_entry.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | static ref multi_space_re: Regex = Regex::new(r" {2,}").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTI_SPACE_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `postfix_accent_re` should have an upper case name [INFO] [stdout] --> src/phoneme_resolvers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | ... static ref postfix_accent_re: Regex = Regex::new(r"^(?P[^ ]+) +(?P.+)$").unwrap(); // TODO fix var and named cap gro... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `POSTFIX_ACCENT_RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/phoneme_resolvers.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | phonemes.push(c_str.to_str().unwrap().clone().to_owned()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.37s [INFO] running `Command { std: "docker" "inspect" "0e0a71b6bdc0779cbb177e06e8f7e63e8f408c17b5ce04a26411c0220928f1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0a71b6bdc0779cbb177e06e8f7e63e8f408c17b5ce04a26411c0220928f1ab", kill_on_drop: false }` [INFO] [stdout] 0e0a71b6bdc0779cbb177e06e8f7e63e8f408c17b5ce04a26411c0220928f1ab