[INFO] fetching crate rustpython-stdlib 0.4.0... [INFO] checking rustpython-stdlib-0.4.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rustpython-stdlib 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rustpython-stdlib 0.4.0 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 rustpython-stdlib 0.4.0 [INFO] finished tweaking crates.io crate rustpython-stdlib 0.4.0 [INFO] tweaked toml for crates.io crate rustpython-stdlib 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 261 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bstr v0.2.17 (available: v1.10.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding endian-type v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding gethostname v0.2.3 (available: v0.5.0) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding lexical-parse-float v0.8.5 (available: v1.0.2) [INFO] [stderr] Adding lexical-parse-integer v0.8.6 (available: v1.0.2) [INFO] [stderr] Adding lexical-util v0.8.5 (available: v1.0.3) [INFO] [stderr] Adding libsqlite3-sys v0.28.0 (available: v0.30.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.5) [INFO] [stderr] Adding nix v0.27.1 (available: v0.29.0) [INFO] [stderr] Adding nix v0.28.0 (available: v0.29.0) [INFO] [stderr] Adding page_size v0.4.2 (available: v0.6.0) [INFO] [stderr] Adding pmutil v0.5.3 (available: v0.6.1) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding result-like v0.4.6 (available: v0.5.0) [INFO] [stderr] Adding result-like-derive v0.4.6 (available: v0.5.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding textwrap v0.15.2 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding volatile v0.3.0 (available: v0.6.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.10.1 (available: v0.52.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2fe66322136648255da65d734f52bdc240af06d46ef96b69687f22ad40a491b5 [INFO] running `Command { std: "docker" "start" "-a" "2fe66322136648255da65d734f52bdc240af06d46ef96b69687f22ad40a491b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fe66322136648255da65d734f52bdc240af06d46ef96b69687f22ad40a491b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe66322136648255da65d734f52bdc240af06d46ef96b69687f22ad40a491b5", kill_on_drop: false }` [INFO] [stdout] 2fe66322136648255da65d734f52bdc240af06d46ef96b69687f22ad40a491b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4cc0cf5c6b3448944c5651ad9d9c1549d432d0132271a3b23db748eeba9cf023 [INFO] running `Command { std: "docker" "start" "-a" "4cc0cf5c6b3448944c5651ad9d9c1549d432d0132271a3b23db748eeba9cf023", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (7 fixes) [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling malachite-nz v0.4.16 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unic-ucd-category v0.9.0 [INFO] [stderr] Compiling rustpython-parser-vendored v0.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling unic-ucd-ident v0.9.0 [INFO] [stderr] Compiling unic-emoji-char v0.9.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling rustpython-doc v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking unic-ucd-hangul v0.9.0 [INFO] [stderr] Checking optional v0.5.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling rustpython-vm v0.4.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking volatile v0.3.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking unic-ucd-normal v0.9.0 [INFO] [stderr] Checking atomic v0.6.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking timsort v0.1.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rustpython-stdlib v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking unicode-casing v0.1.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking dns-lookup v2.0.4 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking mt19937 v2.0.1 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking unic-ucd-age v0.9.0 [INFO] [stderr] Checking unic-normal v0.9.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking puruspe v0.2.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking ucd v0.1.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling syn-ext v0.4.0 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking mac_address v1.1.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling uuid-macro-internal v1.10.0 [INFO] [stderr] Compiling result-like-derive v0.4.6 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rustpython-parser-core v0.4.0 [INFO] [stderr] Checking rustpython-literal v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling caseless v0.2.1 [INFO] [stderr] Checking result-like v0.4.6 [INFO] [stderr] Checking malachite-base v0.4.16 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling rustpython-parser v0.4.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking rustpython-sre_engine v0.4.0 [INFO] [stderr] Checking malachite-q v0.4.16 [INFO] [stderr] Checking malachite v0.4.16 [INFO] [stderr] Checking malachite-bigint v0.2.0 [INFO] [stderr] Checking rustpython-ast v0.4.0 [INFO] [stderr] Checking rustpython-compiler-core v0.4.0 [INFO] [stderr] Checking rustpython-format v0.4.0 [INFO] [stderr] Checking rustpython-common v0.4.0 [INFO] [stderr] Compiling rustpython-derive-impl v0.4.0 [INFO] [stderr] Checking rustpython-codegen v0.4.0 [INFO] [stderr] Checking rustpython-compiler v0.4.0 [INFO] [stderr] Compiling rustpython-derive v0.4.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rustpython_stdlib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/csv.rs [INFO] [stderr] * src/json.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/locale.rs [INFO] [stderr] * src/pyexpat.rs [INFO] [stderr] * src/sqlite.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/pyexpat.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [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/pyexpat.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [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/pyexpat.rs:20:47 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [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/pyexpat.rs:20:65 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [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/lib.rs:90:22 [INFO] [stderr] | [INFO] [stderr] 90 | { $( $key:expr_2021 => $val:expr_2021),* $(,)? } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/uuid.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | _ => rand::thread_rng().gen::<[u8; 6]>(), [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] [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/lib.rs:90:40 [INFO] [stderr] | [INFO] [stderr] 90 | { $( $key:expr_2021 => $val:expr_2021),* $(,)? } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/csv.rs:1092:18 [INFO] [stderr] | [INFO] [stderr] 1092 | ($x: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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/csv.rs:1092:21 [INFO] [stdout] | [INFO] [stdout] 1092 | ($x:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1092 | ($x:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/json.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | ($s:literal, $val: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] 119 | ($s:literal, $val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/locale.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | ($lc:expr, $field:ident) => {{ [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] 139 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/locale.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | ($lc:expr, $field:ident) => {{ [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] 149 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/json.rs:119:30 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/locale.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | ($lc:expr, $field:ident) => {{ [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] 155 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr_2021, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 119 | ($s:literal, $val:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr, $attributes: expr_2021, $name: expr, $class: expr, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr, $attributes: expr, $name: expr_2021, $class: expr, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/locale.rs:139:18 [INFO] [stderr] | [INFO] [stderr] 139 | ($lc:expr_2021, $field:ident) => {{ [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr_2021, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/locale.rs:149:18 [INFO] [stderr] | [INFO] [stderr] 149 | ($lc:expr_2021, $field:ident) => {{ [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/locale.rs:155:18 [INFO] [stderr] | [INFO] [stderr] 155 | ($lc:expr_2021, $field:ident) => {{ [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/sqlite.rs:84:23 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sqlite.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | ($(($x:ident, $base: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] 84 | ($(($x:ident, $base:expr_2021)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 84 | ($(($x:ident, $base:expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | { $( $key:expr => $val: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] 90 | { $( $key:expr_2021 => $val:expr),* $(,)? } [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | { $( $key:expr => $val: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] 90 | { $( $key:expr => $val:expr_2021),* $(,)? } [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | while ![0, libc::c_char::MAX].contains(&*ptr) { [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/locale.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn copy_grouping(group: *const libc::c_char, vm: &VirtualMachine) -> PyListRef { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | let val = vm.ctx.new_int(*ptr); [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | ptr = ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:1791:14 [INFO] [stdout] | [INFO] [stdout] 1791 | &mut *(v as *mut [T] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:1790:5 [INFO] [stdout] | [INFO] [stdout] 1790 | unsafe fn slice_as_uninit(v: &mut [T]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:2314:13 [INFO] [stdout] | [INFO] [stdout] 2314 | Socket::from_raw_fd(fileno) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:2310:5 [INFO] [stdout] | [INFO] [stdout] 2310 | unsafe fn sock_from_raw_unchecked(fileno: RawSocket) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | drop(Box::from_raw(data.cast::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe extern "C" fn destructor(data: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | let (func, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | / unsafe extern "C" fn func_callback( [INFO] [stdout] 405 | | context: *mut sqlite3_context, [INFO] [stdout] 406 | | argc: c_int, [INFO] [stdout] 407 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 408 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | let (cls, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | / unsafe extern "C" fn step_callback( [INFO] [stdout] 432 | | context: *mut sqlite3_context, [INFO] [stdout] 433 | | argc: c_int, [INFO] [stdout] 434 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 435 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | if (*instance).is_null() { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(obj) => *instance = obj.into_raw(), [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | unsafe extern "C" fn finalize_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:475:34 [INFO] [stdout] | [INFO] [stdout] 475 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | / unsafe extern "C" fn collation_callback( [INFO] [stdout] 469 | | data: *mut c_void, [INFO] [stdout] 470 | | a_len: c_int, [INFO] [stdout] 471 | | a_ptr: *const c_void, [INFO] [stdout] 472 | | b_len: c_int, [INFO] [stdout] 473 | | b_ptr: *const c_void, [INFO] [stdout] 474 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe extern "C" fn value_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:515:27 [INFO] [stdout] | [INFO] [stdout] 515 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | / unsafe extern "C" fn inverse_callback( [INFO] [stdout] 510 | | context: *mut sqlite3_context, [INFO] [stdout] 511 | | argc: c_int, [INFO] [stdout] 512 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 513 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:531:34 [INFO] [stdout] | [INFO] [stdout] 531 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | / unsafe extern "C" fn authorizer_callback( [INFO] [stdout] 524 | | data: *mut c_void, [INFO] [stdout] 525 | | action: c_int, [INFO] [stdout] 526 | | arg1: *const libc::c_char, [INFO] [stdout] ... | [INFO] [stdout] 529 | | access: *const libc::c_char, [INFO] [stdout] 530 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:554:34 [INFO] [stdout] | [INFO] [stdout] 554 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | / unsafe extern "C" fn trace_callback( [INFO] [stdout] 549 | | _typ: c_uint, [INFO] [stdout] 550 | | data: *mut c_void, [INFO] [stdout] 551 | | stmt: *mut c_void, [INFO] [stdout] 552 | | sql: *mut c_void, [INFO] [stdout] 553 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libsqlite3_sys::sqlite3_expanded_sql` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:555:28 [INFO] [stdout] | [INFO] [stdout] 555 | let expanded = sqlite3_expanded_sql(stmt.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:566:34 [INFO] [stdout] | [INFO] [stdout] 566 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe extern "C" fn progress_callback(data: *mut c_void) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | if let Ok(val) = <$t>::try_into_from_object(vm, obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 488 | / def_array_enum!( [INFO] [stdout] 489 | | (SignedByte, i8, 'b', "b"), [INFO] [stdout] 490 | | (UnsignedByte, u8, 'B', "B"), [INFO] [stdout] 491 | | (PyUnicode, WideChar, 'u', "u"), [INFO] [stdout] ... | [INFO] [stdout] 501 | | (Double, f64, 'd', "d"), [INFO] [stdout] 502 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/array.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 488 | / def_array_enum!( [INFO] [stdout] 489 | | (SignedByte, i8, 'b', "b"), [INFO] [stdout] 490 | | (UnsignedByte, u8, 'B', "B"), [INFO] [stdout] 491 | | (PyUnicode, WideChar, 'u', "u"), [INFO] [stdout] ... | [INFO] [stdout] 501 | | (Double, f64, 'd', "d"), [INFO] [stdout] 502 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `def_array_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:683:20 [INFO] [stdout] | [INFO] [stdout] 683 | if let Some(init) = init.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 697 | } else if let Some(utf8) = init.payload::() { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 708 | } else if let Ok(iter) = ArgIterable::try_from_object(vm, init.clone()) { [INFO] [stdout] | ---------------------------------------------- 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/array.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 697 | } else if let Some(utf8) = init.payload::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/array.rs:706:17 [INFO] [stdout] | [INFO] [stdout] 706 | } else if init.payload_is::() || init.payload_is::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/array.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | } 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] 683 ~ match init.payload::() { Some(init) => { [INFO] [stdout] 684 | match (spec, init.read().typecode()) { [INFO] [stdout] ... [INFO] [stdout] 696 | } [INFO] [stdout] 697 ~ } _ => { match init.payload::() { Some(utf8) => { [INFO] [stdout] 698 | if spec == 'u' { [INFO] [stdout] ... [INFO] [stdout] 705 | } [INFO] [stdout] 706 ~ } _ => if init.payload_is::() || init.payload_is::() { [INFO] [stdout] 707 | init.try_bytes_like(vm, |x| array.frombytes(x))?; [INFO] [stdout] 708 ~ } else { match ArgIterable::try_from_object(vm, init.clone()) { Ok(iter) => { [INFO] [stdout] 709 | for obj in iter.iter(vm)? { [INFO] [stdout] 710 | array.push(obj?, vm)?; [INFO] [stdout] 711 | } [INFO] [stdout] 712 ~ } _ => { [INFO] [stdout] 713 | init.try_bytes_like(vm, |x| array.frombytes(x))?; [INFO] [stdout] 714 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:781:23 [INFO] [stdout] | [INFO] [stdout] 781 | } else if let Some(array) = obj.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:783:13 [INFO] [stdout] | [INFO] [stdout] 783 | } 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] 781 ~ } else { match obj.payload::() { Some(array) => { [INFO] [stdout] 782 | w.iadd(&array.read(), vm) [INFO] [stdout] 783 ~ } _ => { [INFO] [stdout] 784 | let iter = ArgIterable::try_from_object(vm, obj)?; [INFO] [stdout] ... [INFO] [stdout] 789 | Ok(()) [INFO] [stdout] 790 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1046:24 [INFO] [stdout] | [INFO] [stdout] 1046 | if let Ok(mut w) = zelf.try_resizable(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1048:21 [INFO] [stdout] | [INFO] [stdout] 1048 | } 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] 1046 ~ match zelf.try_resizable(vm) { Ok(mut w) => { [INFO] [stdout] 1047 | w.setitem_by_slice(slice, items, vm) [INFO] [stdout] 1048 ~ } _ => { [INFO] [stdout] 1049 | zelf.write().setitem_by_slice_no_resize(slice, items, vm) [INFO] [stdout] 1050 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1079:16 [INFO] [stdout] | [INFO] [stdout] 1079 | if let Some(other) = other.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1083:13 [INFO] [stdout] | [INFO] [stdout] 1083 | } 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] 1079 ~ match other.payload::() { Some(other) => { [INFO] [stdout] 1080 | self.read() [INFO] [stdout] 1081 | .add(&other.read(), vm) [INFO] [stdout] 1082 | .map(|array| PyArray::from(array).into_ref(&vm.ctx)) [INFO] [stdout] 1083 ~ } _ => { [INFO] [stdout] 1084 | Err(vm.new_type_error(format!( [INFO] [stdout] ... [INFO] [stdout] 1087 | ))) [INFO] [stdout] 1088 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1099:23 [INFO] [stdout] | [INFO] [stdout] 1099 | } else if let Some(other) = other.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1101:13 [INFO] [stdout] | [INFO] [stdout] 1101 | } 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] 1099 ~ } else { match other.payload::() { Some(other) => { [INFO] [stdout] 1100 | zelf.try_resizable(vm)?.iadd(&other.read(), vm)?; [INFO] [stdout] 1101 ~ } _ => { [INFO] [stdout] 1102 | return Err(vm.new_type_error(format!( [INFO] [stdout] ... [INFO] [stdout] 1105 | ))); [INFO] [stdout] 1106 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1206:20 [INFO] [stdout] | [INFO] [stdout] 1206 | if let Ok(true) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1207 | | element.rich_compare_bool(value.as_object(), PyComparisonOp::Eq, vm) [INFO] [stdout] | |_____________________-------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1210:17 [INFO] [stdout] | [INFO] [stdout] 1210 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1206 ~ match element.rich_compare_bool(value.as_object(), PyComparisonOp::Eq, vm) [INFO] [stdout] 1207 ~ { Ok(true) => { [INFO] [stdout] 1208 | return true; [INFO] [stdout] 1209 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1329:24 [INFO] [stdout] | [INFO] [stdout] 1329 | if let Some(value) = 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/array.rs:1331:21 [INFO] [stdout] | [INFO] [stdout] 1331 | } 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] 1329 ~ match value { Some(value) => { [INFO] [stdout] 1330 | PyArray::_setitem(zelf, needle, value, vm) [INFO] [stdout] 1331 ~ } _ => { [INFO] [stdout] 1332 | zelf._delitem(needle, vm) [INFO] [stdout] 1333 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1358:24 [INFO] [stdout] | [INFO] [stdout] 1358 | if let Some(value) = 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/array.rs:1360:21 [INFO] [stdout] | [INFO] [stdout] 1360 | } 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] 1358 ~ match value { Some(value) => { [INFO] [stdout] 1359 | zelf.write().setitem_by_index(i, value, vm) [INFO] [stdout] 1360 ~ } _ => { [INFO] [stdout] 1361 | zelf.write().delitem_by_index(i, vm) [INFO] [stdout] 1362 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let comp = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | } 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] 71 ~ let comp = match key { Some(ref key) => { [INFO] [stdout] 72 | key.call((a_mid,), vm)? [INFO] [stdout] 73 ~ } _ => { [INFO] [stdout] 74 | a_mid [INFO] [stdout] 75 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let comp = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } 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] 97 ~ let comp = match key { Some(ref key) => { [INFO] [stdout] 98 | key.call((a_mid,), vm)? [INFO] [stdout] 99 ~ } _ => { [INFO] [stdout] 100| a_mid [INFO] [stdout] 101~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let x = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 113 ~ let x = match key { Some(ref key) => { [INFO] [stdout] 114 | key.call((x,), vm)? [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | x [INFO] [stdout] 117 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | let x = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } 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] 133 ~ let x = match key { Some(ref key) => { [INFO] [stdout] 134 | key.call((x,), vm)? [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | x [INFO] [stdout] 137 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(ctx) = ctxs.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/contextvars.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } 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] 153 ~ match ctxs.last() { Some(ctx) => { [INFO] [stdout] 154 | ctx.clone() [INFO] [stdout] 155 ~ } _ => { [INFO] [stdout] 156 | let ctx = PyContext::empty(vm); [INFO] [stdout] ... [INFO] [stdout] 161 | ctxs[0].clone() [INFO] [stdout] 162 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let result = if let Some(found) = found { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | 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/contextvars.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | } 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] 229 ~ let result = match found { Some(found) => { [INFO] [stdout] 230 | Some(found.to_owned()) [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | default.into_option() [INFO] [stdout] 233 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:266:24 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(found) = found { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | 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/contextvars.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | } 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] 266 ~ match found { Some(found) => { [INFO] [stdout] 267 | Ok(found.to_owned()) [INFO] [stdout] 268 ~ } _ => { [INFO] [stdout] 269 | Err(vm.new_key_error(needle.to_owned().into())) [INFO] [stdout] 270 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:407:28 [INFO] [stdout] | [INFO] [stdout] 407 | let value = if let Some(value) = found { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 408 | value [INFO] [stdout] 409 | } else if let Some(default) = default.into_option() { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 410 | default [INFO] [stdout] 411 | } else if let Some(default) = zelf.default.as_ref() { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/contextvars.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | } else if let Some(default) = default.into_option() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/contextvars.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | } else if let Some(default) = zelf.default.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/contextvars.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | } 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] 407 ~ let value = match found { Some(value) => { [INFO] [stdout] 408 | value [INFO] [stdout] 409 ~ } _ => { match default.into_option() { Some(default) => { [INFO] [stdout] 410 | default [INFO] [stdout] 411 ~ } _ => { match zelf.default.as_ref() { Some(default) => { [INFO] [stdout] 412 | default.clone() [INFO] [stdout] 413 ~ } _ => { [INFO] [stdout] 414 | let msg = zelf.as_object().repr(vm)?; [INFO] [stdout] 415 | return Err(vm.new_lookup_error(msg.as_str().to_owned())); [INFO] [stdout] 416 ~ }}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | if let Some(old_value) = &token.old_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/contextvars.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | } 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] 468 ~ match &token.old_value { Some(old_value) => { [INFO] [stdout] 469 | Self::set_inner(zelf, old_value.clone(), vm)?; [INFO] [stdout] 470 ~ } _ => { [INFO] [stdout] 471 | Self::delete(zelf, vm)?; [INFO] [stdout] 472 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Ok(attr) = obj.get_attr("delimiter", vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/csv.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] 135 ~ match obj.get_attr("delimiter", vm) { Ok(attr) => { [INFO] [stdout] 136 | parse_delimiter_from_obj(vm, &attr) [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | match_class!(match obj.clone() { [INFO] [stdout] ... [INFO] [stdout] 149 | }) [INFO] [stdout] 150 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | } else if let Some(t) = s.as_str().as_bytes().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/csv.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | } 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] 203 ~ } else { match s.as_str().as_bytes().first() { Some(t) => { [INFO] [stdout] 204 | // Due to limitations in the current implementation within csv_core [INFO] [stdout] ... [INFO] [stdout] 207 | csv_core::Terminator::Any(*t) [INFO] [stdout] 208 ~ } _ => { [INFO] [stdout] 209 | return Err(vm.new_exception_msg( [INFO] [stdout] ... [INFO] [stdout] 212 | )); [INFO] [stdout] 213 ~ }}}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | let strict = if let Ok(t) = obj.get_attr("strict", vm) { [INFO] [stdout] | ^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/csv.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | } 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] 244 ~ let strict = match obj.get_attr("strict", vm) { Ok(t) => { [INFO] [stdout] 245 | t.try_to_bool(vm).unwrap_or(false) [INFO] [stdout] 246 ~ } _ => { [INFO] [stdout] 247 | false [INFO] [stdout] 248 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | if let Ok(cur_dialect_item) = PyDialect::try_from_object(vm, obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/csv.rs:556:17 [INFO] [stdout] | [INFO] [stdout] 556 | } 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] 554 ~ match PyDialect::try_from_object(vm, obj) { Ok(cur_dialect_item) => { [INFO] [stdout] 555 | Ok(DialectItem::Obj(cur_dialect_item)) [INFO] [stdout] 556 ~ } _ => { [INFO] [stdout] 557 | let msg = "dialect".to_string(); [INFO] [stdout] 558 | Err(ArgumentError::InvalidKeywordArgument(msg)) [INFO] [stdout] 559 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:567:16 [INFO] [stdout] | [INFO] [stdout] 567 | if let Some(dialect) = args.kwargs.swap_remove("dialect") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 568 | res.dialect = prase_dialect_item_from_arg(vm, dialect)?; [INFO] [stdout] 569 | } else if let Some(dialect) = args.args.first() { [INFO] [stdout] | --------- 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/csv.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | } else if let Some(dialect) = args.args.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/csv.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | } 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] 567 ~ match args.kwargs.swap_remove("dialect") { Some(dialect) => { [INFO] [stdout] 568 | res.dialect = prase_dialect_item_from_arg(vm, dialect)?; [INFO] [stdout] 569 ~ } _ => { match args.args.first() { Some(dialect) => { [INFO] [stdout] 570 | res.dialect = prase_dialect_item_from_arg(vm, dialect.clone())?; [INFO] [stdout] 571 ~ } _ => { [INFO] [stdout] 572 | res.dialect = DialectItem::None; [INFO] [stdout] 573 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:701:24 [INFO] [stdout] | [INFO] [stdout] 701 | if let Some(dialect) = g.get(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/csv.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | } 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] 701 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 702 | let mut dialect = *dialect; [INFO] [stdout] 703 | self.update_pydialect(&mut dialect); [INFO] [stdout] 704 | Ok(dialect) [INFO] [stdout] 705 ~ } _ => { [INFO] [stdout] 706 | Err(new_csv_error(vm, format!("{} is not registed.", name))) [INFO] [stdout] 707 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:727:24 [INFO] [stdout] | [INFO] [stdout] 727 | if let Some(dialect) = g.get(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/csv.rs:731:21 [INFO] [stdout] | [INFO] [stdout] 731 | } 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] 727 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 728 | dialect.skipinitialspace [INFO] [stdout] 729 | // RustPython todo [INFO] [stdout] 730 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 731 ~ } _ => { [INFO] [stdout] 732 | false [INFO] [stdout] 733 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:747:24 [INFO] [stdout] | [INFO] [stdout] 747 | if let Some(dialect) = g.get(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/csv.rs:751:21 [INFO] [stdout] | [INFO] [stdout] 751 | } 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] 747 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 748 | dialect.delimiter [INFO] [stdout] 749 | // RustPython todo [INFO] [stdout] 750 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 751 ~ } _ => { [INFO] [stdout] 752 | b',' [INFO] [stdout] 753 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:768:24 [INFO] [stdout] | [INFO] [stdout] 768 | if let Some(dialect) = g.get(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/csv.rs:778:21 [INFO] [stdout] | [INFO] [stdout] 778 | } 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] 768 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 769 | let mut builder = builder [INFO] [stdout] ... [INFO] [stdout] 777 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 778 ~ } _ => { [INFO] [stdout] 779 | &mut builder [INFO] [stdout] 780 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:844:24 [INFO] [stdout] | [INFO] [stdout] 844 | if let Some(dialect) = g.get(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/csv.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } 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] 844 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 845 | let mut builder = builder [INFO] [stdout] ... [INFO] [stdout] 855 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 856 ~ } _ => { [INFO] [stdout] 857 | &mut builder [INFO] [stdout] 858 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dis.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let co = if let Ok(co) = obj.get_attr("__code__", vm) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 16 | } else if let Ok(_co_str) = PyStrRef::try_from_object(vm, obj.clone()) { [INFO] [stdout] | ------------------------------------------ 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/dis.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | } else if let Ok(_co_str) = PyStrRef::try_from_object(vm, obj.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | } 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] 13 ~ let co = match obj.get_attr("__code__", vm) { Ok(co) => { [INFO] [stdout] 14 | // Method or function: [INFO] [stdout] 15 | PyRef::try_from_object(vm, co)? [INFO] [stdout] 16 ~ } _ => { match PyStrRef::try_from_object(vm, obj.clone()) { Ok(_co_str) => { [INFO] [stdout] 17 | #[cfg(not(feature = "compiler"))] [INFO] [stdout] ... [INFO] [stdout] 27 | .map_err(|err| vm.new_syntax_error(&err, Some(_co_str.as_str())))? [INFO] [stdout] 28 ~ } _ => { [INFO] [stdout] 29 | PyRef::try_from_object(vm, obj)? [INFO] [stdout] 30 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/json.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | } else if let Some(ref parse_int) = self.parse_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | 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/json.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | } 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] 184 ~ } else { match self.parse_int { Some(ref parse_int) => { [INFO] [stdout] 185 | parse_int.call((buf,), vm) [INFO] [stdout] 186 ~ } _ => { [INFO] [stdout] 187 | Ok(vm.new_pyobj(BigInt::from_str(buf).unwrap())) [INFO] [stdout] 188 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/json.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(ref parse_float) = self.parse_float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/json.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 179 ~ match self.parse_float { Some(ref parse_float) => { [INFO] [stdout] 180 | parse_float.call((buf,), vm) [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | Ok(vm.ctx.new_float(f64::from_str(buf).unwrap()).into()) [INFO] [stdout] 183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | if let Ok(x) = x.try_int(vm) { [INFO] [stdout] | ^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/math.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 174 ~ match x.try_int(vm) { Ok(x) => { [INFO] [stdout] 175 | let x = x.as_bigint(); [INFO] [stdout] ... [INFO] [stdout] 180 | } [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | // Return the float error, as it will be more intuitive to users [INFO] [stdout] 183 | Err(float_err) [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | if let Some(v) = x.try_float_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/math.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 530 ~ match x.try_float_opt(vm) { Some(v) => { [INFO] [stdout] 531 | let v = try_f64_to_bigint(v?.to_f64().ceil(), vm)?; [INFO] [stdout] 532 | return Ok(vm.ctx.new_int(v).into()); [INFO] [stdout] 533 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:542:16 [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(v) = x.try_float_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/math.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ match x.try_float_opt(vm) { Some(v) => { [INFO] [stdout] 543 | let v = try_f64_to_bigint(v?.to_f64().floor(), vm)?; [INFO] [stdout] 544 | return Ok(vm.ctx.new_int(v).into()); [INFO] [stdout] 545 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mmap.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(value) = 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/mmap.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | } 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] 446 ~ match value { Some(value) => { [INFO] [stdout] 447 | PyMmap::_setitem(zelf, needle, value, vm) [INFO] [stdout] 448 ~ } _ => { [INFO] [stdout] 449 | Err(vm [INFO] [stdout] 450 | .new_type_error("mmap object doesn't support item deletion".to_owned())) [INFO] [stdout] 451 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mmap.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(value) = 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/mmap.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | } 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] 469 ~ match value { Some(value) => { [INFO] [stdout] 470 | PyMmap::setitem_by_index(zelf, i, value, vm) [INFO] [stdout] 471 ~ } _ => { [INFO] [stdout] 472 | Err(vm [INFO] [stdout] 473 | .new_type_error("mmap object doesn't support item deletion".to_owned())) [INFO] [stdout] 474 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/select.rs:408:37 [INFO] [stdout] | [INFO] [stdout] 408 | let ms = if let Some(float) = ms.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 409 | float.to_f64().to_i32() [INFO] [stdout] 410 | } else if let Some(int) = ms.try_index_opt(vm) { [INFO] [stdout] | -------------------- 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/select.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | } else if let Some(int) = ms.try_index_opt(vm) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/select.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | } 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] 408 ~ let ms = match ms.payload::() { Some(float) => { [INFO] [stdout] 409 | float.to_f64().to_i32() [INFO] [stdout] 410 ~ } _ => { match ms.try_index_opt(vm) { Some(int) => { [INFO] [stdout] 411 | int?.as_bigint().to_i32() [INFO] [stdout] 412 ~ } _ => { [INFO] [stdout] 413 | return Err(vm.new_type_error(format!( [INFO] [stdout] ... [INFO] [stdout] 416 | ))); [INFO] [stdout] 417 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:426:16 [INFO] [stdout] | [INFO] [stdout] 426 | if let Err(exc) = f() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:428:13 [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] 426 ~ match f() { Err(exc) => { [INFO] [stdout] 427 | context.result_exception(vm, exc, "user-defined function raised exception\0") [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:568:20 [INFO] [stdout] | [INFO] [stdout] 568 | if let Ok(val) = val.is_true(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:570:17 [INFO] [stdout] | [INFO] [stdout] 570 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 568 ~ match val.is_true(vm) { Ok(val) => { [INFO] [stdout] 569 | return val as c_int; [INFO] [stdout] 570 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:586:16 [INFO] [stdout] | [INFO] [stdout] 586 | if let Err(exc) = f() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 586 ~ match f() { Err(exc) => { [INFO] [stdout] 587 | if exc.fast_isinstance(vm.ctx.exceptions.attribute_error) { [INFO] [stdout] ... [INFO] [stdout] 599 | } [INFO] [stdout] 600 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:620:16 [INFO] [stdout] | [INFO] [stdout] 620 | if let Err(exc) = f() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:634:13 [INFO] [stdout] | [INFO] [stdout] 634 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 620 ~ match f() { Err(exc) => { [INFO] [stdout] 621 | if exc.fast_isinstance(vm.ctx.exceptions.attribute_error) { [INFO] [stdout] ... [INFO] [stdout] 633 | } [INFO] [stdout] 634 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:737:20 [INFO] [stdout] | [INFO] [stdout] 737 | if let OptionalArg::Present(alt) = alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:739:17 [INFO] [stdout] | [INFO] [stdout] 739 | } 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] 737 ~ match alt { OptionalArg::Present(alt) => { [INFO] [stdout] 738 | Ok(alt) [INFO] [stdout] 739 ~ } _ => { [INFO] [stdout] 740 | Err(new_programming_error(vm, "can't adapt".to_owned())) [INFO] [stdout] 741 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:840:16 [INFO] [stdout] | [INFO] [stdout] 840 | if let Some(stmt) = Statement::new(zelf, &args.0, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | } 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] 840 ~ match Statement::new(zelf, &args.0, vm)? { Some(stmt) => { [INFO] [stdout] 841 | Ok(stmt.into_ref(&vm.ctx).into()) [INFO] [stdout] 842 ~ } _ => { [INFO] [stdout] 843 | Ok(vm.ctx.none()) [INFO] [stdout] 844 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:898:29 [INFO] [stdout] | [INFO] [stdout] 898 | let cursor = if let OptionalArg::Present(factory) = factory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | } 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] 898 ~ let cursor = match factory { OptionalArg::Present(factory) => { [INFO] [stdout] 899 | let cursor = factory.invoke((zelf.clone(),), vm)?; [INFO] [stdout] ... [INFO] [stdout] 904 | cursor [INFO] [stdout] 905 ~ } _ => { [INFO] [stdout] 906 | let row_factory = zelf.row_factory.to_owned(); [INFO] [stdout] 907 | Cursor::new(zelf, row_factory, vm).into_ref(&vm.ctx) [INFO] [stdout] 908 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1025:31 [INFO] [stdout] | [INFO] [stdout] 1025 | let name_ptr = if let Some(name) = &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/sqlite.rs:1028:13 [INFO] [stdout] | [INFO] [stdout] 1028 | } 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] 1025 ~ let name_ptr = match &name { Some(name) => { [INFO] [stdout] 1026 | name_cstring = name.to_cstring(vm)?; [INFO] [stdout] 1027 | name_cstring.as_ptr() [INFO] [stdout] 1028 ~ } _ => { [INFO] [stdout] 1029 | b"main\0".as_ptr().cast() [INFO] [stdout] 1030 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1054:24 [INFO] [stdout] | [INFO] [stdout] 1054 | if let Err(err) = progress.invoke((ret, remaining, pagecount), vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1057:21 [INFO] [stdout] | [INFO] [stdout] 1057 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1054 ~ match progress.invoke((ret, remaining, pagecount), vm) { Err(err) => { [INFO] [stdout] 1055 | unsafe { sqlite3_backup_finish(handle) }; [INFO] [stdout] 1056 | return Err(err); [INFO] [stdout] 1057 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1182:16 [INFO] [stdout] | [INFO] [stdout] 1182 | if let Err(exc) = db.check(ret, vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | } 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] 1182 ~ match db.check(ret, vm) { Err(exc) => { [INFO] [stdout] 1183 | // create_collation do not call destructor if error occur [INFO] [stdout] 1184 | let _ = unsafe { Box::from_raw(data) }; [INFO] [stdout] 1185 | Err(exc) [INFO] [stdout] 1186 ~ } _ => { [INFO] [stdout] 1187 | Ok(()) [INFO] [stdout] 1188 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1612:19 [INFO] [stdout] | [INFO] [stdout] 1612 | while let Some(st) = db.prepare(ptr, &mut ptr, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1614:13 [INFO] [stdout] | [INFO] [stdout] 1614 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1636:19 [INFO] [stdout] | [INFO] [stdout] 1636 | while let PyIterReturn::Return(row) = Self::next(zelf, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1641 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1648:19 [INFO] [stdout] | [INFO] [stdout] 1648 | while let PyIterReturn::Return(row) = Self::next(zelf, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1650:13 [INFO] [stdout] | [INFO] [stdout] 1650 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1656:16 [INFO] [stdout] | [INFO] [stdout] 1656 | if let Some(inner) = self.inner.lock().take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 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/sqlite.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1660 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1656 ~ match self.inner.lock().take() { Some(inner) => { [INFO] [stdout] 1657 | if let Some(stmt) = inner.statement { [INFO] [stdout] 1658 | stmt.lock().reset(); [INFO] [stdout] 1659 | } [INFO] [stdout] 1660 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1657:20 [INFO] [stdout] | [INFO] [stdout] 1657 | if let Some(stmt) = inner.statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1659:17 [INFO] [stdout] | [INFO] [stdout] 1659 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1657 ~ match inner.statement { Some(stmt) => { [INFO] [stdout] 1658 | stmt.lock().reset(); [INFO] [stdout] 1659 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1720:24 [INFO] [stdout] | [INFO] [stdout] 1720 | if let Some(converter) = converters().get_item_opt(&col_name, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1723:21 [INFO] [stdout] | [INFO] [stdout] 1723 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1720 ~ match converters().get_item_opt(&col_name, vm)? { Some(converter) => { [INFO] [stdout] 1721 | cast_map.push(Some(converter.clone())); [INFO] [stdout] 1722 | continue; [INFO] [stdout] 1723 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1730:28 [INFO] [stdout] | [INFO] [stdout] 1730 | if let Some(converter) = converters().get_item_opt(&decltype, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1733:25 [INFO] [stdout] | [INFO] [stdout] 1733 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1730 ~ match converters().get_item_opt(&decltype, vm)? { Some(converter) => { [INFO] [stdout] 1731 | cast_map.push(Some(converter.clone())); [INFO] [stdout] 1732 | continue; [INFO] [stdout] 1733 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1769:30 [INFO] [stdout] | [INFO] [stdout] 1769 | let val = if let Some(converter) = [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1770 | | inner.row_cast_map.get(i as usize).cloned().flatten() [INFO] [stdout] | |_____________________----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1783:17 [INFO] [stdout] | [INFO] [stdout] 1783 | } 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] 1769 ~ let val = match inner.row_cast_map.get(i as usize).cloned().flatten() [INFO] [stdout] 1770 ~ { Some(converter) => { [INFO] [stdout] 1771 | let blob = st.column_blob(i); [INFO] [stdout] ... [INFO] [stdout] 1781 | } [INFO] [stdout] 1782 ~ } _ => { [INFO] [stdout] 1783 | let col_type = st.column_type(i); [INFO] [stdout] ... [INFO] [stdout] 1823 | } [INFO] [stdout] 1824 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1846:16 [INFO] [stdout] | [INFO] [stdout] 1846 | if let Some(row_factory) = zelf.row_factory.to_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1850:13 [INFO] [stdout] | [INFO] [stdout] 1850 | } 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] 1846 ~ match zelf.row_factory.to_owned() { Some(row_factory) => { [INFO] [stdout] 1847 | row_factory [INFO] [stdout] 1848 | .call((zelf.to_owned(), row), vm) [INFO] [stdout] 1849 | .map(PyIterReturn::Return) [INFO] [stdout] 1850 ~ } _ => { [INFO] [stdout] 1851 | Ok(PyIterReturn::Return(row.into())) [INFO] [stdout] 1852 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2151:16 [INFO] [stdout] | [INFO] [stdout] 2151 | if let Some(index) = needle.try_index_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2157:13 [INFO] [stdout] | [INFO] [stdout] 2157 | } else if let Some(slice) = needle.payload::() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2151 ~ match needle.try_index_opt(vm) { Some(index) => { [INFO] [stdout] 2152 | let blob_len = inner.blob.bytes(); [INFO] [stdout] ... [INFO] [stdout] 2156 | self.check(ret, vm).map(|_| vm.ctx.new_int(byte).into()) [INFO] [stdout] 2157 ~ } _ => if let Some(slice) = needle.payload::() { [INFO] [stdout] 2158 | let blob_len = inner.blob.bytes(); [INFO] [stdout] ... [INFO] [stdout] 2182 | Err(vm.new_type_error("Blob indices must be integers".to_owned())) [INFO] [stdout] 2183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2197:16 [INFO] [stdout] | [INFO] [stdout] 2197 | if let Some(index) = needle.try_index_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2210:13 [INFO] [stdout] | [INFO] [stdout] 2210 | } else if let Some(_slice) = needle.payload::() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2197 ~ match needle.try_index_opt(vm) { Some(index) => { [INFO] [stdout] 2198 | let Some(value) = value.payload::() else { [INFO] [stdout] ... [INFO] [stdout] 2209 | self.check(ret, vm) [INFO] [stdout] 2210 ~ } _ => if let Some(_slice) = needle.payload::() { [INFO] [stdout] 2211 | Err(vm.new_not_implemented_error( [INFO] [stdout] ... [INFO] [stdout] 2218 | Err(vm.new_type_error("Blob indices must be integers".to_owned())) [INFO] [stdout] 2219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2304:29 [INFO] [stdout] | [INFO] [stdout] 2304 | let is_dml = if let Some(head) = lstrip_sql(sql_cstr.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2310:13 [INFO] [stdout] | [INFO] [stdout] 2310 | } 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] 2304 ~ let is_dml = match lstrip_sql(sql_cstr.as_bytes()) { Some(head) => { [INFO] [stdout] 2305 | head.len() >= 6 [INFO] [stdout] ... [INFO] [stdout] 2309 | || (head.len() >= 7 && head[..7].eq_ignore_ascii_case(b"replace"))) [INFO] [stdout] 2310 ~ } _ => { [INFO] [stdout] 2311 | false [INFO] [stdout] 2312 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2579:16 [INFO] [stdout] | [INFO] [stdout] 2579 | if let Some(exc) = unsafe { user_function_exception().swap(None) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2581:13 [INFO] [stdout] | [INFO] [stdout] 2581 | } else if ret == SQLITE_ROW { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2579 ~ match unsafe { user_function_exception().swap(None) } { Some(exc) => { [INFO] [stdout] 2580 | Err(exc) [INFO] [stdout] 2581 ~ } _ => if ret == SQLITE_ROW { [INFO] [stdout] 2582 | Ok(true) [INFO] [stdout] ... [INFO] [stdout] 2586 | Err(SqliteRaw::from(self).error_extended(vm)) [INFO] [stdout] 2587 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2628:23 [INFO] [stdout] | [INFO] [stdout] 2628 | } else if let Ok(buffer) = PyBuffer::try_from_borrowed_object(vm, obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2631:13 [INFO] [stdout] | [INFO] [stdout] 2631 | } 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] 2628 ~ } else { match PyBuffer::try_from_borrowed_object(vm, obj) { Ok(buffer) => { [INFO] [stdout] 2629 | let (ptr, len) = buffer_to_ptr_len(&buffer, vm)?; [INFO] [stdout] 2630 | unsafe { sqlite3_bind_blob(self.st, pos, ptr, len, SQLITE_TRANSIENT()) } [INFO] [stdout] 2631 ~ } _ => { [INFO] [stdout] 2632 | return Err(new_programming_error( [INFO] [stdout] ... [INFO] [stdout] 2639 | )); [INFO] [stdout] 2640 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2653:23 [INFO] [stdout] | [INFO] [stdout] 2653 | } else if let Ok(seq) = PySequence::try_protocol(parameters, vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2655:13 [INFO] [stdout] | [INFO] [stdout] 2655 | } 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] 2653 ~ } else { match PySequence::try_protocol(parameters, vm) { Ok(seq) => { [INFO] [stdout] 2654 | self.bind_parameters_sequence(seq, vm) [INFO] [stdout] 2655 ~ } _ => { [INFO] [stdout] 2656 | Err(new_programming_error( [INFO] [stdout] ... [INFO] [stdout] 2659 | )) [INFO] [stdout] 2660 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2851:27 [INFO] [stdout] | [INFO] [stdout] 2851 | } else if let Ok(buffer) = PyBuffer::try_from_borrowed_object(vm, val) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2854:17 [INFO] [stdout] | [INFO] [stdout] 2854 | } 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] 2851 ~ } else { match PyBuffer::try_from_borrowed_object(vm, val) { Ok(buffer) => { [INFO] [stdout] 2852 | let (ptr, len) = buffer_to_ptr_len(&buffer, vm)?; [INFO] [stdout] 2853 | sqlite3_result_blob(self.ctx, ptr, len, SQLITE_TRANSIENT()) [INFO] [stdout] 2854 ~ } _ => { [INFO] [stdout] 2855 | return Err(new_programming_error( [INFO] [stdout] ... [INFO] [stdout] 2858 | )); [INFO] [stdout] 2859 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 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 `rustpython_stdlib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/csv.rs [INFO] [stderr] * src/json.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/locale.rs [INFO] [stderr] * src/pyexpat.rs [INFO] [stderr] * src/sqlite.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/pyexpat.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [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/pyexpat.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [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/pyexpat.rs:20:47 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/uuid.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | _ => rand::thread_rng().gen::<[u8; 6]>(), [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] [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/pyexpat.rs:20:65 [INFO] [stderr] | [INFO] [stderr] 20 | ($ctx: expr_2021, $attributes: expr_2021, $name: expr_2021, $class: expr_2021, $element: ident) => { [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/lib.rs:90:22 [INFO] [stderr] | [INFO] [stderr] 90 | { $( $key:expr_2021 => $val:expr_2021),* $(,)? } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:90:40 [INFO] [stderr] | [INFO] [stderr] 90 | { $( $key:expr_2021 => $val:expr_2021),* $(,)? } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/csv.rs:1092:18 [INFO] [stderr] | [INFO] [stderr] 1092 | ($x:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/json.rs:119:30 [INFO] [stderr] | [INFO] [stderr] 119 | ($s:literal, $val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/locale.rs:139:18 [INFO] [stderr] | [INFO] [stderr] 139 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/csv.rs:1092:21 [INFO] [stdout] | [INFO] [stdout] 1092 | ($x:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1092 | ($x:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/json.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | ($s:literal, $val: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] 119 | ($s:literal, $val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/locale.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | ($lc:expr, $field:ident) => {{ [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] 139 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/locale.rs:149:18 [INFO] [stderr] | [INFO] [stderr] 149 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/locale.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | ($lc:expr, $field:ident) => {{ [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] 149 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/locale.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | ($lc:expr, $field:ident) => {{ [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] 155 | ($lc:expr_2021, $field:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/locale.rs:155:18 [INFO] [stderr] | [INFO] [stderr] 155 | ($lc:expr_2021, $field:ident) => {{ [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/sqlite.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | ($(($x:ident, $base:expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr_2021, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr, $attributes: expr_2021, $name: expr, $class: expr, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr, $attributes: expr, $name: expr_2021, $class: expr, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/pyexpat.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr, $element: ident) => { [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] 20 | ($ctx: expr, $attributes: expr, $name: expr, $class: expr_2021, $element: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sqlite.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | ($(($x:ident, $base: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] 84 | ($(($x:ident, $base:expr_2021)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | { $( $key:expr => $val: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] 90 | { $( $key:expr_2021 => $val:expr),* $(,)? } [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | { $( $key:expr => $val: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] 90 | { $( $key:expr => $val:expr_2021),* $(,)? } [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | while ![0, libc::c_char::MAX].contains(&*ptr) { [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/locale.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn copy_grouping(group: *const libc::c_char, vm: &VirtualMachine) -> PyListRef { [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | let val = vm.ctx.new_int(*ptr); [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | ptr = ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:1791:14 [INFO] [stdout] | [INFO] [stdout] 1791 | &mut *(v as *mut [T] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:1790:5 [INFO] [stdout] | [INFO] [stdout] 1790 | unsafe fn slice_as_uninit(v: &mut [T]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:2314:13 [INFO] [stdout] | [INFO] [stdout] 2314 | Socket::from_raw_fd(fileno) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:2310:5 [INFO] [stdout] | [INFO] [stdout] 2310 | unsafe fn sock_from_raw_unchecked(fileno: RawSocket) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | drop(Box::from_raw(data.cast::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe extern "C" fn destructor(data: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | let (func, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | / unsafe extern "C" fn func_callback( [INFO] [stdout] 405 | | context: *mut sqlite3_context, [INFO] [stdout] 406 | | argc: c_int, [INFO] [stdout] 407 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 408 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | let (cls, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | / unsafe extern "C" fn step_callback( [INFO] [stdout] 432 | | context: *mut sqlite3_context, [INFO] [stdout] 433 | | argc: c_int, [INFO] [stdout] 434 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 435 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | if (*instance).is_null() { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(obj) => *instance = obj.into_raw(), [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | unsafe extern "C" fn finalize_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:475:34 [INFO] [stdout] | [INFO] [stdout] 475 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | / unsafe extern "C" fn collation_callback( [INFO] [stdout] 469 | | data: *mut c_void, [INFO] [stdout] 470 | | a_len: c_int, [INFO] [stdout] 471 | | a_ptr: *const c_void, [INFO] [stdout] 472 | | b_len: c_int, [INFO] [stdout] 473 | | b_ptr: *const c_void, [INFO] [stdout] 474 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe extern "C" fn value_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:515:27 [INFO] [stdout] | [INFO] [stdout] 515 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | / unsafe extern "C" fn inverse_callback( [INFO] [stdout] 510 | | context: *mut sqlite3_context, [INFO] [stdout] 511 | | argc: c_int, [INFO] [stdout] 512 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 513 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:531:34 [INFO] [stdout] | [INFO] [stdout] 531 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | / unsafe extern "C" fn authorizer_callback( [INFO] [stdout] 524 | | data: *mut c_void, [INFO] [stdout] 525 | | action: c_int, [INFO] [stdout] 526 | | arg1: *const libc::c_char, [INFO] [stdout] ... | [INFO] [stdout] 529 | | access: *const libc::c_char, [INFO] [stdout] 530 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:554:34 [INFO] [stdout] | [INFO] [stdout] 554 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | / unsafe extern "C" fn trace_callback( [INFO] [stdout] 549 | | _typ: c_uint, [INFO] [stdout] 550 | | data: *mut c_void, [INFO] [stdout] 551 | | stmt: *mut c_void, [INFO] [stdout] 552 | | sql: *mut c_void, [INFO] [stdout] 553 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libsqlite3_sys::sqlite3_expanded_sql` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:555:28 [INFO] [stdout] | [INFO] [stdout] 555 | let expanded = sqlite3_expanded_sql(stmt.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:566:34 [INFO] [stdout] | [INFO] [stdout] 566 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe extern "C" fn progress_callback(data: *mut c_void) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | if let Ok(val) = <$t>::try_into_from_object(vm, obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 488 | / def_array_enum!( [INFO] [stdout] 489 | | (SignedByte, i8, 'b', "b"), [INFO] [stdout] 490 | | (UnsignedByte, u8, 'B', "B"), [INFO] [stdout] 491 | | (PyUnicode, WideChar, 'u', "u"), [INFO] [stdout] ... | [INFO] [stdout] 501 | | (Double, f64, 'd', "d"), [INFO] [stdout] 502 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/array.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 488 | / def_array_enum!( [INFO] [stdout] 489 | | (SignedByte, i8, 'b', "b"), [INFO] [stdout] 490 | | (UnsignedByte, u8, 'B', "B"), [INFO] [stdout] 491 | | (PyUnicode, WideChar, 'u', "u"), [INFO] [stdout] ... | [INFO] [stdout] 501 | | (Double, f64, 'd', "d"), [INFO] [stdout] 502 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `def_array_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:683:20 [INFO] [stdout] | [INFO] [stdout] 683 | if let Some(init) = init.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 697 | } else if let Some(utf8) = init.payload::() { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 708 | } else if let Ok(iter) = ArgIterable::try_from_object(vm, init.clone()) { [INFO] [stdout] | ---------------------------------------------- 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/array.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 697 | } else if let Some(utf8) = init.payload::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/array.rs:706:17 [INFO] [stdout] | [INFO] [stdout] 706 | } else if init.payload_is::() || init.payload_is::() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/array.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | } 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] 683 ~ match init.payload::() { Some(init) => { [INFO] [stdout] 684 | match (spec, init.read().typecode()) { [INFO] [stdout] ... [INFO] [stdout] 696 | } [INFO] [stdout] 697 ~ } _ => { match init.payload::() { Some(utf8) => { [INFO] [stdout] 698 | if spec == 'u' { [INFO] [stdout] ... [INFO] [stdout] 705 | } [INFO] [stdout] 706 ~ } _ => if init.payload_is::() || init.payload_is::() { [INFO] [stdout] 707 | init.try_bytes_like(vm, |x| array.frombytes(x))?; [INFO] [stdout] 708 ~ } else { match ArgIterable::try_from_object(vm, init.clone()) { Ok(iter) => { [INFO] [stdout] 709 | for obj in iter.iter(vm)? { [INFO] [stdout] 710 | array.push(obj?, vm)?; [INFO] [stdout] 711 | } [INFO] [stdout] 712 ~ } _ => { [INFO] [stdout] 713 | init.try_bytes_like(vm, |x| array.frombytes(x))?; [INFO] [stdout] 714 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:781:23 [INFO] [stdout] | [INFO] [stdout] 781 | } else if let Some(array) = obj.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:783:13 [INFO] [stdout] | [INFO] [stdout] 783 | } 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] 781 ~ } else { match obj.payload::() { Some(array) => { [INFO] [stdout] 782 | w.iadd(&array.read(), vm) [INFO] [stdout] 783 ~ } _ => { [INFO] [stdout] 784 | let iter = ArgIterable::try_from_object(vm, obj)?; [INFO] [stdout] ... [INFO] [stdout] 789 | Ok(()) [INFO] [stdout] 790 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1046:24 [INFO] [stdout] | [INFO] [stdout] 1046 | if let Ok(mut w) = zelf.try_resizable(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1048:21 [INFO] [stdout] | [INFO] [stdout] 1048 | } 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] 1046 ~ match zelf.try_resizable(vm) { Ok(mut w) => { [INFO] [stdout] 1047 | w.setitem_by_slice(slice, items, vm) [INFO] [stdout] 1048 ~ } _ => { [INFO] [stdout] 1049 | zelf.write().setitem_by_slice_no_resize(slice, items, vm) [INFO] [stdout] 1050 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1079:16 [INFO] [stdout] | [INFO] [stdout] 1079 | if let Some(other) = other.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1083:13 [INFO] [stdout] | [INFO] [stdout] 1083 | } 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] 1079 ~ match other.payload::() { Some(other) => { [INFO] [stdout] 1080 | self.read() [INFO] [stdout] 1081 | .add(&other.read(), vm) [INFO] [stdout] 1082 | .map(|array| PyArray::from(array).into_ref(&vm.ctx)) [INFO] [stdout] 1083 ~ } _ => { [INFO] [stdout] 1084 | Err(vm.new_type_error(format!( [INFO] [stdout] ... [INFO] [stdout] 1087 | ))) [INFO] [stdout] 1088 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1099:23 [INFO] [stdout] | [INFO] [stdout] 1099 | } else if let Some(other) = other.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1101:13 [INFO] [stdout] | [INFO] [stdout] 1101 | } 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] 1099 ~ } else { match other.payload::() { Some(other) => { [INFO] [stdout] 1100 | zelf.try_resizable(vm)?.iadd(&other.read(), vm)?; [INFO] [stdout] 1101 ~ } _ => { [INFO] [stdout] 1102 | return Err(vm.new_type_error(format!( [INFO] [stdout] ... [INFO] [stdout] 1105 | ))); [INFO] [stdout] 1106 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1206:20 [INFO] [stdout] | [INFO] [stdout] 1206 | if let Ok(true) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1207 | | element.rich_compare_bool(value.as_object(), PyComparisonOp::Eq, vm) [INFO] [stdout] | |_____________________-------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | 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/array.rs:1210:17 [INFO] [stdout] | [INFO] [stdout] 1210 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1206 ~ match element.rich_compare_bool(value.as_object(), PyComparisonOp::Eq, vm) [INFO] [stdout] 1207 ~ { Ok(true) => { [INFO] [stdout] 1208 | return true; [INFO] [stdout] 1209 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1329:24 [INFO] [stdout] | [INFO] [stdout] 1329 | if let Some(value) = 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/array.rs:1331:21 [INFO] [stdout] | [INFO] [stdout] 1331 | } 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] 1329 ~ match value { Some(value) => { [INFO] [stdout] 1330 | PyArray::_setitem(zelf, needle, value, vm) [INFO] [stdout] 1331 ~ } _ => { [INFO] [stdout] 1332 | zelf._delitem(needle, vm) [INFO] [stdout] 1333 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/array.rs:1358:24 [INFO] [stdout] | [INFO] [stdout] 1358 | if let Some(value) = 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/array.rs:1360:21 [INFO] [stdout] | [INFO] [stdout] 1360 | } 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] 1358 ~ match value { Some(value) => { [INFO] [stdout] 1359 | zelf.write().setitem_by_index(i, value, vm) [INFO] [stdout] 1360 ~ } _ => { [INFO] [stdout] 1361 | zelf.write().delitem_by_index(i, vm) [INFO] [stdout] 1362 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let comp = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | } 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] 71 ~ let comp = match key { Some(ref key) => { [INFO] [stdout] 72 | key.call((a_mid,), vm)? [INFO] [stdout] 73 ~ } _ => { [INFO] [stdout] 74 | a_mid [INFO] [stdout] 75 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let comp = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } 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] 97 ~ let comp = match key { Some(ref key) => { [INFO] [stdout] 98 | key.call((a_mid,), vm)? [INFO] [stdout] 99 ~ } _ => { [INFO] [stdout] 100| a_mid [INFO] [stdout] 101~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let x = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 113 ~ let x = match key { Some(ref key) => { [INFO] [stdout] 114 | key.call((x,), vm)? [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | x [INFO] [stdout] 117 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bisect.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | let x = if let Some(ref key) = key { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/bisect.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } 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] 133 ~ let x = match key { Some(ref key) => { [INFO] [stdout] 134 | key.call((x,), vm)? [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | x [INFO] [stdout] 137 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(ctx) = ctxs.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/contextvars.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } 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] 153 ~ match ctxs.last() { Some(ctx) => { [INFO] [stdout] 154 | ctx.clone() [INFO] [stdout] 155 ~ } _ => { [INFO] [stdout] 156 | let ctx = PyContext::empty(vm); [INFO] [stdout] ... [INFO] [stdout] 161 | ctxs[0].clone() [INFO] [stdout] 162 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let result = if let Some(found) = found { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | 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/contextvars.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | } 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] 229 ~ let result = match found { Some(found) => { [INFO] [stdout] 230 | Some(found.to_owned()) [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | default.into_option() [INFO] [stdout] 233 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:266:24 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(found) = found { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | 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/contextvars.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | } 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] 266 ~ match found { Some(found) => { [INFO] [stdout] 267 | Ok(found.to_owned()) [INFO] [stdout] 268 ~ } _ => { [INFO] [stdout] 269 | Err(vm.new_key_error(needle.to_owned().into())) [INFO] [stdout] 270 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:407:28 [INFO] [stdout] | [INFO] [stdout] 407 | let value = if let Some(value) = found { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 408 | value [INFO] [stdout] 409 | } else if let Some(default) = default.into_option() { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 410 | default [INFO] [stdout] 411 | } else if let Some(default) = zelf.default.as_ref() { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/contextvars.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | } else if let Some(default) = default.into_option() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/contextvars.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | } else if let Some(default) = zelf.default.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/contextvars.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | } 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] 407 ~ let value = match found { Some(value) => { [INFO] [stdout] 408 | value [INFO] [stdout] 409 ~ } _ => { match default.into_option() { Some(default) => { [INFO] [stdout] 410 | default [INFO] [stdout] 411 ~ } _ => { match zelf.default.as_ref() { Some(default) => { [INFO] [stdout] 412 | default.clone() [INFO] [stdout] 413 ~ } _ => { [INFO] [stdout] 414 | let msg = zelf.as_object().repr(vm)?; [INFO] [stdout] 415 | return Err(vm.new_lookup_error(msg.as_str().to_owned())); [INFO] [stdout] 416 ~ }}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/contextvars.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | if let Some(old_value) = &token.old_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/contextvars.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | } 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] 468 ~ match &token.old_value { Some(old_value) => { [INFO] [stdout] 469 | Self::set_inner(zelf, old_value.clone(), vm)?; [INFO] [stdout] 470 ~ } _ => { [INFO] [stdout] 471 | Self::delete(zelf, vm)?; [INFO] [stdout] 472 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Ok(attr) = obj.get_attr("delimiter", vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/csv.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] 135 ~ match obj.get_attr("delimiter", vm) { Ok(attr) => { [INFO] [stdout] 136 | parse_delimiter_from_obj(vm, &attr) [INFO] [stdout] 137 ~ } _ => { [INFO] [stdout] 138 | match_class!(match obj.clone() { [INFO] [stdout] ... [INFO] [stdout] 149 | }) [INFO] [stdout] 150 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | } else if let Some(t) = s.as_str().as_bytes().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/csv.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | } 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] 203 ~ } else { match s.as_str().as_bytes().first() { Some(t) => { [INFO] [stdout] 204 | // Due to limitations in the current implementation within csv_core [INFO] [stdout] ... [INFO] [stdout] 207 | csv_core::Terminator::Any(*t) [INFO] [stdout] 208 ~ } _ => { [INFO] [stdout] 209 | return Err(vm.new_exception_msg( [INFO] [stdout] ... [INFO] [stdout] 212 | )); [INFO] [stdout] 213 ~ }}}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | let strict = if let Ok(t) = obj.get_attr("strict", vm) { [INFO] [stdout] | ^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/csv.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | } 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] 244 ~ let strict = match obj.get_attr("strict", vm) { Ok(t) => { [INFO] [stdout] 245 | t.try_to_bool(vm).unwrap_or(false) [INFO] [stdout] 246 ~ } _ => { [INFO] [stdout] 247 | false [INFO] [stdout] 248 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | if let Ok(cur_dialect_item) = PyDialect::try_from_object(vm, obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/csv.rs:556:17 [INFO] [stdout] | [INFO] [stdout] 556 | } 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] 554 ~ match PyDialect::try_from_object(vm, obj) { Ok(cur_dialect_item) => { [INFO] [stdout] 555 | Ok(DialectItem::Obj(cur_dialect_item)) [INFO] [stdout] 556 ~ } _ => { [INFO] [stdout] 557 | let msg = "dialect".to_string(); [INFO] [stdout] 558 | Err(ArgumentError::InvalidKeywordArgument(msg)) [INFO] [stdout] 559 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:567:16 [INFO] [stdout] | [INFO] [stdout] 567 | if let Some(dialect) = args.kwargs.swap_remove("dialect") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 568 | res.dialect = prase_dialect_item_from_arg(vm, dialect)?; [INFO] [stdout] 569 | } else if let Some(dialect) = args.args.first() { [INFO] [stdout] | --------- 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/csv.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | } else if let Some(dialect) = args.args.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/csv.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | } 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] 567 ~ match args.kwargs.swap_remove("dialect") { Some(dialect) => { [INFO] [stdout] 568 | res.dialect = prase_dialect_item_from_arg(vm, dialect)?; [INFO] [stdout] 569 ~ } _ => { match args.args.first() { Some(dialect) => { [INFO] [stdout] 570 | res.dialect = prase_dialect_item_from_arg(vm, dialect.clone())?; [INFO] [stdout] 571 ~ } _ => { [INFO] [stdout] 572 | res.dialect = DialectItem::None; [INFO] [stdout] 573 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:701:24 [INFO] [stdout] | [INFO] [stdout] 701 | if let Some(dialect) = g.get(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/csv.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | } 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] 701 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 702 | let mut dialect = *dialect; [INFO] [stdout] 703 | self.update_pydialect(&mut dialect); [INFO] [stdout] 704 | Ok(dialect) [INFO] [stdout] 705 ~ } _ => { [INFO] [stdout] 706 | Err(new_csv_error(vm, format!("{} is not registed.", name))) [INFO] [stdout] 707 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:727:24 [INFO] [stdout] | [INFO] [stdout] 727 | if let Some(dialect) = g.get(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/csv.rs:731:21 [INFO] [stdout] | [INFO] [stdout] 731 | } 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] 727 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 728 | dialect.skipinitialspace [INFO] [stdout] 729 | // RustPython todo [INFO] [stdout] 730 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 731 ~ } _ => { [INFO] [stdout] 732 | false [INFO] [stdout] 733 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:747:24 [INFO] [stdout] | [INFO] [stdout] 747 | if let Some(dialect) = g.get(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/csv.rs:751:21 [INFO] [stdout] | [INFO] [stdout] 751 | } 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] 747 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 748 | dialect.delimiter [INFO] [stdout] 749 | // RustPython todo [INFO] [stdout] 750 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 751 ~ } _ => { [INFO] [stdout] 752 | b',' [INFO] [stdout] 753 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:768:24 [INFO] [stdout] | [INFO] [stdout] 768 | if let Some(dialect) = g.get(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/csv.rs:778:21 [INFO] [stdout] | [INFO] [stdout] 778 | } 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] 768 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 769 | let mut builder = builder [INFO] [stdout] ... [INFO] [stdout] 777 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 778 ~ } _ => { [INFO] [stdout] 779 | &mut builder [INFO] [stdout] 780 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/csv.rs:844:24 [INFO] [stdout] | [INFO] [stdout] 844 | if let Some(dialect) = g.get(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/csv.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | } 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] 844 ~ match g.get(name) { Some(dialect) => { [INFO] [stdout] 845 | let mut builder = builder [INFO] [stdout] ... [INFO] [stdout] 855 | // todo! Perfecting the remaining attributes. [INFO] [stdout] 856 ~ } _ => { [INFO] [stdout] 857 | &mut builder [INFO] [stdout] 858 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dis.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let co = if let Ok(co) = obj.get_attr("__code__", vm) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 16 | } else if let Ok(_co_str) = PyStrRef::try_from_object(vm, obj.clone()) { [INFO] [stdout] | ------------------------------------------ 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/dis.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | } else if let Ok(_co_str) = PyStrRef::try_from_object(vm, obj.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | } 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] 13 ~ let co = match obj.get_attr("__code__", vm) { Ok(co) => { [INFO] [stdout] 14 | // Method or function: [INFO] [stdout] 15 | PyRef::try_from_object(vm, co)? [INFO] [stdout] 16 ~ } _ => { match PyStrRef::try_from_object(vm, obj.clone()) { Ok(_co_str) => { [INFO] [stdout] 17 | #[cfg(not(feature = "compiler"))] [INFO] [stdout] ... [INFO] [stdout] 27 | .map_err(|err| vm.new_syntax_error(&err, Some(_co_str.as_str())))? [INFO] [stdout] 28 ~ } _ => { [INFO] [stdout] 29 | PyRef::try_from_object(vm, obj)? [INFO] [stdout] 30 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/json.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | } else if let Some(ref parse_int) = self.parse_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | 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/json.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | } 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] 184 ~ } else { match self.parse_int { Some(ref parse_int) => { [INFO] [stdout] 185 | parse_int.call((buf,), vm) [INFO] [stdout] 186 ~ } _ => { [INFO] [stdout] 187 | Ok(vm.new_pyobj(BigInt::from_str(buf).unwrap())) [INFO] [stdout] 188 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/json.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some(ref parse_float) = self.parse_float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/json.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 179 ~ match self.parse_float { Some(ref parse_float) => { [INFO] [stdout] 180 | parse_float.call((buf,), vm) [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | Ok(vm.ctx.new_float(f64::from_str(buf).unwrap()).into()) [INFO] [stdout] 183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | if let Ok(x) = x.try_int(vm) { [INFO] [stdout] | ^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/math.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 174 ~ match x.try_int(vm) { Ok(x) => { [INFO] [stdout] 175 | let x = x.as_bigint(); [INFO] [stdout] ... [INFO] [stdout] 180 | } [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | // Return the float error, as it will be more intuitive to users [INFO] [stdout] 183 | Err(float_err) [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | if let Some(v) = x.try_float_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/math.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 530 ~ match x.try_float_opt(vm) { Some(v) => { [INFO] [stdout] 531 | let v = try_f64_to_bigint(v?.to_f64().ceil(), vm)?; [INFO] [stdout] 532 | return Ok(vm.ctx.new_int(v).into()); [INFO] [stdout] 533 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/math.rs:542:16 [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(v) = x.try_float_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/math.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ match x.try_float_opt(vm) { Some(v) => { [INFO] [stdout] 543 | let v = try_f64_to_bigint(v?.to_f64().floor(), vm)?; [INFO] [stdout] 544 | return Ok(vm.ctx.new_int(v).into()); [INFO] [stdout] 545 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mmap.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(value) = 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/mmap.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | } 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] 446 ~ match value { Some(value) => { [INFO] [stdout] 447 | PyMmap::_setitem(zelf, needle, value, vm) [INFO] [stdout] 448 ~ } _ => { [INFO] [stdout] 449 | Err(vm [INFO] [stdout] 450 | .new_type_error("mmap object doesn't support item deletion".to_owned())) [INFO] [stdout] 451 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mmap.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(value) = 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/mmap.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | } 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] 469 ~ match value { Some(value) => { [INFO] [stdout] 470 | PyMmap::setitem_by_index(zelf, i, value, vm) [INFO] [stdout] 471 ~ } _ => { [INFO] [stdout] 472 | Err(vm [INFO] [stdout] 473 | .new_type_error("mmap object doesn't support item deletion".to_owned())) [INFO] [stdout] 474 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/select.rs:408:37 [INFO] [stdout] | [INFO] [stdout] 408 | let ms = if let Some(float) = ms.payload::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 409 | float.to_f64().to_i32() [INFO] [stdout] 410 | } else if let Some(int) = ms.try_index_opt(vm) { [INFO] [stdout] | -------------------- 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/select.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | } else if let Some(int) = ms.try_index_opt(vm) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/select.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | } 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] 408 ~ let ms = match ms.payload::() { Some(float) => { [INFO] [stdout] 409 | float.to_f64().to_i32() [INFO] [stdout] 410 ~ } _ => { match ms.try_index_opt(vm) { Some(int) => { [INFO] [stdout] 411 | int?.as_bigint().to_i32() [INFO] [stdout] 412 ~ } _ => { [INFO] [stdout] 413 | return Err(vm.new_type_error(format!( [INFO] [stdout] ... [INFO] [stdout] 416 | ))); [INFO] [stdout] 417 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:426:16 [INFO] [stdout] | [INFO] [stdout] 426 | if let Err(exc) = f() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:428:13 [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] 426 ~ match f() { Err(exc) => { [INFO] [stdout] 427 | context.result_exception(vm, exc, "user-defined function raised exception\0") [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:568:20 [INFO] [stdout] | [INFO] [stdout] 568 | if let Ok(val) = val.is_true(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:570:17 [INFO] [stdout] | [INFO] [stdout] 570 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 568 ~ match val.is_true(vm) { Ok(val) => { [INFO] [stdout] 569 | return val as c_int; [INFO] [stdout] 570 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:586:16 [INFO] [stdout] | [INFO] [stdout] 586 | if let Err(exc) = f() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 586 ~ match f() { Err(exc) => { [INFO] [stdout] 587 | if exc.fast_isinstance(vm.ctx.exceptions.attribute_error) { [INFO] [stdout] ... [INFO] [stdout] 599 | } [INFO] [stdout] 600 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:620:16 [INFO] [stdout] | [INFO] [stdout] 620 | if let Err(exc) = f() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:634:13 [INFO] [stdout] | [INFO] [stdout] 634 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 620 ~ match f() { Err(exc) => { [INFO] [stdout] 621 | if exc.fast_isinstance(vm.ctx.exceptions.attribute_error) { [INFO] [stdout] ... [INFO] [stdout] 633 | } [INFO] [stdout] 634 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:737:20 [INFO] [stdout] | [INFO] [stdout] 737 | if let OptionalArg::Present(alt) = alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:739:17 [INFO] [stdout] | [INFO] [stdout] 739 | } 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] 737 ~ match alt { OptionalArg::Present(alt) => { [INFO] [stdout] 738 | Ok(alt) [INFO] [stdout] 739 ~ } _ => { [INFO] [stdout] 740 | Err(new_programming_error(vm, "can't adapt".to_owned())) [INFO] [stdout] 741 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:840:16 [INFO] [stdout] | [INFO] [stdout] 840 | if let Some(stmt) = Statement::new(zelf, &args.0, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | } 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] 840 ~ match Statement::new(zelf, &args.0, vm)? { Some(stmt) => { [INFO] [stdout] 841 | Ok(stmt.into_ref(&vm.ctx).into()) [INFO] [stdout] 842 ~ } _ => { [INFO] [stdout] 843 | Ok(vm.ctx.none()) [INFO] [stdout] 844 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:898:29 [INFO] [stdout] | [INFO] [stdout] 898 | let cursor = if let OptionalArg::Present(factory) = factory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | } 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] 898 ~ let cursor = match factory { OptionalArg::Present(factory) => { [INFO] [stdout] 899 | let cursor = factory.invoke((zelf.clone(),), vm)?; [INFO] [stdout] ... [INFO] [stdout] 904 | cursor [INFO] [stdout] 905 ~ } _ => { [INFO] [stdout] 906 | let row_factory = zelf.row_factory.to_owned(); [INFO] [stdout] 907 | Cursor::new(zelf, row_factory, vm).into_ref(&vm.ctx) [INFO] [stdout] 908 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1025:31 [INFO] [stdout] | [INFO] [stdout] 1025 | let name_ptr = if let Some(name) = &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/sqlite.rs:1028:13 [INFO] [stdout] | [INFO] [stdout] 1028 | } 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] 1025 ~ let name_ptr = match &name { Some(name) => { [INFO] [stdout] 1026 | name_cstring = name.to_cstring(vm)?; [INFO] [stdout] 1027 | name_cstring.as_ptr() [INFO] [stdout] 1028 ~ } _ => { [INFO] [stdout] 1029 | b"main\0".as_ptr().cast() [INFO] [stdout] 1030 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1054:24 [INFO] [stdout] | [INFO] [stdout] 1054 | if let Err(err) = progress.invoke((ret, remaining, pagecount), vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1057:21 [INFO] [stdout] | [INFO] [stdout] 1057 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1054 ~ match progress.invoke((ret, remaining, pagecount), vm) { Err(err) => { [INFO] [stdout] 1055 | unsafe { sqlite3_backup_finish(handle) }; [INFO] [stdout] 1056 | return Err(err); [INFO] [stdout] 1057 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1182:16 [INFO] [stdout] | [INFO] [stdout] 1182 | if let Err(exc) = db.check(ret, vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | } 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] 1182 ~ match db.check(ret, vm) { Err(exc) => { [INFO] [stdout] 1183 | // create_collation do not call destructor if error occur [INFO] [stdout] 1184 | let _ = unsafe { Box::from_raw(data) }; [INFO] [stdout] 1185 | Err(exc) [INFO] [stdout] 1186 ~ } _ => { [INFO] [stdout] 1187 | Ok(()) [INFO] [stdout] 1188 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1612:19 [INFO] [stdout] | [INFO] [stdout] 1612 | while let Some(st) = db.prepare(ptr, &mut ptr, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1614:13 [INFO] [stdout] | [INFO] [stdout] 1614 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1636:19 [INFO] [stdout] | [INFO] [stdout] 1636 | while let PyIterReturn::Return(row) = Self::next(zelf, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1641 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1648:19 [INFO] [stdout] | [INFO] [stdout] 1648 | while let PyIterReturn::Return(row) = Self::next(zelf, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1650:13 [INFO] [stdout] | [INFO] [stdout] 1650 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1656:16 [INFO] [stdout] | [INFO] [stdout] 1656 | if let Some(inner) = self.inner.lock().take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 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/sqlite.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1660 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1656 ~ match self.inner.lock().take() { Some(inner) => { [INFO] [stdout] 1657 | if let Some(stmt) = inner.statement { [INFO] [stdout] 1658 | stmt.lock().reset(); [INFO] [stdout] 1659 | } [INFO] [stdout] 1660 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1657:20 [INFO] [stdout] | [INFO] [stdout] 1657 | if let Some(stmt) = inner.statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1659:17 [INFO] [stdout] | [INFO] [stdout] 1659 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1657 ~ match inner.statement { Some(stmt) => { [INFO] [stdout] 1658 | stmt.lock().reset(); [INFO] [stdout] 1659 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1720:24 [INFO] [stdout] | [INFO] [stdout] 1720 | if let Some(converter) = converters().get_item_opt(&col_name, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1723:21 [INFO] [stdout] | [INFO] [stdout] 1723 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1720 ~ match converters().get_item_opt(&col_name, vm)? { Some(converter) => { [INFO] [stdout] 1721 | cast_map.push(Some(converter.clone())); [INFO] [stdout] 1722 | continue; [INFO] [stdout] 1723 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1730:28 [INFO] [stdout] | [INFO] [stdout] 1730 | if let Some(converter) = converters().get_item_opt(&decltype, vm)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1733:25 [INFO] [stdout] | [INFO] [stdout] 1733 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1730 ~ match converters().get_item_opt(&decltype, vm)? { Some(converter) => { [INFO] [stdout] 1731 | cast_map.push(Some(converter.clone())); [INFO] [stdout] 1732 | continue; [INFO] [stdout] 1733 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1769:30 [INFO] [stdout] | [INFO] [stdout] 1769 | let val = if let Some(converter) = [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1770 | | inner.row_cast_map.get(i as usize).cloned().flatten() [INFO] [stdout] | |_____________________----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1783:17 [INFO] [stdout] | [INFO] [stdout] 1783 | } 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] 1769 ~ let val = match inner.row_cast_map.get(i as usize).cloned().flatten() [INFO] [stdout] 1770 ~ { Some(converter) => { [INFO] [stdout] 1771 | let blob = st.column_blob(i); [INFO] [stdout] ... [INFO] [stdout] 1781 | } [INFO] [stdout] 1782 ~ } _ => { [INFO] [stdout] 1783 | let col_type = st.column_type(i); [INFO] [stdout] ... [INFO] [stdout] 1823 | } [INFO] [stdout] 1824 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:1846:16 [INFO] [stdout] | [INFO] [stdout] 1846 | if let Some(row_factory) = zelf.row_factory.to_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:1850:13 [INFO] [stdout] | [INFO] [stdout] 1850 | } 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] 1846 ~ match zelf.row_factory.to_owned() { Some(row_factory) => { [INFO] [stdout] 1847 | row_factory [INFO] [stdout] 1848 | .call((zelf.to_owned(), row), vm) [INFO] [stdout] 1849 | .map(PyIterReturn::Return) [INFO] [stdout] 1850 ~ } _ => { [INFO] [stdout] 1851 | Ok(PyIterReturn::Return(row.into())) [INFO] [stdout] 1852 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2151:16 [INFO] [stdout] | [INFO] [stdout] 2151 | if let Some(index) = needle.try_index_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2157:13 [INFO] [stdout] | [INFO] [stdout] 2157 | } else if let Some(slice) = needle.payload::() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2151 ~ match needle.try_index_opt(vm) { Some(index) => { [INFO] [stdout] 2152 | let blob_len = inner.blob.bytes(); [INFO] [stdout] ... [INFO] [stdout] 2156 | self.check(ret, vm).map(|_| vm.ctx.new_int(byte).into()) [INFO] [stdout] 2157 ~ } _ => if let Some(slice) = needle.payload::() { [INFO] [stdout] 2158 | let blob_len = inner.blob.bytes(); [INFO] [stdout] ... [INFO] [stdout] 2182 | Err(vm.new_type_error("Blob indices must be integers".to_owned())) [INFO] [stdout] 2183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2197:16 [INFO] [stdout] | [INFO] [stdout] 2197 | if let Some(index) = needle.try_index_opt(vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2210:13 [INFO] [stdout] | [INFO] [stdout] 2210 | } else if let Some(_slice) = needle.payload::() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2197 ~ match needle.try_index_opt(vm) { Some(index) => { [INFO] [stdout] 2198 | let Some(value) = value.payload::() else { [INFO] [stdout] ... [INFO] [stdout] 2209 | self.check(ret, vm) [INFO] [stdout] 2210 ~ } _ => if let Some(_slice) = needle.payload::() { [INFO] [stdout] 2211 | Err(vm.new_not_implemented_error( [INFO] [stdout] ... [INFO] [stdout] 2218 | Err(vm.new_type_error("Blob indices must be integers".to_owned())) [INFO] [stdout] 2219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2304:29 [INFO] [stdout] | [INFO] [stdout] 2304 | let is_dml = if let Some(head) = lstrip_sql(sql_cstr.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2310:13 [INFO] [stdout] | [INFO] [stdout] 2310 | } 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] 2304 ~ let is_dml = match lstrip_sql(sql_cstr.as_bytes()) { Some(head) => { [INFO] [stdout] 2305 | head.len() >= 6 [INFO] [stdout] ... [INFO] [stdout] 2309 | || (head.len() >= 7 && head[..7].eq_ignore_ascii_case(b"replace"))) [INFO] [stdout] 2310 ~ } _ => { [INFO] [stdout] 2311 | false [INFO] [stdout] 2312 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2579:16 [INFO] [stdout] | [INFO] [stdout] 2579 | if let Some(exc) = unsafe { user_function_exception().swap(None) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2581:13 [INFO] [stdout] | [INFO] [stdout] 2581 | } else if ret == SQLITE_ROW { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2579 ~ match unsafe { user_function_exception().swap(None) } { Some(exc) => { [INFO] [stdout] 2580 | Err(exc) [INFO] [stdout] 2581 ~ } _ => if ret == SQLITE_ROW { [INFO] [stdout] 2582 | Ok(true) [INFO] [stdout] ... [INFO] [stdout] 2586 | Err(SqliteRaw::from(self).error_extended(vm)) [INFO] [stdout] 2587 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2628:23 [INFO] [stdout] | [INFO] [stdout] 2628 | } else if let Ok(buffer) = PyBuffer::try_from_borrowed_object(vm, obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2631:13 [INFO] [stdout] | [INFO] [stdout] 2631 | } 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] 2628 ~ } else { match PyBuffer::try_from_borrowed_object(vm, obj) { Ok(buffer) => { [INFO] [stdout] 2629 | let (ptr, len) = buffer_to_ptr_len(&buffer, vm)?; [INFO] [stdout] 2630 | unsafe { sqlite3_bind_blob(self.st, pos, ptr, len, SQLITE_TRANSIENT()) } [INFO] [stdout] 2631 ~ } _ => { [INFO] [stdout] 2632 | return Err(new_programming_error( [INFO] [stdout] ... [INFO] [stdout] 2639 | )); [INFO] [stdout] 2640 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2653:23 [INFO] [stdout] | [INFO] [stdout] 2653 | } else if let Ok(seq) = PySequence::try_protocol(parameters, vm) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2655:13 [INFO] [stdout] | [INFO] [stdout] 2655 | } 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] 2653 ~ } else { match PySequence::try_protocol(parameters, vm) { Ok(seq) => { [INFO] [stdout] 2654 | self.bind_parameters_sequence(seq, vm) [INFO] [stdout] 2655 ~ } _ => { [INFO] [stdout] 2656 | Err(new_programming_error( [INFO] [stdout] ... [INFO] [stdout] 2659 | )) [INFO] [stdout] 2660 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sqlite.rs:2851:27 [INFO] [stdout] | [INFO] [stdout] 2851 | } else if let Ok(buffer) = PyBuffer::try_from_borrowed_object(vm, val) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/sqlite.rs:2854:17 [INFO] [stdout] | [INFO] [stdout] 2854 | } 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] 2851 ~ } else { match PyBuffer::try_from_borrowed_object(vm, val) { Ok(buffer) => { [INFO] [stdout] 2852 | let (ptr, len) = buffer_to_ptr_len(&buffer, vm)?; [INFO] [stdout] 2853 | sqlite3_result_blob(self.ctx, ptr, len, SQLITE_TRANSIENT()) [INFO] [stdout] 2854 ~ } _ => { [INFO] [stdout] 2855 | return Err(new_programming_error( [INFO] [stdout] ... [INFO] [stdout] 2858 | )); [INFO] [stdout] 2859 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.31s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rustpython-stdlib v0.4.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/uuid.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | _ => rand::thread_rng().gen::<[u8; 6]>(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | _ => rand::thread_rng().r#gen::<[u8; 6]>(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/uuid.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | _ => rand::thread_rng().gen::<[u8; 6]>(), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | _ => rand::thread_rng().r#gen::<[u8; 6]>(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | while ![0, libc::c_char::MAX].contains(&*ptr) { [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/locale.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn copy_grouping(group: *const libc::c_char, vm: &VirtualMachine) -> PyListRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | let val = vm.ctx.new_int(*ptr); [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | ptr = ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | while ![0, libc::c_char::MAX].contains(&*ptr) { [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/locale.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn copy_grouping(group: *const libc::c_char, vm: &VirtualMachine) -> PyListRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | let val = vm.ctx.new_int(*ptr); [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/locale.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | ptr = ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:1791:14 [INFO] [stdout] | [INFO] [stdout] 1791 | &mut *(v as *mut [T] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:1790:5 [INFO] [stdout] | [INFO] [stdout] 1790 | unsafe fn slice_as_uninit(v: &mut [T]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:2314:13 [INFO] [stdout] | [INFO] [stdout] 2314 | Socket::from_raw_fd(fileno) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:2310:5 [INFO] [stdout] | [INFO] [stdout] 2310 | unsafe fn sock_from_raw_unchecked(fileno: RawSocket) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:1791:14 [INFO] [stdout] | [INFO] [stdout] 1791 | &mut *(v as *mut [T] as *mut [MaybeUninit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:1790:5 [INFO] [stdout] | [INFO] [stdout] 1790 | unsafe fn slice_as_uninit(v: &mut [T]) -> &mut [MaybeUninit] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/socket.rs:2314:13 [INFO] [stdout] | [INFO] [stdout] 2314 | Socket::from_raw_fd(fileno) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/socket.rs:2310:5 [INFO] [stdout] | [INFO] [stdout] 2310 | unsafe fn sock_from_raw_unchecked(fileno: RawSocket) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | drop(Box::from_raw(data.cast::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe extern "C" fn destructor(data: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | let (func, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | / unsafe extern "C" fn func_callback( [INFO] [stdout] 405 | | context: *mut sqlite3_context, [INFO] [stdout] 406 | | argc: c_int, [INFO] [stdout] 407 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 408 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | let (cls, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | / unsafe extern "C" fn step_callback( [INFO] [stdout] 432 | | context: *mut sqlite3_context, [INFO] [stdout] 433 | | argc: c_int, [INFO] [stdout] 434 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 435 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | if (*instance).is_null() { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(obj) => *instance = obj.into_raw(), [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | unsafe extern "C" fn finalize_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:475:34 [INFO] [stdout] | [INFO] [stdout] 475 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | / unsafe extern "C" fn collation_callback( [INFO] [stdout] 469 | | data: *mut c_void, [INFO] [stdout] 470 | | a_len: c_int, [INFO] [stdout] 471 | | a_ptr: *const c_void, [INFO] [stdout] 472 | | b_len: c_int, [INFO] [stdout] 473 | | b_ptr: *const c_void, [INFO] [stdout] 474 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe extern "C" fn value_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:515:27 [INFO] [stdout] | [INFO] [stdout] 515 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | / unsafe extern "C" fn inverse_callback( [INFO] [stdout] 510 | | context: *mut sqlite3_context, [INFO] [stdout] 511 | | argc: c_int, [INFO] [stdout] 512 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 513 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:531:34 [INFO] [stdout] | [INFO] [stdout] 531 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | / unsafe extern "C" fn authorizer_callback( [INFO] [stdout] 524 | | data: *mut c_void, [INFO] [stdout] 525 | | action: c_int, [INFO] [stdout] 526 | | arg1: *const libc::c_char, [INFO] [stdout] ... | [INFO] [stdout] 529 | | access: *const libc::c_char, [INFO] [stdout] 530 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:554:34 [INFO] [stdout] | [INFO] [stdout] 554 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | / unsafe extern "C" fn trace_callback( [INFO] [stdout] 549 | | _typ: c_uint, [INFO] [stdout] 550 | | data: *mut c_void, [INFO] [stdout] 551 | | stmt: *mut c_void, [INFO] [stdout] 552 | | sql: *mut c_void, [INFO] [stdout] 553 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libsqlite3_sys::sqlite3_expanded_sql` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:555:28 [INFO] [stdout] | [INFO] [stdout] 555 | let expanded = sqlite3_expanded_sql(stmt.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:566:34 [INFO] [stdout] | [INFO] [stdout] 566 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe extern "C" fn progress_callback(data: *mut c_void) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | drop(Box::from_raw(data.cast::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe extern "C" fn destructor(data: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | let (func, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | / unsafe extern "C" fn func_callback( [INFO] [stdout] 405 | | context: *mut sqlite3_context, [INFO] [stdout] 406 | | argc: c_int, [INFO] [stdout] 407 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 408 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | let (cls, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | / unsafe extern "C" fn step_callback( [INFO] [stdout] 432 | | context: *mut sqlite3_context, [INFO] [stdout] 433 | | argc: c_int, [INFO] [stdout] 434 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 435 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:438:24 [INFO] [stdout] | [INFO] [stdout] 438 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | if (*instance).is_null() { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(obj) => *instance = obj.into_raw(), [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 452 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | unsafe extern "C" fn finalize_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | let Some(instance) = (*instance).as_ref() else { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:475:34 [INFO] [stdout] | [INFO] [stdout] 475 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | / unsafe extern "C" fn collation_callback( [INFO] [stdout] 469 | | data: *mut c_void, [INFO] [stdout] 470 | | a_len: c_int, [INFO] [stdout] 471 | | a_ptr: *const c_void, [INFO] [stdout] 472 | | b_len: c_int, [INFO] [stdout] 473 | | b_ptr: *const c_void, [INFO] [stdout] 474 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | unsafe extern "C" fn value_callback(context: *mut sqlite3_context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:515:27 [INFO] [stdout] | [INFO] [stdout] 515 | let (_, vm) = (*context.user_data::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | / unsafe extern "C" fn inverse_callback( [INFO] [stdout] 510 | | context: *mut sqlite3_context, [INFO] [stdout] 511 | | argc: c_int, [INFO] [stdout] 512 | | argv: *mut *mut sqlite3_value, [INFO] [stdout] 513 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | let args = std::slice::from_raw_parts(argv, argc as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | let instance = &**instance; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:531:34 [INFO] [stdout] | [INFO] [stdout] 531 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | / unsafe extern "C" fn authorizer_callback( [INFO] [stdout] 524 | | data: *mut c_void, [INFO] [stdout] 525 | | action: c_int, [INFO] [stdout] 526 | | arg1: *const libc::c_char, [INFO] [stdout] ... | [INFO] [stdout] 529 | | access: *const libc::c_char, [INFO] [stdout] 530 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:554:34 [INFO] [stdout] | [INFO] [stdout] 554 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | / unsafe extern "C" fn trace_callback( [INFO] [stdout] 549 | | _typ: c_uint, [INFO] [stdout] 550 | | data: *mut c_void, [INFO] [stdout] 551 | | stmt: *mut c_void, [INFO] [stdout] 552 | | sql: *mut c_void, [INFO] [stdout] 553 | | ) -> c_int { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libsqlite3_sys::sqlite3_expanded_sql` is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:555:28 [INFO] [stdout] | [INFO] [stdout] 555 | let expanded = sqlite3_expanded_sql(stmt.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sqlite.rs:566:34 [INFO] [stdout] | [INFO] [stdout] 566 | let (callable, vm) = (*data.cast::()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sqlite.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe extern "C" fn progress_callback(data: *mut c_void) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 29 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 `rustpython-stdlib` (lib) due to 2 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 29 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 `rustpython-stdlib` (lib test) due to 2 previous errors; 29 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" "4cc0cf5c6b3448944c5651ad9d9c1549d432d0132271a3b23db748eeba9cf023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc0cf5c6b3448944c5651ad9d9c1549d432d0132271a3b23db748eeba9cf023", kill_on_drop: false }` [INFO] [stdout] 4cc0cf5c6b3448944c5651ad9d9c1549d432d0132271a3b23db748eeba9cf023