[INFO] fetching crate ev3dev-lang-rust 0.14.0... [INFO] checking ev3dev-lang-rust-0.14.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ev3dev-lang-rust 0.14.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ev3dev-lang-rust 0.14.0 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] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate ev3dev-lang-rust 0.14.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ev3dev-lang-rust 0.14.0 [INFO] tweaked toml for crates.io crate ev3dev-lang-rust 0.14.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate ev3dev-lang-rust 0.14.0 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] 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] 62ea67af8549a8794590ab06098a5150b8c62e339600709ef88fbd05fb24f5fb [INFO] running `Command { std: "docker" "start" "-a" "62ea67af8549a8794590ab06098a5150b8c62e339600709ef88fbd05fb24f5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62ea67af8549a8794590ab06098a5150b8c62e339600709ef88fbd05fb24f5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ea67af8549a8794590ab06098a5150b8c62e339600709ef88fbd05fb24f5fb", kill_on_drop: false }` [INFO] [stdout] 62ea67af8549a8794590ab06098a5150b8c62e339600709ef88fbd05fb24f5fb [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] f66125801ec130c38dd6b4e7867c4625ec1a21865dc0c66d1f269d4a439e1965 [INFO] running `Command { std: "docker" "start" "-a" "f66125801ec130c38dd6b4e7867c4625ec1a21865dc0c66d1f269d4a439e1965", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ev3dev-lang-rust-derive v0.10.0 [INFO] [stderr] Checking ev3dev-lang-rust v0.14.0 (/opt/rustwide/workdir) [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/attribute.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Attribute { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | file_path: PathBuf::from(path), [INFO] [stdout] 40 | | file: Arc::new(Mutex::new(file)), [INFO] [stdout] 41 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/motors/large_motor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / findable!( [INFO] [stdout] 17 | | "tacho-motor", [INFO] [stdout] 18 | | ["lego-ev3-l-motor", "lego-nxt-motor"], [INFO] [stdout] 19 | | MotorPort, [INFO] [stdout] 20 | | "LargeMotor", [INFO] [stdout] 21 | | "out" [INFO] [stdout] 22 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/motors/medium_motor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / findable!( [INFO] [stdout] 17 | | "tacho-motor", [INFO] [stdout] 18 | | ["lego-ev3-m-motor"], [INFO] [stdout] 19 | | MotorPort, [INFO] [stdout] 20 | | "MediumMotor", [INFO] [stdout] 21 | | "out" [INFO] [stdout] 22 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/motors/tacho_motor.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 76 | vec.extend(large_motor.into_iter().map(|motor| TachoMotor { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | inner: TachoMotorInner::LargeMotor { motor }, [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/motors/tacho_motor.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 80 | vec.extend(medium_motor.into_iter().map(|motor| TachoMotor { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | inner: TachoMotorInner::MediumMotor { motor }, [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/motors/tacho_motor.rs:946:20 [INFO] [stdout] | [INFO] [stdout] 944 | fn from(motor: LargeMotor) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 945 | Self { [INFO] [stdout] 946 | inner: TachoMotorInner::LargeMotor { motor }, [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/motors/tacho_motor.rs:954:20 [INFO] [stdout] | [INFO] [stdout] 952 | fn from(motor: MediumMotor) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 953 | Self { [INFO] [stdout] 954 | inner: TachoMotorInner::MediumMotor { motor }, [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/color_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["lego-ev3-color"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "ColorSensor", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/hi_technic_color_sensor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / findable!( [INFO] [stdout] 19 | | "lego-sensor", [INFO] [stdout] 20 | | ["ht-nxt-color-v2"], [INFO] [stdout] 21 | | SensorPort, [INFO] [stdout] 22 | | "HiTechnicColorSensor", [INFO] [stdout] 23 | | "in" [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/ir_seeker_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["ht-nxt-ir-seek-v2"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "IrSeeker", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/compass_sensor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / findable!( [INFO] [stdout] 19 | | "lego-sensor", [INFO] [stdout] 20 | | ["ht-nxt-compass"], [INFO] [stdout] 21 | | SensorPort, [INFO] [stdout] 22 | | "Compass", [INFO] [stdout] 23 | | "in" [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/light_sensor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / findable!( [INFO] [stdout] 25 | | "lego-sensor", [INFO] [stdout] 26 | | ["lego-nxt-light"], [INFO] [stdout] 27 | | SensorPort, [INFO] [stdout] 28 | | "LightSensor", [INFO] [stdout] 29 | | "in" [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/gyro_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["lego-ev3-gyro"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "GyroSensor", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/infrared_sensor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / findable!( [INFO] [stdout] 22 | | "lego-sensor", [INFO] [stdout] 23 | | ["lego-ev3-ir"], [INFO] [stdout] 24 | | SensorPort, [INFO] [stdout] 25 | | "InfraredSensor", [INFO] [stdout] 26 | | "in" [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/sensors/infrared_sensor.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(sensor: InfraredSensor, channel: u8) -> Ev3Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(RemoteControl { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | sensor, [INFO] [stdout] 121 | | channel: u8::max(1, u8::min(4, channel)) - 1, [INFO] [stdout] 122 | | helper: Rc::new(RefCell::new(RemoteControlHelper::new())), [INFO] [stdout] 123 | | }) [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/sensors/infrared_sensor.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn new(sensor: InfraredSensor, channel: u8) -> Ev3Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(BeaconSeeker { [INFO] [stdout] | ____________^ [INFO] [stdout] 223 | | sensor, [INFO] [stdout] 224 | | channel: u8::max(1, u8::min(4, channel)) - 1, [INFO] [stdout] 225 | | }) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/touch_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["lego-ev3-touch", "lego-nxt-touch"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "TouchSensor", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/ultrasonic_sensor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / findable!( [INFO] [stdout] 25 | | "lego-sensor", [INFO] [stdout] 26 | | ["lego-ev3-us", "lego-nxt-us"], [INFO] [stdout] 27 | | SensorPort, [INFO] [stdout] 28 | | "UltrasonicSensor", [INFO] [stdout] 29 | | "in" [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ev3.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 58 | let paths = fs::read_dir(Path::new(DRIVER_PATH).join("leds"))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let left_red = Attribute::from_sys_class("leds", left_red_name.as_str(), "brightness")?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let left_green = Attribute::from_sys_class("leds", left_green_name.as_str(), "brightness")?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let right_red = Attribute::from_sys_class("leds", right_red_name.as_str(), "brightness")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let right_green = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | Ok(Led { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | left_red, [INFO] [stdout] 89 | | left_green, [INFO] [stdout] 90 | | right_red, [INFO] [stdout] 91 | | right_green, [INFO] [stdout] 92 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/ev3.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 377 | let mut handler = ButtonFileHandler::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 391 | | button_handler: Rc::new(RefCell::new(handler)), [INFO] [stdout] 392 | | }) [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/ev3.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn set_change_handler(&mut self, handler: impl Fn(HashSet) + 'static) { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | / self.button_handler [INFO] [stdout] 467 | | .borrow_mut() [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/ev3.rs:468:40 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn set_change_handler(&mut self, handler: impl Fn(HashSet) + 'static) { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 468 | .set_button_change_handler(Some(Box::new(handler))) [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/sound.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn beep_args(args: I) -> Ev3Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(Command::new("/usr/bin/beep") [INFO] [stdout] | ________^ [INFO] [stdout] 68 | | .args(args) [INFO] [stdout] 69 | | .stdout(Stdio::null()) [INFO] [stdout] 70 | | .spawn()?) [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/attribute.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Attribute { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | file_path: PathBuf::from(path), [INFO] [stdout] 40 | | file: Arc::new(Mutex::new(file)), [INFO] [stdout] 41 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/motors/large_motor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / findable!( [INFO] [stdout] 17 | | "tacho-motor", [INFO] [stdout] 18 | | ["lego-ev3-l-motor", "lego-nxt-motor"], [INFO] [stdout] 19 | | MotorPort, [INFO] [stdout] 20 | | "LargeMotor", [INFO] [stdout] 21 | | "out" [INFO] [stdout] 22 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/motors/medium_motor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / findable!( [INFO] [stdout] 17 | | "tacho-motor", [INFO] [stdout] 18 | | ["lego-ev3-m-motor"], [INFO] [stdout] 19 | | MotorPort, [INFO] [stdout] 20 | | "MediumMotor", [INFO] [stdout] 21 | | "out" [INFO] [stdout] 22 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/motors/tacho_motor.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 76 | vec.extend(large_motor.into_iter().map(|motor| TachoMotor { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | inner: TachoMotorInner::LargeMotor { motor }, [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/motors/tacho_motor.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 80 | vec.extend(medium_motor.into_iter().map(|motor| TachoMotor { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | inner: TachoMotorInner::MediumMotor { motor }, [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/motors/tacho_motor.rs:946:20 [INFO] [stdout] | [INFO] [stdout] 944 | fn from(motor: LargeMotor) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 945 | Self { [INFO] [stdout] 946 | inner: TachoMotorInner::LargeMotor { motor }, [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/motors/tacho_motor.rs:954:20 [INFO] [stdout] | [INFO] [stdout] 952 | fn from(motor: MediumMotor) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 953 | Self { [INFO] [stdout] 954 | inner: TachoMotorInner::MediumMotor { motor }, [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/color_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["lego-ev3-color"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "ColorSensor", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/hi_technic_color_sensor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / findable!( [INFO] [stdout] 19 | | "lego-sensor", [INFO] [stdout] 20 | | ["ht-nxt-color-v2"], [INFO] [stdout] 21 | | SensorPort, [INFO] [stdout] 22 | | "HiTechnicColorSensor", [INFO] [stdout] 23 | | "in" [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/ir_seeker_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["ht-nxt-ir-seek-v2"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "IrSeeker", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/compass_sensor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / findable!( [INFO] [stdout] 19 | | "lego-sensor", [INFO] [stdout] 20 | | ["ht-nxt-compass"], [INFO] [stdout] 21 | | SensorPort, [INFO] [stdout] 22 | | "Compass", [INFO] [stdout] 23 | | "in" [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/light_sensor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / findable!( [INFO] [stdout] 25 | | "lego-sensor", [INFO] [stdout] 26 | | ["lego-nxt-light"], [INFO] [stdout] 27 | | SensorPort, [INFO] [stdout] 28 | | "LightSensor", [INFO] [stdout] 29 | | "in" [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/gyro_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["lego-ev3-gyro"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "GyroSensor", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/infrared_sensor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / findable!( [INFO] [stdout] 22 | | "lego-sensor", [INFO] [stdout] 23 | | ["lego-ev3-ir"], [INFO] [stdout] 24 | | SensorPort, [INFO] [stdout] 25 | | "InfraredSensor", [INFO] [stdout] 26 | | "in" [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/sensors/infrared_sensor.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(sensor: InfraredSensor, channel: u8) -> Ev3Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(RemoteControl { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | sensor, [INFO] [stdout] 121 | | channel: u8::max(1, u8::min(4, channel)) - 1, [INFO] [stdout] 122 | | helper: Rc::new(RefCell::new(RemoteControlHelper::new())), [INFO] [stdout] 123 | | }) [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/sensors/infrared_sensor.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn new(sensor: InfraredSensor, channel: u8) -> Ev3Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(BeaconSeeker { [INFO] [stdout] | ____________^ [INFO] [stdout] 223 | | sensor, [INFO] [stdout] 224 | | channel: u8::max(1, u8::min(4, channel)) - 1, [INFO] [stdout] 225 | | }) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/touch_sensor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / findable!( [INFO] [stdout] 18 | | "lego-sensor", [INFO] [stdout] 19 | | ["lego-ev3-touch", "lego-nxt-touch"], [INFO] [stdout] 20 | | SensorPort, [INFO] [stdout] 21 | | "TouchSensor", [INFO] [stdout] 22 | | "in" [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/findable.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | .map(|name| Self::new(Driver::new($class_name, &name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sensors/ultrasonic_sensor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / findable!( [INFO] [stdout] 25 | | "lego-sensor", [INFO] [stdout] 26 | | ["lego-ev3-us", "lego-nxt-us"], [INFO] [stdout] 27 | | SensorPort, [INFO] [stdout] 28 | | "UltrasonicSensor", [INFO] [stdout] 29 | | "in" [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `findable` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ev3.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 58 | let paths = fs::read_dir(Path::new(DRIVER_PATH).join("leds"))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let left_red = Attribute::from_sys_class("leds", left_red_name.as_str(), "brightness")?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let left_green = Attribute::from_sys_class("leds", left_green_name.as_str(), "brightness")?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let right_red = Attribute::from_sys_class("leds", right_red_name.as_str(), "brightness")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let right_green = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | Ok(Led { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | left_red, [INFO] [stdout] 89 | | left_green, [INFO] [stdout] 90 | | right_red, [INFO] [stdout] 91 | | right_green, [INFO] [stdout] 92 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/ev3.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 377 | let mut handler = ButtonFileHandler::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 391 | | button_handler: Rc::new(RefCell::new(handler)), [INFO] [stdout] 392 | | }) [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/ev3.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn set_change_handler(&mut self, handler: impl Fn(HashSet) + 'static) { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | / self.button_handler [INFO] [stdout] 467 | | .borrow_mut() [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/ev3.rs:468:40 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn set_change_handler(&mut self, handler: impl Fn(HashSet) + 'static) { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 468 | .set_button_change_handler(Some(Box::new(handler))) [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/sound.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn beep_args(args: I) -> Ev3Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(Command::new("/usr/bin/beep") [INFO] [stdout] | ________^ [INFO] [stdout] 68 | | .args(args) [INFO] [stdout] 69 | | .stdout(Stdio::null()) [INFO] [stdout] 70 | | .spawn()?) [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/sound.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 155 | let espeak = Command::new("/usr/bin/espeak") [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | Ok(Command::new("/usr/bin/aplay") [INFO] [stdout] | ________^ [INFO] [stdout] 161 | | .arg("-q") [INFO] [stdout] 162 | | .stdin(espeak.stdout.ok_or(Ev3Error::InternalError { [INFO] [stdout] 163 | | msg: "`espeak` pipe to `aplay` could not be created!".to_owned(), [INFO] [stdout] 164 | | })?) [INFO] [stdout] 165 | | .stdout(Stdio::null()) [INFO] [stdout] 166 | | .spawn()?) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sound.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 155 | let espeak = Command::new("/usr/bin/espeak") [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | Ok(Command::new("/usr/bin/aplay") [INFO] [stdout] | ________^ [INFO] [stdout] 161 | | .arg("-q") [INFO] [stdout] 162 | | .stdin(espeak.stdout.ok_or(Ev3Error::InternalError { [INFO] [stdout] 163 | | msg: "`espeak` pipe to `aplay` could not be created!".to_owned(), [INFO] [stdout] 164 | | })?) [INFO] [stdout] 165 | | .stdout(Stdio::null()) [INFO] [stdout] 166 | | .spawn()?) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ev3dev-lang-rust` (lib test) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ev3dev-lang-rust` (lib) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "f66125801ec130c38dd6b4e7867c4625ec1a21865dc0c66d1f269d4a439e1965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66125801ec130c38dd6b4e7867c4625ec1a21865dc0c66d1f269d4a439e1965", kill_on_drop: false }` [INFO] [stdout] f66125801ec130c38dd6b4e7867c4625ec1a21865dc0c66d1f269d4a439e1965