[INFO] cloning repository https://github.com/limoiie/magic-file [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/limoiie/magic-file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimoiie%2Fmagic-file", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimoiie%2Fmagic-file'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a7adda374590fd61889e78d7905f146d2d9af57 [INFO] checking limoiie/magic-file against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimoiie%2Fmagic-file" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/limoiie/magic-file 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/limoiie/magic-file [INFO] finished tweaking git repo https://github.com/limoiie/magic-file [INFO] tweaked toml for git repo https://github.com/limoiie/magic-file written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/limoiie/magic-file 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 num-derive v0.3.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d73e8ba6793e3766e21ceab3ee87d69d3c16a03063f2c0b677f5f1225e1fecb [INFO] running `Command { std: "docker" "start" "-a" "6d73e8ba6793e3766e21ceab3ee87d69d3c16a03063f2c0b677f5f1225e1fecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d73e8ba6793e3766e21ceab3ee87d69d3c16a03063f2c0b677f5f1225e1fecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d73e8ba6793e3766e21ceab3ee87d69d3c16a03063f2c0b677f5f1225e1fecb", kill_on_drop: false }` [INFO] [stdout] 6d73e8ba6793e3766e21ceab3ee87d69d3c16a03063f2c0b677f5f1225e1fecb [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b01f5a522c07816429949fee6a816be6dbebb7ed9963ad5f13f3d7f9a58131b [INFO] running `Command { std: "docker" "start" "-a" "0b01f5a522c07816429949fee6a816be6dbebb7ed9963ad5f13f3d7f9a58131b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking file-type v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/magic_param.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/magic_param.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `magic_file` [INFO] [stdout] --> src/main.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn load_one_magic(magic_file: &Path) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_magic_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_one_magic` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn load_one_magic(magic_file: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_goodchars` is never used [INFO] [stdout] --> src/str_utils.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn ensure_goodchars(s: &str, goodchars: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/magic.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MagicFlags { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 18 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_pstring` is never used [INFO] [stdout] --> src/magic.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl StrModifier { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn is_pstring(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_string` is never used [INFO] [stdout] --> src/magic.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 160 | impl CmpType { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 161 | pub(crate) fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RelnVal` is never used [INFO] [stdout] --> src/magic.rs:277:6 [INFO] [stdout] | [INFO] [stdout] 277 | enum RelnVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CondType` is never used [INFO] [stdout] --> src/magic.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | enum CondType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_cmd_line` is never used [INFO] [stdout] --> src/magic_param.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl MagicParam { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 19 | pub(crate) fn from_cmd_line(line: &str) -> MagicParam { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/parse_magic_line.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Mask { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 9 | Num { op: MaskOp, val: u64 }, [INFO] [stdout] 10 | Str { flags: StrModifier, range: u64 }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/parse_magic_line.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct MagicLine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 22 | cont_lvl: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | typ_code: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | cmp_type: CmpType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | cmp_unsigned: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | mask: Mask, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | reln_op: RelnOp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | reln_val: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | aux: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MagicLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parse_magic_line.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl MagicLine { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 35 | fn line_regex() -> Regex { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn is_entry_line(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) fn parse_entry_line(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn parse_cont_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn parse_ofst_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn parse_type_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn parse_mask_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn parse_str_modifier(&self, _op: &str, modifier: &str) -> Mask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn parse_chars_modifier(&self, modifier: &str) -> StrModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn parse_num_modifier(&self, op: &str, modifier: &str) -> Mask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn parse_reln_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn parse_desc_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn parse_code_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Types` and `Strength` are never constructed [INFO] [stdout] --> src/parse_magic_aux_line.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) enum AuxInfo { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 47 | Types(AuxTypes), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | Strength(AuxFactor), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuxInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_aux_line`, `parse_line_mime`, `parse_line_ext`, `parse_line_apple`, and `parse_line_strength` are never used [INFO] [stdout] --> src/parse_magic_aux_line.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 51 | impl AuxInfo { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 52 | pub(crate) fn parse_aux_line(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn parse_line_mime(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn parse_line_ext(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn parse_line_apple(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn parse_line_strength(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lines` and `factor` are never read [INFO] [stdout] --> src/parse_magic_entry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct MagicEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | factor: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MagicEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parse_magic_entry.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl MagicEntry { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 17 | fn parse() -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/parse_magic_entry.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MagicFile` is never constructed [INFO] [stdout] --> src/parse_magic_entry.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct MagicFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parse_magic_entry.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl MagicFile { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 36 | fn parse(magic_file: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `magic_file` [INFO] [stdout] --> src/main.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn load_one_magic(magic_file: &Path) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_magic_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_one_magic` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn load_one_magic(magic_file: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/magic.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MagicFlags { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 18 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RelnVal` is never used [INFO] [stdout] --> src/magic.rs:277:6 [INFO] [stdout] | [INFO] [stdout] 277 | enum RelnVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CondType` is never used [INFO] [stdout] --> src/magic.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | enum CondType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reln_val` and `aux` are never read [INFO] [stdout] --> src/parse_magic_line.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct MagicLine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | reln_val: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | aux: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MagicLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_aux_line`, `parse_line_mime`, and `parse_line_apple` are never used [INFO] [stdout] --> src/parse_magic_aux_line.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 51 | impl AuxInfo { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 52 | pub(crate) fn parse_aux_line(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn parse_line_mime(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn parse_line_apple(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lines` and `factor` are never read [INFO] [stdout] --> src/parse_magic_entry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct MagicEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | factor: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MagicEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parse_magic_entry.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl MagicEntry { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 17 | fn parse() -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/parse_magic_entry.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MagicFile` is never constructed [INFO] [stdout] --> src/parse_magic_entry.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct MagicFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parse_magic_entry.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl MagicFile { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 36 | fn parse(magic_file: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.53s [INFO] running `Command { std: "docker" "inspect" "0b01f5a522c07816429949fee6a816be6dbebb7ed9963ad5f13f3d7f9a58131b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b01f5a522c07816429949fee6a816be6dbebb7ed9963ad5f13f3d7f9a58131b", kill_on_drop: false }` [INFO] [stdout] 0b01f5a522c07816429949fee6a816be6dbebb7ed9963ad5f13f3d7f9a58131b