[INFO] cloning repository https://github.com/lainasm/lingua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lainasm/lingua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flainasm%2Flingua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flainasm%2Flingua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85bb96c875f6220c32623e38df48b3bc02692ba9 [INFO] checking lainasm/lingua against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flainasm%2Flingua" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lainasm/lingua on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lainasm/lingua [INFO] finished tweaking git repo https://github.com/lainasm/lingua [INFO] tweaked toml for git repo https://github.com/lainasm/lingua written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lainasm/lingua 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f292b849e4b5db859d67c453dc924d98b273fc72bcebbb8637d19f66772d0634 [INFO] running `Command { std: "docker" "start" "-a" "f292b849e4b5db859d67c453dc924d98b273fc72bcebbb8637d19f66772d0634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f292b849e4b5db859d67c453dc924d98b273fc72bcebbb8637d19f66772d0634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f292b849e4b5db859d67c453dc924d98b273fc72bcebbb8637d19f66772d0634", kill_on_drop: false }` [INFO] [stdout] f292b849e4b5db859d67c453dc924d98b273fc72bcebbb8637d19f66772d0634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf164e0bea3047021769b7389ad102527d702447621aef5b06ae28619e87affc [INFO] running `Command { std: "docker" "start" "-a" "bf164e0bea3047021769b7389ad102527d702447621aef5b06ae28619e87affc", kill_on_drop: false }` [INFO] [stderr] Checking lingua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/phones.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some((a, b, c)) = VOWEL_CHART.iter().find(|(_, c2, _)| c == *c2) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `dist` are never used [INFO] [stdout] --> src/vector2.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vector2 { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 9 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn dist(&self, other: Vector2) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Morpheme` is never constructed [INFO] [stdout] --> src/phones.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Morpheme { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/phones.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Vowel(Vowel), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phone` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - Vowel(Vowel), [INFO] [stdout] 46 + Vowel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/phones.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | Consonant(Consonant), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phone` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 - Consonant(Consonant), [INFO] [stdout] 47 + Consonant(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_vowel` and `is_consonant` are never used [INFO] [stdout] --> src/phones.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Phone { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 51 | pub fn is_vowel(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_consonant(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `rounded` are never read [INFO] [stdout] --> src/phones.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Vowel { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 82 | pos: Vector2, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | rounded: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vowel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `place` and `manner` are never read [INFO] [stdout] --> src/phones.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Consonant { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | place: ArtPlace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | manner: Manner, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Consonant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/phones.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum ArtPlace { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 94 | Bilabial, [INFO] [stdout] 95 | Labiodental, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | Dental, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | Alveolar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 98 | Postalveolar, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 99 | Velar, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | Palatal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | Glottal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtPlace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fricative`, `Nasal`, `Glide`, and `Liquid` are never constructed [INFO] [stdout] --> src/phones.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum Manner { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 106 | Plosive, [INFO] [stdout] 107 | Fricative, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 108 | Nasal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | Glide, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | Liquid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/phones.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some((a, b, c)) = VOWEL_CHART.iter().find(|(_, c2, _)| c == *c2) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `dist` are never used [INFO] [stdout] --> src/vector2.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Vector2 { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 9 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn dist(&self, other: Vector2) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Morpheme` is never constructed [INFO] [stdout] --> src/phones.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Morpheme { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/phones.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Vowel(Vowel), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phone` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - Vowel(Vowel), [INFO] [stdout] 46 + Vowel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/phones.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | Consonant(Consonant), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phone` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 - Consonant(Consonant), [INFO] [stdout] 47 + Consonant(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_vowel` and `is_consonant` are never used [INFO] [stdout] --> src/phones.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Phone { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 51 | pub fn is_vowel(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_consonant(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `rounded` are never read [INFO] [stdout] --> src/phones.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Vowel { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 82 | pos: Vector2, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | rounded: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vowel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `place` and `manner` are never read [INFO] [stdout] --> src/phones.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Consonant { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | place: ArtPlace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | manner: Manner, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Consonant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/phones.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum ArtPlace { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 94 | Bilabial, [INFO] [stdout] 95 | Labiodental, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | Dental, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | Alveolar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 98 | Postalveolar, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 99 | Velar, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | Palatal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | Glottal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArtPlace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fricative`, `Nasal`, `Glide`, and `Liquid` are never constructed [INFO] [stdout] --> src/phones.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum Manner { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 106 | Plosive, [INFO] [stdout] 107 | Fricative, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 108 | Nasal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | Glide, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | Liquid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "bf164e0bea3047021769b7389ad102527d702447621aef5b06ae28619e87affc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf164e0bea3047021769b7389ad102527d702447621aef5b06ae28619e87affc", kill_on_drop: false }` [INFO] [stdout] bf164e0bea3047021769b7389ad102527d702447621aef5b06ae28619e87affc