[INFO] fetching crate tract 0.21.6... [INFO] checking tract-0.21.6 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate tract 0.21.6 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tract 0.21.6 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tract 0.21.6 [INFO] finished tweaking crates.io crate tract 0.21.6 [INFO] tweaked toml for crates.io crate tract 0.21.6 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate tract 0.21.6 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 976ad21388071a40383fbb415076ed1124d3426e907eedbef6fd1cfb305d247a [INFO] running `Command { std: "docker" "start" "-a" "976ad21388071a40383fbb415076ed1124d3426e907eedbef6fd1cfb305d247a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "976ad21388071a40383fbb415076ed1124d3426e907eedbef6fd1cfb305d247a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "976ad21388071a40383fbb415076ed1124d3426e907eedbef6fd1cfb305d247a", kill_on_drop: false }` [INFO] [stdout] 976ad21388071a40383fbb415076ed1124d3426e907eedbef6fd1cfb305d247a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05966adfd03ebff29e41fd5f9141ea44831d213dccfb81f091618050a4116d37 [INFO] running `Command { std: "docker" "start" "-a" "05966adfd03ebff29e41fd5f9141ea44831d213dccfb81f091618050a4116d37", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (7 fixes) [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling liquid-derive v0.26.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking dyn-hash v0.2.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking tokio v1.39.1 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking string-interner v0.15.0 [INFO] [stderr] Checking tract-data v0.21.6 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling kstring v2.0.1 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling liquid-core v0.26.6 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling liquid-lib v0.26.6 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling liquid v0.26.6 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ndarray-npy v0.8.1 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling tract-linalg v0.21.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking prost-types v0.11.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking box_drawing v0.1.2 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking colorous v1.0.14 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking readings-probe v0.1.4 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking tract-core v0.21.6 [INFO] [stderr] Checking tract-nnef v0.21.6 [INFO] [stderr] Checking tract-hir v0.21.6 [INFO] [stderr] Checking tract-tflite v0.21.6 [INFO] [stderr] Checking tract-pulse-opl v0.21.6 [INFO] [stderr] Checking tract-onnx-opl v0.21.6 [INFO] [stderr] Checking tract-pulse v0.21.6 [INFO] [stderr] Checking tract-onnx v0.21.6 [INFO] [stderr] Checking tract-tensorflow v0.21.6 [INFO] [stderr] Checking tract-extra v0.21.6 [INFO] [stderr] Checking tract-libcli v0.21.6 [INFO] [stderr] Checking tract v0.21.6 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tract` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/params.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:37:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr_2021, $expr: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 37 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:37:25 [INFO] [stderr] | [INFO] [stderr] 37 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/params.rs:635:14 [INFO] [stderr] | [INFO] [stderr] 635 | ($name:expr_2021, $from:ident -> $to:ident, $block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/params.rs:635:57 [INFO] [stderr] | [INFO] [stderr] 635 | ($name:expr_2021, $from:ident -> $to:ident, $block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr, $expr: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr_2021, $expr: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr, $expr: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr_2021, $expr: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr, $expr: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/params.rs:635:20 [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr, $from:ident -> $to:ident, $block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr_2021, $from:ident -> $to:ident, $block:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/params.rs:635:59 [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr, $from:ident -> $to:ident, $block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr, $from:ident -> $to:ident, $block:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | ::std::env::set_var("TRACT_LOG", level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 285 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 286 ~ unsafe { ::std::env::set_var("TRACT_LOG", level) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:539:41 [INFO] [stdout] | [INFO] [stdout] 539 | let display_params = if let Some(("dump", sm)) = matches.subcommand() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 539 ~ let display_params = match matches.subcommand() { Some(("dump", sm)) => { [INFO] [stdout] 540 | display_params_from_clap(&matches, sm)? [INFO] [stdout] 541 ~ } _ => { [INFO] [stdout] 542 | DisplayParams::default() [INFO] [stdout] 543 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compare.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | if let Ok(value) = for_npz(&mut npz, &name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compare.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match for_npz(&mut npz, &name) { Ok(value) => { [INFO] [stdout] 142 | if multiturn { [INFO] [stdout] ... [INFO] [stdout] 156 | } [INFO] [stdout] 157 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] | - ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _____| this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | [INFO] [stdout] 160 | | cumulative, [INFO] [stdout] 161 | | m, [INFO] [stdout] 162 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 165 | | run_params, [INFO] [stdout] 166 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 160 | | cumulative, [INFO] [stdout] 161 | | m, [INFO] [stdout] 162 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 165 | | run_params, [INFO] [stdout] 166 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 160 | | cumulative, [INFO] [stdout] 161 | | m, [INFO] [stdout] 162 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 165 | | run_params, [INFO] [stdout] 166 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] | - ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _____| this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | [INFO] [stdout] 201 | | cumulative, [INFO] [stdout] 202 | | m, [INFO] [stdout] 203 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 206 | | run_params, [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 201 | | cumulative, [INFO] [stdout] 202 | | m, [INFO] [stdout] 203 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 206 | | run_params, [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 201 | | cumulative, [INFO] [stdout] 202 | | m, [INFO] [stdout] 203 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 206 | | run_params, [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] | - ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _____| this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | [INFO] [stdout] 264 | | cumulative, [INFO] [stdout] 265 | | m, [INFO] [stdout] 266 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 269 | | run_params, [INFO] [stdout] 270 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 264 | | cumulative, [INFO] [stdout] 265 | | m, [INFO] [stdout] 266 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 269 | | run_params, [INFO] [stdout] 270 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 264 | | cumulative, [INFO] [stdout] 265 | | m, [INFO] [stdout] 266 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 269 | | run_params, [INFO] [stdout] 270 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compare.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 358 | ... if let Some(reference) = &reference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compare.rs:385:29 [INFO] [stdout] | [INFO] [stdout] 385 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 358 ~ match &reference { Some(reference) => { [INFO] [stdout] 359 | if reference.len() != obtained.len() { [INFO] [stdout] ... [INFO] [stdout] 384 | } [INFO] [stdout] 385 ~ } _ => { [INFO] [stdout] 386 | unchecked.insert(node.id); [INFO] [stdout] 387 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compare.rs:363:44 [INFO] [stdout] | [INFO] [stdout] 363 | ... if let Err(e) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 364 | | ... obtained[ix].close_enough(&reference[ix], true) [INFO] [stdout] | |___________________________----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compare.rs:376:41 [INFO] [stdout] | [INFO] [stdout] 376 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 363 ~ match obtained[ix].close_enough(&reference[ix], true) [INFO] [stdout] 364 ~ { Err(e) => { [INFO] [stdout] 365 | error = Some("Mismatch value".to_string()); [INFO] [stdout] ... [INFO] [stdout] 374 | tags.sections.push(msg); [INFO] [stdout] 375 ~ } _ => { [INFO] [stdout] 376 | debug!( [INFO] [stdout] ... [INFO] [stdout] 380 | ) [INFO] [stdout] 381 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(node_id) = model.node_id_by_name(&gnode.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match model.node_id_by_name(&gnode.name) { Ok(node_id) => { [INFO] [stdout] 42 | let mut v = vec![]; [INFO] [stdout] ... [INFO] [stdout] 54 | annotations.node_mut(node_id.into()).sections.push(v); [INFO] [stdout] 55 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(id) = model [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 81 | || .node_id_by_name(&gnode.name) [INFO] [stdout] | ||_________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 82 | | .ok() [INFO] [stdout] 83 | | .or_else(|| gnode.output.first().and_then(|n| model.node_id_by_name(n).ok())) [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 80 ~ match model [INFO] [stdout] 81 | .node_id_by_name(&gnode.name) [INFO] [stdout] 82 | .ok() [INFO] [stdout] 83 | .or_else(|| gnode.output.first().and_then(|n| model.node_id_by_name(n).ok())) [INFO] [stdout] 84 ~ { Some(id) => { [INFO] [stdout] 85 | let mut v = vec![]; [INFO] [stdout] ... [INFO] [stdout] 94 | annotations.node_mut(id.into()).sections.push(v); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 168 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 172 | .context("Writing model to tgz")?; [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | bail!("Only typed model can be dumped") [INFO] [stdout] 175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 181 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 184 | .context("Writing model to tar")?; [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | bail!("Only typed model can be dumped") [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 193 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 204 | nnef.write_to_dir(&typed, path)? [INFO] [stdout] 205 ~ } _ => { [INFO] [stdout] 206 | bail!("Only typed model can be dumped") [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 213 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 221 | } [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | bail!("Only typed model can be dumped") [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 230 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 231 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] 232 | let file = fs::File::create(path)?; [INFO] [stdout] 233 | tflite.write(&typed, file).context("Writing model to tflite")?; [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | bail!("Only typed model can be dumped") [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(pwd) = std::env::current_exe() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match std::env::current_exe() { Ok(pwd) => { [INFO] [stdout] 90 | let absolute = pwd.parent().unwrap().join(&path); [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:235:38 [INFO] [stdout] | [INFO] [stdout] 235 | let inv = if let RValue::Invocation(inv) = &mut ass.right { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 235 ~ let inv = match &mut ass.right { RValue::Invocation(inv) => { [INFO] [stdout] 236 | inv [INFO] [stdout] 237 ~ } _ => { [INFO] [stdout] 238 | unreachable!(); [INFO] [stdout] 239 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] | ^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:722:21 [INFO] [stdout] | [INFO] [stdout] 722 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 720 ~ } else { match parse_tdim(&m.symbols, spec) { Ok(i) => { [INFO] [stdout] 721 | ("S".to_owned(), i) [INFO] [stdout] 722 ~ } _ => { [INFO] [stdout] 723 | bail!("Can not parse pulse specification {}", spec) [INFO] [stdout] 724 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 746 | / stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform nam... [INFO] [stdout] 748 | | transform.transform_into(&m) [INFO] [stdout] 749 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 746 | / ... stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | ... let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform named {}", tr... [INFO] [stdout] 748 | | ... transform.transform_into(&m) [INFO] [stdout] 749 | | ... }); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 746 | / stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform nam... [INFO] [stdout] 748 | | transform.transform_into(&m) [INFO] [stdout] 749 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 746 | / ... stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | ... let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform named {}", tr... [INFO] [stdout] 748 | | ... transform.transform_into(&m) [INFO] [stdout] 749 | | ... }); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:909:20 [INFO] [stdout] | [INFO] [stdout] 909 | if let Some(inf) = raw_model.downcast_mut::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 910 | inf.set_outlet_fact(OutletId::new(node, 0), fact)?; [INFO] [stdout] 911 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:911:17 [INFO] [stdout] | [INFO] [stdout] 911 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 909 ~ match raw_model.downcast_mut::() { Some(inf) => { [INFO] [stdout] 910 | inf.set_outlet_fact(OutletId::new(node, 0), fact)?; [INFO] [stdout] 911 ~ } _ => { match raw_model.downcast_mut::() { Some(typ) => { [INFO] [stdout] 912 | typ.set_outlet_fact(OutletId::new(node, 0), (&fact).try_into()?)?; [INFO] [stdout] 913 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | if let Some(value) = tensors_values [INFO] [stdout] | ^ -------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________________| [INFO] [stdout] | | [INFO] [stdout] 920 | | .by_name(konst) [INFO] [stdout] 921 | | .and_then(|tv| tv.values.as_ref()) [INFO] [stdout] 922 | | .and_then(|v| v.first()) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:942:17 [INFO] [stdout] | [INFO] [stdout] 942 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 919 ~ match tensors_values [INFO] [stdout] 920 | .by_name(konst) [INFO] [stdout] 921 | .and_then(|tv| tv.values.as_ref()) [INFO] [stdout] 922 | .and_then(|v| v.first()) [INFO] [stdout] 923 ~ { Some(value) => { [INFO] [stdout] 924 | let value = value.clone().into_arc_tensor(); [INFO] [stdout] ... [INFO] [stdout] 941 | } [INFO] [stdout] 942 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:933:24 [INFO] [stdout] | [INFO] [stdout] 933 | if let Some(inf) = raw_model.downcast_mut::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 937 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:937:21 [INFO] [stdout] | [INFO] [stdout] 937 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:941:21 [INFO] [stdout] | [INFO] [stdout] 941 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 933 ~ match raw_model.downcast_mut::() { Some(inf) => { [INFO] [stdout] 934 | inf.inputs.retain(|i| i.node != id); [INFO] [stdout] 935 | inf.nodes[id].op = op; [INFO] [stdout] 936 | inf.nodes[id].outputs[0].fact = Default::default(); [INFO] [stdout] 937 ~ } _ => { match raw_model.downcast_mut::() { Some(typ) => { [INFO] [stdout] 938 | typ.inputs.retain(|i| i.node != id); [INFO] [stdout] 939 | typ.nodes[id].op = op; [INFO] [stdout] 940 | typ.nodes[id].outputs[0].fact = TypedFact::from(value.clone()); [INFO] [stdout] 941 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(m) = $model.downcast_mut::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/params.rs:971:42 [INFO] [stdout] | [INFO] [stdout] 971 | dispatch_model_mut_no_pulse!(raw_model, |m| Self::edge_context(m, left, right))?; [INFO] [stdout] | ------------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | } else if let Some(m) = $model.downcast_mut::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/params.rs:971:13 [INFO] [stdout] | [INFO] [stdout] 971 | dispatch_model_mut_no_pulse!(raw_model, |m| Self::edge_context(m, left, right))?; [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/params.rs:971:13 [INFO] [stdout] | [INFO] [stdout] 971 | dispatch_model_mut_no_pulse!(raw_model, |m| Self::edge_context(m, left, right))?; [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_mut_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:980:24 [INFO] [stdout] | [INFO] [stdout] 980 | if let Some(fact) = &tv.fact { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:982:21 [INFO] [stdout] | [INFO] [stdout] 982 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 980 ~ match &tv.fact { Some(fact) => { [INFO] [stdout] 981 | infer.nodes[node_id.node].outputs[0].fact = fact.clone(); [INFO] [stdout] 982 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:988:16 [INFO] [stdout] | [INFO] [stdout] 988 | if let Some(m) = raw_model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 989 | raw_model = Box::new(m.clone().into_compact()?); [INFO] [stdout] 990 | } else if let Some(m) = raw_model.downcast_ref::() { [INFO] [stdout] | --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | } else if let Some(m) = raw_model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 988 ~ match raw_model.downcast_ref::() { Some(m) => { [INFO] [stdout] 989 | raw_model = Box::new(m.clone().into_compact()?); [INFO] [stdout] 990 ~ } _ => { match raw_model.downcast_ref::() { Some(m) => { [INFO] [stdout] 991 | raw_model = Box::new(m.clone().into_compact()?); [INFO] [stdout] 992 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | ... if let Ok(f32s) = o.as_slice::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match o.as_slice::() { Ok(f32s) => { [INFO] [stdout] 216 | if f32s.iter().any(|f| f.abs() > f16::MAX.to_f32()) { [INFO] [stdout] 217 | warn!("{node}, output {ix} overflows f16"); [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(floats) = o.as_slice::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 232 | ... } else if let Ok(floats) = o.as_slice::() { [INFO] [stdout] | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | ... } else if let Ok(floats) = o.as_slice::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 227 ~ match o.as_slice::() { Ok(floats) => { [INFO] [stdout] 228 | if let Some(pos) = floats.iter().position(|f| !f.is_finite()) { [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] 232 ~ } _ => { match o.as_slice::() { Ok(floats) => { [INFO] [stdout] 233 | if let Some(pos) = floats.iter().position(|f| !f.is_finite()) { [INFO] [stdout] ... [INFO] [stdout] 236 | } [INFO] [stdout] 237 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let name = if let Some(label) = params.tract_model.outlet_label(*output) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 11 ~ let name = match params.tract_model.outlet_label(*output) { Some(label) => { [INFO] [stdout] 12 | label [INFO] [stdout] 13 ~ } _ => { [INFO] [stdout] 14 | params.tract_model.node_name(output.node) [INFO] [stdout] 15 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = exp.close_enough(&got, true).context(format!("Checking output {ix}")) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match exp.close_enough(&got, true).context(format!("Checking output {ix}")) { Err(e) => { [INFO] [stdout] 49 | if error.is_some() { [INFO] [stdout] ... [INFO] [stdout] 53 | } [INFO] [stdout] 54 ~ } _ => { [INFO] [stdout] 55 | info!("Checked output #{}, ok.", ix); [INFO] [stdout] 56 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(e) = error { [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match error { Some(e) => { [INFO] [stdout] 60 | Err(e) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | Ok(()) [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tract` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/params.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:37:25 [INFO] [stderr] | [INFO] [stderr] 37 | ($model: expr_2021, $expr: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/params.rs:635:14 [INFO] [stderr] | [INFO] [stderr] 635 | ($name:expr_2021, $from:ident -> $to:ident, $block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/params.rs:635:57 [INFO] [stderr] | [INFO] [stderr] 635 | ($name:expr_2021, $from:ident -> $to:ident, $block:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr_2021, $expr: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($model: expr, $expr: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr_2021, $expr: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($model: expr, $expr: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr_2021, $expr: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr, $expr: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($model: expr, $expr: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/params.rs:635:20 [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr, $from:ident -> $to:ident, $block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr_2021, $from:ident -> $to:ident, $block:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/params.rs:635:59 [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr, $from:ident -> $to:ident, $block:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 635 | ($name:expr, $from:ident -> $to:ident, $block:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | ::std::env::set_var("TRACT_LOG", level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 285 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 286 ~ unsafe { ::std::env::set_var("TRACT_LOG", level) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:539:41 [INFO] [stdout] | [INFO] [stdout] 539 | let display_params = if let Some(("dump", sm)) = matches.subcommand() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 539 ~ let display_params = match matches.subcommand() { Some(("dump", sm)) => { [INFO] [stdout] 540 | display_params_from_clap(&matches, sm)? [INFO] [stdout] 541 ~ } _ => { [INFO] [stdout] 542 | DisplayParams::default() [INFO] [stdout] 543 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compare.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | if let Ok(value) = for_npz(&mut npz, &name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compare.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match for_npz(&mut npz, &name) { Ok(value) => { [INFO] [stdout] 142 | if multiturn { [INFO] [stdout] ... [INFO] [stdout] 156 | } [INFO] [stdout] 157 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] | - ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _____| this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | [INFO] [stdout] 160 | | cumulative, [INFO] [stdout] 161 | | m, [INFO] [stdout] 162 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 165 | | run_params, [INFO] [stdout] 166 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 160 | | cumulative, [INFO] [stdout] 161 | | m, [INFO] [stdout] 162 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 165 | | run_params, [INFO] [stdout] 166 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 160 | | cumulative, [INFO] [stdout] 161 | | m, [INFO] [stdout] 162 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 165 | | run_params, [INFO] [stdout] 166 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] | - ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _____| this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | [INFO] [stdout] 201 | | cumulative, [INFO] [stdout] 202 | | m, [INFO] [stdout] 203 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 206 | | run_params, [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 201 | | cumulative, [INFO] [stdout] 202 | | m, [INFO] [stdout] 203 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 206 | | run_params, [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 201 | | cumulative, [INFO] [stdout] 202 | | m, [INFO] [stdout] 203 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 206 | | run_params, [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] | - ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _____| this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | [INFO] [stdout] 264 | | cumulative, [INFO] [stdout] 265 | | m, [INFO] [stdout] 266 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 269 | | run_params, [INFO] [stdout] 270 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Some(m) = $model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 264 | | cumulative, [INFO] [stdout] 265 | | m, [INFO] [stdout] 266 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 269 | | run_params, [INFO] [stdout] 270 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/compare.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / dispatch_model_no_pulse!(params.tract_model, |m| compare( [INFO] [stdout] 264 | | cumulative, [INFO] [stdout] 265 | | m, [INFO] [stdout] 266 | | &values, [INFO] [stdout] ... | [INFO] [stdout] 269 | | run_params, [INFO] [stdout] 270 | | )) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compare.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 358 | ... if let Some(reference) = &reference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compare.rs:385:29 [INFO] [stdout] | [INFO] [stdout] 385 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 358 ~ match &reference { Some(reference) => { [INFO] [stdout] 359 | if reference.len() != obtained.len() { [INFO] [stdout] ... [INFO] [stdout] 384 | } [INFO] [stdout] 385 ~ } _ => { [INFO] [stdout] 386 | unchecked.insert(node.id); [INFO] [stdout] 387 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compare.rs:363:44 [INFO] [stdout] | [INFO] [stdout] 363 | ... if let Err(e) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 364 | | ... obtained[ix].close_enough(&reference[ix], true) [INFO] [stdout] | |___________________________----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compare.rs:376:41 [INFO] [stdout] | [INFO] [stdout] 376 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 363 ~ match obtained[ix].close_enough(&reference[ix], true) [INFO] [stdout] 364 ~ { Err(e) => { [INFO] [stdout] 365 | error = Some("Mismatch value".to_string()); [INFO] [stdout] ... [INFO] [stdout] 374 | tags.sections.push(msg); [INFO] [stdout] 375 ~ } _ => { [INFO] [stdout] 376 | debug!( [INFO] [stdout] ... [INFO] [stdout] 380 | ) [INFO] [stdout] 381 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(node_id) = model.node_id_by_name(&gnode.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match model.node_id_by_name(&gnode.name) { Ok(node_id) => { [INFO] [stdout] 42 | let mut v = vec![]; [INFO] [stdout] ... [INFO] [stdout] 54 | annotations.node_mut(node_id.into()).sections.push(v); [INFO] [stdout] 55 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(id) = model [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 81 | || .node_id_by_name(&gnode.name) [INFO] [stdout] | ||_________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 82 | | .ok() [INFO] [stdout] 83 | | .or_else(|| gnode.output.first().and_then(|n| model.node_id_by_name(n).ok())) [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 80 ~ match model [INFO] [stdout] 81 | .node_id_by_name(&gnode.name) [INFO] [stdout] 82 | .ok() [INFO] [stdout] 83 | .or_else(|| gnode.output.first().and_then(|n| model.node_id_by_name(n).ok())) [INFO] [stdout] 84 ~ { Some(id) => { [INFO] [stdout] 85 | let mut v = vec![]; [INFO] [stdout] ... [INFO] [stdout] 94 | annotations.node_mut(id.into()).sections.push(v); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 168 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 172 | .context("Writing model to tgz")?; [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | bail!("Only typed model can be dumped") [INFO] [stdout] 175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 181 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 184 | .context("Writing model to tar")?; [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | bail!("Only typed model can be dumped") [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 193 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 204 | nnef.write_to_dir(&typed, path)? [INFO] [stdout] 205 ~ } _ => { [INFO] [stdout] 206 | bail!("Only typed model can be dumped") [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 213 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] ... [INFO] [stdout] 221 | } [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | bail!("Only typed model can be dumped") [INFO] [stdout] 224 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dump.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | if let Some(mut typed) = model.downcast_ref::().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dump.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 230 ~ match model.downcast_ref::().cloned() { Some(mut typed) => { [INFO] [stdout] 231 | rename_outputs(&mut typed, sub_matches)?; [INFO] [stdout] 232 | let file = fs::File::create(path)?; [INFO] [stdout] 233 | tflite.write(&typed, file).context("Writing model to tflite")?; [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | bail!("Only typed model can be dumped") [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(pwd) = std::env::current_exe() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match std::env::current_exe() { Ok(pwd) => { [INFO] [stdout] 90 | let absolute = pwd.parent().unwrap().join(&path); [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:235:38 [INFO] [stdout] | [INFO] [stdout] 235 | let inv = if let RValue::Invocation(inv) = &mut ass.right { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 235 ~ let inv = match &mut ass.right { RValue::Invocation(inv) => { [INFO] [stdout] 236 | inv [INFO] [stdout] 237 ~ } _ => { [INFO] [stdout] 238 | unreachable!(); [INFO] [stdout] 239 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 677 | / stage!("analyse", inference_model -> inference_model, [INFO] [stdout] 678 | | |mut m:InferenceModel| -> TractResult<_> { [INFO] [stdout] 679 | | m.analyse(!matches.is_present("analyse-fail-fast")).map_err(|e| [INFO] [stdout] 680 | | ModelBuildingError(Box::new(m.clone()), e.into()) [INFO] [stdout] ... | [INFO] [stdout] 685 | | Ok(m) [INFO] [stdout] 686 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 689 | stage!("tf-preproc", inference_model -> inference_model, |m:InferenceModel| ext.preproc(m)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 691 | stage!("incorporate", inference_model -> inference_model, |m:InferenceModel| m.incorporate()); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 692 | stage!("type", inference_model -> typed_model, |m:InferenceModel| { let mut m = m.into_typed()?; m.compact()?; Ok(m) }); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 693 | / stage!("declutter", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 694 | | if matches.is_present("label-wires") { [INFO] [stdout] 695 | | for node in 0..m.nodes().len() { [INFO] [stdout] 696 | | if m.outlet_label(node.into()).is_none() { [INFO] [stdout] ... | [INFO] [stdout] 706 | | Ok(m) [INFO] [stdout] 707 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] | ^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:722:21 [INFO] [stdout] | [INFO] [stdout] 722 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 720 ~ } else { match parse_tdim(&m.symbols, spec) { Ok(i) => { [INFO] [stdout] 721 | ("S".to_owned(), i) [INFO] [stdout] 722 ~ } _ => { [INFO] [stdout] 723 | bail!("Can not parse pulse specification {}", spec) [INFO] [stdout] 724 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 717 | / stage!("pulse", typed_model -> pulsed_model, |m:TypedModel| { [INFO] [stdout] 718 | | let (sym, pulse) = if let Ok((s,p)) = scan_fmt!(spec, "{}={}", String, String) { [INFO] [stdout] 719 | | (s, parse_tdim(&m.symbols, &p)?) [INFO] [stdout] 720 | | } else if let Ok(i) = parse_tdim(&m.symbols, spec) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | PulsedModel::new(&m, sym, &pulse) [INFO] [stdout] 727 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 728 | stage!("pulse-to-type", pulsed_model -> typed_model, |m:PulsedModel| m.into_typed()); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 729 | stage!("pulse-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 733 | / stage!("f32-to-f16", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 734 | | use tract_core::model::translator::Translate; [INFO] [stdout] 735 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 736 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 739 | / stage!("f16-to-f32", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 740 | | use tract_core::model::translator::Translate; [INFO] [stdout] 741 | | tract_core::floats::FloatPrecisionTranslator::::default().translate_model(&m) [INFO] [stdout] 742 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 746 | / stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform nam... [INFO] [stdout] 748 | | transform.transform_into(&m) [INFO] [stdout] 749 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 746 | / ... stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | ... let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform named {}", tr... [INFO] [stdout] 748 | | ... transform.transform_into(&m) [INFO] [stdout] 749 | | ... }); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 746 | / stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform nam... [INFO] [stdout] 748 | | transform.transform_into(&m) [INFO] [stdout] 749 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 746 | / ... stage!(transform, typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 747 | | ... let transform = tract_core::transform::get_transform(transform).with_context(|| format!("Could not find transform named {}", tr... [INFO] [stdout] 748 | | ... transform.transform_into(&m) [INFO] [stdout] 749 | | ... }); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 750 | stage!(&format!("{}-declutter", transform), typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 765 | / stage!("set", typed_model -> typed_model, |mut m: TypedModel| { [INFO] [stdout] 766 | | for node in m.eval_order()? { [INFO] [stdout] 767 | | let node = m.node_mut(node); [INFO] [stdout] 768 | | if let Some(op) = node.op_as_mut::() { [INFO] [stdout] ... | [INFO] [stdout] 783 | | m.concretize_dims(&values) [INFO] [stdout] 784 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 785 | / stage!("set-declutter", typed_model -> typed_model, |mut m| { [INFO] [stdout] 786 | | let mut dec = tract_core::optim::Optimizer::declutter(); [INFO] [stdout] 787 | | if let Some(steps) = matches.value_of("declutter-set-step") { [INFO] [stdout] 788 | | dec = dec.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 791 | | Ok(m) [INFO] [stdout] 792 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 795 | / stage!("nnef-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 796 | | let nnef = super::nnef(matches); [INFO] [stdout] 797 | | let mut vec = vec!(); [INFO] [stdout] 798 | | nnef.write(&m, &mut vec).context("Serializing to nnef")?; [INFO] [stdout] 799 | | info!("Dumped, now reloading..."); [INFO] [stdout] 800 | | nnef.model_for_read(&mut &*vec).context("Deserializing from nnef intermediary") [INFO] [stdout] 801 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 802 | stage!("nnef-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 806 | / stage!("tflite-cycle-predump", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 807 | | tract_tflite::rewriter::rewrite_for_tflite(&mut m)?; [INFO] [stdout] 808 | | Ok(m) [INFO] [stdout] 809 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 810 | / stage!("tflite-cycle", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 811 | | let tflite = tract_tflite::tflite(); [INFO] [stdout] 812 | | let mut vec = vec!(); [INFO] [stdout] 813 | | tflite.write(&m, &mut vec).context("Serializing to tflite")?; [INFO] [stdout] 814 | | info!("Dumped, now reloading..."); [INFO] [stdout] 815 | | tflite.model_for_read(&mut &*vec).context("Deserializing from tflite intermediary") [INFO] [stdout] 816 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 817 | stage!("tflite-declutter", typed_model -> typed_model, |m:TypedModel| m.into_decluttered()); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 824 | / stage!("extract", typed_model -> typed_model, |m:TypedModel| { [INFO] [stdout] 825 | | let node = m.node_id_by_name(sub)?; [INFO] [stdout] 826 | | Ok(m.nested_models(node)[0].1.downcast_ref::().unwrap().clone()) [INFO] [stdout] 827 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 829 | stage!("before-optimize", typed_model -> typed_model, Ok); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(from) = $from.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | } else if let Some(last_model) = last_model.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 652 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 830 | / stage!("optimize", typed_model -> typed_model, |mut m:TypedModel| { [INFO] [stdout] 831 | | let mut opt = tract_core::optim::Optimizer::codegen(); [INFO] [stdout] 832 | | if let Some(steps) = matches.value_of("optimize-step") { [INFO] [stdout] 833 | | opt = opt.stopping_at(steps.parse()?); [INFO] [stdout] ... | [INFO] [stdout] 836 | | Ok(m) [INFO] [stdout] 837 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:909:20 [INFO] [stdout] | [INFO] [stdout] 909 | if let Some(inf) = raw_model.downcast_mut::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 910 | inf.set_outlet_fact(OutletId::new(node, 0), fact)?; [INFO] [stdout] 911 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:911:17 [INFO] [stdout] | [INFO] [stdout] 911 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 909 ~ match raw_model.downcast_mut::() { Some(inf) => { [INFO] [stdout] 910 | inf.set_outlet_fact(OutletId::new(node, 0), fact)?; [INFO] [stdout] 911 ~ } _ => { match raw_model.downcast_mut::() { Some(typ) => { [INFO] [stdout] 912 | typ.set_outlet_fact(OutletId::new(node, 0), (&fact).try_into()?)?; [INFO] [stdout] 913 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | if let Some(value) = tensors_values [INFO] [stdout] | ^ -------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________________| [INFO] [stdout] | | [INFO] [stdout] 920 | | .by_name(konst) [INFO] [stdout] 921 | | .and_then(|tv| tv.values.as_ref()) [INFO] [stdout] 922 | | .and_then(|v| v.first()) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:942:17 [INFO] [stdout] | [INFO] [stdout] 942 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 919 ~ match tensors_values [INFO] [stdout] 920 | .by_name(konst) [INFO] [stdout] 921 | .and_then(|tv| tv.values.as_ref()) [INFO] [stdout] 922 | .and_then(|v| v.first()) [INFO] [stdout] 923 ~ { Some(value) => { [INFO] [stdout] 924 | let value = value.clone().into_arc_tensor(); [INFO] [stdout] ... [INFO] [stdout] 941 | } [INFO] [stdout] 942 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:933:24 [INFO] [stdout] | [INFO] [stdout] 933 | if let Some(inf) = raw_model.downcast_mut::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 937 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:937:21 [INFO] [stdout] | [INFO] [stdout] 937 | } else if let Some(typ) = raw_model.downcast_mut::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:941:21 [INFO] [stdout] | [INFO] [stdout] 941 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 933 ~ match raw_model.downcast_mut::() { Some(inf) => { [INFO] [stdout] 934 | inf.inputs.retain(|i| i.node != id); [INFO] [stdout] 935 | inf.nodes[id].op = op; [INFO] [stdout] 936 | inf.nodes[id].outputs[0].fact = Default::default(); [INFO] [stdout] 937 ~ } _ => { match raw_model.downcast_mut::() { Some(typ) => { [INFO] [stdout] 938 | typ.inputs.retain(|i| i.node != id); [INFO] [stdout] 939 | typ.nodes[id].op = op; [INFO] [stdout] 940 | typ.nodes[id].outputs[0].fact = TypedFact::from(value.clone()); [INFO] [stdout] 941 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/macros.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(m) = $model.downcast_mut::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/params.rs:971:42 [INFO] [stdout] | [INFO] [stdout] 971 | dispatch_model_mut_no_pulse!(raw_model, |m| Self::edge_context(m, left, right))?; [INFO] [stdout] | ------------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | } else if let Some(m) = $model.downcast_mut::() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/params.rs:971:13 [INFO] [stdout] | [INFO] [stdout] 971 | dispatch_model_mut_no_pulse!(raw_model, |m| Self::edge_context(m, left, right))?; [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/macros.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/params.rs:971:13 [INFO] [stdout] | [INFO] [stdout] 971 | dispatch_model_mut_no_pulse!(raw_model, |m| Self::edge_context(m, left, right))?; [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `dispatch_model_mut_no_pulse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:980:24 [INFO] [stdout] | [INFO] [stdout] 980 | if let Some(fact) = &tv.fact { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:982:21 [INFO] [stdout] | [INFO] [stdout] 982 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 980 ~ match &tv.fact { Some(fact) => { [INFO] [stdout] 981 | infer.nodes[node_id.node].outputs[0].fact = fact.clone(); [INFO] [stdout] 982 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/params.rs:988:16 [INFO] [stdout] | [INFO] [stdout] 988 | if let Some(m) = raw_model.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 989 | raw_model = Box::new(m.clone().into_compact()?); [INFO] [stdout] 990 | } else if let Some(m) = raw_model.downcast_ref::() { [INFO] [stdout] | --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | } else if let Some(m) = raw_model.downcast_ref::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/params.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 988 ~ match raw_model.downcast_ref::() { Some(m) => { [INFO] [stdout] 989 | raw_model = Box::new(m.clone().into_compact()?); [INFO] [stdout] 990 ~ } _ => { match raw_model.downcast_ref::() { Some(m) => { [INFO] [stdout] 991 | raw_model = Box::new(m.clone().into_compact()?); [INFO] [stdout] 992 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | ... if let Ok(f32s) = o.as_slice::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match o.as_slice::() { Ok(f32s) => { [INFO] [stdout] 216 | if f32s.iter().any(|f| f.abs() > f16::MAX.to_f32()) { [INFO] [stdout] 217 | warn!("{node}, output {ix} overflows f16"); [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(floats) = o.as_slice::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 232 | ... } else if let Ok(floats) = o.as_slice::() { [INFO] [stdout] | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | ... } else if let Ok(floats) = o.as_slice::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 227 ~ match o.as_slice::() { Ok(floats) => { [INFO] [stdout] 228 | if let Some(pos) = floats.iter().position(|f| !f.is_finite()) { [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] 232 ~ } _ => { match o.as_slice::() { Ok(floats) => { [INFO] [stdout] 233 | if let Some(pos) = floats.iter().position(|f| !f.is_finite()) { [INFO] [stdout] ... [INFO] [stdout] 236 | } [INFO] [stdout] 237 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let name = if let Some(label) = params.tract_model.outlet_label(*output) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 11 ~ let name = match params.tract_model.outlet_label(*output) { Some(label) => { [INFO] [stdout] 12 | label [INFO] [stdout] 13 ~ } _ => { [INFO] [stdout] 14 | params.tract_model.node_name(output.node) [INFO] [stdout] 15 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Err(e) = exp.close_enough(&got, true).context(format!("Checking output {ix}")) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match exp.close_enough(&got, true).context(format!("Checking output {ix}")) { Err(e) => { [INFO] [stdout] 49 | if error.is_some() { [INFO] [stdout] ... [INFO] [stdout] 53 | } [INFO] [stdout] 54 ~ } _ => { [INFO] [stdout] 55 | info!("Checked output #{}, ok.", ix); [INFO] [stdout] 56 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(e) = error { [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match error { Some(e) => { [INFO] [stdout] 60 | Err(e) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | Ok(()) [INFO] [stdout] 63 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.92s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking tract v0.21.6 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | ::std::env::set_var("TRACT_LOG", level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | ::std::env::set_var("TRACT_LOG", level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tract` (bin "tract" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tract` (bin "tract") due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "05966adfd03ebff29e41fd5f9141ea44831d213dccfb81f091618050a4116d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05966adfd03ebff29e41fd5f9141ea44831d213dccfb81f091618050a4116d37", kill_on_drop: false }` [INFO] [stdout] 05966adfd03ebff29e41fd5f9141ea44831d213dccfb81f091618050a4116d37