[INFO] fetching crate tree_magic_fork 0.2.2... [INFO] building tree_magic_fork-0.2.2 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate tree_magic_fork 0.2.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate tree_magic_fork 0.2.2 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] 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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.23) [INFO] [stderr] Adding nom v2.2.1 (available: v7.1.3) [INFO] [stderr] Adding parking_lot v0.8.0 (available: v0.12.3) [INFO] [stderr] Adding petgraph v0.4.13 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bb8fd650b7fbe53142b63890d2c425aedaf62c4a397dd04206f530ece69d1e0 [INFO] running `Command { std: "docker" "start" "-a" "1bb8fd650b7fbe53142b63890d2c425aedaf62c4a397dd04206f530ece69d1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bb8fd650b7fbe53142b63890d2c425aedaf62c4a397dd04206f530ece69d1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bb8fd650b7fbe53142b63890d2c425aedaf62c4a397dd04206f530ece69d1e0", kill_on_drop: false }` [INFO] [stdout] 1bb8fd650b7fbe53142b63890d2c425aedaf62c4a397dd04206f530ece69d1e0 [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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbc007c6e11893ff397da4a018dd328f31ac15244fc9b6c5c92f3bfb691f030e [INFO] running `Command { std: "docker" "start" "-a" "fbc007c6e11893ff397da4a018dd328f31ac15244fc9b6c5c92f3bfb691f030e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling rand_os v0.1.3 [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 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: elided lifetime has a name [INFO] [stdout] --> src/fdo_magic/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | named!(mime<&str>, [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 67 | | map_res!( [INFO] [stdout] 68 | | delimited!( [INFO] [stdout] 69 | | delimited!( [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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 1.91s [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 1` [INFO] running `Command { std: "docker" "inspect" "fbc007c6e11893ff397da4a018dd328f31ac15244fc9b6c5c92f3bfb691f030e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc007c6e11893ff397da4a018dd328f31ac15244fc9b6c5c92f3bfb691f030e", kill_on_drop: false }` [INFO] [stdout] fbc007c6e11893ff397da4a018dd328f31ac15244fc9b6c5c92f3bfb691f030e [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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b9208c42e870367bf889d88d6982084a32fbe67548b81dce40706ca1d663220 [INFO] running `Command { std: "docker" "start" "-a" "8b9208c42e870367bf889d88d6982084a32fbe67548b81dce40706ca1d663220", 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 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: elided lifetime has a name [INFO] [stdout] --> src/fdo_magic/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | named!(mime<&str>, [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 67 | | map_res!( [INFO] [stdout] 68 | | delimited!( [INFO] [stdout] 69 | | delimited!( [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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] 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 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: elided lifetime has a name [INFO] [stdout] --> src/fdo_magic/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | named!(mime<&str>, [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 67 | | map_res!( [INFO] [stdout] 68 | | delimited!( [INFO] [stdout] 69 | | delimited!( [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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.37s [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 1` [INFO] running `Command { std: "docker" "inspect" "8b9208c42e870367bf889d88d6982084a32fbe67548b81dce40706ca1d663220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b9208c42e870367bf889d88d6982084a32fbe67548b81dce40706ca1d663220", kill_on_drop: false }` [INFO] [stdout] 8b9208c42e870367bf889d88d6982084a32fbe67548b81dce40706ca1d663220