[INFO] fetching crate typo-eq 0.3.0... [INFO] checking typo-eq-0.3.0 against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] extracting crate typo-eq 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate typo-eq 0.3.0 [INFO] finished tweaking crates.io crate typo-eq 0.3.0 [INFO] tweaked toml for crates.io crate typo-eq 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate typo-eq 0.3.0 on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate typo-eq 0.3.0 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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.45 [INFO] [stderr] Downloaded quick-xml v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 873c0f8de19047d86b5ef9abf02c7889cbde10546d4b5b9c62fc4ec371ca7288 [INFO] running `Command { std: "docker" "start" "-a" "873c0f8de19047d86b5ef9abf02c7889cbde10546d4b5b9c62fc4ec371ca7288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "873c0f8de19047d86b5ef9abf02c7889cbde10546d4b5b9c62fc4ec371ca7288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873c0f8de19047d86b5ef9abf02c7889cbde10546d4b5b9c62fc4ec371ca7288", kill_on_drop: false }` [INFO] [stdout] 873c0f8de19047d86b5ef9abf02c7889cbde10546d4b5b9c62fc4ec371ca7288 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f95c5d6f61d662d4eb4e74214897e654bc92759286c445f8c3730105f4dabf83 [INFO] running `Command { std: "docker" "start" "-a" "f95c5d6f61d662d4eb4e74214897e654bc92759286c445f8c3730105f4dabf83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking iana-time-zone v0.1.50 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking quick-xml v0.25.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking typo-eq v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/importer/parser/typo.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 22 | return Dictionary { entries, words, phrases, from, to }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/importer/parser/typo.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 22 | return Dictionary { entries, words, phrases, from, to }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/importer/parser/typo.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let file = BufReader::new(file); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/importer/parser/typo.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut entries: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `words` [INFO] [stdout] --> src/importer/parser/typo.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut words: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phrases` [INFO] [stdout] --> src/importer/parser/typo.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut phrases: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phrases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/importer/parser/typo.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut word: Option = None; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phrase` [INFO] [stdout] --> src/importer/parser/typo.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut phrase: Option = None; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_phrase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/importer/parser/typo.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut buf = String::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/importer/parser/typo.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut from = "Unknown".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/importer/parser/typo.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut to = "Unkown".to_string(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer/parser/typo.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut entries: Vec = Vec::new(); [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/importer/parser/typo.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut words: Vec = Vec::new(); [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/importer/parser/typo.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut phrases: Vec = Vec::new(); [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/importer/parser/typo.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut word: Option = None; [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/importer/parser/typo.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut phrase: Option = None; [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/importer/parser/typo.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut buf = String::new(); [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/importer/parser/typo.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut from = "Unknown".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/importer/parser/typo.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut to = "Unkown".to_string(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/importer/parser/typo.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let file = BufReader::new(file); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/importer/parser/typo.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut entries: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `words` [INFO] [stdout] --> src/importer/parser/typo.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut words: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phrases` [INFO] [stdout] --> src/importer/parser/typo.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut phrases: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phrases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/importer/parser/typo.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut word: Option = None; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phrase` [INFO] [stdout] --> src/importer/parser/typo.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut phrase: Option = None; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_phrase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/importer/parser/typo.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut buf = String::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/importer/parser/typo.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut from = "Unknown".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/importer/parser/typo.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut to = "Unkown".to_string(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer/parser/typo.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut entries: Vec = Vec::new(); [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/importer/parser/typo.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut words: Vec = Vec::new(); [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/importer/parser/typo.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut phrases: Vec = Vec::new(); [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/importer/parser/typo.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut word: Option = None; [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/importer/parser/typo.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut phrase: Option = None; [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/importer/parser/typo.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut buf = String::new(); [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/importer/parser/typo.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut from = "Unknown".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/importer/parser/typo.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut to = "Unkown".to_string(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.23s [INFO] running `Command { std: "docker" "inspect" "f95c5d6f61d662d4eb4e74214897e654bc92759286c445f8c3730105f4dabf83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f95c5d6f61d662d4eb4e74214897e654bc92759286c445f8c3730105f4dabf83", kill_on_drop: false }` [INFO] [stdout] f95c5d6f61d662d4eb4e74214897e654bc92759286c445f8c3730105f4dabf83