[INFO] cloning repository https://github.com/dbasedow/android-xml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbasedow/android-xml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fandroid-xml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fandroid-xml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 352ca9c93dbe8223c8bb062d04fc6980cf20044e [INFO] checking dbasedow/android-xml/352ca9c93dbe8223c8bb062d04fc6980cf20044e against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fandroid-xml" "/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/dbasedow/android-xml on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dbasedow/android-xml [INFO] finished tweaking git repo https://github.com/dbasedow/android-xml [INFO] tweaked toml for git repo https://github.com/dbasedow/android-xml written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dbasedow/android-xml 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93d89c6e7c89269ab9d108b40469c88d9c55df49e56df73389238d7c2cac96ef [INFO] running `Command { std: "docker" "start" "-a" "93d89c6e7c89269ab9d108b40469c88d9c55df49e56df73389238d7c2cac96ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93d89c6e7c89269ab9d108b40469c88d9c55df49e56df73389238d7c2cac96ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d89c6e7c89269ab9d108b40469c88d9c55df49e56df73389238d7c2cac96ef", kill_on_drop: false }` [INFO] [stdout] 93d89c6e7c89269ab9d108b40469c88d9c55df49e56df73389238d7c2cac96ef [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7de6a65970044cf7dd693069e1792becd814f38e325c1a0b84053caf7d885e4 [INFO] running `Command { std: "docker" "start" "-a" "f7de6a65970044cf7dd693069e1792becd814f38e325c1a0b84053caf7d885e4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking opaque-debug v0.2.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking block-padding v0.1.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking flate2 v1.0.4 [INFO] [stderr] Checking apk-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/apk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/apk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/apk.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedValue` [INFO] [stdout] --> src/resources/resources.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::typedvalue::{parse_res_value, TypedValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/resources/resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::*` [INFO] [stdout] --> src/resources/config_qualifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::convert_zero_terminated_u8` [INFO] [stdout] --> src/resources/config_qualifiers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resources::resources::convert_zero_terminated_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/resources/config_qualifiers.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | match (color_mode & 0x03) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 640 - match (color_mode & 0x03) { [INFO] [stdout] 640 + match color_mode & 0x03 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/zip/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/zip/archive.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zip::io::{Open, FileReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/archive.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/apk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/apk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/apk.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedValue` [INFO] [stdout] --> src/resources/resources.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::typedvalue::{parse_res_value, TypedValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/resources/resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::*` [INFO] [stdout] --> src/resources/config_qualifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::convert_zero_terminated_u8` [INFO] [stdout] --> src/resources/config_qualifiers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resources::resources::convert_zero_terminated_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/resources/config_qualifiers.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | match (color_mode & 0x03) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 640 - match (color_mode & 0x03) { [INFO] [stdout] 640 + match color_mode & 0x03 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/zip/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/zip/archive.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zip::io::{Open, FileReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/archive.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apk.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apk.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip/archive.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip/archive.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pch` [INFO] [stdout] --> src/resources/resources.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pch` [INFO] [stdout] --> src/resources/resources.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_offset` [INFO] [stdout] --> src/zip/archive.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/zip/archive.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let IResult::Done(foo, res) = parser::parse_central_directory(&buf) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number`, `comment`, `prefix`, and `uri` are never read [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Namespace { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 118 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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 `locale_script`, `locale_variant`, and `screen_layout2` are never read [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `language_or_region_to_string` is never used [INFO] [stdout] --> src/resources/config.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn language_or_region_to_string(v: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries_start` is never read [INFO] [stdout] --> src/resources/resources.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct ResourceTableTypeHeader { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | entries_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableTypeHeader` 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 `0` is never read [INFO] [stdout] --> src/resources/resources.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Complex(ResourceTableMapEntry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EntryData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 | Complex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct ResourceTableMapping { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | name: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | value: ResourceValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapping` 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 `parent`, `count`, and `mappings` are never read [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct ResourceTableMapEntry { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 235 | parent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 237 | mappings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapEntry` 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 `ResourceTableTypeSpec` is never constructed [INFO] [stdout] --> src/resources/resources.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct ResourceTableTypeSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_configuration_dimensions` is never used [INFO] [stdout] --> src/resources/resources.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_configuration_dimensions(flags: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_config` is never read [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 358 | //configuration to check against [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 316 | pub enum ScreenWidth { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 317 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 318 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenWidth` 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 `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub enum ScreenHeight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 323 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenHeight` 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 `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub enum MinorVersion { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 354 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinorVersion` 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 `to_string` is never used [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl MinorVersion { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASN1Type` is never used [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_class`, `constructed`, and `id` are never read [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DataElement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | tag_class: TagClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataElement` 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 `raw_value` is never read [INFO] [stdout] --> src/chunk.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RawAttribute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub raw_value: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttribute` 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 `name`, `start_char`, and `end_char` are never read [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct StringStyling { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | name: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | start_char: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | end_char: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringStyling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name` and `compression` are never used [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ZipEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `general_purpose_flags`, `crc32`, and `extra_field` are never read [INFO] [stdout] --> src/zip/parser.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CentralDirectoryFileHeader { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub general_purpose_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_utf8` is never used [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl CentralDirectoryFileHeader { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [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/apk.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 40 | let zip_archive = ZipArchive::open(path)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(Apk { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | zip_archive, [INFO] [stdout] 56 | | resources, [INFO] [stdout] 57 | | }) [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] | [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] [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/zip/io.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | let file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | [INFO] [stdout] 50 | Ok(FileReader { [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | path: Rc::new(path.into()), [INFO] [stdout] 52 | | file: Some(file), [INFO] [stdout] 53 | | }) [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] | [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/zip/archive.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Err(io::Error::new(io::ErrorKind::Other, "end of central directory signature not found")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/zip/archive.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 89 | let mut r = self.reader.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(Box::new(r.take(self.header.compressed_size as u64))) [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/zip/archive.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 105 | let mut reader = ReaderWrapper::FileReader(FileReader::open(path)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(ZipArchive { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | reader, [INFO] [stdout] 121 | | entries: Rc::new(entries), [INFO] [stdout] 122 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 5 previous errors; 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apk-rs` (lib test) due to 6 previous errors; 38 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `seek_offset` [INFO] [stdout] --> src/zip/archive.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/zip/archive.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let IResult::Done(foo, res) = parser::parse_central_directory(&buf) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number`, `comment`, `prefix`, and `uri` are never read [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Namespace { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 118 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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 `locale_script`, `locale_variant`, and `screen_layout2` are never read [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `language_or_region_to_string` is never used [INFO] [stdout] --> src/resources/config.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn language_or_region_to_string(v: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries_start` is never read [INFO] [stdout] --> src/resources/resources.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct ResourceTableTypeHeader { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | entries_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableTypeHeader` 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 `0` is never read [INFO] [stdout] --> src/resources/resources.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Complex(ResourceTableMapEntry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EntryData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 | Complex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct ResourceTableMapping { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | name: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | value: ResourceValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapping` 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 `parent`, `count`, and `mappings` are never read [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct ResourceTableMapEntry { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 235 | parent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 237 | mappings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapEntry` 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 `ResourceTableTypeSpec` is never constructed [INFO] [stdout] --> src/resources/resources.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct ResourceTableTypeSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_configuration_dimensions` is never used [INFO] [stdout] --> src/resources/resources.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_configuration_dimensions(flags: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_config` is never read [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 358 | //configuration to check against [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 316 | pub enum ScreenWidth { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 317 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 318 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenWidth` 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 `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub enum ScreenHeight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 323 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenHeight` 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 `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub enum MinorVersion { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 354 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinorVersion` 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 `to_string` is never used [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl MinorVersion { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASN1Type` is never used [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_last_octet` is never used [INFO] [stdout] --> src/signature/asn1.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_last_octet(octet: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_octet_series` is never used [INFO] [stdout] --> src/signature/asn1.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_octet_series(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_object_identifier` is never used [INFO] [stdout] --> src/signature/asn1.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn decode_object_identifier(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_class`, `constructed`, and `id` are never read [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DataElement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | tag_class: TagClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataElement` 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 `raw_value` is never read [INFO] [stdout] --> src/chunk.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RawAttribute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub raw_value: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttribute` 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 `name`, `start_char`, and `end_char` are never read [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct StringStyling { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | name: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | start_char: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | end_char: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringStyling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name` and `compression` are never used [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ZipEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `general_purpose_flags`, `crc32`, and `extra_field` are never read [INFO] [stdout] --> src/zip/parser.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CentralDirectoryFileHeader { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub general_purpose_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_utf8` is never used [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl CentralDirectoryFileHeader { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [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/apk.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 40 | let zip_archive = ZipArchive::open(path)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(Apk { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | zip_archive, [INFO] [stdout] 56 | | resources, [INFO] [stdout] 57 | | }) [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] | [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] [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/zip/io.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | let file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | [INFO] [stdout] 50 | Ok(FileReader { [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | path: Rc::new(path.into()), [INFO] [stdout] 52 | | file: Some(file), [INFO] [stdout] 53 | | }) [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] | [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/zip/archive.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Err(io::Error::new(io::ErrorKind::Other, "end of central directory signature not found")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/zip/archive.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 89 | let mut r = self.reader.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(Box::new(r.take(self.header.compressed_size as u64))) [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/zip/archive.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 105 | let mut reader = ReaderWrapper::FileReader(FileReader::open(path)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(ZipArchive { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | reader, [INFO] [stdout] 121 | | entries: Rc::new(entries), [INFO] [stdout] 122 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 5 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apk-rs` (lib) due to 6 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f7de6a65970044cf7dd693069e1792becd814f38e325c1a0b84053caf7d885e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7de6a65970044cf7dd693069e1792becd814f38e325c1a0b84053caf7d885e4", kill_on_drop: false }` [INFO] [stdout] f7de6a65970044cf7dd693069e1792becd814f38e325c1a0b84053caf7d885e4