[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] checking yydcnjjw/mdict-test against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmdict-test" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yydcnjjw/mdict-test on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded markup5ever_rcdom v0.1.0 [INFO] [stderr] Downloaded xml5ever v0.16.1 [INFO] [stderr] Downloaded html2text v0.2.1 [INFO] [stderr] Downloaded binread_derive v2.0.0 [INFO] [stderr] Downloaded binread v2.1.1 [INFO] [stderr] Downloaded tendril v0.4.2 [INFO] [stderr] Downloaded minilzo-rs v0.6.0 [INFO] [stderr] Downloaded html5ever v0.25.1 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded bitvec v0.19.5 [INFO] [stderr] Downloaded string_cache v0.8.1 [INFO] [stderr] Downloaded siphasher v0.3.5 [INFO] [stderr] Downloaded string_cache_codegen v0.5.1 [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded ripemd128 v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de87add931398dea8a5dc01f066b28f85187a6850151f14c5fe93fbbb06baee0 [INFO] running `Command { std: "docker" "start" "-a" "de87add931398dea8a5dc01f066b28f85187a6850151f14c5fe93fbbb06baee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de87add931398dea8a5dc01f066b28f85187a6850151f14c5fe93fbbb06baee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de87add931398dea8a5dc01f066b28f85187a6850151f14c5fe93fbbb06baee0", kill_on_drop: false }` [INFO] [stdout] de87add931398dea8a5dc01f066b28f85187a6850151f14c5fe93fbbb06baee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d215b7a38a4b5a894a75e72a0b7a2439424cdbb2579a58bd360e6e0998d735f6 [INFO] running `Command { std: "docker" "start" "-a" "d215b7a38a4b5a894a75e72a0b7a2439424cdbb2579a58bd360e6e0998d735f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling minilzo-rs v0.6.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking ripemd128 v0.1.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [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] Checking thiserror v1.0.26 [INFO] [stderr] Checking binread v2.1.1 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking xml5ever v0.16.1 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking html2text v0.2.1 [INFO] [stderr] Checking 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)]` 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)]` 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: 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: 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 `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: 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: field `text` is never read [INFO] [stdout] --> src/mdict.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 306 | struct MdxRecordItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 307 | text: NullString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxRecordItem` 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 `text` is never read [INFO] [stdout] --> src/mdict.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 306 | struct MdxRecordItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 307 | text: NullString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxRecordItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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)]` 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: 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)]` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.44s [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" "d215b7a38a4b5a894a75e72a0b7a2439424cdbb2579a58bd360e6e0998d735f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d215b7a38a4b5a894a75e72a0b7a2439424cdbb2579a58bd360e6e0998d735f6", kill_on_drop: false }` [INFO] [stdout] d215b7a38a4b5a894a75e72a0b7a2439424cdbb2579a58bd360e6e0998d735f6 [INFO] checking yydcnjjw/mdict-test against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmdict-test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yydcnjjw/mdict-test on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b9ddab5c5d9aa6e74d7f35eae7a56607e3f17c2c114845812b8ef57d8be86fb [INFO] running `Command { std: "docker" "start" "-a" "1b9ddab5c5d9aa6e74d7f35eae7a56607e3f17c2c114845812b8ef57d8be86fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b9ddab5c5d9aa6e74d7f35eae7a56607e3f17c2c114845812b8ef57d8be86fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9ddab5c5d9aa6e74d7f35eae7a56607e3f17c2c114845812b8ef57d8be86fb", kill_on_drop: false }` [INFO] [stdout] 1b9ddab5c5d9aa6e74d7f35eae7a56607e3f17c2c114845812b8ef57d8be86fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5549d9a03e6ec248f1e43412c7490084b3c66700d4cf30da4139de6954fa05a3 [INFO] running `Command { std: "docker" "start" "-a" "5549d9a03e6ec248f1e43412c7490084b3c66700d4cf30da4139de6954fa05a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling minilzo-rs v0.6.0 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.20 [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 rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking ripemd128 v0.1.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling binread_derive v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking binread v2.1.1 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking xml5ever v0.16.1 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking html2text v0.2.1 [INFO] [stderr] Checking 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)]` 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: field `text` is never read [INFO] [stdout] --> src/mdict.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 306 | struct MdxRecordItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 307 | text: NullString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxRecordItem` 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_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)]` 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: field `text` is never read [INFO] [stdout] --> src/mdict.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 306 | struct MdxRecordItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 307 | text: NullString, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdxRecordItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match || -> Result<$output_t> { Ok($x) }() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / nom_return!(in_, DictMeta, { [INFO] [stdout] 120 | | quick_xml::de::from_str::(&String::from_utf16(&dict_meta)?)? [INFO] [stdout] 121 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `nom_return` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 319 | fn key_bytes(is_ver2: bool, f: F) -> impl Parser, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | / length_count( [INFO] [stdout] 327 | | map( [INFO] [stdout] 328 | | cond_if(is_ver2, be_u16, map(be_u8, |v| v as u16)), [INFO] [stdout] 329 | | move |v| { [INFO] [stdout] ... | [INFO] [stdout] 337 | | f, [INFO] [stdout] 338 | | ), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match || -> Result<$output_t> { Ok($x) }() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | / nom_return!(in_, Vec, { [INFO] [stdout] 449 | | match block.block_type { [INFO] [stdout] 450 | | ContentBlockType::Zlib => { [INFO] [stdout] 451 | | let mut output = Vec::with_capacity(nb_decompressed as usize); [INFO] [stdout] ... | [INFO] [stdout] 462 | | } [INFO] [stdout] 463 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `nom_return` (in Nightly builds, run with -Z macro-backtrace for more info) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match || -> Result<$output_t> { Ok($x) }() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | nom_return!(in_, Mdx, Mdx { dict_meta, keymap }) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `nom_return` (in Nightly builds, run with -Z macro-backtrace for more info) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match || -> Result<$output_t> { Ok($x) }() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / nom_return!(in_, DictMeta, { [INFO] [stdout] 120 | | quick_xml::de::from_str::(&String::from_utf16(&dict_meta)?)? [INFO] [stdout] 121 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `nom_return` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 319 | fn key_bytes(is_ver2: bool, f: F) -> impl Parser, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | / length_count( [INFO] [stdout] 327 | | map( [INFO] [stdout] 328 | | cond_if(is_ver2, be_u16, map(be_u8, |v| v as u16)), [INFO] [stdout] 329 | | move |v| { [INFO] [stdout] ... | [INFO] [stdout] 337 | | f, [INFO] [stdout] 338 | | ), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match || -> Result<$output_t> { Ok($x) }() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 448 | / nom_return!(in_, Vec, { [INFO] [stdout] 449 | | match block.block_type { [INFO] [stdout] 450 | | ContentBlockType::Zlib => { [INFO] [stdout] 451 | | let mut output = Vec::with_capacity(nb_decompressed as usize); [INFO] [stdout] ... | [INFO] [stdout] 462 | | } [INFO] [stdout] 463 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `nom_return` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match || -> Result<$output_t> { Ok($x) }() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | nom_return!(in_, Mdx, Mdx { dict_meta, keymap }) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `nom_return` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdict-test` (bin "mdict-test" test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mdict-test` (bin "mdict-test") due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5549d9a03e6ec248f1e43412c7490084b3c66700d4cf30da4139de6954fa05a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5549d9a03e6ec248f1e43412c7490084b3c66700d4cf30da4139de6954fa05a3", kill_on_drop: false }` [INFO] [stdout] 5549d9a03e6ec248f1e43412c7490084b3c66700d4cf30da4139de6954fa05a3