[INFO] cloning repository https://github.com/yydcnjjw/mdict-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yydcnjjw/mdict-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmdict-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmdict-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92c9c3002c31ceaa7a0150195c64edb4c5746637 [INFO] building yydcnjjw/mdict-test against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmdict-test" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yydcnjjw/mdict-test [INFO] finished tweaking git repo https://github.com/yydcnjjw/mdict-test [INFO] tweaked toml for git repo https://github.com/yydcnjjw/mdict-test written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yydcnjjw/mdict-test on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yydcnjjw/mdict-test 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ripemd128 v0.1.2 [INFO] [stderr] Downloaded binread_derive v2.0.0 [INFO] [stderr] Downloaded binread v2.1.1 [INFO] [stderr] Downloaded html2text v0.2.1 [INFO] [stderr] Downloaded minilzo-rs v0.6.0 [INFO] [stderr] Downloaded nom v6.1.2 [INFO] [stderr] Downloaded libz-sys v1.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de83f1bbf8c3a401458f9def927929369280b647f4dd1dcf21ac50d583ee4497 [INFO] running `Command { std: "docker" "start" "-a" "de83f1bbf8c3a401458f9def927929369280b647f4dd1dcf21ac50d583ee4497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de83f1bbf8c3a401458f9def927929369280b647f4dd1dcf21ac50d583ee4497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de83f1bbf8c3a401458f9def927929369280b647f4dd1dcf21ac50d583ee4497", kill_on_drop: false }` [INFO] [stdout] de83f1bbf8c3a401458f9def927929369280b647f4dd1dcf21ac50d583ee4497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3bdfd0a15ff2c417279a725609aa273a6cb37ced6a913b16d8fd67ab05a9aab1 [INFO] running `Command { std: "docker" "start" "-a" "3bdfd0a15ff2c417279a725609aa273a6cb37ced6a913b16d8fd67ab05a9aab1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling minilzo-rs v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling ripemd128 v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling binread_derive v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling binread v2.1.1 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling xml5ever v0.16.1 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling html2text v0.2.1 [INFO] [stderr] Compiling mdict-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `n_dict_meta`, `dict`, and `checksum` are never read [INFO] [stdout] --> src/mdict.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Mdx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 30 | #[br(big)] [INFO] [stdout] 31 | n_dict_meta: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[br(little, try_map(|data: NullWideString| parse_dict_meta(data)))] [INFO] [stdout] 33 | dict: DictMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | #[br(little)] [INFO] [stdout] 35 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mdx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mdict.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | struct MdxKeyBlock { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 105 | #[br(big)] [INFO] [stdout] 106 | pub n_blocks: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | #[br(big)] [INFO] [stdout] 108 | pub n_entires: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 109 | #[br(big)] [INFO] [stdout] 110 | pub nb_decompressed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | #[br(big)] [INFO] [stdout] 112 | pub nb_info: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | #[br(big)] [INFO] [stdout] 114 | pub nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | #[br(little)] [INFO] [stdout] 116 | pub checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | info: MdxKeyBlockInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxKeyBlock` 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 `checksum` is never read [INFO] [stdout] --> src/mdict.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct MdxKeyBlockInfo { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 129 | #[br(little)] [INFO] [stdout] 130 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxKeyBlockInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_type` and `checksum` are never read [INFO] [stdout] --> src/mdict.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct MdxContentBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 208 | block_type: ContentBlockType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 209 | #[br(little)] [INFO] [stdout] 210 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxContentBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_blocks`, `n_entries`, `nb_info`, `nb_blocks`, and `info` are never read [INFO] [stdout] --> src/mdict.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct MdxRecordBlock { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 261 | #[br(big)] [INFO] [stdout] 262 | n_blocks: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 263 | #[br(big)] [INFO] [stdout] 264 | n_entries: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 265 | #[br(big)] [INFO] [stdout] 266 | nb_info: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 267 | #[br(big)] [INFO] [stdout] 268 | nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 269 | #[br(big, count(n_blocks))] [INFO] [stdout] 270 | info: Vec<(u64, u64)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxRecordBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MdxRecordItem` is never constructed [INFO] [stdout] --> src/mdict.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | struct MdxRecordItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dict_meta` is never read [INFO] [stdout] --> src/main.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Mdx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 149 | pub dict_meta: DictMeta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mdx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_entries`, `nb_decompressed`, `nb_blocks`, and `checksum` are never read [INFO] [stdout] --> src/main.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 154 | struct KeyBlockHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 155 | n_blocks: u64, [INFO] [stdout] 156 | n_entries: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 157 | nb_decompressed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | nb_block_info: u64, [INFO] [stdout] 159 | nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 160 | checksum: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `tail` are never read [INFO] [stdout] --> src/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 254 | struct KeyBlockInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 255 | n_entries: u64, [INFO] [stdout] 256 | head: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 257 | tail: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyBlockInfo` 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 `checksum` is never read [INFO] [stdout] --> src/main.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 417 | struct ContentBlock { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 418 | block_type: ContentBlockType, [INFO] [stdout] 419 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, nom v6.1.2, quick-xml v0.22.0, xml5ever v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3bdfd0a15ff2c417279a725609aa273a6cb37ced6a913b16d8fd67ab05a9aab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bdfd0a15ff2c417279a725609aa273a6cb37ced6a913b16d8fd67ab05a9aab1", kill_on_drop: false }` [INFO] [stdout] 3bdfd0a15ff2c417279a725609aa273a6cb37ced6a913b16d8fd67ab05a9aab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c3650fecc2cfef5d89f8f409ac4a3e348856f46200df09f8d747136cfc68132b [INFO] running `Command { std: "docker" "start" "-a" "c3650fecc2cfef5d89f8f409ac4a3e348856f46200df09f8d747136cfc68132b", kill_on_drop: false }` [INFO] [stdout] warning: fields `n_dict_meta`, `dict`, and `checksum` are never read [INFO] [stdout] --> src/mdict.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Mdx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 30 | #[br(big)] [INFO] [stdout] 31 | n_dict_meta: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[br(little, try_map(|data: NullWideString| parse_dict_meta(data)))] [INFO] [stdout] 33 | dict: DictMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | #[br(little)] [INFO] [stdout] 35 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mdx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mdict.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | struct MdxKeyBlock { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 105 | #[br(big)] [INFO] [stdout] 106 | pub n_blocks: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | #[br(big)] [INFO] [stdout] 108 | pub n_entires: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 109 | #[br(big)] [INFO] [stdout] 110 | pub nb_decompressed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | #[br(big)] [INFO] [stdout] 112 | pub nb_info: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | #[br(big)] [INFO] [stdout] 114 | pub nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | #[br(little)] [INFO] [stdout] 116 | pub checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | info: MdxKeyBlockInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxKeyBlock` 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 `checksum` is never read [INFO] [stdout] --> src/mdict.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct MdxKeyBlockInfo { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 129 | #[br(little)] [INFO] [stdout] 130 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxKeyBlockInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_type` and `checksum` are never read [INFO] [stdout] --> src/mdict.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct MdxContentBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 208 | block_type: ContentBlockType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 209 | #[br(little)] [INFO] [stdout] 210 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxContentBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_blocks`, `n_entries`, `nb_info`, `nb_blocks`, and `info` are never read [INFO] [stdout] --> src/mdict.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct MdxRecordBlock { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 261 | #[br(big)] [INFO] [stdout] 262 | n_blocks: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 263 | #[br(big)] [INFO] [stdout] 264 | n_entries: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 265 | #[br(big)] [INFO] [stdout] 266 | nb_info: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 267 | #[br(big)] [INFO] [stdout] 268 | nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 269 | #[br(big, count(n_blocks))] [INFO] [stdout] 270 | info: Vec<(u64, u64)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxRecordBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MdxRecordItem` is never constructed [INFO] [stdout] --> src/mdict.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | struct MdxRecordItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mdict-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `dict_meta` is never read [INFO] [stdout] --> src/main.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Mdx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 149 | pub dict_meta: DictMeta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mdx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_dict_meta`, `dict`, and `checksum` are never read [INFO] [stdout] --> src/mdict.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Mdx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 30 | #[br(big)] [INFO] [stdout] 31 | n_dict_meta: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | #[br(little, try_map(|data: NullWideString| parse_dict_meta(data)))] [INFO] [stdout] 33 | dict: DictMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | #[br(little)] [INFO] [stdout] 35 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mdx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_entries`, `nb_decompressed`, `nb_blocks`, and `checksum` are never read [INFO] [stdout] --> src/main.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 154 | struct KeyBlockHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 155 | n_blocks: u64, [INFO] [stdout] 156 | n_entries: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 157 | nb_decompressed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | nb_block_info: u64, [INFO] [stdout] 159 | nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 160 | checksum: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `tail` are never read [INFO] [stdout] --> src/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 254 | struct KeyBlockInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 255 | n_entries: u64, [INFO] [stdout] 256 | head: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 257 | tail: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyBlockInfo` 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 `checksum` is never read [INFO] [stdout] --> src/main.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 417 | struct ContentBlock { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 418 | block_type: ContentBlockType, [INFO] [stdout] 419 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` 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 fields are never read [INFO] [stdout] --> src/mdict.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | struct MdxKeyBlock { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 105 | #[br(big)] [INFO] [stdout] 106 | pub n_blocks: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | #[br(big)] [INFO] [stdout] 108 | pub n_entires: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 109 | #[br(big)] [INFO] [stdout] 110 | pub nb_decompressed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | #[br(big)] [INFO] [stdout] 112 | pub nb_info: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | #[br(big)] [INFO] [stdout] 114 | pub nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | #[br(little)] [INFO] [stdout] 116 | pub checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | info: MdxKeyBlockInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxKeyBlock` 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 `checksum` is never read [INFO] [stdout] --> src/mdict.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct MdxKeyBlockInfo { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 129 | #[br(little)] [INFO] [stdout] 130 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxKeyBlockInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_type` and `checksum` are never read [INFO] [stdout] --> src/mdict.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct MdxContentBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 208 | block_type: ContentBlockType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 209 | #[br(little)] [INFO] [stdout] 210 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxContentBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_blocks`, `n_entries`, `nb_info`, `nb_blocks`, and `info` are never read [INFO] [stdout] --> src/mdict.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct MdxRecordBlock { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 261 | #[br(big)] [INFO] [stdout] 262 | n_blocks: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 263 | #[br(big)] [INFO] [stdout] 264 | n_entries: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 265 | #[br(big)] [INFO] [stdout] 266 | nb_info: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 267 | #[br(big)] [INFO] [stdout] 268 | nb_blocks: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 269 | #[br(big, count(n_blocks))] [INFO] [stdout] 270 | info: Vec<(u64, u64)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxRecordBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MdxRecordItem` is never constructed [INFO] [stdout] --> src/mdict.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | struct MdxRecordItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, nom v6.1.2, quick-xml v0.22.0, xml5ever v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c3650fecc2cfef5d89f8f409ac4a3e348856f46200df09f8d747136cfc68132b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3650fecc2cfef5d89f8f409ac4a3e348856f46200df09f8d747136cfc68132b", kill_on_drop: false }` [INFO] [stdout] c3650fecc2cfef5d89f8f409ac4a3e348856f46200df09f8d747136cfc68132b