[INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-merge-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser/hooks/pre-merge-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-receive.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser/hooks/pre-receive.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-rebase.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser/hooks/pre-rebase.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/eMgTy/PDBParser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eMgTy/PDBParser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8c0d2a0a217209aa8a2507e6e899f85bfc94bf7 [INFO] testing eMgTy/PDBParser against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eMgTy/PDBParser [INFO] finished tweaking git repo https://github.com/eMgTy/PDBParser [INFO] tweaked toml for git repo https://github.com/eMgTy/PDBParser written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eMgTy/PDBParser on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eMgTy/PDBParser already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c153819b19e445b35757f3d11f95038f75e520bb8d737db474d8c7ff793df05 [INFO] running `Command { std: "docker" "start" "-a" "8c153819b19e445b35757f3d11f95038f75e520bb8d737db474d8c7ff793df05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c153819b19e445b35757f3d11f95038f75e520bb8d737db474d8c7ff793df05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c153819b19e445b35757f3d11f95038f75e520bb8d737db474d8c7ff793df05", kill_on_drop: false }` [INFO] [stdout] 8c153819b19e445b35757f3d11f95038f75e520bb8d737db474d8c7ff793df05 [INFO] testing eMgTy/PDBParser against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eMgTy/PDBParser [INFO] finished tweaking git repo https://github.com/eMgTy/PDBParser [INFO] tweaked toml for git repo https://github.com/eMgTy/PDBParser written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eMgTy/PDBParser on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eMgTy/PDBParser already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e0cf853fdb8efc26773d6afccf77cde8b57b0b6a4eae4909a1752d269905878 [INFO] running `Command { std: "docker" "start" "-a" "6e0cf853fdb8efc26773d6afccf77cde8b57b0b6a4eae4909a1752d269905878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e0cf853fdb8efc26773d6afccf77cde8b57b0b6a4eae4909a1752d269905878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e0cf853fdb8efc26773d6afccf77cde8b57b0b6a4eae4909a1752d269905878", kill_on_drop: false }` [INFO] [stdout] 6e0cf853fdb8efc26773d6afccf77cde8b57b0b6a4eae4909a1752d269905878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff3b2a12d48cc570b66a0aa61ae7926ecb5f5394adb84e1d870d499a31d1421d [INFO] running `Command { std: "docker" "start" "-a" "ff3b2a12d48cc570b66a0aa61ae7926ecb5f5394adb84e1d870d499a31d1421d", kill_on_drop: false }` [INFO] [stderr] Compiling pdbparser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/msf.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | /// Reads through the StreamDirectory to build a list of streams [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | [INFO] [stdout] 54 | let mut ret = Self::default(); [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/msf.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | /// Seek to pos bytes into the stream [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 variable: `cur_stream` [INFO] [stdout] --> src/msf.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | for cur_stream in 0..streams_left { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_num` [INFO] [stdout] --> src/msf.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | for block_num in 0..num_blocks_in_stream { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | indirection_blocks.push(util::consume!(reader, u32, "Stream Directory Fragment Blocks")?) [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | ret.num_streams = util::consume!(reader, u32, "Number of Streams")?; [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | ret.stream_sizes.push(util::consume!(reader, u32, "Stream Size")?); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | cur_vec.push(util::consume!(reader, u32, "Block_Size")?); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | ret.file_magic = util::consume!(reader, 0x20, "MSF Header")?; [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | ret.block_size = util::consume!(reader, u32, "Block Size")?; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | ret.free_block_map = util::consume!(reader, u32, "Free Block Map")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | ret.num_blocks = util::consume!(reader, u32, "Num Blocks")?; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | ret.num_directory_bytes = util::consume!(reader, u32, "Num Directory Bytes")?; [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | ret.unknown = util::consume!(reader, u32, "Unknown")?; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | ret.block_map_addr = util::consume!(reader, u32, "Block Map Addr")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/msf.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let mut ret = MSFStreamReader { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/msf.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | let mut p = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | key: util::consume!(reader, u32, "k")?, [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | value: util::consume!(reader, u32, "v")?, [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let wc = util::consume!(reader, u32, "word_count")?; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | b[i as usize] = util::consume!(reader, u8, "BitVec")?; [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | ret.size = util::consume!(reader, u32, "size")? as usize; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | ret.capacity = util::consume!(reader, u32, "capacity")? as usize; [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let val = util::consume!(reader, u32, "test")?; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | strm_map.str_len = util::consume!(reader, u32, "str_len")?; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | version: util::consume!(reader, u32, "version")?, [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | signature: util::consume!(reader, u32, "signature")?, [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | age: util::consume!(reader, u32, "age")?, [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | unique_id: util::consume!(reader, u128, "unique_id")?, [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let a = util::consume!(msfsr, 0x2000, "Test"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pdb/mod.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ret = Self::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pdb/mod.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ret = Self::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Open(PathBuf, std::io::Error), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - Open(PathBuf, std::io::Error), [INFO] [stdout] 16 + Open((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | NotMsfFile(PathBuf, msf::Error), [INFO] [stdout] | ---------- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 - NotMsfFile(PathBuf, msf::Error), [INFO] [stdout] 18 + NotMsfFile((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | NotPDBFile(PathBuf, pdb::Error), [INFO] [stdout] | ---------- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 - NotPDBFile(PathBuf, pdb::Error), [INFO] [stdout] 20 + NotPDBFile((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/msf.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Consume(std::io::Error), [INFO] [stdout] 8 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/msf.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidBlockSize(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - InvalidBlockSize(u32), [INFO] [stdout] 10 + InvalidBlockSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/msf.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Seek(std::io::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Seek(std::io::Error), [INFO] [stdout] 11 + Seek(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/msf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 7 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `block_size` is never used [INFO] [stdout] --> src/msf.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 169 | impl MSF { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn block_size(self: Self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `change_stream` is never used [INFO] [stdout] --> src/msf.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 202 | impl<'a> MSFStreamReader<'a, std::fs::File> { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn change_stream(&mut self, stream_no: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Consume(std::io::Error), [INFO] [stdout] 19 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/pdb/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | BadStream(u32, msf::Error), [INFO] [stdout] | --------- ^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - BadStream(u32, msf::Error), [INFO] [stdout] 21 + BadStream((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | HashTableError(hashtable::Error), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - HashTableError(hashtable::Error), [INFO] [stdout] 25 + HashTableError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/mod.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | PdbStreamError(pdbstream::Error) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - PdbStreamError(pdbstream::Error) [INFO] [stdout] 29 + PdbStreamError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `InvalidVersion`, and `StreamMapKeyNotFound` are never constructed [INFO] [stdout] --> src/pdb/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 16 | /// Something bad happened, and we have no clue what it was. [INFO] [stdout] 17 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | InvalidVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | StreamMapKeyNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pdb_strm` is never read [INFO] [stdout] --> src/pdb/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct PDB { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 51 | pdb_strm: PdbStream, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `old_directory` is never used [INFO] [stdout] --> src/pdb/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl PDB { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 55 | pub fn old_directory( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/hashtable.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - Consume(std::io::Error), [INFO] [stdout] 12 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/hashtable.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | HashTableEntryNotFound(u32) [INFO] [stdout] | ---------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - HashTableEntryNotFound(u32) [INFO] [stdout] 16 + HashTableEntryNotFound(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Consume(std::io::Error), [INFO] [stdout] 13 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | HashTableError(crate::pdb::hashtable::Error), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - HashTableError(crate::pdb::hashtable::Error), [INFO] [stdout] 19 + HashTableError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | StreamMapKeyNotFound(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - StreamMapKeyNotFound(String), [INFO] [stdout] 21 + StreamMapKeyNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `BadStream`, and `UnkownFeatureCode` are never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 10 | /// Something bad happened, and we have no clue what it was. [INFO] [stdout] 11 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | BadStream(u32, msf::Error), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | UnkownFeatureCode(u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum PDBStreamVersion { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 36 | VC2 = 19941610, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | VC4 = 19950623, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | VC41 = 19950814, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | VC50 = 19960307, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | VC98 = 19970604, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | VC70Dep = 19990604, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | VC70 = 20000404, [INFO] [stdout] 43 | VC80 = 20030901, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | VC110 = 20091201, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | VC140 = 20140508, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signature`, `age`, and `unique_id` are never read [INFO] [stdout] --> src/pdb/pdbstream.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct PDBStreamHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | version: u32, [INFO] [stdout] 51 | signature: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | unique_id: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDBStreamHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hdr` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PdbStream { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 64 | hdr: PDBStreamHeader, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdbStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PDBFeatureCode` is never used [INFO] [stdout] --> src/pdb/pdbstream.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum PDBFeatureCode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PDBFeatureCodeList` is never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct PDBFeatureCodeList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/pdb/pdbstream.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl PDBFeatureCodeList { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 80 | pub fn load(reader: &mut msf::MSFStreamReader) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "ff3b2a12d48cc570b66a0aa61ae7926ecb5f5394adb84e1d870d499a31d1421d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3b2a12d48cc570b66a0aa61ae7926ecb5f5394adb84e1d870d499a31d1421d", kill_on_drop: false }` [INFO] [stdout] ff3b2a12d48cc570b66a0aa61ae7926ecb5f5394adb84e1d870d499a31d1421d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f5af2937e8770b0129db85cdef5a0891fd613212902c90907ba96c0859aed6 [INFO] running `Command { std: "docker" "start" "-a" "81f5af2937e8770b0129db85cdef5a0891fd613212902c90907ba96c0859aed6", kill_on_drop: false }` [INFO] [stderr] Compiling pdbparser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/msf.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | /// Reads through the StreamDirectory to build a list of streams [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | [INFO] [stdout] 54 | let mut ret = Self::default(); [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/msf.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | /// Seek to pos bytes into the stream [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 variable: `cur_stream` [INFO] [stdout] --> src/msf.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | for cur_stream in 0..streams_left { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_num` [INFO] [stdout] --> src/msf.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | for block_num in 0..num_blocks_in_stream { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | indirection_blocks.push(util::consume!(reader, u32, "Stream Directory Fragment Blocks")?) [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | ret.num_streams = util::consume!(reader, u32, "Number of Streams")?; [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | ret.stream_sizes.push(util::consume!(reader, u32, "Stream Size")?); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | cur_vec.push(util::consume!(reader, u32, "Block_Size")?); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | ret.file_magic = util::consume!(reader, 0x20, "MSF Header")?; [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | ret.block_size = util::consume!(reader, u32, "Block Size")?; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | ret.free_block_map = util::consume!(reader, u32, "Free Block Map")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | ret.num_blocks = util::consume!(reader, u32, "Num Blocks")?; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | ret.num_directory_bytes = util::consume!(reader, u32, "Num Directory Bytes")?; [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | ret.unknown = util::consume!(reader, u32, "Unknown")?; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/msf.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | ret.block_map_addr = util::consume!(reader, u32, "Block Map Addr")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/msf.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let mut ret = MSFStreamReader { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/msf.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | let mut p = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | key: util::consume!(reader, u32, "k")?, [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | value: util::consume!(reader, u32, "v")?, [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let wc = util::consume!(reader, u32, "word_count")?; [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | b[i as usize] = util::consume!(reader, u8, "BitVec")?; [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | ret.size = util::consume!(reader, u32, "size")? as usize; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/hashtable.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | ret.capacity = util::consume!(reader, u32, "capacity")? as usize; [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let val = util::consume!(reader, u32, "test")?; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | strm_map.str_len = util::consume!(reader, u32, "str_len")?; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | version: util::consume!(reader, u32, "version")?, [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | signature: util::consume!(reader, u32, "signature")?, [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | age: util::consume!(reader, u32, "age")?, [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/pdbstream.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | unique_id: util::consume!(reader, u128, "unique_id")?, [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] ::: src/pdb/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let a = util::consume!(msfsr, 0x2000, "Test"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pdb/mod.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ret = Self::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pdb/mod.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ret = Self::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Open(PathBuf, std::io::Error), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - Open(PathBuf, std::io::Error), [INFO] [stdout] 16 + Open((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | NotMsfFile(PathBuf, msf::Error), [INFO] [stdout] | ---------- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 - NotMsfFile(PathBuf, msf::Error), [INFO] [stdout] 18 + NotMsfFile((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | NotPDBFile(PathBuf, pdb::Error), [INFO] [stdout] | ---------- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 - NotPDBFile(PathBuf, pdb::Error), [INFO] [stdout] 20 + NotPDBFile((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/msf.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Consume(std::io::Error), [INFO] [stdout] 8 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/msf.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidBlockSize(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - InvalidBlockSize(u32), [INFO] [stdout] 10 + InvalidBlockSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/msf.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Seek(std::io::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Seek(std::io::Error), [INFO] [stdout] 11 + Seek(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/msf.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 7 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `block_size` is never used [INFO] [stdout] --> src/msf.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 169 | impl MSF { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn block_size(self: Self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `change_stream` is never used [INFO] [stdout] --> src/msf.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 202 | impl<'a> MSFStreamReader<'a, std::fs::File> { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn change_stream(&mut self, stream_no: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Consume(std::io::Error), [INFO] [stdout] 19 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/pdb/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | BadStream(u32, msf::Error), [INFO] [stdout] | --------- ^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - BadStream(u32, msf::Error), [INFO] [stdout] 21 + BadStream((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | HashTableError(hashtable::Error), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - HashTableError(hashtable::Error), [INFO] [stdout] 25 + HashTableError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/mod.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | PdbStreamError(pdbstream::Error) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - PdbStreamError(pdbstream::Error) [INFO] [stdout] 29 + PdbStreamError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `InvalidVersion`, and `StreamMapKeyNotFound` are never constructed [INFO] [stdout] --> src/pdb/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 16 | /// Something bad happened, and we have no clue what it was. [INFO] [stdout] 17 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | InvalidVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | StreamMapKeyNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pdb_strm` is never read [INFO] [stdout] --> src/pdb/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct PDB { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 51 | pdb_strm: PdbStream, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `old_directory` is never used [INFO] [stdout] --> src/pdb/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl PDB { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 55 | pub fn old_directory( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/hashtable.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - Consume(std::io::Error), [INFO] [stdout] 12 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/hashtable.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | HashTableEntryNotFound(u32) [INFO] [stdout] | ---------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - HashTableEntryNotFound(u32) [INFO] [stdout] 16 + HashTableEntryNotFound(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Consume(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Consume(std::io::Error), [INFO] [stdout] 13 + Consume(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | HashTableError(crate::pdb::hashtable::Error), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - HashTableError(crate::pdb::hashtable::Error), [INFO] [stdout] 19 + HashTableError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | StreamMapKeyNotFound(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - StreamMapKeyNotFound(String), [INFO] [stdout] 21 + StreamMapKeyNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `BadStream`, and `UnkownFeatureCode` are never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 10 | /// Something bad happened, and we have no clue what it was. [INFO] [stdout] 11 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | BadStream(u32, msf::Error), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | UnkownFeatureCode(u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum PDBStreamVersion { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 36 | VC2 = 19941610, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | VC4 = 19950623, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | VC41 = 19950814, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | VC50 = 19960307, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | VC98 = 19970604, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | VC70Dep = 19990604, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | VC70 = 20000404, [INFO] [stdout] 43 | VC80 = 20030901, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | VC110 = 20091201, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | VC140 = 20140508, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signature`, `age`, and `unique_id` are never read [INFO] [stdout] --> src/pdb/pdbstream.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct PDBStreamHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | version: u32, [INFO] [stdout] 51 | signature: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | unique_id: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDBStreamHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hdr` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PdbStream { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 64 | hdr: PDBStreamHeader, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdbStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PDBFeatureCode` is never used [INFO] [stdout] --> src/pdb/pdbstream.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum PDBFeatureCode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PDBFeatureCodeList` is never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct PDBFeatureCodeList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/pdb/pdbstream.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl PDBFeatureCodeList { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 80 | pub fn load(reader: &mut msf::MSFStreamReader) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "81f5af2937e8770b0129db85cdef5a0891fd613212902c90907ba96c0859aed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f5af2937e8770b0129db85cdef5a0891fd613212902c90907ba96c0859aed6", kill_on_drop: false }` [INFO] [stdout] 81f5af2937e8770b0129db85cdef5a0891fd613212902c90907ba96c0859aed6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29ee4d138920f26e7285bb5fd94c27a50b119cf2f6612cf78f3e8102500b289b [INFO] running `Command { std: "docker" "start" "-a" "29ee4d138920f26e7285bb5fd94c27a50b119cf2f6612cf78f3e8102500b289b", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/msf.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | /// Reads through the StreamDirectory to build a list of streams [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | [INFO] [stderr] 54 | let mut ret = Self::default(); [INFO] [stderr] | ------------------------------ rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/msf.rs:327:13 [INFO] [stderr] | [INFO] [stderr] 327 | /// Seek to pos bytes into the stream [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 variable: `cur_stream` [INFO] [stderr] --> src/msf.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | for cur_stream in 0..streams_left { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_num` [INFO] [stderr] --> src/msf.rs:123:21 [INFO] [stderr] | [INFO] [stderr] 123 | for block_num in 0..num_blocks_in_stream { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_num` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:71:41 [INFO] [stderr] | [INFO] [stderr] 71 | indirection_blocks.push(util::consume!(reader, u32, "Stream Directory Fragment Blocks")?) [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | ret.num_streams = util::consume!(reader, u32, "Number of Streams")?; [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:89:39 [INFO] [stderr] | [INFO] [stderr] 89 | ret.stream_sizes.push(util::consume!(reader, u32, "Stream Size")?); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:124:34 [INFO] [stderr] | [INFO] [stderr] 124 | cur_vec.push(util::consume!(reader, u32, "Block_Size")?); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:148:30 [INFO] [stderr] | [INFO] [stderr] 148 | ret.file_magic = util::consume!(reader, 0x20, "MSF Header")?; [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:152:30 [INFO] [stderr] | [INFO] [stderr] 152 | ret.block_size = util::consume!(reader, u32, "Block Size")?; [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:160:34 [INFO] [stderr] | [INFO] [stderr] 160 | ret.free_block_map = util::consume!(reader, u32, "Free Block Map")?; [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:161:30 [INFO] [stderr] | [INFO] [stderr] 161 | ret.num_blocks = util::consume!(reader, u32, "Num Blocks")?; [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:162:39 [INFO] [stderr] | [INFO] [stderr] 162 | ret.num_directory_bytes = util::consume!(reader, u32, "Num Directory Bytes")?; [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:163:27 [INFO] [stderr] | [INFO] [stderr] 163 | ret.unknown = util::consume!(reader, u32, "Unknown")?; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/msf.rs:164:34 [INFO] [stderr] | [INFO] [stderr] 164 | ret.block_map_addr = util::consume!(reader, u32, "Block Map Addr")?; [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/msf.rs:211:17 [INFO] [stderr] | [INFO] [stderr] 211 | let mut ret = MSFStreamReader { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/msf.rs:329:17 [INFO] [stderr] | [INFO] [stderr] 329 | let mut p = 0; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/hashtable.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | key: util::consume!(reader, u32, "k")?, [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/hashtable.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | value: util::consume!(reader, u32, "v")?, [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/hashtable.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | let wc = util::consume!(reader, u32, "word_count")?; [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/hashtable.rs:67:29 [INFO] [stderr] | [INFO] [stderr] 67 | b[i as usize] = util::consume!(reader, u8, "BitVec")?; [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/hashtable.rs:97:20 [INFO] [stderr] | [INFO] [stderr] 97 | ret.size = util::consume!(reader, u32, "size")? as usize; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/hashtable.rs:98:24 [INFO] [stderr] | [INFO] [stderr] 98 | ret.capacity = util::consume!(reader, u32, "capacity")? as usize; [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/pdbstream.rs:82:19 [INFO] [stderr] | [INFO] [stderr] 82 | let val = util::consume!(reader, u32, "test")?; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/pdbstream.rs:95:28 [INFO] [stderr] | [INFO] [stderr] 95 | strm_map.str_len = util::consume!(reader, u32, "str_len")?; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/pdbstream.rs:132:22 [INFO] [stderr] | [INFO] [stderr] 132 | version: util::consume!(reader, u32, "version")?, [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/pdbstream.rs:133:24 [INFO] [stderr] | [INFO] [stderr] 133 | signature: util::consume!(reader, u32, "signature")?, [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/pdbstream.rs:134:18 [INFO] [stderr] | [INFO] [stderr] 134 | age: util::consume!(reader, u32, "age")?, [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/pdbstream.rs:135:24 [INFO] [stderr] | [INFO] [stderr] 135 | unique_id: util::consume!(reader, u128, "unique_id")?, [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/util.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | .map_err(|x| std::io::Error::new(std::io::ErrorKind::Other, "Consumption Error")) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] ::: src/pdb/mod.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | let a = util::consume!(msfsr, 0x2000, "Test"); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `util::consume` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pdb/mod.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let mut ret = Self::default(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pdb/mod.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | let mut ret = Self::default(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/main.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | Open(PathBuf, std::io::Error), [INFO] [stderr] | ---- ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 16 - Open(PathBuf, std::io::Error), [INFO] [stderr] 16 + Open((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/main.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | NotMsfFile(PathBuf, msf::Error), [INFO] [stderr] | ---------- ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 18 - NotMsfFile(PathBuf, msf::Error), [INFO] [stderr] 18 + NotMsfFile((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/main.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | NotPDBFile(PathBuf, pdb::Error), [INFO] [stderr] | ---------- ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ReaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 20 - NotPDBFile(PathBuf, pdb::Error), [INFO] [stderr] 20 + NotPDBFile((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/msf.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | Consume(std::io::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 - Consume(std::io::Error), [INFO] [stderr] 8 + Consume(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/msf.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | InvalidBlockSize(u32), [INFO] [stderr] | ---------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - InvalidBlockSize(u32), [INFO] [stderr] 10 + InvalidBlockSize(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/msf.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | Seek(std::io::Error), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - Seek(std::io::Error), [INFO] [stderr] 11 + Seek(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variant `Unknown` is never constructed [INFO] [stderr] --> src/msf.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum Error { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 7 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `block_size` is never used [INFO] [stderr] --> src/msf.rs:190:16 [INFO] [stderr] | [INFO] [stderr] 169 | impl MSF { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 190 | pub fn block_size(self: Self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `change_stream` is never used [INFO] [stderr] --> src/msf.rs:220:16 [INFO] [stderr] | [INFO] [stderr] 202 | impl<'a> MSFStreamReader<'a, std::fs::File> { [INFO] [stderr] | ------------------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 220 | pub fn change_stream(&mut self, stream_no: u32) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/mod.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | Consume(std::io::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - Consume(std::io::Error), [INFO] [stderr] 19 + Consume(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/pdb/mod.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | BadStream(u32, msf::Error), [INFO] [stderr] | --------- ^^^ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 21 - BadStream(u32, msf::Error), [INFO] [stderr] 21 + BadStream((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/mod.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | HashTableError(hashtable::Error), [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 25 - HashTableError(hashtable::Error), [INFO] [stderr] 25 + HashTableError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/mod.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | PdbStreamError(pdbstream::Error) [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 29 - PdbStreamError(pdbstream::Error) [INFO] [stderr] 29 + PdbStreamError(()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variants `Unknown`, `InvalidVersion`, and `StreamMapKeyNotFound` are never constructed [INFO] [stderr] --> src/pdb/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 16 | /// Something bad happened, and we have no clue what it was. [INFO] [stderr] 17 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | InvalidVersion, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | StreamMapKeyNotFound(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pdb_strm` is never read [INFO] [stderr] --> src/pdb/mod.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct PDB { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 51 | pdb_strm: PdbStream, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `old_directory` is never used [INFO] [stderr] --> src/pdb/mod.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 54 | impl PDB { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] 55 | pub fn old_directory( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/hashtable.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | Consume(std::io::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 12 - Consume(std::io::Error), [INFO] [stderr] 12 + Consume(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/hashtable.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | HashTableEntryNotFound(u32) [INFO] [stderr] | ---------------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - HashTableEntryNotFound(u32) [INFO] [stderr] 16 + HashTableEntryNotFound(()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/pdbstream.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | Consume(std::io::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - Consume(std::io::Error), [INFO] [stderr] 13 + Consume(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/pdbstream.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | HashTableError(crate::pdb::hashtable::Error), [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - HashTableError(crate::pdb::hashtable::Error), [INFO] [stderr] 19 + HashTableError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pdb/pdbstream.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | StreamMapKeyNotFound(String), [INFO] [stderr] | -------------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 21 - StreamMapKeyNotFound(String), [INFO] [stderr] 21 + StreamMapKeyNotFound(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variants `Unknown`, `BadStream`, and `UnkownFeatureCode` are never constructed [INFO] [stderr] --> src/pdb/pdbstream.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 10 | /// Something bad happened, and we have no clue what it was. [INFO] [stderr] 11 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | BadStream(u32, msf::Error), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | UnkownFeatureCode(u32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/pdb/pdbstream.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub enum PDBStreamVersion { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 36 | VC2 = 19941610, [INFO] [stderr] | ^^^ [INFO] [stderr] 37 | VC4 = 19950623, [INFO] [stderr] | ^^^ [INFO] [stderr] 38 | VC41 = 19950814, [INFO] [stderr] | ^^^^ [INFO] [stderr] 39 | VC50 = 19960307, [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | VC98 = 19970604, [INFO] [stderr] | ^^^^ [INFO] [stderr] 41 | VC70Dep = 19990604, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 42 | VC70 = 20000404, [INFO] [stderr] 43 | VC80 = 20030901, [INFO] [stderr] | ^^^^ [INFO] [stderr] 44 | VC110 = 20091201, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 45 | VC140 = 20140508, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `signature`, `age`, and `unique_id` are never read [INFO] [stderr] --> src/pdb/pdbstream.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct PDBStreamHeader { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 50 | version: u32, [INFO] [stderr] 51 | signature: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 52 | age: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 53 | unique_id: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PDBStreamHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `hdr` is never read [INFO] [stderr] --> src/pdb/pdbstream.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct PdbStream { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 64 | hdr: PDBStreamHeader, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PdbStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `PDBFeatureCode` is never used [INFO] [stderr] --> src/pdb/pdbstream.rs:69:6 [INFO] [stderr] | [INFO] [stderr] 69 | enum PDBFeatureCode { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PDBFeatureCodeList` is never constructed [INFO] [stderr] --> src/pdb/pdbstream.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | struct PDBFeatureCodeList { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `load` is never used [INFO] [stderr] --> src/pdb/pdbstream.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 79 | impl PDBFeatureCodeList { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 80 | pub fn load(reader: &mut msf::MSFStreamReader) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pdbparser` (bin "pdbparser" test) generated 60 warnings (run `cargo fix --bin "pdbparser" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pdbparser-9969d23b95c81743) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29ee4d138920f26e7285bb5fd94c27a50b119cf2f6612cf78f3e8102500b289b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29ee4d138920f26e7285bb5fd94c27a50b119cf2f6612cf78f3e8102500b289b", kill_on_drop: false }` [INFO] [stdout] 29ee4d138920f26e7285bb5fd94c27a50b119cf2f6612cf78f3e8102500b289b