[INFO] cloning repository https://github.com/ScriptSmith/diffmig [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ScriptSmith/diffmig" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScriptSmith%2Fdiffmig", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScriptSmith%2Fdiffmig'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17ca57a0727706419a048020a6da36f3d24d7cae [INFO] checking ScriptSmith/diffmig/17ca57a0727706419a048020a6da36f3d24d7cae 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%2FScriptSmith%2Fdiffmig" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ScriptSmith/diffmig 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/ScriptSmith/diffmig [INFO] finished tweaking git repo https://github.com/ScriptSmith/diffmig [INFO] tweaked toml for git repo https://github.com/ScriptSmith/diffmig written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ScriptSmith/diffmig 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9a479336f176b7e0f0b862a60442af50d4c0036c63f908bfe964b204a13c4425 [INFO] running `Command { std: "docker" "start" "-a" "9a479336f176b7e0f0b862a60442af50d4c0036c63f908bfe964b204a13c4425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a479336f176b7e0f0b862a60442af50d4c0036c63f908bfe964b204a13c4425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a479336f176b7e0f0b862a60442af50d4c0036c63f908bfe964b204a13c4425", kill_on_drop: false }` [INFO] [stdout] 9a479336f176b7e0f0b862a60442af50d4c0036c63f908bfe964b204a13c4425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 85100e1cefe4e9a1e6420cea7c07bdaf8dbc9df8b5d898ccd4bf2441da160823 [INFO] running `Command { std: "docker" "start" "-a" "85100e1cefe4e9a1e6420cea7c07bdaf8dbc9df8b5d898ccd4bf2441da160823", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking zip v0.5.12 [INFO] [stderr] Checking diffmig v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | Missing(Option<&'a CDE>, Option<&'a CDE>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifferenceType` 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 fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 245 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | Variant(&'a CDEValue, &'a CDEValue), [INFO] [stdout] | ------- ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 246 | Variant((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | Equality(&'a CDEValue, &'a CDEValue), [INFO] [stdout] | -------- ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 247 | Equality((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct CDEDifference<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 252 | code: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 253 | diff: CDEDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Missing(Option<&'a Section>, Option<&'a Section>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 296 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | Code(&'a str, &'a str), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 297 | Code((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | AllowMultiple(bool, bool), [INFO] [stdout] | ------------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 298 | AllowMultiple((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | Variant(&'a CDESVariant, &'a CDESVariant), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 299 | Variant((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | CDEs(Vec>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` 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] 300 | CDEs(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct SectionDifference<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 305 | code: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 306 | diff: SectionDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | Missing(Option<&'a Form>, Option<&'a Form>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FormDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 372 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | Name(&'a str, &'a str), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FormDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 373 | Name((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | Sections(Vec>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FormDifferenceType` 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] 374 | Sections(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct FormDifference<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 379 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 380 | diff: FormDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | Missing(Option<&'a ClinicalDatum>, Option<&'a ClinicalDatum>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 424 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | Patient(u32, u32), [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 425 | Patient((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | Variant(&'a ClinicalDatumVariant, &'a ClinicalDatumVariant), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 426 | Variant((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:427:11 [INFO] [stdout] | [INFO] [stdout] 427 | Forms(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` 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] 427 | Forms(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proto_context` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct ClinicalDatumDifference<'a> { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 432 | proto_context: ProtoContext, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 433 | diff: ClinicalDatumDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | Patient(u32, u32), [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatientSliceDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 479 | Patient((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:480:18 [INFO] [stdout] | [INFO] [stdout] 480 | ClinicalData(Vec>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatientSliceDifferenceType` 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] 480 | ClinicalData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `patient`, `ids`, and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct PatientSliceDifference<'a> { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 485 | patient: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 486 | ids: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 487 | diff: PatientSliceDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatientSliceDifference` 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:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | let file = File::open(Path::new(zip_path))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | Ok(ZipArchive::new(BufReader::new(file))?) [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] = 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/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | fn zip_diff(old_iter: impl Iterator, new_iter: impl Iterator) -> usize { [INFO] [stdout] | ------------------------------------------ ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / old_iter.zip_longest(new_iter).map(|pair| { [INFO] [stdout] 42 | | match pair { [INFO] [stdout] 43 | | EitherOrBoth::Both(old, new) => { [INFO] [stdout] 44 | | match old.diff(&new) { [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }).flatten().sum() [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/clinical_data.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 97 | let forms = Self::get_forms(forms [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(Some(ClinicalDatum { id, patient, variant, forms })) [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] = 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/clinical_data.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 116 | let sections = Self::get_sections(form.get("sections") [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | Ok((name.clone(), Form { name, sections })) [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] = 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/clinical_data.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 143 | let cdes = match allow_multiple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Ok((code.clone(), Section { code, allow_multiple, cdes })) [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] | 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/clinical_data.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 168 | let value = Self::get_cde_value(value)?.ok_or("Invalid cde value")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | [INFO] [stdout] 170 | Ok((code.clone(), CDE { code, value })) [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] = 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/migrated_registry.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn read_array_file_to_values(reader: impl Read + 'a) -> impl Iterator + 'a { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let reader = BufReader::new(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut partial = Vec::::new(); [INFO] [stdout] 43 | / reader.lines().scan(Option::::None, move |_complete, line| { [INFO] [stdout] 44 | | match line.expect("Failed reading line from file").as_str() { [INFO] [stdout] 45 | | "[" => Some(None), [INFO] [stdout] 46 | | "]" => None, [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | }).flatten() [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/migrated_registry.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | let data = values.filter_map(|value| match ClinicalDatum::from(&value) { [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 8 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diffmig` (bin "diffmig" test) due to 9 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | Missing(Option<&'a CDE>, Option<&'a CDE>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifferenceType` 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 fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 245 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | Variant(&'a CDEValue, &'a CDEValue), [INFO] [stdout] | ------- ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 246 | Variant((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | Equality(&'a CDEValue, &'a CDEValue), [INFO] [stdout] | -------- ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 247 | Equality((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct CDEDifference<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 252 | code: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 253 | diff: CDEDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDEDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Missing(Option<&'a Section>, Option<&'a Section>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 296 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | Code(&'a str, &'a str), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 297 | Code((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | AllowMultiple(bool, bool), [INFO] [stdout] | ------------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 298 | AllowMultiple((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | Variant(&'a CDESVariant, &'a CDESVariant), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 299 | Variant((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | CDEs(Vec>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifferenceType` 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] 300 | CDEs(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct SectionDifference<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 305 | code: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 306 | diff: SectionDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | Missing(Option<&'a Form>, Option<&'a Form>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FormDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 372 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | Name(&'a str, &'a str), [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FormDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 373 | Name((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | Sections(Vec>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FormDifferenceType` 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] 374 | Sections(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct FormDifference<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 379 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 380 | diff: FormDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | Missing(Option<&'a ClinicalDatum>, Option<&'a ClinicalDatum>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 424 | Missing((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | Patient(u32, u32), [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 425 | Patient((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | Variant(&'a ClinicalDatumVariant, &'a ClinicalDatumVariant), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 426 | Variant((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:427:11 [INFO] [stdout] | [INFO] [stdout] 427 | Forms(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifferenceType` 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] 427 | Forms(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proto_context` and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct ClinicalDatumDifference<'a> { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 432 | proto_context: ProtoContext, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 433 | diff: ClinicalDatumDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClinicalDatumDifference` 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 `0` and `1` are never read [INFO] [stdout] --> src/clinical_data.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | Patient(u32, u32), [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatientSliceDifferenceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 479 | Patient((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clinical_data.rs:480:18 [INFO] [stdout] | [INFO] [stdout] 480 | ClinicalData(Vec>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatientSliceDifferenceType` 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] 480 | ClinicalData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `patient`, `ids`, and `diff` are never read [INFO] [stdout] --> src/clinical_data.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct PatientSliceDifference<'a> { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 485 | patient: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 486 | ids: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 487 | diff: PatientSliceDifferenceType<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatientSliceDifference` 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:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | let file = File::open(Path::new(zip_path))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | Ok(ZipArchive::new(BufReader::new(file))?) [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] = 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/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | fn zip_diff(old_iter: impl Iterator, new_iter: impl Iterator) -> usize { [INFO] [stdout] | ------------------------------------------ ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / old_iter.zip_longest(new_iter).map(|pair| { [INFO] [stdout] 42 | | match pair { [INFO] [stdout] 43 | | EitherOrBoth::Both(old, new) => { [INFO] [stdout] 44 | | match old.diff(&new) { [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }).flatten().sum() [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/clinical_data.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 97 | let forms = Self::get_forms(forms [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(Some(ClinicalDatum { id, patient, variant, forms })) [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] = 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/clinical_data.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 116 | let sections = Self::get_sections(form.get("sections") [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | Ok((name.clone(), Form { name, sections })) [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] = 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/clinical_data.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 143 | let cdes = match allow_multiple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Ok((code.clone(), Section { code, allow_multiple, cdes })) [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] | 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/clinical_data.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 168 | let value = Self::get_cde_value(value)?.ok_or("Invalid cde value")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | [INFO] [stdout] 170 | Ok((code.clone(), CDE { code, value })) [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] = 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/migrated_registry.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn read_array_file_to_values(reader: impl Read + 'a) -> impl Iterator + 'a { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let reader = BufReader::new(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut partial = Vec::::new(); [INFO] [stdout] 43 | / reader.lines().scan(Option::::None, move |_complete, line| { [INFO] [stdout] 44 | | match line.expect("Failed reading line from file").as_str() { [INFO] [stdout] 45 | | "[" => Some(None), [INFO] [stdout] 46 | | "]" => None, [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | }).flatten() [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/migrated_registry.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | let data = values.filter_map(|value| match ClinicalDatum::from(&value) { [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 8 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diffmig` (bin "diffmig") due to 9 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "85100e1cefe4e9a1e6420cea7c07bdaf8dbc9df8b5d898ccd4bf2441da160823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85100e1cefe4e9a1e6420cea7c07bdaf8dbc9df8b5d898ccd4bf2441da160823", kill_on_drop: false }` [INFO] [stdout] 85100e1cefe4e9a1e6420cea7c07bdaf8dbc9df8b5d898ccd4bf2441da160823