[INFO] fetching crate numcodecs-python 0.3.0... [INFO] checking numcodecs-python-0.3.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate numcodecs-python 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate numcodecs-python 0.3.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate numcodecs-python 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate numcodecs-python 0.3.0 [INFO] tweaked toml for crates.io crate numcodecs-python 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.22.6 (available: v0.23.1) [INFO] [stderr] Adding pyo3-error v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding pythonize v0.22.0 (available: v0.23.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1652a984c8c4500e03e1606d5acef6f9e79c749c76fff2d8bdd656e58db6657a [INFO] running `Command { std: "docker" "start" "-a" "1652a984c8c4500e03e1606d5acef6f9e79c749c76fff2d8bdd656e58db6657a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1652a984c8c4500e03e1606d5acef6f9e79c749c76fff2d8bdd656e58db6657a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1652a984c8c4500e03e1606d5acef6f9e79c749c76fff2d8bdd656e58db6657a", kill_on_drop: false }` [INFO] [stdout] 1652a984c8c4500e03e1606d5acef6f9e79c749c76fff2d8bdd656e58db6657a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac44acc0d6797ac756861164836ddeb72de1671ea04b0bbf0517d1a7c9439fe2 [INFO] running `Command { std: "docker" "start" "-a" "ac44acc0d6797ac756861164836ddeb72de1671ea04b0bbf0517d1a7c9439fe2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v1.0.0-alpha.15 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking numpy v0.22.1 [INFO] [stderr] Checking pyo3-error v0.2.0 [INFO] [stderr] Checking serde-transcode v1.1.1 [INFO] [stderr] Checking pythonize v0.22.0 [INFO] [stderr] Checking schemars v1.0.0-alpha.15 [INFO] [stderr] Checking numcodecs v0.2.0 [INFO] [stderr] Checking numcodecs-python v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `numcodecs_python` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/adapter.rs [INFO] [stderr] * src/export.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/schema.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: expected item, found `{` [INFO] [stderr] --> src/export.rs:195:1 [INFO] [stderr] | [INFO] [stderr] 195 | { unsafe #[pymethods]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::export::RustCodec`, `crate::export::RustCodecType` [INFO] [stderr] --> src/adapter.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | export::{RustCodec, RustCodecType}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ no `RustCodecType` in `export` [INFO] [stderr] | | [INFO] [stderr] | no `RustCodec` in `export` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::export::RustCodec` [INFO] [stderr] --> src/schema.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::{export::RustCodec, PyCodecClass}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `RustCodec` in `export` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `export::export_codec_class` [INFO] [stderr] --> src/lib.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub use export::export_codec_class; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `export_codec_class` in `export` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | if let AnyArrayBase::U8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let AnyArrayBase::U16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | if let AnyArrayBase::U32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | if let AnyArrayBase::U64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | if let AnyArrayBase::I8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | if let AnyArrayBase::I16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | if let AnyArrayBase::I32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | if let AnyArrayBase::I64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | if let AnyArrayBase::F32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | if let AnyArrayBase::F64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[classmethod] [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: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[classmethod] [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/export.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[classmethod] [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 `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | &self, [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]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | buf: &Bound<'py, PyAny>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | &self, [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]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | buf: &Bound<'py, PyAny>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | fn get_config<'py>(&self, py: Python<'py>) -> Result, PyErr> { [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/export.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | cls: &Bound<'py, PyType>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | cls: &Bound<'py, PyType>, [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/export.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | cls: &Bound<'py, PyType>, [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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | config: &Bound<'py, PyDict>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 280 | fn __repr__(this: PyRef, py: Python) -> Result { [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/export.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (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/adapter.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | let array = if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 279 | AnyArrayBase::U8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 280 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 281 | AnyArrayBase::U16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 282 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 283 | AnyArrayBase::U32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 284 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 285 | AnyArrayBase::U64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 286 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 287 | AnyArrayBase::I8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 288 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 289 | AnyArrayBase::I16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 290 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 291 | AnyArrayBase::I32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 292 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 293 | AnyArrayBase::I64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 294 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 295 | AnyArrayBase::F32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 296 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 278 ~ let array = match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 279 | AnyArrayBase::U8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 280 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 281 | AnyArrayBase::U16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 282 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 283 | AnyArrayBase::U32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 284 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 285 | AnyArrayBase::U64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 286 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 287 | AnyArrayBase::I8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 288 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 289 | AnyArrayBase::I16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 290 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 291 | AnyArrayBase::I32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 292 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 293 | AnyArrayBase::I64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 294 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 295 | AnyArrayBase::F32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 296 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 297 | AnyArrayBase::F64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 298 ~ } _ => { [INFO] [stdout] 299 | return Err(PyTypeError::new_err(format!( [INFO] [stdout] ... [INFO] [stdout] 302 | ))); [INFO] [stdout] 303 ~ }}}}}}}}}}}}}}}}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/adapter.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 345 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 349 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 353 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 357 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 361 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 365 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 369 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 373 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 377 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | } 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] 341 ~ match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 342 | if let AnyArrayBase::U8(ref mut view_mut) = view_mut { [INFO] [stdout] 343 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 344 | } [INFO] [stdout] 345 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 346 | if let AnyArrayBase::U16(ref mut view_mut) = view_mut { [INFO] [stdout] 347 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 348 | } [INFO] [stdout] 349 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 350 | if let AnyArrayBase::U32(ref mut view_mut) = view_mut { [INFO] [stdout] 351 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 352 | } [INFO] [stdout] 353 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 354 | if let AnyArrayBase::U64(ref mut view_mut) = view_mut { [INFO] [stdout] 355 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 356 | } [INFO] [stdout] 357 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 358 | if let AnyArrayBase::I8(ref mut view_mut) = view_mut { [INFO] [stdout] 359 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 360 | } [INFO] [stdout] 361 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 362 | if let AnyArrayBase::I16(ref mut view_mut) = view_mut { [INFO] [stdout] 363 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 364 | } [INFO] [stdout] 365 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 366 | if let AnyArrayBase::I32(ref mut view_mut) = view_mut { [INFO] [stdout] 367 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 368 | } [INFO] [stdout] 369 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 370 | if let AnyArrayBase::I64(ref mut view_mut) = view_mut { [INFO] [stdout] 371 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 372 | } [INFO] [stdout] 373 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 374 | if let AnyArrayBase::F32(ref mut view_mut) = view_mut { [INFO] [stdout] 375 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 376 | } [INFO] [stdout] 377 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 378 | if let AnyArrayBase::F64(ref mut view_mut) = view_mut { [INFO] [stdout] 379 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 380 | } [INFO] [stdout] 381 ~ } _ => { [INFO] [stdout] 382 | return Err(PyTypeError::new_err(format!( [INFO] [stdout] ... [INFO] [stdout] 385 | ))); [INFO] [stdout] 386 ~ }}}}}}}}}}}}}}}}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/export.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(adapter) = (&ty as &dyn Any).downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/export.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } 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] 43 ~ match (&ty as &dyn Any).downcast_ref::() { Some(adapter) => { [INFO] [stdout] 44 | adapter.as_codec_class(py).clone() [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | let codec_config_schema = ty.codec_config_schema(); [INFO] [stdout] ... [INFO] [stdout] 83 | .extract()? [INFO] [stdout] 84 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/export.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(out) = out { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/export.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | } 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] 251 ~ match out { Some(out) => { [INFO] [stdout] 252 | self.process_into( [INFO] [stdout] ... [INFO] [stdout] 259 | Ok(out) [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | self.process(py, buf.as_borrowed(), AnyCodec::decode, class_method) [INFO] [stdout] 262 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/schema.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if let Ok(init) = class.getattr(intern!(py, "__init__")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/schema.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 46 ~ match class.getattr(intern!(py, "__init__")) { Ok(init) => { [INFO] [stdout] 47 | let mut properties = Map::new(); [INFO] [stdout] ... [INFO] [stdout] 104 | schema.insert(String::from("required"), Value::Array(required)); [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | schema.insert(String::from("additionalProperties"), Value::Bool(true)); [INFO] [stdout] 107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/export.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `numcodecs_python` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/adapter.rs [INFO] [stderr] * src/export.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/schema.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: expected item, found `{` [INFO] [stderr] --> src/export.rs:195:1 [INFO] [stderr] | [INFO] [stderr] 195 | { unsafe #[pymethods]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::export::RustCodec`, `crate::export::RustCodecType` [INFO] [stderr] --> src/adapter.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | export::{RustCodec, RustCodecType}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ no `RustCodecType` in `export` [INFO] [stderr] | | [INFO] [stderr] | no `RustCodec` in `export` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::export::RustCodec` [INFO] [stderr] --> src/schema.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::{export::RustCodec, PyCodecClass}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `RustCodec` in `export` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `export::export_codec_class` [INFO] [stderr] --> src/lib.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub use export::export_codec_class; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `export_codec_class` in `export` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | if let AnyArrayBase::U8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let AnyArrayBase::U16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | if let AnyArrayBase::U32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | if let AnyArrayBase::U64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | if let AnyArrayBase::I8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | if let AnyArrayBase::I16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | if let AnyArrayBase::I32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | if let AnyArrayBase::I64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | if let AnyArrayBase::F32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | if let AnyArrayBase::F64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[classmethod] [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: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[classmethod] [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/export.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[classmethod] [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 `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | &self, [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]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | buf: &Bound<'py, PyAny>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | &self, [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]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | buf: &Bound<'py, PyAny>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | fn get_config<'py>(&self, py: Python<'py>) -> Result, PyErr> { [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/export.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | cls: &Bound<'py, PyType>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | cls: &Bound<'py, PyType>, [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/export.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | cls: &Bound<'py, PyType>, [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 `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | config: &Bound<'py, PyDict>, [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]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/export.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 280 | fn __repr__(this: PyRef, py: Python) -> Result { [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/export.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (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/adapter.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | let array = if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 279 | AnyArrayBase::U8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 280 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 281 | AnyArrayBase::U16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 282 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 283 | AnyArrayBase::U32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 284 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 285 | AnyArrayBase::U64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 286 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 287 | AnyArrayBase::I8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 288 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 289 | AnyArrayBase::I16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 290 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 291 | AnyArrayBase::I32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 292 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 293 | AnyArrayBase::I64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 294 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 295 | AnyArrayBase::F32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 296 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | } else if let Ok(e) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 278 ~ let array = match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 279 | AnyArrayBase::U8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 280 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 281 | AnyArrayBase::U16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 282 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 283 | AnyArrayBase::U32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 284 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 285 | AnyArrayBase::U64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 286 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 287 | AnyArrayBase::I8(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 288 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 289 | AnyArrayBase::I16(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 290 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 291 | AnyArrayBase::I32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 292 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 293 | AnyArrayBase::I64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 294 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 295 | AnyArrayBase::F32(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 296 ~ } _ => { match ndarray.downcast::>() { Ok(e) => { [INFO] [stdout] 297 | AnyArrayBase::F64(e.try_readonly()?.to_owned_array()) [INFO] [stdout] 298 ~ } _ => { [INFO] [stdout] 299 | return Err(PyTypeError::new_err(format!( [INFO] [stdout] ... [INFO] [stdout] 302 | ))); [INFO] [stdout] 303 ~ }}}}}}}}}}}}}}}}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/adapter.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 345 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 349 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 353 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 357 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 361 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 365 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 369 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 373 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 377 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | } else if let Ok(d) = ndarray.downcast::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/adapter.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | } 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] 341 ~ match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 342 | if let AnyArrayBase::U8(ref mut view_mut) = view_mut { [INFO] [stdout] 343 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 344 | } [INFO] [stdout] 345 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 346 | if let AnyArrayBase::U16(ref mut view_mut) = view_mut { [INFO] [stdout] 347 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 348 | } [INFO] [stdout] 349 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 350 | if let AnyArrayBase::U32(ref mut view_mut) = view_mut { [INFO] [stdout] 351 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 352 | } [INFO] [stdout] 353 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 354 | if let AnyArrayBase::U64(ref mut view_mut) = view_mut { [INFO] [stdout] 355 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 356 | } [INFO] [stdout] 357 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 358 | if let AnyArrayBase::I8(ref mut view_mut) = view_mut { [INFO] [stdout] 359 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 360 | } [INFO] [stdout] 361 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 362 | if let AnyArrayBase::I16(ref mut view_mut) = view_mut { [INFO] [stdout] 363 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 364 | } [INFO] [stdout] 365 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 366 | if let AnyArrayBase::I32(ref mut view_mut) = view_mut { [INFO] [stdout] 367 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 368 | } [INFO] [stdout] 369 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 370 | if let AnyArrayBase::I64(ref mut view_mut) = view_mut { [INFO] [stdout] 371 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 372 | } [INFO] [stdout] 373 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 374 | if let AnyArrayBase::F32(ref mut view_mut) = view_mut { [INFO] [stdout] 375 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 376 | } [INFO] [stdout] 377 ~ } _ => { match ndarray.downcast::>() { Ok(d) => { [INFO] [stdout] 378 | if let AnyArrayBase::F64(ref mut view_mut) = view_mut { [INFO] [stdout] 379 | return shape_checked_assign(d, view_mut); [INFO] [stdout] 380 | } [INFO] [stdout] 381 ~ } _ => { [INFO] [stdout] 382 | return Err(PyTypeError::new_err(format!( [INFO] [stdout] ... [INFO] [stdout] 385 | ))); [INFO] [stdout] 386 ~ }}}}}}}}}}}}}}}}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/export.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(adapter) = (&ty as &dyn Any).downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/export.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } 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] 43 ~ match (&ty as &dyn Any).downcast_ref::() { Some(adapter) => { [INFO] [stdout] 44 | adapter.as_codec_class(py).clone() [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | let codec_config_schema = ty.codec_config_schema(); [INFO] [stdout] ... [INFO] [stdout] 83 | .extract()? [INFO] [stdout] 84 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/export.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(out) = out { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/export.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | } 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] 251 ~ match out { Some(out) => { [INFO] [stdout] 252 | self.process_into( [INFO] [stdout] ... [INFO] [stdout] 259 | Ok(out) [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | self.process(py, buf.as_borrowed(), AnyCodec::decode, class_method) [INFO] [stdout] 262 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/schema.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if let Ok(init) = class.getattr(intern!(py, "__init__")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/schema.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 46 ~ match class.getattr(intern!(py, "__init__")) { Ok(init) => { [INFO] [stdout] 47 | let mut properties = Map::new(); [INFO] [stdout] ... [INFO] [stdout] 104 | schema.insert(String::from("required"), Value::Array(required)); [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | schema.insert(String::from("additionalProperties"), Value::Bool(true)); [INFO] [stdout] 107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/schema.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/crc32.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking numcodecs-python v0.3.0 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | if let AnyArrayBase::U8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let AnyArrayBase::U16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | if let AnyArrayBase::U32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | if let AnyArrayBase::U64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | if let AnyArrayBase::I8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | if let AnyArrayBase::I16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | if let AnyArrayBase::I32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | if let AnyArrayBase::I64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | if let AnyArrayBase::F32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | if let AnyArrayBase::F64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | if let AnyArrayBase::U8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let AnyArrayBase::U16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:350:20 [INFO] [stdout] | [INFO] [stdout] 350 | if let AnyArrayBase::U32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | if let AnyArrayBase::U64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | if let AnyArrayBase::I8(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | if let AnyArrayBase::I16(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | if let AnyArrayBase::I32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | if let AnyArrayBase::I64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | if let AnyArrayBase::F32(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/adapter.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | if let AnyArrayBase::F64(ref mut view_mut) = view_mut { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `numcodecs-python` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `numcodecs-python` (lib test) due to 10 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ac44acc0d6797ac756861164836ddeb72de1671ea04b0bbf0517d1a7c9439fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac44acc0d6797ac756861164836ddeb72de1671ea04b0bbf0517d1a7c9439fe2", kill_on_drop: false }` [INFO] [stdout] ac44acc0d6797ac756861164836ddeb72de1671ea04b0bbf0517d1a7c9439fe2