[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] 484b384ebea7827a9f6a300425dab13c5c6d8d58 [INFO] checking eMgTy/PDBParser against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eMgTy/PDBParser on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking eMgTy/PDBParser against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeMgTy%2FPDBParser" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eMgTy/PDBParser on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90f778a8e03667b8970f9e393861ed33c80681d51af28662e87d0694a365ac59 [INFO] running `Command { std: "docker" "start" "-a" "90f778a8e03667b8970f9e393861ed33c80681d51af28662e87d0694a365ac59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90f778a8e03667b8970f9e393861ed33c80681d51af28662e87d0694a365ac59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f778a8e03667b8970f9e393861ed33c80681d51af28662e87d0694a365ac59", kill_on_drop: false }` [INFO] [stdout] 90f778a8e03667b8970f9e393861ed33c80681d51af28662e87d0694a365ac59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24a36640ae2df2369cafb93578d5373378450cc5539ff1e4f32f4369bbbe2ed1 [INFO] running `Command { std: "docker" "start" "-a" "24a36640ae2df2369cafb93578d5373378450cc5539ff1e4f32f4369bbbe2ed1", kill_on_drop: false }` [INFO] [stderr] Checking 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: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | for _ in 0..num_indirection_entries { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W range-syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | for cur_stream in 0..streams_left { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | for block_num in 0..num_blocks_in_stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | buf[amt_read..(amt_read + amt_to_read)].copy_from_slice(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | buf[amt_read..(amt_read + amt_until_block_end)].copy_from_slice(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/hashtable.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | for i in 0..wc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/hashtable.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | for n in 0..8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/hashtable.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | for _ in 0..ret.capacity { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/pdbstream.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | std::str::from_utf8(&bytes[last_str_pos..i]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | for _ in 0..num_indirection_entries { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W range-syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | for cur_stream in 0..streams_left { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | for block_num in 0..num_blocks_in_stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | buf[amt_read..(amt_read + amt_to_read)].copy_from_slice(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/msf.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | buf[amt_read..(amt_read + amt_until_block_end)].copy_from_slice(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/hashtable.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | for i in 0..wc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/hashtable.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | for n in 0..8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/hashtable.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | for _ in 0..ret.capacity { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/pdb/pdbstream.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | std::str::from_utf8(&bytes[last_str_pos..i]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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: `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: 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: 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: 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: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: 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: 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: 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: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: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: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/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/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/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: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: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: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: 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: 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: `#[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((), ()), [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] 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((), ()), [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] 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((), ()), [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: 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: 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: 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: 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: variants `VC110`, `VC140`, `NoTypeMerge`, and `MinimalDebugInfo` are never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | enum PDBFeatureCode { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 70 | VC110 = 20091201, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | VC140 = 20140508, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | NoTypeMerge = 0x4D544F4E, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 73 | MinimalDebugInfo = 0x494E494D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDBFeatureCode` 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 `codes` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct PDBFeatureCodeList { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 77 | codes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDBFeatureCodeList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `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] [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: 57 warnings emitted [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: `#[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((), ()), [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] 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((), ()), [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] 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((), ()), [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: 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: 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: variants `VC110`, `VC140`, `NoTypeMerge`, and `MinimalDebugInfo` are never constructed [INFO] [stdout] --> src/pdb/pdbstream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | enum PDBFeatureCode { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 70 | VC110 = 20091201, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | VC140 = 20140508, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | NoTypeMerge = 0x4D544F4E, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 73 | MinimalDebugInfo = 0x494E494D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDBFeatureCode` 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 `codes` is never read [INFO] [stdout] --> src/pdb/pdbstream.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct PDBFeatureCodeList { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 77 | codes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDBFeatureCodeList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `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] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "24a36640ae2df2369cafb93578d5373378450cc5539ff1e4f32f4369bbbe2ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24a36640ae2df2369cafb93578d5373378450cc5539ff1e4f32f4369bbbe2ed1", kill_on_drop: false }` [INFO] [stdout] 24a36640ae2df2369cafb93578d5373378450cc5539ff1e4f32f4369bbbe2ed1