[INFO] fetching crate eson 0.1.0... [INFO] checking eson-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate eson 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate eson 0.1.0 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 eson 0.1.0 [INFO] finished tweaking crates.io crate eson 0.1.0 [INFO] tweaked toml for crates.io crate eson 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding defaultmap v0.3.1 (latest: v0.6.0) [INFO] [stderr] Adding float-ord v0.1.2 (latest: v0.3.2) [INFO] [stderr] Adding itertools v0.6.5 (latest: v0.13.0) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding ordermap v0.2.13 (latest: v0.5.3) [INFO] [stderr] Adding peg v0.5.7 (latest: v0.8.4) [INFO] [stderr] Adding permutation v0.2.5 (latest: v0.4.1) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.37) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.3) [INFO] [stderr] Adding simple-logging v1.0.1 (latest: v2.0.2) [INFO] [stderr] Adding thread-id v3.3.0 (latest: v4.2.2) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7d471066f03dc2c68bf905c5b1e5e57e0f4c62f9c34e69fb4afe0e61e1c7e1e7 [INFO] running `Command { std: "docker" "start" "-a" "7d471066f03dc2c68bf905c5b1e5e57e0f4c62f9c34e69fb4afe0e61e1c7e1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d471066f03dc2c68bf905c5b1e5e57e0f4c62f9c34e69fb4afe0e61e1c7e1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d471066f03dc2c68bf905c5b1e5e57e0f4c62f9c34e69fb4afe0e61e1c7e1e7", kill_on_drop: false }` [INFO] [stdout] 7d471066f03dc2c68bf905c5b1e5e57e0f4c62f9c34e69fb4afe0e61e1c7e1e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 998678ea25b163e69fcc977193be296f2ff240f756ea61661d7da7db3cfc06e9 [INFO] running `Command { std: "docker" "start" "-a" "998678ea25b163e69fcc977193be296f2ff240f756ea61661d7da7db3cfc06e9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ordermap v0.2.13 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking permutation v0.2.5 [INFO] [stderr] Checking group-by v1.0.0 [INFO] [stderr] Checking float-ord v0.1.2 [INFO] [stderr] Checking defaultmap v0.3.1 [INFO] [stderr] Checking collect-mac v0.1.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking string-intern v0.1.7 [INFO] [stderr] Checking simple-logging v1.0.1 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Compiling eson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:79:484 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z_... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:79:1110 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:79:1124 [INFO] [stdout] | [INFO] [stdout] 79 | ...ut , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z0... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:83:462 [INFO] [stdout] | [INFO] [stdout] 83 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:79:484 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z_... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:79:1110 [INFO] [stdout] | [INFO] [stdout] 79 | ...nge_at ( __input , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:79:1124 [INFO] [stdout] | [INFO] [stdout] 79 | ...ut , __pos ) ; match __ch { 'A' ... 'z' | '0' ... '9' | '_' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[A-z0... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:83:462 [INFO] [stdout] | [INFO] [stdout] 83 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dependencies.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | let mut inds = self.inds.get_mut(tables.clone()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/normalize.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let mut table = self.tables.get_mut(&table_name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut table = schema.tables.get_mut(&freq.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut table = schema.tables.get_mut(&fd.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for mut table in schema.tables.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains_fd` is never used [INFO] [stdout] --> src/model.rs:425:10 [INFO] [stdout] | [INFO] [stdout] 338 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn contains_fd(&self, fd: &FD) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | fd.1.iter().map(|s| s.parse().unwrap()).collect::>(), [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/main.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | fd.2.iter().map(|s| s.parse().unwrap()).collect::>() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | let lhs = ind.1.iter().map(|s| s.parse().unwrap()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let rhs = ind.3.iter().map(|s| s.parse().unwrap()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/model.rs:394:65 [INFO] [stdout] | [INFO] [stdout] 394 | }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `FD` does not implement `Clone`, so calling `clone` on `&FD` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 394 - }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] 394 + }).expect(&format!("No primary key found for {}", self)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `FD`, implement `Clone` for it [INFO] [stdout] --> src/dependencies.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub struct FD { [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/normalize.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | ).map(|(k, v)| [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | (k, if v.key && vfd.rhs.contains(&v.name) { [INFO] [stdout] | _________^ [INFO] [stdout] 31 | | Field { [INFO] [stdout] 32 | | name: v.name, [INFO] [stdout] 33 | | key: false, [INFO] [stdout] ... | [INFO] [stdout] 38 | | v [INFO] [stdout] 39 | | }) [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/normalize.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | ).map(|(k, v)| [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | (k, if !v.key && vfd.lhs.contains(&v.name) { [INFO] [stdout] | _________^ [INFO] [stdout] 54 | | Field { [INFO] [stdout] 55 | | name: v.name, [INFO] [stdout] 56 | | key: true, [INFO] [stdout] ... | [INFO] [stdout] 68 | | v [INFO] [stdout] 69 | | }) [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] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:154:389 [INFO] [stdout] | [INFO] [stdout] 154 | ...ut __state = ParseState :: new ( ) ; match __parse_input ( __input , & mut __state , 0 ) { Matched ( __pos , __value ) => { if __pos == __input . len ( ) { return Ok ( __value ) } } _ => { } } let ( __line , __col ) = pos_to_line ( __input , __state . max_err_pos ) ; Err ( ParseError { line : __line , column : __col , offset : __state . max_err_pos , expected : __state . expected , } ... [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: aborting due to 7 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eson` (bin "eson") due to 8 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dependencies.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | let mut inds = self.inds.get_mut(tables.clone()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/normalize.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | let mut table = self.tables.get_mut(&table_name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut table = schema.tables.get_mut(&freq.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut table = schema.tables.get_mut(&fd.0) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | for mut table in schema.tables.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | fd.1.iter().map(|s| s.parse().unwrap()).collect::>(), [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/main.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | fd.2.iter().map(|s| s.parse().unwrap()).collect::>() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | let lhs = ind.1.iter().map(|s| s.parse().unwrap()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let rhs = ind.3.iter().map(|s| s.parse().unwrap()).collect::>(); [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/dependencies.rs:343:42 [INFO] [stdout] | [INFO] [stdout] 343 | assert!(fds.values().any(|fd| *fd == FD { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 344 | | lhs: field_set!["foo"], [INFO] [stdout] 345 | | rhs: field_set!["bar", "baz"] [INFO] [stdout] 346 | | })); [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/dependencies.rs:361:16 [INFO] [stdout] | [INFO] [stdout] 352 | let ind = IND { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | let rev = IND { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | assert_eq!(ind.reverse(), rev) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/model.rs:394:65 [INFO] [stdout] | [INFO] [stdout] 394 | }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `dependencies::FD` does not implement `Clone`, so calling `clone` on `&dependencies::FD` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 394 - }).expect(&format!("No primary key found for {}", self)).clone() [INFO] [stdout] 394 + }).expect(&format!("No primary key found for {}", self)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `dependencies::FD`, implement `Clone` for it [INFO] [stdout] --> src/dependencies.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(Clone)] [INFO] [stdout] 17 | pub struct FD { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | assert_has_key!(t, field_vec!["baz"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/model.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | assert_has_key!(t, field_vec!["foo"]) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [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/normalize.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | ).map(|(k, v)| [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | (k, if v.key && vfd.rhs.contains(&v.name) { [INFO] [stdout] | _________^ [INFO] [stdout] 31 | | Field { [INFO] [stdout] 32 | | name: v.name, [INFO] [stdout] 33 | | key: false, [INFO] [stdout] ... | [INFO] [stdout] 38 | | v [INFO] [stdout] 39 | | }) [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/normalize.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | ).map(|(k, v)| [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | (k, if !v.key && vfd.lhs.contains(&v.name) { [INFO] [stdout] | _________^ [INFO] [stdout] 54 | | Field { [INFO] [stdout] 55 | | name: v.name, [INFO] [stdout] 56 | | key: true, [INFO] [stdout] ... | [INFO] [stdout] 68 | | v [INFO] [stdout] 69 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | assert_has_key!(t2, field_vec!["bar"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | assert_has_key!(t2, field_vec!["bar"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | assert_has_key!(t1, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | assert_has_key!(t2, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 - format!("key {} missing from {}", field_name, $table.name)); [INFO] [stdout] 7 + "key {} missing from {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | format!("{} has additional keys", $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | assert_has_key!(t2, field_vec!["foo"]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_has_key` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 - format!("{} has additional keys", $table.name)); [INFO] [stdout] 10 + "{} has additional keys", $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | assert_missing_fields!(table, field_vec!["baz"]); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_fields` which comes from the expansion of the macro `assert_missing_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 37 - format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] 37 + "{} found in {}", field_name, $table.name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/normalize.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | assert_missing_fields!(table, field_vec!["quux"]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_fields` which comes from the expansion of the macro `assert_missing_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 37 - format!("{} found in {}", field_name, $table.name)); [INFO] [stdout] 37 + "{} found in {}", field_name, $table.name); [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] --> /opt/rustwide/target/debug/build/eson-d0d9209409e45b71/out/input.rs:154:389 [INFO] [stdout] | [INFO] [stdout] 154 | ...ut __state = ParseState :: new ( ) ; match __parse_input ( __input , & mut __state , 0 ) { Matched ( __pos , __value ) => { if __pos == __input . len ( ) { return Ok ( __value ) } } _ => { } } let ( __line , __col ) = pos_to_line ( __input , __state . max_err_pos ) ; Err ( ParseError { line : __line , column : __col , offset : __state . max_err_pos , expected : __state . expected , } ... [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: aborting due to 9 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eson` (bin "eson" test) due to 10 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "998678ea25b163e69fcc977193be296f2ff240f756ea61661d7da7db3cfc06e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "998678ea25b163e69fcc977193be296f2ff240f756ea61661d7da7db3cfc06e9", kill_on_drop: false }` [INFO] [stdout] 998678ea25b163e69fcc977193be296f2ff240f756ea61661d7da7db3cfc06e9