[INFO] fetching crate stonnx 0.1.3... [INFO] checking stonnx-0.1.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate stonnx 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate stonnx 0.1.3 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 stonnx 0.1.3 [INFO] finished tweaking crates.io crate stonnx 0.1.3 [INFO] tweaked toml for crates.io crate stonnx 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate stonnx 0.1.3 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5867c720dd009473a6ca516292a847cc9e2fb7d34ce2a2d8148efcf9fb25648 [INFO] running `Command { std: "docker" "start" "-a" "b5867c720dd009473a6ca516292a847cc9e2fb7d34ce2a2d8148efcf9fb25648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5867c720dd009473a6ca516292a847cc9e2fb7d34ce2a2d8148efcf9fb25648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5867c720dd009473a6ca516292a847cc9e2fb7d34ce2a2d8148efcf9fb25648", kill_on_drop: false }` [INFO] [stdout] b5867c720dd009473a6ca516292a847cc9e2fb7d34ce2a2d8148efcf9fb25648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] dede4bfcceccf5ee9812179ecb3adc65504f660f4111e68f17ed39b75cff71f5 [INFO] running `Command { std: "docker" "start" "-a" "dede4bfcceccf5ee9812179ecb3adc65504f660f4111e68f17ed39b75cff71f5", 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] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling curl-sys v0.4.70+curl-8.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tempfile v3.7.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling protoc-bin-vendored v3.0.0 [INFO] [stderr] Compiling protobuf-support v3.2.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking serde v1.0.192 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling protobuf-parse v3.2.0 [INFO] [stderr] Checking ndarray-npy v0.8.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking ndarray-ndimage v0.4.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling protobuf-codegen v3.2.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling zip-extensions v0.6.2 [INFO] [stderr] Compiling stonnx v0.1.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `stonnx_api` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs [INFO] [stderr] * src/common/mod.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/utils/mod.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/common/mod.rs:222:6 [INFO] [stderr] | [INFO] [stderr] 222 | ($level:expr_2021, $($arg:tt)*) => { [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/utils/mod.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | ($op:ident, $var:ident, $name: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] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 64 | ) -> *mut onnx::ModelProto { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 65 | let model_path = unsafe { std::ffi::CStr::from_ptr(model_path) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 122 | pub unsafe extern "C" fn get_opset_version(model: *const onnx::ModelProto) -> i64 { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 127 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:211:22 [INFO] [stderr] | [INFO] [stderr] 210 | ) -> bool { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 211 | let model_path = unsafe { std::ffi::CStr::from_ptr(model_path) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 4 warnings emitted [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/operators/dropout.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 95 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 112 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 189 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 252 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/common/mod.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | ($level:expr, $($arg:tt)*) => { [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] 222 | ($level:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/mod.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | ($op:ident, $var:ident, $name: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] 68 | ($op:ident, $var:ident, $name:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub unsafe extern "C" fn read_onnx_model( [INFO] [stdout] 63 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 64 | | ) -> *mut onnx::ModelProto { [INFO] [stdout] | |__________________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | *LAST_ERROR = CString::new("NULL pointer passed to get_opset_version").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub unsafe extern "C" fn get_opset_version(model: *const onnx::ModelProto) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub unsafe extern "C" fn run_model( [INFO] [stdout] 206 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 207 | | verbosity: Verbosity, [INFO] [stdout] 208 | | graph_format: GraphFormat, [INFO] [stdout] 209 | | failfast: ExecutionMode, [INFO] [stdout] 210 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | if LAST_ERROR.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | pub unsafe extern "C" fn last_error() -> *const std::os::raw::c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | LAST_ERROR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(v) = (*model).opset_import.first() { [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/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } 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] 128 ~ match (*model).opset_import.first() { Some(v) => { [INFO] [stdout] 129 | if let Some(v) = v.version { [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] 134 ~ } _ => { [INFO] [stdout] 135 | MAX_OPSET_VERSION [INFO] [stdout] 136 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/mod.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let v = if let (r, Some(l)) = r { [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/common/mod.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | } 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] 328 ~ let v = match r { (r, Some(l)) => { [INFO] [stdout] 329 | vec![r, l] [INFO] [stdout] 330 ~ } _ => { [INFO] [stdout] 331 | vec![r.0] [INFO] [stdout] 332 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(k) = node_inputs.get(input) { [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/executor/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ match node_inputs.get(input) { Some(k) => { [INFO] [stdout] 52 | inputs.push(k.clone()); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | all_nodes_have_init = false; [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some((namestring, gout)) = graph_outputs.remove_entry(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/executor/mod.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } [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 graph_outputs.remove_entry(name) { Some((namestring, gout)) => { [INFO] [stdout] 213 | if let Some(data) = &gout.data { [INFO] [stdout] ... [INFO] [stdout] 275 | results.insert(namestring, gout); [INFO] [stdout] 276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | let opset_version = if let Some(v) = model.opset_import.first() { [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/executor/mod.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | } 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] 328 ~ let opset_version = match model.opset_import.first() { Some(v) => { [INFO] [stdout] 329 | if let Some(v) = v.version { [INFO] [stdout] ... [INFO] [stdout] 333 | } [INFO] [stdout] 334 ~ } _ => { [INFO] [stdout] 335 | MAX_OPSET_VERSION [INFO] [stdout] 336 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(onnx::type_proto::Value::TensorType(_)) = vi.type_.value { [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/executor/mod.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | } 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] 364 ~ match vi.type_.value { Some(onnx::type_proto::Value::TensorType(_)) => { [INFO] [stdout] 365 | // If the type is Tensor, then we are fine because that's implemented [INFO] [stdout] 366 ~ } _ => { [INFO] [stdout] 367 | unimplemented!("ValueInfoProto type {:?}", vi.type_) [INFO] [stdout] 368 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 420 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 427 | } [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:451:28 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 451 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 452 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 459 | } [INFO] [stdout] 460 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:397:15 [INFO] [stdout] | [INFO] [stdout] 397 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:929:15 [INFO] [stdout] | [INFO] [stdout] 929 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:944:9 [INFO] [stdout] | [INFO] [stdout] 944 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1260:15 [INFO] [stdout] | [INFO] [stdout] 1260 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1470:15 [INFO] [stdout] | [INFO] [stdout] 1470 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1881:15 [INFO] [stdout] | [INFO] [stdout] 1881 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1920:9 [INFO] [stdout] | [INFO] [stdout] 1920 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2197:15 [INFO] [stdout] | [INFO] [stdout] 2197 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2209:9 [INFO] [stdout] | [INFO] [stdout] 2209 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2373:15 [INFO] [stdout] | [INFO] [stdout] 2373 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2385:9 [INFO] [stdout] | [INFO] [stdout] 2385 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2635:15 [INFO] [stdout] | [INFO] [stdout] 2635 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2668:9 [INFO] [stdout] | [INFO] [stdout] 2668 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3092:15 [INFO] [stdout] | [INFO] [stdout] 3092 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3158:9 [INFO] [stdout] | [INFO] [stdout] 3158 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3736:15 [INFO] [stdout] | [INFO] [stdout] 3736 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3754:9 [INFO] [stdout] | [INFO] [stdout] 3754 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3885:15 [INFO] [stdout] | [INFO] [stdout] 3885 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3894:9 [INFO] [stdout] | [INFO] [stdout] 3894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4322:12 [INFO] [stdout] | [INFO] [stdout] 4322 | if let ::std::option::Option::Some(type_proto::Value::TensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4323:9 [INFO] [stdout] | [INFO] [stdout] 4323 | } 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] 4322 ~ match self.value { ::std::option::Option::Some(type_proto::Value::TensorType(_)) => { [INFO] [stdout] 4323 ~ } _ => { [INFO] [stdout] 4324 | self.value = ::std::option::Option::Some(type_proto::Value::TensorType(type_proto::Tensor::new())); [INFO] [stdout] 4325 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4371:12 [INFO] [stdout] | [INFO] [stdout] 4371 | if let ::std::option::Option::Some(type_proto::Value::SequenceType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4372:9 [INFO] [stdout] | [INFO] [stdout] 4372 | } 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] 4371 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SequenceType(_)) => { [INFO] [stdout] 4372 ~ } _ => { [INFO] [stdout] 4373 | self.value = ::std::option::Option::Some(type_proto::Value::SequenceType(type_proto::Sequence::new())); [INFO] [stdout] 4374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4420:12 [INFO] [stdout] | [INFO] [stdout] 4420 | if let ::std::option::Option::Some(type_proto::Value::MapType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4421:9 [INFO] [stdout] | [INFO] [stdout] 4421 | } 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] 4420 ~ match self.value { ::std::option::Option::Some(type_proto::Value::MapType(_)) => { [INFO] [stdout] 4421 ~ } _ => { [INFO] [stdout] 4422 | self.value = ::std::option::Option::Some(type_proto::Value::MapType(type_proto::Map::new())); [INFO] [stdout] 4423 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4469:12 [INFO] [stdout] | [INFO] [stdout] 4469 | if let ::std::option::Option::Some(type_proto::Value::OptionalType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4470:9 [INFO] [stdout] | [INFO] [stdout] 4470 | } 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] 4469 ~ match self.value { ::std::option::Option::Some(type_proto::Value::OptionalType(_)) => { [INFO] [stdout] 4470 ~ } _ => { [INFO] [stdout] 4471 | self.value = ::std::option::Option::Some(type_proto::Value::OptionalType(type_proto::Optional::new())); [INFO] [stdout] 4472 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4518:12 [INFO] [stdout] | [INFO] [stdout] 4518 | if let ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4519:9 [INFO] [stdout] | [INFO] [stdout] 4519 | } 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] 4518 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) => { [INFO] [stdout] 4519 ~ } _ => { [INFO] [stdout] 4520 | self.value = ::std::option::Option::Some(type_proto::Value::SparseTensorType(type_proto::SparseTensor::new())); [INFO] [stdout] 4521 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4636:15 [INFO] [stdout] | [INFO] [stdout] 4636 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4660:9 [INFO] [stdout] | [INFO] [stdout] 4660 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5645:15 [INFO] [stdout] | [INFO] [stdout] 5645 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5657:9 [INFO] [stdout] | [INFO] [stdout] 5657 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5942:15 [INFO] [stdout] | [INFO] [stdout] 5942 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5975:9 [INFO] [stdout] | [INFO] [stdout] 5975 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3404:19 [INFO] [stdout] | [INFO] [stdout] 3404 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3416:13 [INFO] [stdout] | [INFO] [stdout] 3416 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4135:19 [INFO] [stdout] | [INFO] [stdout] 4135 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4150:13 [INFO] [stdout] | [INFO] [stdout] 4150 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4882:19 [INFO] [stdout] | [INFO] [stdout] 4882 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4894:13 [INFO] [stdout] | [INFO] [stdout] 4894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5016:19 [INFO] [stdout] | [INFO] [stdout] 5016 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5025:13 [INFO] [stdout] | [INFO] [stdout] 5025 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5165:19 [INFO] [stdout] | [INFO] [stdout] 5165 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5177:13 [INFO] [stdout] | [INFO] [stdout] 5177 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5299:19 [INFO] [stdout] | [INFO] [stdout] 5299 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5308:13 [INFO] [stdout] | [INFO] [stdout] 5308 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5448:19 [INFO] [stdout] | [INFO] [stdout] 5448 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5460:13 [INFO] [stdout] | [INFO] [stdout] 5460 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/conv.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(b) = b { [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/operators/conv.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 315 ~ match b { Some(b) => { [INFO] [stdout] 316 | if b.len() == 1 { [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | Ok(mul) [INFO] [stdout] 329 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 53 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 54 | a = mean_axis; [INFO] [stdout] 55 | reduced_dims.push(axis); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 58 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | } 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] 99 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 100 | a = mean_axis; [INFO] [stdout] 101 | reduced_dims.push(axis); [INFO] [stdout] 102 ~ } _ => { [INFO] [stdout] 103 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/split.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let split = if let Some(split) = split { [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/operators/split.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | } else if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ let split = match split { Some(split) => { [INFO] [stdout] 78 | split [INFO] [stdout] 79 ~ } _ => if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] 80 | let div = mat.shape()[axis] / n_outputs; [INFO] [stdout] ... [INFO] [stdout] 93 | ret [INFO] [stdout] 94 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(onnx::type_proto::Value::TensorType(tensor)) = &proto.type_.value { [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/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } 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] 120 ~ match &proto.type_.value { Some(onnx::type_proto::Value::TensorType(tensor)) => { [INFO] [stdout] 121 | let dt = onnx::tensor_proto::DataType::from_i32(tensor.elem_type.unwrap_or_default()) [INFO] [stdout] ... [INFO] [stdout] 136 | }) [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | todo!("ValueInfoProto type not supported: {:?}", proto.type_) [INFO] [stdout] 139 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:739:12 [INFO] [stdout] | [INFO] [stdout] 739 | if let Some(input_from_file) = external_inputs_map.get(input_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] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_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] | [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/mod.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | } 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] 739 ~ match external_inputs_map.get(input_name) { Some(input_from_file) => { [INFO] [stdout] 740 | let tensor = make_tensor_from_proto(input_from_file)?; [INFO] [stdout] ... [INFO] [stdout] 748 | map.insert(input_name.to_string(), Arc::new(tensor)); [INFO] [stdout] 749 ~ } _ => { match initializers.remove_entry(input_name) { Some((_, init)) => { [INFO] [stdout] 750 | print_at_level!( [INFO] [stdout] ... [INFO] [stdout] 757 | map.insert(input_name.to_string(), Arc::new(init)); [INFO] [stdout] 758 ~ } _ => { [INFO] [stdout] 759 | return Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 762 | )); [INFO] [stdout] 763 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:790:12 [INFO] [stdout] | [INFO] [stdout] 790 | if let Some(output_from_file) = external_outputs_map.get(output_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/utils/mod.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | } 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] 790 ~ match external_outputs_map.get(output_name) { Some(output_from_file) => { [INFO] [stdout] 791 | map.insert( [INFO] [stdout] ... [INFO] [stdout] 794 | ); [INFO] [stdout] 795 ~ } _ => { [INFO] [stdout] 796 | return Err(anyhow!("Output {} not found in inputs file", output_name)); [INFO] [stdout] 797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `stonnx_api` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs [INFO] [stderr] * src/common/mod.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/utils/mod.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/common/mod.rs:222:6 [INFO] [stderr] | [INFO] [stderr] 222 | ($level:expr_2021, $($arg:tt)*) => { [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/utils/mod.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | ($op:ident, $var:ident, $name: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] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 64 | ) -> *mut onnx::ModelProto { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 65 | let model_path = unsafe { std::ffi::CStr::from_ptr(model_path) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 122 | pub unsafe extern "C" fn get_opset_version(model: *const onnx::ModelProto) -> i64 { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 127 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:211:22 [INFO] [stderr] | [INFO] [stderr] 210 | ) -> bool { unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] 211 | let model_path = unsafe { std::ffi::CStr::from_ptr(model_path) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 4 warnings emitted [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/operators/dropout.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 95 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 112 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 189 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 252 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/common/mod.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | ($level:expr, $($arg:tt)*) => { [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] 222 | ($level:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/mod.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | ($op:ident, $var:ident, $name: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] 68 | ($op:ident, $var:ident, $name:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub unsafe extern "C" fn read_onnx_model( [INFO] [stdout] 63 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 64 | | ) -> *mut onnx::ModelProto { [INFO] [stdout] | |__________________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | *LAST_ERROR = CString::new("NULL pointer passed to get_opset_version").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub unsafe extern "C" fn get_opset_version(model: *const onnx::ModelProto) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub unsafe extern "C" fn run_model( [INFO] [stdout] 206 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 207 | | verbosity: Verbosity, [INFO] [stdout] 208 | | graph_format: GraphFormat, [INFO] [stdout] 209 | | failfast: ExecutionMode, [INFO] [stdout] 210 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | if LAST_ERROR.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | pub unsafe extern "C" fn last_error() -> *const std::os::raw::c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | LAST_ERROR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(v) = (*model).opset_import.first() { [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/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } 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] 128 ~ match (*model).opset_import.first() { Some(v) => { [INFO] [stdout] 129 | if let Some(v) = v.version { [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] 134 ~ } _ => { [INFO] [stdout] 135 | MAX_OPSET_VERSION [INFO] [stdout] 136 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/mod.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let v = if let (r, Some(l)) = r { [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/common/mod.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | } 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] 328 ~ let v = match r { (r, Some(l)) => { [INFO] [stdout] 329 | vec![r, l] [INFO] [stdout] 330 ~ } _ => { [INFO] [stdout] 331 | vec![r.0] [INFO] [stdout] 332 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(k) = node_inputs.get(input) { [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/executor/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ match node_inputs.get(input) { Some(k) => { [INFO] [stdout] 52 | inputs.push(k.clone()); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | all_nodes_have_init = false; [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some((namestring, gout)) = graph_outputs.remove_entry(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/executor/mod.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } [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 graph_outputs.remove_entry(name) { Some((namestring, gout)) => { [INFO] [stdout] 213 | if let Some(data) = &gout.data { [INFO] [stdout] ... [INFO] [stdout] 275 | results.insert(namestring, gout); [INFO] [stdout] 276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | let opset_version = if let Some(v) = model.opset_import.first() { [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/executor/mod.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | } 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] 328 ~ let opset_version = match model.opset_import.first() { Some(v) => { [INFO] [stdout] 329 | if let Some(v) = v.version { [INFO] [stdout] ... [INFO] [stdout] 333 | } [INFO] [stdout] 334 ~ } _ => { [INFO] [stdout] 335 | MAX_OPSET_VERSION [INFO] [stdout] 336 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(onnx::type_proto::Value::TensorType(_)) = vi.type_.value { [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/executor/mod.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | } 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] 364 ~ match vi.type_.value { Some(onnx::type_proto::Value::TensorType(_)) => { [INFO] [stdout] 365 | // If the type is Tensor, then we are fine because that's implemented [INFO] [stdout] 366 ~ } _ => { [INFO] [stdout] 367 | unimplemented!("ValueInfoProto type {:?}", vi.type_) [INFO] [stdout] 368 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 420 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 427 | } [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:451:28 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 451 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 452 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 459 | } [INFO] [stdout] 460 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:397:15 [INFO] [stdout] | [INFO] [stdout] 397 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:929:15 [INFO] [stdout] | [INFO] [stdout] 929 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:944:9 [INFO] [stdout] | [INFO] [stdout] 944 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1260:15 [INFO] [stdout] | [INFO] [stdout] 1260 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1470:15 [INFO] [stdout] | [INFO] [stdout] 1470 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1881:15 [INFO] [stdout] | [INFO] [stdout] 1881 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1920:9 [INFO] [stdout] | [INFO] [stdout] 1920 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2197:15 [INFO] [stdout] | [INFO] [stdout] 2197 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2209:9 [INFO] [stdout] | [INFO] [stdout] 2209 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2373:15 [INFO] [stdout] | [INFO] [stdout] 2373 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2385:9 [INFO] [stdout] | [INFO] [stdout] 2385 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2635:15 [INFO] [stdout] | [INFO] [stdout] 2635 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2668:9 [INFO] [stdout] | [INFO] [stdout] 2668 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3092:15 [INFO] [stdout] | [INFO] [stdout] 3092 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3158:9 [INFO] [stdout] | [INFO] [stdout] 3158 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3736:15 [INFO] [stdout] | [INFO] [stdout] 3736 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3754:9 [INFO] [stdout] | [INFO] [stdout] 3754 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3885:15 [INFO] [stdout] | [INFO] [stdout] 3885 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3894:9 [INFO] [stdout] | [INFO] [stdout] 3894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4322:12 [INFO] [stdout] | [INFO] [stdout] 4322 | if let ::std::option::Option::Some(type_proto::Value::TensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4323:9 [INFO] [stdout] | [INFO] [stdout] 4323 | } 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] 4322 ~ match self.value { ::std::option::Option::Some(type_proto::Value::TensorType(_)) => { [INFO] [stdout] 4323 ~ } _ => { [INFO] [stdout] 4324 | self.value = ::std::option::Option::Some(type_proto::Value::TensorType(type_proto::Tensor::new())); [INFO] [stdout] 4325 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4371:12 [INFO] [stdout] | [INFO] [stdout] 4371 | if let ::std::option::Option::Some(type_proto::Value::SequenceType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4372:9 [INFO] [stdout] | [INFO] [stdout] 4372 | } 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] 4371 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SequenceType(_)) => { [INFO] [stdout] 4372 ~ } _ => { [INFO] [stdout] 4373 | self.value = ::std::option::Option::Some(type_proto::Value::SequenceType(type_proto::Sequence::new())); [INFO] [stdout] 4374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4420:12 [INFO] [stdout] | [INFO] [stdout] 4420 | if let ::std::option::Option::Some(type_proto::Value::MapType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4421:9 [INFO] [stdout] | [INFO] [stdout] 4421 | } 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] 4420 ~ match self.value { ::std::option::Option::Some(type_proto::Value::MapType(_)) => { [INFO] [stdout] 4421 ~ } _ => { [INFO] [stdout] 4422 | self.value = ::std::option::Option::Some(type_proto::Value::MapType(type_proto::Map::new())); [INFO] [stdout] 4423 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4469:12 [INFO] [stdout] | [INFO] [stdout] 4469 | if let ::std::option::Option::Some(type_proto::Value::OptionalType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4470:9 [INFO] [stdout] | [INFO] [stdout] 4470 | } 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] 4469 ~ match self.value { ::std::option::Option::Some(type_proto::Value::OptionalType(_)) => { [INFO] [stdout] 4470 ~ } _ => { [INFO] [stdout] 4471 | self.value = ::std::option::Option::Some(type_proto::Value::OptionalType(type_proto::Optional::new())); [INFO] [stdout] 4472 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4518:12 [INFO] [stdout] | [INFO] [stdout] 4518 | if let ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4519:9 [INFO] [stdout] | [INFO] [stdout] 4519 | } 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] 4518 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) => { [INFO] [stdout] 4519 ~ } _ => { [INFO] [stdout] 4520 | self.value = ::std::option::Option::Some(type_proto::Value::SparseTensorType(type_proto::SparseTensor::new())); [INFO] [stdout] 4521 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4636:15 [INFO] [stdout] | [INFO] [stdout] 4636 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4660:9 [INFO] [stdout] | [INFO] [stdout] 4660 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5645:15 [INFO] [stdout] | [INFO] [stdout] 5645 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5657:9 [INFO] [stdout] | [INFO] [stdout] 5657 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5942:15 [INFO] [stdout] | [INFO] [stdout] 5942 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5975:9 [INFO] [stdout] | [INFO] [stdout] 5975 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3404:19 [INFO] [stdout] | [INFO] [stdout] 3404 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3416:13 [INFO] [stdout] | [INFO] [stdout] 3416 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4135:19 [INFO] [stdout] | [INFO] [stdout] 4135 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4150:13 [INFO] [stdout] | [INFO] [stdout] 4150 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4882:19 [INFO] [stdout] | [INFO] [stdout] 4882 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4894:13 [INFO] [stdout] | [INFO] [stdout] 4894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5016:19 [INFO] [stdout] | [INFO] [stdout] 5016 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5025:13 [INFO] [stdout] | [INFO] [stdout] 5025 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5165:19 [INFO] [stdout] | [INFO] [stdout] 5165 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5177:13 [INFO] [stdout] | [INFO] [stdout] 5177 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5299:19 [INFO] [stdout] | [INFO] [stdout] 5299 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5308:13 [INFO] [stdout] | [INFO] [stdout] 5308 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5448:19 [INFO] [stdout] | [INFO] [stdout] 5448 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5460:13 [INFO] [stdout] | [INFO] [stdout] 5460 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/conv.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(b) = b { [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/operators/conv.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 315 ~ match b { Some(b) => { [INFO] [stdout] 316 | if b.len() == 1 { [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | Ok(mul) [INFO] [stdout] 329 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 53 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 54 | a = mean_axis; [INFO] [stdout] 55 | reduced_dims.push(axis); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 58 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | } 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] 99 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 100 | a = mean_axis; [INFO] [stdout] 101 | reduced_dims.push(axis); [INFO] [stdout] 102 ~ } _ => { [INFO] [stdout] 103 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/split.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let split = if let Some(split) = split { [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/operators/split.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | } else if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ let split = match split { Some(split) => { [INFO] [stdout] 78 | split [INFO] [stdout] 79 ~ } _ => if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] 80 | let div = mat.shape()[axis] / n_outputs; [INFO] [stdout] ... [INFO] [stdout] 93 | ret [INFO] [stdout] 94 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(onnx::type_proto::Value::TensorType(tensor)) = &proto.type_.value { [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/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } 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] 120 ~ match &proto.type_.value { Some(onnx::type_proto::Value::TensorType(tensor)) => { [INFO] [stdout] 121 | let dt = onnx::tensor_proto::DataType::from_i32(tensor.elem_type.unwrap_or_default()) [INFO] [stdout] ... [INFO] [stdout] 136 | }) [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | todo!("ValueInfoProto type not supported: {:?}", proto.type_) [INFO] [stdout] 139 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:739:12 [INFO] [stdout] | [INFO] [stdout] 739 | if let Some(input_from_file) = external_inputs_map.get(input_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] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_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] | [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/mod.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | } 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] 739 ~ match external_inputs_map.get(input_name) { Some(input_from_file) => { [INFO] [stdout] 740 | let tensor = make_tensor_from_proto(input_from_file)?; [INFO] [stdout] ... [INFO] [stdout] 748 | map.insert(input_name.to_string(), Arc::new(tensor)); [INFO] [stdout] 749 ~ } _ => { match initializers.remove_entry(input_name) { Some((_, init)) => { [INFO] [stdout] 750 | print_at_level!( [INFO] [stdout] ... [INFO] [stdout] 757 | map.insert(input_name.to_string(), Arc::new(init)); [INFO] [stdout] 758 ~ } _ => { [INFO] [stdout] 759 | return Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 762 | )); [INFO] [stdout] 763 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:790:12 [INFO] [stdout] | [INFO] [stdout] 790 | if let Some(output_from_file) = external_outputs_map.get(output_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/utils/mod.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | } 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] 790 ~ match external_outputs_map.get(output_name) { Some(output_from_file) => { [INFO] [stdout] 791 | map.insert( [INFO] [stdout] ... [INFO] [stdout] 794 | ); [INFO] [stdout] 795 ~ } _ => { [INFO] [stdout] 796 | return Err(anyhow!("Output {} not found in inputs file", output_name)); [INFO] [stdout] 797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `stonnx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs [INFO] [stderr] * src/common/mod.rs [INFO] [stderr] * src/utils/mod.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/common/mod.rs:222:6 [INFO] [stderr] | [INFO] [stderr] 222 | ($level:expr_2021, $($arg:tt)*) => { [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/utils/mod.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | ($op:ident, $var:ident, $name: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] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/operators/dropout.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/common/mod.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | ($level:expr, $($arg:tt)*) => { [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] 222 | ($level:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/mod.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | ($op:ident, $var:ident, $name: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] 68 | ($op:ident, $var:ident, $name:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Args { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `min` is never used [INFO] [stdout] --> src/common/mod.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 534 | pub trait MinMax { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 538 | fn min(self, lhs: Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HalfFloat` is never constructed [INFO] [stdout] --> src/common/mod.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | pub struct HalfFloat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HalfFloat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_order` is never read [INFO] [stdout] --> src/operators/_commonpool.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CommonPoolAttrs { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub storage_order: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPoolAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_`, and `doc_string` are never read [INFO] [stdout] --> src/utils/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ValueInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 96 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub type_: (ValueType, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub doc_string: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `valueinfo` is never read [INFO] [stdout] --> src/utils/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct OutputInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 104 | pub valueinfo: ValueInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/mod.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let v = if let (r, Some(l)) = r { [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/common/mod.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | } 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] 328 ~ let v = match r { (r, Some(l)) => { [INFO] [stdout] 329 | vec![r, l] [INFO] [stdout] 330 ~ } _ => { [INFO] [stdout] 331 | vec![r.0] [INFO] [stdout] 332 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(k) = node_inputs.get(input) { [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/executor/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ match node_inputs.get(input) { Some(k) => { [INFO] [stdout] 52 | inputs.push(k.clone()); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | all_nodes_have_init = false; [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some((namestring, gout)) = graph_outputs.remove_entry(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/executor/mod.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } [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 graph_outputs.remove_entry(name) { Some((namestring, gout)) => { [INFO] [stdout] 213 | if let Some(data) = &gout.data { [INFO] [stdout] ... [INFO] [stdout] 275 | results.insert(namestring, gout); [INFO] [stdout] 276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | let opset_version = if let Some(v) = model.opset_import.first() { [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/executor/mod.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | } 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] 328 ~ let opset_version = match model.opset_import.first() { Some(v) => { [INFO] [stdout] 329 | if let Some(v) = v.version { [INFO] [stdout] ... [INFO] [stdout] 333 | } [INFO] [stdout] 334 ~ } _ => { [INFO] [stdout] 335 | MAX_OPSET_VERSION [INFO] [stdout] 336 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(onnx::type_proto::Value::TensorType(_)) = vi.type_.value { [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/executor/mod.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | } 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] 364 ~ match vi.type_.value { Some(onnx::type_proto::Value::TensorType(_)) => { [INFO] [stdout] 365 | // If the type is Tensor, then we are fine because that's implemented [INFO] [stdout] 366 ~ } _ => { [INFO] [stdout] 367 | unimplemented!("ValueInfoProto type {:?}", vi.type_) [INFO] [stdout] 368 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 420 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 427 | } [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:451:28 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 451 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 452 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 459 | } [INFO] [stdout] 460 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:397:15 [INFO] [stdout] | [INFO] [stdout] 397 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:929:15 [INFO] [stdout] | [INFO] [stdout] 929 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:944:9 [INFO] [stdout] | [INFO] [stdout] 944 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1260:15 [INFO] [stdout] | [INFO] [stdout] 1260 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1470:15 [INFO] [stdout] | [INFO] [stdout] 1470 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1881:15 [INFO] [stdout] | [INFO] [stdout] 1881 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1920:9 [INFO] [stdout] | [INFO] [stdout] 1920 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2197:15 [INFO] [stdout] | [INFO] [stdout] 2197 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2209:9 [INFO] [stdout] | [INFO] [stdout] 2209 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2373:15 [INFO] [stdout] | [INFO] [stdout] 2373 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2385:9 [INFO] [stdout] | [INFO] [stdout] 2385 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2635:15 [INFO] [stdout] | [INFO] [stdout] 2635 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2668:9 [INFO] [stdout] | [INFO] [stdout] 2668 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3092:15 [INFO] [stdout] | [INFO] [stdout] 3092 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3158:9 [INFO] [stdout] | [INFO] [stdout] 3158 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3736:15 [INFO] [stdout] | [INFO] [stdout] 3736 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3754:9 [INFO] [stdout] | [INFO] [stdout] 3754 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3885:15 [INFO] [stdout] | [INFO] [stdout] 3885 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3894:9 [INFO] [stdout] | [INFO] [stdout] 3894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4322:12 [INFO] [stdout] | [INFO] [stdout] 4322 | if let ::std::option::Option::Some(type_proto::Value::TensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4323:9 [INFO] [stdout] | [INFO] [stdout] 4323 | } 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] 4322 ~ match self.value { ::std::option::Option::Some(type_proto::Value::TensorType(_)) => { [INFO] [stdout] 4323 ~ } _ => { [INFO] [stdout] 4324 | self.value = ::std::option::Option::Some(type_proto::Value::TensorType(type_proto::Tensor::new())); [INFO] [stdout] 4325 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4371:12 [INFO] [stdout] | [INFO] [stdout] 4371 | if let ::std::option::Option::Some(type_proto::Value::SequenceType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4372:9 [INFO] [stdout] | [INFO] [stdout] 4372 | } 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] 4371 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SequenceType(_)) => { [INFO] [stdout] 4372 ~ } _ => { [INFO] [stdout] 4373 | self.value = ::std::option::Option::Some(type_proto::Value::SequenceType(type_proto::Sequence::new())); [INFO] [stdout] 4374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4420:12 [INFO] [stdout] | [INFO] [stdout] 4420 | if let ::std::option::Option::Some(type_proto::Value::MapType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4421:9 [INFO] [stdout] | [INFO] [stdout] 4421 | } 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] 4420 ~ match self.value { ::std::option::Option::Some(type_proto::Value::MapType(_)) => { [INFO] [stdout] 4421 ~ } _ => { [INFO] [stdout] 4422 | self.value = ::std::option::Option::Some(type_proto::Value::MapType(type_proto::Map::new())); [INFO] [stdout] 4423 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4469:12 [INFO] [stdout] | [INFO] [stdout] 4469 | if let ::std::option::Option::Some(type_proto::Value::OptionalType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4470:9 [INFO] [stdout] | [INFO] [stdout] 4470 | } 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] 4469 ~ match self.value { ::std::option::Option::Some(type_proto::Value::OptionalType(_)) => { [INFO] [stdout] 4470 ~ } _ => { [INFO] [stdout] 4471 | self.value = ::std::option::Option::Some(type_proto::Value::OptionalType(type_proto::Optional::new())); [INFO] [stdout] 4472 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4518:12 [INFO] [stdout] | [INFO] [stdout] 4518 | if let ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4519:9 [INFO] [stdout] | [INFO] [stdout] 4519 | } 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] 4518 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) => { [INFO] [stdout] 4519 ~ } _ => { [INFO] [stdout] 4520 | self.value = ::std::option::Option::Some(type_proto::Value::SparseTensorType(type_proto::SparseTensor::new())); [INFO] [stdout] 4521 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4636:15 [INFO] [stdout] | [INFO] [stdout] 4636 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4660:9 [INFO] [stdout] | [INFO] [stdout] 4660 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5645:15 [INFO] [stdout] | [INFO] [stdout] 5645 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5657:9 [INFO] [stdout] | [INFO] [stdout] 5657 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5942:15 [INFO] [stdout] | [INFO] [stdout] 5942 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5975:9 [INFO] [stdout] | [INFO] [stdout] 5975 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3404:19 [INFO] [stdout] | [INFO] [stdout] 3404 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3416:13 [INFO] [stdout] | [INFO] [stdout] 3416 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4135:19 [INFO] [stdout] | [INFO] [stdout] 4135 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4150:13 [INFO] [stdout] | [INFO] [stdout] 4150 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4882:19 [INFO] [stdout] | [INFO] [stdout] 4882 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4894:13 [INFO] [stdout] | [INFO] [stdout] 4894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5016:19 [INFO] [stdout] | [INFO] [stdout] 5016 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5025:13 [INFO] [stdout] | [INFO] [stdout] 5025 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5165:19 [INFO] [stdout] | [INFO] [stdout] 5165 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5177:13 [INFO] [stdout] | [INFO] [stdout] 5177 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5299:19 [INFO] [stdout] | [INFO] [stdout] 5299 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5308:13 [INFO] [stdout] | [INFO] [stdout] 5308 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5448:19 [INFO] [stdout] | [INFO] [stdout] 5448 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5460:13 [INFO] [stdout] | [INFO] [stdout] 5460 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/conv.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(b) = b { [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/operators/conv.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 315 ~ match b { Some(b) => { [INFO] [stdout] 316 | if b.len() == 1 { [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | Ok(mul) [INFO] [stdout] 329 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 53 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 54 | a = mean_axis; [INFO] [stdout] 55 | reduced_dims.push(axis); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 58 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | } 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] 99 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 100 | a = mean_axis; [INFO] [stdout] 101 | reduced_dims.push(axis); [INFO] [stdout] 102 ~ } _ => { [INFO] [stdout] 103 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/split.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let split = if let Some(split) = split { [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/operators/split.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | } else if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ let split = match split { Some(split) => { [INFO] [stdout] 78 | split [INFO] [stdout] 79 ~ } _ => if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] 80 | let div = mat.shape()[axis] / n_outputs; [INFO] [stdout] ... [INFO] [stdout] 93 | ret [INFO] [stdout] 94 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(onnx::type_proto::Value::TensorType(tensor)) = &proto.type_.value { [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/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } 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] 120 ~ match &proto.type_.value { Some(onnx::type_proto::Value::TensorType(tensor)) => { [INFO] [stdout] 121 | let dt = onnx::tensor_proto::DataType::from_i32(tensor.elem_type.unwrap_or_default()) [INFO] [stdout] ... [INFO] [stdout] 136 | }) [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | todo!("ValueInfoProto type not supported: {:?}", proto.type_) [INFO] [stdout] 139 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:739:12 [INFO] [stdout] | [INFO] [stdout] 739 | if let Some(input_from_file) = external_inputs_map.get(input_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] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_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] | [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/mod.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | } 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] 739 ~ match external_inputs_map.get(input_name) { Some(input_from_file) => { [INFO] [stdout] 740 | let tensor = make_tensor_from_proto(input_from_file)?; [INFO] [stdout] ... [INFO] [stdout] 748 | map.insert(input_name.to_string(), Arc::new(tensor)); [INFO] [stdout] 749 ~ } _ => { match initializers.remove_entry(input_name) { Some((_, init)) => { [INFO] [stdout] 750 | print_at_level!( [INFO] [stdout] ... [INFO] [stdout] 757 | map.insert(input_name.to_string(), Arc::new(init)); [INFO] [stdout] 758 ~ } _ => { [INFO] [stdout] 759 | return Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 762 | )); [INFO] [stdout] 763 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:790:12 [INFO] [stdout] | [INFO] [stdout] 790 | if let Some(output_from_file) = external_outputs_map.get(output_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/utils/mod.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | } 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] 790 ~ match external_outputs_map.get(output_name) { Some(output_from_file) => { [INFO] [stdout] 791 | map.insert( [INFO] [stdout] ... [INFO] [stdout] 794 | ); [INFO] [stdout] 795 ~ } _ => { [INFO] [stdout] 796 | return Err(anyhow!("Output {} not found in inputs file", output_name)); [INFO] [stdout] 797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `stonnx` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs [INFO] [stderr] * src/common/mod.rs [INFO] [stderr] * src/utils/mod.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/common/mod.rs:222:6 [INFO] [stderr] | [INFO] [stderr] 222 | ($level:expr_2021, $($arg:tt)*) => { [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/utils/mod.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | ($op:ident, $var:ident, $name: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] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/operators/dropout.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/common/mod.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | ($level:expr, $($arg:tt)*) => { [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] 222 | ($level:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/mod.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | ($op:ident, $var:ident, $name: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] 68 | ($op:ident, $var:ident, $name:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Args { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `min` is never used [INFO] [stdout] --> src/common/mod.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 534 | pub trait MinMax { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 538 | fn min(self, lhs: Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HalfFloat` is never constructed [INFO] [stdout] --> src/common/mod.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | pub struct HalfFloat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HalfFloat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_order` is never read [INFO] [stdout] --> src/operators/_commonpool.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CommonPoolAttrs { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub storage_order: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPoolAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_`, and `doc_string` are never read [INFO] [stdout] --> src/utils/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ValueInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 96 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub type_: (ValueType, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub doc_string: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `valueinfo` is never read [INFO] [stdout] --> src/utils/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct OutputInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 104 | pub valueinfo: ValueInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/common/mod.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let v = if let (r, Some(l)) = r { [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/common/mod.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | } 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] 328 ~ let v = match r { (r, Some(l)) => { [INFO] [stdout] 329 | vec![r, l] [INFO] [stdout] 330 ~ } _ => { [INFO] [stdout] 331 | vec![r.0] [INFO] [stdout] 332 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(k) = node_inputs.get(input) { [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/executor/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | } 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] 51 ~ match node_inputs.get(input) { Some(k) => { [INFO] [stdout] 52 | inputs.push(k.clone()); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | all_nodes_have_init = false; [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some((namestring, gout)) = graph_outputs.remove_entry(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/executor/mod.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } [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 graph_outputs.remove_entry(name) { Some((namestring, gout)) => { [INFO] [stdout] 213 | if let Some(data) = &gout.data { [INFO] [stdout] ... [INFO] [stdout] 275 | results.insert(namestring, gout); [INFO] [stdout] 276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | let opset_version = if let Some(v) = model.opset_import.first() { [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/executor/mod.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | } 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] 328 ~ let opset_version = match model.opset_import.first() { Some(v) => { [INFO] [stdout] 329 | if let Some(v) = v.version { [INFO] [stdout] ... [INFO] [stdout] 333 | } [INFO] [stdout] 334 ~ } _ => { [INFO] [stdout] 335 | MAX_OPSET_VERSION [INFO] [stdout] 336 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(onnx::type_proto::Value::TensorType(_)) = vi.type_.value { [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/executor/mod.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | } 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] 364 ~ match vi.type_.value { Some(onnx::type_proto::Value::TensorType(_)) => { [INFO] [stdout] 365 | // If the type is Tensor, then we are fine because that's implemented [INFO] [stdout] 366 ~ } _ => { [INFO] [stdout] 367 | unimplemented!("ValueInfoProto type {:?}", vi.type_) [INFO] [stdout] 368 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 420 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 427 | } [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executor/mod.rs:451:28 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(n) = dependency_graph.input_link_map.remove(&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/executor/mod.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 451 ~ match dependency_graph.input_link_map.remove(&output) { Some(n) => { [INFO] [stdout] 452 | for node in n { [INFO] [stdout] ... [INFO] [stdout] 459 | } [INFO] [stdout] 460 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:397:15 [INFO] [stdout] | [INFO] [stdout] 397 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:929:15 [INFO] [stdout] | [INFO] [stdout] 929 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:944:9 [INFO] [stdout] | [INFO] [stdout] 944 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1260:15 [INFO] [stdout] | [INFO] [stdout] 1260 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1470:15 [INFO] [stdout] | [INFO] [stdout] 1470 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1881:15 [INFO] [stdout] | [INFO] [stdout] 1881 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:1920:9 [INFO] [stdout] | [INFO] [stdout] 1920 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2197:15 [INFO] [stdout] | [INFO] [stdout] 2197 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2209:9 [INFO] [stdout] | [INFO] [stdout] 2209 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2373:15 [INFO] [stdout] | [INFO] [stdout] 2373 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2385:9 [INFO] [stdout] | [INFO] [stdout] 2385 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2635:15 [INFO] [stdout] | [INFO] [stdout] 2635 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:2668:9 [INFO] [stdout] | [INFO] [stdout] 2668 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3092:15 [INFO] [stdout] | [INFO] [stdout] 3092 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3158:9 [INFO] [stdout] | [INFO] [stdout] 3158 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3736:15 [INFO] [stdout] | [INFO] [stdout] 3736 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3754:9 [INFO] [stdout] | [INFO] [stdout] 3754 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3885:15 [INFO] [stdout] | [INFO] [stdout] 3885 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3894:9 [INFO] [stdout] | [INFO] [stdout] 3894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4322:12 [INFO] [stdout] | [INFO] [stdout] 4322 | if let ::std::option::Option::Some(type_proto::Value::TensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4323:9 [INFO] [stdout] | [INFO] [stdout] 4323 | } 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] 4322 ~ match self.value { ::std::option::Option::Some(type_proto::Value::TensorType(_)) => { [INFO] [stdout] 4323 ~ } _ => { [INFO] [stdout] 4324 | self.value = ::std::option::Option::Some(type_proto::Value::TensorType(type_proto::Tensor::new())); [INFO] [stdout] 4325 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4371:12 [INFO] [stdout] | [INFO] [stdout] 4371 | if let ::std::option::Option::Some(type_proto::Value::SequenceType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4372:9 [INFO] [stdout] | [INFO] [stdout] 4372 | } 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] 4371 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SequenceType(_)) => { [INFO] [stdout] 4372 ~ } _ => { [INFO] [stdout] 4373 | self.value = ::std::option::Option::Some(type_proto::Value::SequenceType(type_proto::Sequence::new())); [INFO] [stdout] 4374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4420:12 [INFO] [stdout] | [INFO] [stdout] 4420 | if let ::std::option::Option::Some(type_proto::Value::MapType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4421:9 [INFO] [stdout] | [INFO] [stdout] 4421 | } 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] 4420 ~ match self.value { ::std::option::Option::Some(type_proto::Value::MapType(_)) => { [INFO] [stdout] 4421 ~ } _ => { [INFO] [stdout] 4422 | self.value = ::std::option::Option::Some(type_proto::Value::MapType(type_proto::Map::new())); [INFO] [stdout] 4423 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4469:12 [INFO] [stdout] | [INFO] [stdout] 4469 | if let ::std::option::Option::Some(type_proto::Value::OptionalType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4470:9 [INFO] [stdout] | [INFO] [stdout] 4470 | } 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] 4469 ~ match self.value { ::std::option::Option::Some(type_proto::Value::OptionalType(_)) => { [INFO] [stdout] 4470 ~ } _ => { [INFO] [stdout] 4471 | self.value = ::std::option::Option::Some(type_proto::Value::OptionalType(type_proto::Optional::new())); [INFO] [stdout] 4472 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4518:12 [INFO] [stdout] | [INFO] [stdout] 4518 | if let ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) = self.value { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4519:9 [INFO] [stdout] | [INFO] [stdout] 4519 | } 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] 4518 ~ match self.value { ::std::option::Option::Some(type_proto::Value::SparseTensorType(_)) => { [INFO] [stdout] 4519 ~ } _ => { [INFO] [stdout] 4520 | self.value = ::std::option::Option::Some(type_proto::Value::SparseTensorType(type_proto::SparseTensor::new())); [INFO] [stdout] 4521 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4636:15 [INFO] [stdout] | [INFO] [stdout] 4636 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4660:9 [INFO] [stdout] | [INFO] [stdout] 4660 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5645:15 [INFO] [stdout] | [INFO] [stdout] 5645 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5657:9 [INFO] [stdout] | [INFO] [stdout] 5657 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5942:15 [INFO] [stdout] | [INFO] [stdout] 5942 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5975:9 [INFO] [stdout] | [INFO] [stdout] 5975 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3404:19 [INFO] [stdout] | [INFO] [stdout] 3404 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:3416:13 [INFO] [stdout] | [INFO] [stdout] 3416 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4135:19 [INFO] [stdout] | [INFO] [stdout] 4135 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4150:13 [INFO] [stdout] | [INFO] [stdout] 4150 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4882:19 [INFO] [stdout] | [INFO] [stdout] 4882 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:4894:13 [INFO] [stdout] | [INFO] [stdout] 4894 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5016:19 [INFO] [stdout] | [INFO] [stdout] 5016 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5025:13 [INFO] [stdout] | [INFO] [stdout] 5025 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5165:19 [INFO] [stdout] | [INFO] [stdout] 5165 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5177:13 [INFO] [stdout] | [INFO] [stdout] 5177 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5299:19 [INFO] [stdout] | [INFO] [stdout] 5299 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5308:13 [INFO] [stdout] | [INFO] [stdout] 5308 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5448:19 [INFO] [stdout] | [INFO] [stdout] 5448 | while let Some(tag) = is.read_raw_tag_or_eof()? { [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] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:5460:13 [INFO] [stdout] | [INFO] [stdout] 5460 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/conv.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(b) = b { [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/operators/conv.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 315 ~ match b { Some(b) => { [INFO] [stdout] 316 | if b.len() == 1 { [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | Ok(mul) [INFO] [stdout] 329 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 53 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 54 | a = mean_axis; [INFO] [stdout] 55 | reduced_dims.push(axis); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 58 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/reducemean.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(mean_axis) = a.mean_axis(Axis(axis)) { [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/operators/reducemean.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | } 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] 99 ~ match a.mean_axis(Axis(axis)) { Some(mean_axis) => { [INFO] [stdout] 100 | a = mean_axis; [INFO] [stdout] 101 | reduced_dims.push(axis); [INFO] [stdout] 102 ~ } _ => { [INFO] [stdout] 103 | return Err(anyhow!("Error computing mean along axis")); [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/operators/split.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let split = if let Some(split) = split { [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/operators/split.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | } else if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ let split = match split { Some(split) => { [INFO] [stdout] 78 | split [INFO] [stdout] 79 ~ } _ => if mat.shape()[axis] % n_outputs == 0 { [INFO] [stdout] 80 | let div = mat.shape()[axis] / n_outputs; [INFO] [stdout] ... [INFO] [stdout] 93 | ret [INFO] [stdout] 94 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(onnx::type_proto::Value::TensorType(tensor)) = &proto.type_.value { [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/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | } 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] 120 ~ match &proto.type_.value { Some(onnx::type_proto::Value::TensorType(tensor)) => { [INFO] [stdout] 121 | let dt = onnx::tensor_proto::DataType::from_i32(tensor.elem_type.unwrap_or_default()) [INFO] [stdout] ... [INFO] [stdout] 136 | }) [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | todo!("ValueInfoProto type not supported: {:?}", proto.type_) [INFO] [stdout] 139 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:739:12 [INFO] [stdout] | [INFO] [stdout] 739 | if let Some(input_from_file) = external_inputs_map.get(input_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] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_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] | [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/mod.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | } else if let Some((_, init)) = initializers.remove_entry(input_name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | } 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] 739 ~ match external_inputs_map.get(input_name) { Some(input_from_file) => { [INFO] [stdout] 740 | let tensor = make_tensor_from_proto(input_from_file)?; [INFO] [stdout] ... [INFO] [stdout] 748 | map.insert(input_name.to_string(), Arc::new(tensor)); [INFO] [stdout] 749 ~ } _ => { match initializers.remove_entry(input_name) { Some((_, init)) => { [INFO] [stdout] 750 | print_at_level!( [INFO] [stdout] ... [INFO] [stdout] 757 | map.insert(input_name.to_string(), Arc::new(init)); [INFO] [stdout] 758 ~ } _ => { [INFO] [stdout] 759 | return Err(anyhow!( [INFO] [stdout] ... [INFO] [stdout] 762 | )); [INFO] [stdout] 763 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/mod.rs:790:12 [INFO] [stdout] | [INFO] [stdout] 790 | if let Some(output_from_file) = external_outputs_map.get(output_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/utils/mod.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | } 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] 790 ~ match external_outputs_map.get(output_name) { Some(output_from_file) => { [INFO] [stdout] 791 | map.insert( [INFO] [stdout] ... [INFO] [stdout] 794 | ); [INFO] [stdout] 795 ~ } _ => { [INFO] [stdout] 796 | return Err(anyhow!("Output {} not found in inputs file", output_name)); [INFO] [stdout] 797 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.68s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling stonnx v0.1.3 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/operators/dropout.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/operators/dropout.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 47 | let seed: i64 = rand::thread_rng().r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 95 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 112 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 189 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 252 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 95 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 112 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 189 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 252 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-034e3fd5699dab03/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub unsafe extern "C" fn read_onnx_model( [INFO] [stdout] 63 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 64 | | ) -> *mut onnx::ModelProto { [INFO] [stdout] | |__________________________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | *LAST_ERROR = CString::new("NULL pointer passed to get_opset_version").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub unsafe extern "C" fn get_opset_version(model: *const onnx::ModelProto) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub unsafe extern "C" fn run_model( [INFO] [stdout] 206 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 207 | | verbosity: Verbosity, [INFO] [stdout] 208 | | graph_format: GraphFormat, [INFO] [stdout] 209 | | failfast: ExecutionMode, [INFO] [stdout] 210 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | if LAST_ERROR.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | pub unsafe extern "C" fn last_error() -> *const std::os::raw::c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | LAST_ERROR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stonnx` (lib test) due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub unsafe extern "C" fn read_onnx_model( [INFO] [stdout] 63 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 64 | | ) -> *mut onnx::ModelProto { [INFO] [stdout] | |__________________________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | *LAST_ERROR = CString::new("NULL pointer passed to get_opset_version").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub unsafe extern "C" fn get_opset_version(model: *const onnx::ModelProto) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub unsafe extern "C" fn run_model( [INFO] [stdout] 206 | | model_path: *const std::os::raw::c_char, [INFO] [stdout] 207 | | verbosity: Verbosity, [INFO] [stdout] 208 | | graph_format: GraphFormat, [INFO] [stdout] 209 | | failfast: ExecutionMode, [INFO] [stdout] 210 | | ) -> bool { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | *LAST_ERROR = e; [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | if LAST_ERROR.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | pub unsafe extern "C" fn last_error() -> *const std::os::raw::c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | LAST_ERROR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stonnx` (lib) due to 7 previous errors; 8 warnings emitted [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" "dede4bfcceccf5ee9812179ecb3adc65504f660f4111e68f17ed39b75cff71f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dede4bfcceccf5ee9812179ecb3adc65504f660f4111e68f17ed39b75cff71f5", kill_on_drop: false }` [INFO] [stdout] dede4bfcceccf5ee9812179ecb3adc65504f660f4111e68f17ed39b75cff71f5