[INFO] fetching crate typo-eq 0.3.0... [INFO] building typo-eq-0.3.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate typo-eq 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate typo-eq 0.3.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6ef824b36663e0674e121ee54846d26fcb762c7b3168d3f41c607d718f56332 [INFO] running `Command { std: "docker" "start" "-a" "b6ef824b36663e0674e121ee54846d26fcb762c7b3168d3f41c607d718f56332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6ef824b36663e0674e121ee54846d26fcb762c7b3168d3f41c607d718f56332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ef824b36663e0674e121ee54846d26fcb762c7b3168d3f41c607d718f56332", kill_on_drop: false }` [INFO] [stdout] b6ef824b36663e0674e121ee54846d26fcb762c7b3168d3f41c607d718f56332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b3b67b10c8aa5d64bc1c0e9355db5655be63c334e601fc9113f736dd974a5a [INFO] running `Command { std: "docker" "start" "-a" "b0b3b67b10c8aa5d64bc1c0e9355db5655be63c334e601fc9113f736dd974a5a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling 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] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.50 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling quick-xml v0.25.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling 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: 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.55s [INFO] running `Command { std: "docker" "inspect" "b0b3b67b10c8aa5d64bc1c0e9355db5655be63c334e601fc9113f736dd974a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b3b67b10c8aa5d64bc1c0e9355db5655be63c334e601fc9113f736dd974a5a", kill_on_drop: false }` [INFO] [stdout] b0b3b67b10c8aa5d64bc1c0e9355db5655be63c334e601fc9113f736dd974a5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f3b93d4c5d617413535cb928247191cdcc4f86306c42d105588e626b5af170f [INFO] running `Command { std: "docker" "start" "-a" "0f3b93d4c5d617413535cb928247191cdcc4f86306c42d105588e626b5af170f", kill_on_drop: false }` [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] [stderr] Compiling typo-eq v0.3.0 (/opt/rustwide/workdir) [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "0f3b93d4c5d617413535cb928247191cdcc4f86306c42d105588e626b5af170f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3b93d4c5d617413535cb928247191cdcc4f86306c42d105588e626b5af170f", kill_on_drop: false }` [INFO] [stdout] 0f3b93d4c5d617413535cb928247191cdcc4f86306c42d105588e626b5af170f