[INFO] fetching crate tree_magic_fork 0.2.2...
[INFO] testing tree_magic_fork-0.2.2 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate tree_magic_fork 0.2.2 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate tree_magic_fork 0.2.2
[INFO] finished tweaking crates.io crate tree_magic_fork 0.2.2
[INFO] tweaked toml for crates.io crate tree_magic_fork 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tree_magic_fork 0.2.2 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 55 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.5.49)
[INFO] [stderr]       Adding nom v2.2.1 (available: v8.0.0)
[INFO] [stderr]       Adding parking_lot v0.8.0 (available: v0.12.5)
[INFO] [stderr]       Adding petgraph v0.4.13 (available: v0.8.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tabwriter v1.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c313b67c95047317cc21f407c831e6ef2b3c8a35eaaca637daf641d3fa44f2c
[INFO] running `Command { std: "docker" "start" "-a" "5c313b67c95047317cc21f407c831e6ef2b3c8a35eaaca637daf641d3fa44f2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c313b67c95047317cc21f407c831e6ef2b3c8a35eaaca637daf641d3fa44f2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c313b67c95047317cc21f407c831e6ef2b3c8a35eaaca637daf641d3fa44f2c", kill_on_drop: false }`
[INFO] [stdout] 5c313b67c95047317cc21f407c831e6ef2b3c8a35eaaca637daf641d3fa44f2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fef80ef050e65f4668b28f3b46cd5b6340829775719f45f6693e4111dc6271b
[INFO] running `Command { std: "docker" "start" "-a" "8fef80ef050e65f4668b28f3b46cd5b6340829775719f45f6693e4111dc6271b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling fixedbitset v0.1.9
[INFO] [stderr]    Compiling ordermap v0.3.5
[INFO] [stderr]    Compiling lock_api v0.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]    Compiling petgraph v0.4.13
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling tree_magic_fork v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | /// Mappings between modules and supported mimes (by index in table above)
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `sys_fdo_magic`
[INFO] [stdout]   --> src/fdo_magic/mod.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[cfg(all(feature="staticmime", all(feature="sys_fdo_magic", unix)))]
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `clap`, `cli`, `default`, `num_cpus`, `scoped_threadpool`, `staticmime`, `tabwriter`, and `walkdir`
[INFO] [stdout]    = help: consider adding `sys_fdo_magic` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/builtin.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | /// Preload alias list
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/builtin.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | /// Load magic file before anything else.
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/sys.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | /// Preload alias list
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/sys.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / /// Load magic file before anything else.
[INFO] [stdout] 26 | | /// sys_fdo_magic always disabled on Windows.
[INFO] [stdout]    | |_--------------------------------------------^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/fdo_magic/mod.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 186 |     /// Singular magic entry
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/fdo_magic/mod.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 198 | /     /// Converts a magic file given as a &[u8] array
[INFO] [stdout] 199 | |     /// to a vector of MagicEntry structs
[INFO] [stdout]     | |_____------------------------------------^
[INFO] [stdout]     |       |
[INFO] [stdout]     |       rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/fdo_magic/mod.rs:240:88
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;;
[INFO] [stdout]     |                                                                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `word_len` is never read
[INFO] [stdout]   --> src/fdo_magic/mod.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct MagicRule {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub word_len: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MagicRule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.19s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "8fef80ef050e65f4668b28f3b46cd5b6340829775719f45f6693e4111dc6271b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fef80ef050e65f4668b28f3b46cd5b6340829775719f45f6693e4111dc6271b", kill_on_drop: false }`
[INFO] [stdout] 8fef80ef050e65f4668b28f3b46cd5b6340829775719f45f6693e4111dc6271b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5786bb8f2f786def9d43054001be2355a1ee932e2525e115be00aeadec81fbb5
[INFO] running `Command { std: "docker" "start" "-a" "5786bb8f2f786def9d43054001be2355a1ee932e2525e115be00aeadec81fbb5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | /// Mappings between modules and supported mimes (by index in table above)
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `sys_fdo_magic`
[INFO] [stdout]   --> src/fdo_magic/mod.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[cfg(all(feature="staticmime", all(feature="sys_fdo_magic", unix)))]
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `clap`, `cli`, `default`, `num_cpus`, `scoped_threadpool`, `staticmime`, `tabwriter`, and `walkdir`
[INFO] [stdout]    = help: consider adding `sys_fdo_magic` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/builtin.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | /// Preload alias list
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/builtin.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | /// Load magic file before anything else.
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/sys.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | /// Preload alias list
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tree_magic_fork v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/sys.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / /// Load magic file before anything else.
[INFO] [stdout] 26 | | /// sys_fdo_magic always disabled on Windows.
[INFO] [stdout]    | |_--------------------------------------------^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/fdo_magic/mod.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 186 |     /// Singular magic entry
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/fdo_magic/mod.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 198 | /     /// Converts a magic file given as a &[u8] array
[INFO] [stdout] 199 | |     /// to a vector of MagicEntry structs
[INFO] [stdout]     | |_____------------------------------------^
[INFO] [stdout]     |       |
[INFO] [stdout]     |       rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/fdo_magic/mod.rs:240:88
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;;
[INFO] [stdout]     |                                                                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `word_len` is never read
[INFO] [stdout]   --> src/fdo_magic/mod.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct MagicRule {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub word_len: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MagicRule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | /// Mappings between modules and supported mimes (by index in table above)
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `sys_fdo_magic`
[INFO] [stdout]   --> src/fdo_magic/mod.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[cfg(all(feature="staticmime", all(feature="sys_fdo_magic", unix)))]
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `clap`, `cli`, `default`, `num_cpus`, `scoped_threadpool`, `staticmime`, `tabwriter`, and `walkdir`
[INFO] [stdout]    = help: consider adding `sys_fdo_magic` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/builtin.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | /// Preload alias list
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/builtin.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | /// Load magic file before anything else.
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/sys.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | /// Preload alias list
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/fdo_magic/sys.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / /// Load magic file before anything else.
[INFO] [stdout] 26 | | /// sys_fdo_magic always disabled on Windows.
[INFO] [stdout]    | |_--------------------------------------------^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/fdo_magic/mod.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 186 |     /// Singular magic entry
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/fdo_magic/mod.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 198 | /     /// Converts a magic file given as a &[u8] array
[INFO] [stdout] 199 | |     /// to a vector of MagicEntry structs
[INFO] [stdout]     | |_____------------------------------------^
[INFO] [stdout]     |       |
[INFO] [stdout]     |       rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/fdo_magic/mod.rs:240:88
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;;
[INFO] [stdout]     |                                                                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `word_len` is never read
[INFO] [stdout]   --> src/fdo_magic/mod.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct MagicRule {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub word_len: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MagicRule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "5786bb8f2f786def9d43054001be2355a1ee932e2525e115be00aeadec81fbb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5786bb8f2f786def9d43054001be2355a1ee932e2525e115be00aeadec81fbb5", kill_on_drop: false }`
[INFO] [stdout] 5786bb8f2f786def9d43054001be2355a1ee932e2525e115be00aeadec81fbb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] af62a6509a0274140e879a639c85bf5cffaeb006743ef12c4a70ca2c4de0e1ad
[INFO] running `Command { std: "docker" "start" "-a" "af62a6509a0274140e879a639c85bf5cffaeb006743ef12c4a70ca2c4de0e1ad", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/lib.rs:118:1
[INFO] [stderr]     |
[INFO] [stderr] 118 | /// Mappings between modules and supported mimes (by index in table above)
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `sys_fdo_magic`
[INFO] [stderr]   --> src/fdo_magic/mod.rs:13:37
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[cfg(all(feature="staticmime", all(feature="sys_fdo_magic", unix)))]
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `clap`, `cli`, `default`, `num_cpus`, `scoped_threadpool`, `staticmime`, `tabwriter`, and `walkdir`
[INFO] [stderr]    = help: consider adding `sys_fdo_magic` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/fdo_magic/builtin.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | /// Preload alias list
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/fdo_magic/builtin.rs:21:1
[INFO] [stderr]    |
[INFO] [stderr] 21 | /// Load magic file before anything else.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/fdo_magic/sys.rs:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | /// Preload alias list
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/fdo_magic/sys.rs:25:1
[INFO] [stderr]    |
[INFO] [stderr] 25 | / /// Load magic file before anything else.
[INFO] [stderr] 26 | | /// sys_fdo_magic always disabled on Windows.
[INFO] [stderr]    | |_--------------------------------------------^
[INFO] [stderr]    |   |
[INFO] [stderr]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/fdo_magic/mod.rs:186:5
[INFO] [stderr]     |
[INFO] [stderr] 186 |     /// Singular magic entry
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/fdo_magic/mod.rs:198:5
[INFO] [stderr]     |
[INFO] [stderr] 198 | /     /// Converts a magic file given as a &[u8] array
[INFO] [stderr] 199 | |     /// to a vector of MagicEntry structs
[INFO] [stderr]     | |_____------------------------------------^
[INFO] [stderr]     |       |
[INFO] [stderr]     |       rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/fdo_magic/mod.rs:240:88
[INFO] [stderr]     |
[INFO] [stderr] 240 |         let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;;
[INFO] [stderr]     |                                                                                        ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `word_len` is never read
[INFO] [stderr]   --> src/fdo_magic/mod.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct MagicRule {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub word_len: u32,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MagicRule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tree_magic_fork` (lib) generated 10 warnings
[INFO] [stderr] warning: `tree_magic_fork` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tree_magic_fork-c2eca726a34cf1de)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test fdo_magic::ruleset::str_transmute_sanity ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tree_magic_fork
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/fdo_magic/mod.rs:240:88
[INFO] [stderr]     |
[INFO] [stderr] 240 |         let tuplevec = from_u8_to_tuple_vec(b).to_result().map_err(|e| e.to_string())?;;
[INFO] [stderr]     |                                                                                        ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - from_filepath_node (line 530) ... FAILED
[INFO] [stdout] test src/lib.rs - from_u8_node (line 439) ... FAILED
[INFO] [stdout] test src/lib.rs - match_u8 (line 408) ... FAILED
[INFO] [stdout] test src/lib.rs - from_u8 (line 464) ... FAILED
[INFO] [stdout] test src/lib.rs - is_alias (line 612) ... FAILED
[INFO] [stdout] test src/lib.rs - match_filepath (line 497) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - from_filepath (line 584) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - from_filepath_node (line 530) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   --> src/lib.rs:540:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | let zipnode = tree_magic::TYPE.hash.get("application/zip").unwrap();
[INFO] [stdout]    |               ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   --> src/lib.rs:543:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | let result = tree_magic::from_filepath_node(*zipnode, path);
[INFO] [stdout]    |              ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - from_u8_node (line 439) stdout ----
[INFO] [stdout] error: couldn't read `src/tests/application/zip`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/lib.rs:445:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | let input: &[u8] = include_bytes!("tests/application/zip");
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   --> src/lib.rs:448:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | let zipnode = tree_magic::TYPE.hash.get("application/zip").unwrap();
[INFO] [stdout]    |               ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   --> src/lib.rs:451:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | let result = tree_magic::from_u8_node(*zipnode, input);
[INFO] [stdout]    |              ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - match_u8 (line 408) stdout ----
[INFO] [stdout] error: couldn't read `src/tests/image/gif`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/lib.rs:410:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | let input: &[u8] = include_bytes!("tests/image/gif");
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]  --> src/lib.rs:413:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let result = tree_magic::match_u8("image/gif", input);
[INFO] [stdout]   |              ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - from_u8 (line 464) stdout ----
[INFO] [stdout] error: couldn't read `src/tests/image/gif`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/lib.rs:466:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | let input: &[u8] = include_bytes!("tests/image/gif");
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]  --> src/lib.rs:469:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let result = tree_magic::from_u8(input);
[INFO] [stdout]   |              ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - is_alias (line 612) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]  --> src/lib.rs:616:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert_eq!( tree_magic::is_alias(mime1, mime2), true );
[INFO] [stdout]   |             ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - match_filepath (line 497) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]  --> src/lib.rs:504:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let result = tree_magic::match_filepath("image/gif", path);
[INFO] [stdout]   |              ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `tree_magic`
[INFO] [stdout]  --> src/lib.rs:27:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate tree_magic;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/tests/image/gif`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/lib.rs:30:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | let input: &[u8] = include_bytes!("tests/image/gif");
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - from_filepath (line 584) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]  --> src/lib.rs:591:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let result = tree_magic::from_filepath(path);
[INFO] [stdout]   |              ^^^^^^^^^^ use of unresolved module or unlinked crate `tree_magic`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tree_magic`, use `cargo add tree_magic` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - from_filepath (line 584)
[INFO] [stdout]     src/lib.rs - from_filepath_node (line 530)
[INFO] [stdout]     src/lib.rs - from_u8 (line 464)
[INFO] [stdout]     src/lib.rs - from_u8_node (line 439)
[INFO] [stdout]     src/lib.rs - is_alias (line 612)
[INFO] [stdout]     src/lib.rs - match_filepath (line 497)
[INFO] [stdout]     src/lib.rs - match_u8 (line 408)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "af62a6509a0274140e879a639c85bf5cffaeb006743ef12c4a70ca2c4de0e1ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af62a6509a0274140e879a639c85bf5cffaeb006743ef12c4a70ca2c4de0e1ad", kill_on_drop: false }`
[INFO] [stdout] af62a6509a0274140e879a639c85bf5cffaeb006743ef12c4a70ca2c4de0e1ad
