[INFO] fetching crate uefisettings 0.1.4... [INFO] checking uefisettings-0.1.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uefisettings 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate uefisettings 0.1.4 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 crates.io crate uefisettings 0.1.4 [INFO] finished tweaking crates.io crate uefisettings 0.1.4 [INFO] tweaked toml for crates.io crate uefisettings 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate uefisettings 0.1.4 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b68458791322862e4c5b3833daf11d8417395525550942e8fca7010be4768add [INFO] running `Command { std: "docker" "start" "-a" "b68458791322862e4c5b3833daf11d8417395525550942e8fca7010be4768add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b68458791322862e4c5b3833daf11d8417395525550942e8fca7010be4768add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68458791322862e4c5b3833daf11d8417395525550942e8fca7010be4768add", kill_on_drop: false }` [INFO] [stdout] b68458791322862e4c5b3833daf11d8417395525550942e8fca7010be4768add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fb2fe6b1c890fa7e0b791bfc1ade2c24b02e13cb2e89ef297beace800d567bba [INFO] running `Command { std: "docker" "start" "-a" "fb2fe6b1c890fa7e0b791bfc1ade2c24b02e13cb2e89ef297beace800d567bba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking panic-message v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking value-bag v1.4.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling ghost v0.1.17 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking partition-identity v0.3.0 [INFO] [stderr] Checking proc-mounts v0.3.0 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking bufsize v1.0.7 [INFO] [stderr] Checking fbthrift v0.0.3 [INFO] [stderr] Checking uefisettings_spellings_db_thrift v0.1.0 [INFO] [stderr] Checking uefisettings_backend_thrift v0.1.0 [INFO] [stderr] Checking uefisettings v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | DefaultStore(DefaultStore), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 300 | DefaultStore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | IFRDefault(IFRDefault), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 301 | IFRDefault(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | Form(Form), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 302 | Form(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 303 | Text(Text), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 303 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | QuestionRef1(QuestionRef1), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 306 | QuestionRef1(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | EqIdVal(EqIdVal), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 307 | EqIdVal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | EqIdValList(EqIdValList), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 308 | EqIdValList(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lib/hii/forms.rs:703:5 [INFO] [stdout] | [INFO] [stdout] 697 | pub enum TypeValue { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 703 | Time(Time), [INFO] [stdout] | ^^^^ [INFO] [stdout] 704 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] 705 | StringID(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 706 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 707 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 708 | Action(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 709 | // Buffer(Vec), - spec unclear ; FIXME [INFO] [stdout] 710 | Ref(Ref), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` 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: methods `get_max_buffer_size`, `get_blob_request_size`, `get_finalize_request_size`, `get_create_request_size`, `get_info_request_size`, and `get_delete_request_size` are never used [INFO] [stdout] --> src/lib/ilorest/chif.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub trait IloRestChifInterface { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 460 | fn get_max_buffer_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | fn get_blob_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 497 | fn get_finalize_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 498 | fn get_create_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | fn get_key_info(&self, response_key: &CStr, namespace: &CStr) -> &[u8]; [INFO] [stdout] 500 | fn get_info_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | fn get_delete_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `post` and `put` are never used [INFO] [stdout] --> src/lib/ilorest/rest.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl RestClient { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn post(&self, endpoint: &str, body: &str) -> Result<(u16, Vec)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn put(&self, endpoint: &str, body: &str) -> Result<(u16, Vec)> { [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/lib/chattr.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(path: impl Into) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 147 | | attrs_before_writing, [INFO] [stdout] 148 | | path, [INFO] [stdout] 149 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/lib/hii/efivarfs.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(EfivarsMountGuard { original_flags }) [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/lib/hii/efivarfs.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_current_mount_flags(dest: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let dest = dest.as_ref(); [INFO] [stdout] 83 | match MountIter::new() [INFO] [stdout] | ___________^ [INFO] [stdout] 84 | | .context("cannot read /proc/mounts")? [INFO] [stdout] 85 | | .filter_map(Result::ok) [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 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uefisettings` (lib test) due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | DefaultStore(DefaultStore), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 300 | DefaultStore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | IFRDefault(IFRDefault), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 301 | IFRDefault(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | Form(Form), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 302 | Form(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 303 | Text(Text), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 303 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | QuestionRef1(QuestionRef1), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 306 | QuestionRef1(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | EqIdVal(EqIdVal), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 307 | EqIdVal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/hii/forms.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | EqIdValList(EqIdValList), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsedOperation` 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] 308 | EqIdValList(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lib/hii/forms.rs:703:5 [INFO] [stdout] | [INFO] [stdout] 697 | pub enum TypeValue { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 703 | Time(Time), [INFO] [stdout] | ^^^^ [INFO] [stdout] 704 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] 705 | StringID(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 706 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 707 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 708 | Action(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 709 | // Buffer(Vec), - spec unclear ; FIXME [INFO] [stdout] 710 | Ref(Ref), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` 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: methods `get_max_buffer_size`, `get_blob_request_size`, `get_finalize_request_size`, `get_create_request_size`, `get_info_request_size`, and `get_delete_request_size` are never used [INFO] [stdout] --> src/lib/ilorest/chif.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub trait IloRestChifInterface { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 460 | fn get_max_buffer_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | fn get_blob_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 497 | fn get_finalize_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 498 | fn get_create_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | fn get_key_info(&self, response_key: &CStr, namespace: &CStr) -> &[u8]; [INFO] [stdout] 500 | fn get_info_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | fn get_delete_request_size(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `post` and `put` are never used [INFO] [stdout] --> src/lib/ilorest/rest.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl RestClient { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn post(&self, endpoint: &str, body: &str) -> Result<(u16, Vec)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn put(&self, endpoint: &str, body: &str) -> Result<(u16, Vec)> { [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/lib/chattr.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(path: impl Into) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 147 | | attrs_before_writing, [INFO] [stdout] 148 | | path, [INFO] [stdout] 149 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/lib/hii/efivarfs.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(EfivarsMountGuard { original_flags }) [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/lib/hii/efivarfs.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_current_mount_flags(dest: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let dest = dest.as_ref(); [INFO] [stdout] 83 | match MountIter::new() [INFO] [stdout] | ___________^ [INFO] [stdout] 84 | | .context("cannot read /proc/mounts")? [INFO] [stdout] 85 | | .filter_map(Result::ok) [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 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uefisettings` (lib) due to 4 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb2fe6b1c890fa7e0b791bfc1ade2c24b02e13cb2e89ef297beace800d567bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2fe6b1c890fa7e0b791bfc1ade2c24b02e13cb2e89ef297beace800d567bba", kill_on_drop: false }` [INFO] [stdout] fb2fe6b1c890fa7e0b791bfc1ade2c24b02e13cb2e89ef297beace800d567bba