[INFO] fetching crate python-oxidized-importer 0.9.0... [INFO] checking python-oxidized-importer-0.9.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate python-oxidized-importer 0.9.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate python-oxidized-importer 0.9.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] finished tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] tweaked toml for crates.io crate python-oxidized-importer 0.9.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.5) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding mailparse v0.14.1 (available: v0.15.0) [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.5) [INFO] [stderr] Adding memoffset v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding pyo3 v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-build-config v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-ffi v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros-backend v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding unindent v0.1.11 (available: v0.2.3) [INFO] [stderr] Adding zip v0.6.6 (available: v2.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e642f36ee09797b74d160e19eaffb6b2d13f3be56aae20e4a4c5afd8287cc88 [INFO] running `Command { std: "docker" "start" "-a" "8e642f36ee09797b74d160e19eaffb6b2d13f3be56aae20e4a4c5afd8287cc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e642f36ee09797b74d160e19eaffb6b2d13f3be56aae20e4a4c5afd8287cc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e642f36ee09797b74d160e19eaffb6b2d13f3be56aae20e4a4c5afd8287cc88", kill_on_drop: false }` [INFO] [stdout] 8e642f36ee09797b74d160e19eaffb6b2d13f3be56aae20e4a4c5afd8287cc88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3adce6928025b9de61486c78ed3e1fd3348a0882b464fc334450580b5c9a43fc [INFO] running `Command { std: "docker" "start" "-a" "3adce6928025b9de61486c78ed3e1fd3348a0882b464fc334450580b5c9a43fc", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking spdx v0.10.6 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking simple-file-manifest v0.11.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking python-packed-resources v0.12.0 [INFO] [stderr] Checking charset v0.1.5 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking mailparse v0.14.1 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pyo3-ffi v0.17.3 [INFO] [stderr] Compiling pyo3 v0.17.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [INFO] [stderr] Compiling pyo3-macros v0.17.3 [INFO] [stderr] Checking python-oxidized-importer v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/importer.rs:743:33 [INFO] [stdout] | [INFO] [stdout] 730 | let finder = slf.borrow(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 743 | if let Some(bytecode) = module.resolve_bytecode( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 744 | | py, [INFO] [stdout] 745 | | state.optimize_level, [INFO] [stdout] 746 | | state.decode_source.as_ref(py), [INFO] [stdout] 747 | | state.io_module.as_ref(py), [INFO] [stdout] 748 | | )? { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), pyo3::PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/importer.rs:970:31 [INFO] [stdout] | [INFO] [stdout] 967 | Self::path_hook_inner(slf, path).map_err(|inner| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 968 | let err = PyImportError::new_err("error running OxidizedFinder.path_hook"); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 969 | [INFO] [stdout] 970 | if let Err(err) = err.value(slf.py()).setattr("__suppress_context__", true) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/importer.rs:743:33 [INFO] [stdout] | [INFO] [stdout] 730 | let finder = slf.borrow(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 743 | if let Some(bytecode) = module.resolve_bytecode( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 744 | | py, [INFO] [stdout] 745 | | state.optimize_level, [INFO] [stdout] 746 | | state.decode_source.as_ref(py), [INFO] [stdout] 747 | | state.io_module.as_ref(py), [INFO] [stdout] 748 | | )? { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), pyo3::PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/importer.rs:970:31 [INFO] [stdout] | [INFO] [stdout] 967 | Self::path_hook_inner(slf, path).map_err(|inner| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 968 | let err = PyImportError::new_err("error running OxidizedFinder.path_hook"); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 969 | [INFO] [stdout] 970 | if let Err(err) = err.value(slf.py()).setattr("__suppress_context__", true) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<&pyo3::PyAny, pyo3::PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/package_metadata.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 216 | fn entry_points<'p>(self_: PyRef, py: Python<'p>) -> PyResult<&'p PyAny> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | if let Ok(entry_points) = importlib_metadata.getattr("EntryPoints") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<&pyo3::PyAny, pyo3::PyErr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/package_metadata.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 216 | fn entry_points<'p>(self_: PyRef, py: Python<'p>) -> PyResult<&'p PyAny> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | if let Ok(entry_points) = importlib_metadata.getattr("EntryPoints") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[pyo3::Py; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/python_resource_collector.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 278 | let temp_dir = PyTempDir::new(py)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let collector = self.collector.borrow(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | [INFO] [stdout] 281 | let mut compiler = BytecodeCompiler::new(&python_exe, temp_dir.path()).map_err(|e| { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let mut file_installs = Vec::new(); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | &[resources.to_object(py), file_installs.to_object(py)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[pyo3::Py; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/python_resource_collector.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 278 | let temp_dir = PyTempDir::new(py)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let collector = self.collector.borrow(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | [INFO] [stdout] 281 | let mut compiler = BytecodeCompiler::new(&python_exe, temp_dir.path()).map_err(|e| { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let mut file_installs = Vec::new(); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | &[resources.to_object(py), file_installs.to_object(py)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut state = get_module_state(m)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/importer.rs:1210:1 [INFO] [stdout] | [INFO] [stdout] 1210 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stdout] 1211 | impl PyOxidizerTraversable { [INFO] [stdout] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut state = get_module_state(m)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/importer.rs:1210:1 [INFO] [stdout] | [INFO] [stdout] 1210 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stdout] 1211 | impl PyOxidizerTraversable { [INFO] [stdout] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `python-oxidized-importer` (lib) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `python-oxidized-importer` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3adce6928025b9de61486c78ed3e1fd3348a0882b464fc334450580b5c9a43fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3adce6928025b9de61486c78ed3e1fd3348a0882b464fc334450580b5c9a43fc", kill_on_drop: false }` [INFO] [stdout] 3adce6928025b9de61486c78ed3e1fd3348a0882b464fc334450580b5c9a43fc