[INFO] cloning repository https://github.com/FelixTheC/reasycheck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FelixTheC/reasycheck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFelixTheC%2Freasycheck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFelixTheC%2Freasycheck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a77c9aab206ee09dc7ba401e3a01ede5367f5d2 [INFO] checking FelixTheC/reasycheck/1a77c9aab206ee09dc7ba401e3a01ede5367f5d2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFelixTheC%2Freasycheck" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FelixTheC/reasycheck on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FelixTheC/reasycheck [INFO] finished tweaking git repo https://github.com/FelixTheC/reasycheck [INFO] tweaked toml for git repo https://github.com/FelixTheC/reasycheck written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FelixTheC/reasycheck already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 417b48f61f31e6323fbb647806844653359ff143454fcb1f826358591a10bb21 [INFO] running `Command { std: "docker" "start" "-a" "417b48f61f31e6323fbb647806844653359ff143454fcb1f826358591a10bb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417b48f61f31e6323fbb647806844653359ff143454fcb1f826358591a10bb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417b48f61f31e6323fbb647806844653359ff143454fcb1f826358591a10bb21", kill_on_drop: false }` [INFO] [stdout] 417b48f61f31e6323fbb647806844653359ff143454fcb1f826358591a10bb21 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78d71308d8d135cb89184b95b1422e29d1ac0d172e8e23387b02aaa1a1f970ee [INFO] running `Command { std: "docker" "start" "-a" "78d71308d8d135cb89184b95b1422e29d1ac0d172e8e23387b02aaa1a1f970ee", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking reasycheck v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/check_type_condition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoPy` [INFO] [stdout] --> src/check_type_condition.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::{AsPyPointer, IntoPy, pyfunction, PyObject, PyResult, Python, PyTypeInfo}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic::catch_unwind` [INFO] [stdout] --> src/path_condition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use panic::catch_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/path_condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/path_condition.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/path_condition.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyResult` [INFO] [stdout] --> src/path_condition.rs:8:80 [INFO] [stdout] | [INFO] [stdout] 8 | use pyo3::{AsPyPointer, FromPyPointer, Py, PyAny, PyErr, pyfunction, PyObject, PyResult, Python, PyTypeInfo, ToPyObject}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyGen_New` [INFO] [stdout] --> src/path_condition.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use pyo3::ffi::{PyGen_New, PyIter_Next, PyObject_IsInstance}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/path_condition.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/check_type_condition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoPy` [INFO] [stdout] --> src/check_type_condition.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::{AsPyPointer, IntoPy, pyfunction, PyObject, PyResult, Python, PyTypeInfo}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic::catch_unwind` [INFO] [stdout] --> src/path_condition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use panic::catch_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/path_condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/path_condition.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/path_condition.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyResult` [INFO] [stdout] --> src/path_condition.rs:8:80 [INFO] [stdout] | [INFO] [stdout] 8 | use pyo3::{AsPyPointer, FromPyPointer, Py, PyAny, PyErr, pyfunction, PyObject, PyResult, Python, PyTypeInfo, ToPyObject}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyGen_New` [INFO] [stdout] --> src/path_condition.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use pyo3::ffi::{PyGen_New, PyIter_Next, PyObject_IsInstance}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/path_condition.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromPyPointer` [INFO] [stdout] --> src/path_condition.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use pyo3::{AsPyPointer, FromPyPointer, Py, PyAny, PyErr, pyfunction, PyObject, PyResult, Python, PyTypeInfo, ToPyObject}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/if_condition.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn assert_if(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/if_not_condition.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn assert_if_not(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `throw_error` is never read [INFO] [stdout] --> src/limit_condition.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut throw_error = true; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/limit_condition.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | ... handle_with: Option<&PyType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/length_condition.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | handle_with: Option<&PyType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/is_close_condition.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | handle_with: Option<&PyType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/check_type_condition.rs:58:81 [INFO] [stdout] | [INFO] [stdout] 58 | ...xpected_type: PyObject, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `err_msg` is never read [INFO] [stdout] --> src/path_condition.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | let mut err_msg: String = "".to_string(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromPyPointer` [INFO] [stdout] --> src/path_condition.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use pyo3::{AsPyPointer, FromPyPointer, Py, PyAny, PyErr, pyfunction, PyObject, PyResult, Python, PyTypeInfo, ToPyObject}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_condition.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn check_if(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | match condition.is_true(_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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_condition.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn assert_if(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | check_if(_py, condition, Option::from(PyAssertionError::new_err(()).get_type(_py)), message) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_not_condition.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check_if_not(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | match condition.is_true(_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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_not_condition.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn assert_if_not(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | check_if_not(_py, condition, Option::from(PyAssertionError::new_err(()).get_type(_py)), message) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/length_condition.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 23 | operator: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | match item.call_method0("__len__") { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/length_condition.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 78 | operator: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | assign_length_to_others: Option) -> PyResult<()> { [INFO] [stdout] 80 | check_length(_py, item, expected_length, Option::from(PyAssertionError::new_err(()).get_type(_py)), message, operator, assign_length_... [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: unused variable: `handle_with` [INFO] [stdout] --> src/if_condition.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn assert_if(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/is_close_condition.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 58 | x: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | y: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match _py.import("math") { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/is_close_condition.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 102 | x: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | y: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | check_if_isclose(_py, x, y, Option::from(PyAssertionError::new_err(()).get_type(_py)), message, rel_tol, abs_tol) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/check_type_condition.rs:59:55 [INFO] [stdout] | [INFO] [stdout] 58 | ...unsafe fn assert_type(_py: Python, item: PyObject, expected_type: PyObject, handle_with: Option<&PyType>, message: Option<&str>) -> Py... [INFO] [stdout] | -------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ...check_type(_py, item, expected_type, Option::from(PyAssertionError::new_err(()).get_type(_py)), message) [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: unused variable: `handle_with` [INFO] [stdout] --> src/if_not_condition.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn assert_if_not(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `throw_error` is never read [INFO] [stdout] --> src/limit_condition.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut throw_error = true; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reasycheck` (lib) due to 10 previous errors; 18 warnings emitted [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/limit_condition.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | ... handle_with: Option<&PyType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/length_condition.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | handle_with: Option<&PyType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/is_close_condition.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | handle_with: Option<&PyType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_with` [INFO] [stdout] --> src/check_type_condition.rs:58:81 [INFO] [stdout] | [INFO] [stdout] 58 | ...xpected_type: PyObject, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `err_msg` is never read [INFO] [stdout] --> src/path_condition.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | let mut err_msg: String = "".to_string(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_condition.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn check_if(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | match condition.is_true(_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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_condition.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn assert_if(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | check_if(_py, condition, Option::from(PyAssertionError::new_err(()).get_type(_py)), message) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_not_condition.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check_if_not(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | match condition.is_true(_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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/if_not_condition.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn assert_if_not(_py: Python, condition: Py, handle_with: Option<&PyType>, message: Option<&str>) -> PyResult<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | check_if_not(_py, condition, Option::from(PyAssertionError::new_err(()).get_type(_py)), message) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/length_condition.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 23 | operator: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | match item.call_method0("__len__") { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/length_condition.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 78 | operator: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | assign_length_to_others: Option) -> PyResult<()> { [INFO] [stdout] 80 | check_length(_py, item, expected_length, Option::from(PyAssertionError::new_err(()).get_type(_py)), message, operator, assign_length_... [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/is_close_condition.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 58 | x: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | y: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match _py.import("math") { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/is_close_condition.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 102 | x: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | y: Py, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | check_if_isclose(_py, x, y, Option::from(PyAssertionError::new_err(()).get_type(_py)), message, rel_tol, abs_tol) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/check_type_condition.rs:59:55 [INFO] [stdout] | [INFO] [stdout] 58 | ...unsafe fn assert_type(_py: Python, item: PyObject, expected_type: PyObject, handle_with: Option<&PyType>, message: Option<&str>) -> Py... [INFO] [stdout] | -------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ...check_type(_py, item, expected_type, Option::from(PyAssertionError::new_err(()).get_type(_py)), message) [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: aborting due to 9 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reasycheck` (lib test) due to 10 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78d71308d8d135cb89184b95b1422e29d1ac0d172e8e23387b02aaa1a1f970ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d71308d8d135cb89184b95b1422e29d1ac0d172e8e23387b02aaa1a1f970ee", kill_on_drop: false }` [INFO] [stdout] 78d71308d8d135cb89184b95b1422e29d1ac0d172e8e23387b02aaa1a1f970ee