[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] testing limoiie/magic-file against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimoiie%2Fmagic-file" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/limoiie/magic-file on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-94/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f06ceeed104d4f138e0e58d043f12cd13e0e033a8fbcf8beeee2808eb1b63ba3 [INFO] running `Command { std: "docker" "start" "-a" "f06ceeed104d4f138e0e58d043f12cd13e0e033a8fbcf8beeee2808eb1b63ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f06ceeed104d4f138e0e58d043f12cd13e0e033a8fbcf8beeee2808eb1b63ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06ceeed104d4f138e0e58d043f12cd13e0e033a8fbcf8beeee2808eb1b63ba3", kill_on_drop: false }` [INFO] [stdout] f06ceeed104d4f138e0e58d043f12cd13e0e033a8fbcf8beeee2808eb1b63ba3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0599cb7ddbcb5f64e0daf405b9fc16af04794e912915eac1656bccf70915d458 [INFO] running `Command { std: "docker" "start" "-a" "0599cb7ddbcb5f64e0daf405b9fc16af04794e912915eac1656bccf70915d458", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling file-type v0.1.0 (/opt/rustwide/workdir) [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 is never used: `load_one_magic` [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 is never used: `ensure_goodchars` [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: associated function is never used: `clear` [INFO] [stdout] --> src/magic.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_pstring` [INFO] [stdout] --> src/magic.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn is_pstring(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_string` [INFO] [stdout] --> src/magic.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RelnVal` [INFO] [stdout] --> src/magic.rs:277:6 [INFO] [stdout] | [INFO] [stdout] 277 | enum RelnVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `CondType` [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 is never used: `from_cmd_line` [INFO] [stdout] --> src/magic_param.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn from_cmd_line(line: &str) -> MagicParam { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Str` [INFO] [stdout] --> src/parse_magic_line.rs:10:5 [INFO] [stdout] | [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] --> src/parse_magic_line.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cont_lvl` [INFO] [stdout] --> src/parse_magic_line.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | cont_lvl: usize, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `typ_code` [INFO] [stdout] --> src/parse_magic_line.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | typ_code: u32, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cmp_type` [INFO] [stdout] --> src/parse_magic_line.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | cmp_type: CmpType, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cmp_unsigned` [INFO] [stdout] --> src/parse_magic_line.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | cmp_unsigned: bool, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mask` [INFO] [stdout] --> src/parse_magic_line.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mask: Mask, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reln_op` [INFO] [stdout] --> src/parse_magic_line.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | reln_op: RelnOp, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reln_val` [INFO] [stdout] --> src/parse_magic_line.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | reln_val: u64, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aux` [INFO] [stdout] --> src/parse_magic_line.rs:29:5 [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/parse_magic_line.rs:30:5 [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_regex` [INFO] [stdout] --> src/parse_magic_line.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn line_regex() -> Regex { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_entry_line` [INFO] [stdout] --> src/parse_magic_line.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn is_entry_line(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_entry_line` [INFO] [stdout] --> src/parse_magic_line.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn parse_entry_line(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_cont_part` [INFO] [stdout] --> src/parse_magic_line.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn parse_cont_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_ofst_part` [INFO] [stdout] --> src/parse_magic_line.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn parse_ofst_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_type_part` [INFO] [stdout] --> src/parse_magic_line.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn parse_type_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_mask_part` [INFO] [stdout] --> src/parse_magic_line.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn parse_mask_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_str_modifier` [INFO] [stdout] --> src/parse_magic_line.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn parse_str_modifier(&self, _op: &str, modifier: &str) -> Mask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_chars_modifier` [INFO] [stdout] --> src/parse_magic_line.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn parse_chars_modifier(&self, modifier: &str) -> StrModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_num_modifier` [INFO] [stdout] --> src/parse_magic_line.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn parse_num_modifier(&self, op: &str, modifier: &str) -> Mask { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_reln_part` [INFO] [stdout] --> src/parse_magic_line.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn parse_reln_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_desc_part` [INFO] [stdout] --> src/parse_magic_line.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn parse_desc_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_code_part` [INFO] [stdout] --> src/parse_magic_line.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn parse_code_part(&mut self, s: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Types` [INFO] [stdout] --> src/parse_magic_aux_line.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Types(AuxTypes), [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] --> src/parse_magic_aux_line.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Strength` [INFO] [stdout] --> src/parse_magic_aux_line.rs:48:5 [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] --> src/parse_magic_aux_line.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_aux_line` [INFO] [stdout] --> src/parse_magic_aux_line.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn parse_aux_line(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_line_mime` [INFO] [stdout] --> src/parse_magic_aux_line.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse_line_mime(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_line_ext` [INFO] [stdout] --> src/parse_magic_aux_line.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn parse_line_ext(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_line_apple` [INFO] [stdout] --> src/parse_magic_aux_line.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn parse_line_apple(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_line_strength` [INFO] [stdout] --> src/parse_magic_aux_line.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn parse_line_strength(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lines` [INFO] [stdout] --> src/parse_magic_entry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | lines: Vec, [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] --> src/parse_magic_entry.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factor` [INFO] [stdout] --> src/parse_magic_entry.rs:13:5 [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] --> src/parse_magic_entry.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parse_magic_entry.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse() -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_lines` [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 is never constructed: `MagicFile` [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 is never used: `parse` [INFO] [stdout] --> src/parse_magic_entry.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse(magic_file: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.32s [INFO] running `Command { std: "docker" "inspect" "0599cb7ddbcb5f64e0daf405b9fc16af04794e912915eac1656bccf70915d458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0599cb7ddbcb5f64e0daf405b9fc16af04794e912915eac1656bccf70915d458", kill_on_drop: false }` [INFO] [stdout] 0599cb7ddbcb5f64e0daf405b9fc16af04794e912915eac1656bccf70915d458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbe142910572f612615bf56953d5d490c266690be3490d6af772f50356b22032 [INFO] running `Command { std: "docker" "start" "-a" "bbe142910572f612615bf56953d5d490c266690be3490d6af772f50356b22032", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling file-type v0.1.0 (/opt/rustwide/workdir) [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 is never used: `load_one_magic` [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: associated function is never used: `clear` [INFO] [stdout] --> src/magic.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RelnVal` [INFO] [stdout] --> src/magic.rs:277:6 [INFO] [stdout] | [INFO] [stdout] 277 | enum RelnVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `CondType` [INFO] [stdout] --> src/magic.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | enum CondType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reln_val` [INFO] [stdout] --> src/parse_magic_line.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | reln_val: u64, [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aux` [INFO] [stdout] --> src/parse_magic_line.rs:29:5 [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] --> src/parse_magic_line.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_aux_line` [INFO] [stdout] --> src/parse_magic_aux_line.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn parse_aux_line(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_line_mime` [INFO] [stdout] --> src/parse_magic_aux_line.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse_line_mime(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_line_apple` [INFO] [stdout] --> src/parse_magic_aux_line.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn parse_line_apple(s: &str) -> AuxInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lines` [INFO] [stdout] --> src/parse_magic_entry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | lines: Vec, [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] --> src/parse_magic_entry.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factor` [INFO] [stdout] --> src/parse_magic_entry.rs:13:5 [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] --> src/parse_magic_entry.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parse_magic_entry.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse() -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_lines` [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 is never constructed: `MagicFile` [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 is never used: `parse` [INFO] [stdout] --> src/parse_magic_entry.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse(magic_file: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.72s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/file_type-467df6da90234e74) [INFO] running `Command { std: "docker" "inspect" "bbe142910572f612615bf56953d5d490c266690be3490d6af772f50356b22032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe142910572f612615bf56953d5d490c266690be3490d6af772f50356b22032", kill_on_drop: false }` [INFO] [stdout] bbe142910572f612615bf56953d5d490c266690be3490d6af772f50356b22032 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7097a91b91df64f80dffd7bb1975f4705d2d035ffcfce905b151a7560ce8d13 [INFO] running `Command { std: "docker" "start" "-a" "a7097a91b91df64f80dffd7bb1975f4705d2d035ffcfce905b151a7560ce8d13", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `magic_file` [INFO] [stdout] [INFO] [stderr] --> src/main.rs:17:19 [INFO] [stdout] running 12 tests [INFO] [stderr] | [INFO] [stderr] 17 | fn load_one_magic(magic_file: &Path) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_magic_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `load_one_magic` [INFO] [stderr] --> src/main.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn load_one_magic(magic_file: &Path) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `clear` [INFO] [stderr] --> src/magic.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `RelnVal` [INFO] [stderr] --> src/magic.rs:277:6 [INFO] [stderr] | [INFO] [stderr] 277 | enum RelnVal { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `CondType` [INFO] [stderr] --> src/magic.rs:282:6 [INFO] [stderr] | [INFO] [stderr] 282 | enum CondType { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `reln_val` [INFO] [stderr] --> src/parse_magic_line.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | reln_val: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MagicLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parse_magic_line.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `aux` [INFO] [stderr] --> src/parse_magic_line.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | aux: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MagicLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parse_magic_line.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_aux_line` [INFO] [stderr] --> src/parse_magic_aux_line.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | pub(crate) fn parse_aux_line(s: &str) -> AuxInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_line_mime` [INFO] [stderr] --> src/parse_magic_aux_line.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | fn parse_line_mime(s: &str) -> AuxInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_line_apple` [INFO] [stderr] --> src/parse_magic_aux_line.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | fn parse_line_apple(s: &str) -> AuxInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lines` [INFO] [stderr] --> src/parse_magic_entry.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | lines: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MagicEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parse_magic_entry.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `factor` [INFO] [stderr] --> src/parse_magic_entry.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | factor: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MagicEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parse_magic_entry.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse` [INFO] [stderr] --> src/parse_magic_entry.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | fn parse() -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_lines` [INFO] [stderr] --> src/parse_magic_entry.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn read_lines

(filename: P) -> io::Result>> [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MagicFile` [INFO] [stderr] --> src/parse_magic_entry.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | struct MagicFile { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse` [INFO] [stderr] --> src/parse_magic_entry.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | fn parse(magic_file: &Path) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `file-type` (bin "file-type" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/file_type-467df6da90234e74) [INFO] [stdout] test magic::tests::test_from_i32_to_cmp_typ ... ok [INFO] [stdout] test magic::tests::test_main ... ok [INFO] [stdout] test magic::tests::test_from_string_to_cmp_typ ... ok [INFO] [stdout] test parse_magic_entry::tests::test ... ok [INFO] [stdout] test parse_magic_aux_line::testcase::test_parse_line_ext ... ok [INFO] [stdout] test parse_magic_aux_line::testcase::test_parse_aux_line ... ok [INFO] [stdout] test magic_param::tests::test_from_cmd_line ... ok [INFO] [stdout] test parse_magic_line::tests::test_parse_str_modifiers ... ok [INFO] [stdout] test str_utils::test_parse_extra ... ok [INFO] [stdout] test parse_magic_aux_line::testcase::test_parse_strength ... ok [INFO] [stdout] test parse_magic_line::tests::test_magic_parse_entry_line ... ok [INFO] [stdout] test parse_magic_line::tests::test_is_entry_line ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a7097a91b91df64f80dffd7bb1975f4705d2d035ffcfce905b151a7560ce8d13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7097a91b91df64f80dffd7bb1975f4705d2d035ffcfce905b151a7560ce8d13", kill_on_drop: false }` [INFO] [stdout] a7097a91b91df64f80dffd7bb1975f4705d2d035ffcfce905b151a7560ce8d13