[INFO] fetching crate prometheus_sensors_exporter 0.1.2... [INFO] checking prometheus_sensors_exporter-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate prometheus_sensors_exporter 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate prometheus_sensors_exporter 0.1.2 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-0-tc2/source/.cargo/config [INFO] started tweaking crates.io crate prometheus_sensors_exporter 0.1.2 [INFO] finished tweaking crates.io crate prometheus_sensors_exporter 0.1.2 [INFO] tweaked toml for crates.io crate prometheus_sensors_exporter 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate prometheus_sensors_exporter 0.1.2 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a6531f68b1537c9fa5c4a282d3b97fd214b4119cb23c8e892a139a0e48340a0 [INFO] running `Command { std: "docker" "start" "-a" "4a6531f68b1537c9fa5c4a282d3b97fd214b4119cb23c8e892a139a0e48340a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a6531f68b1537c9fa5c4a282d3b97fd214b4119cb23c8e892a139a0e48340a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6531f68b1537c9fa5c4a282d3b97fd214b4119cb23c8e892a139a0e48340a0", kill_on_drop: false }` [INFO] [stdout] 4a6531f68b1537c9fa5c4a282d3b97fd214b4119cb23c8e892a139a0e48340a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 3e3b89828b6c5e705b828107fe2a4e77d8905263097d592f1546588d88f38d7e [INFO] running `Command { std: "docker" "start" "-a" "3e3b89828b6c5e705b828107fe2a4e77d8905263097d592f1546588d88f38d7e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling protobuf v2.10.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling prometheus v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking tmp1x2 v0.2.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking ads1x1x v0.2.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-executor v0.1.9 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.12 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.17 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking tokio-reactor v0.1.11 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking i2cdev v0.4.4 [INFO] [stderr] Checking linux-embedded-hal v0.2.2 [INFO] [stderr] Checking prometheus_sensors_exporter v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/external/si7021.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Unknown(u8), [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | Unknown(()), [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/implementation/sensor/tmp102.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 38 | let dev = hal::I2cdev::new(i2c_bus).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let sensor = Tmp1x2::new(dev, i2c_address); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok ( Self { sensor } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/implementation/sensor/si7021.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 23 | let dev = hal::I2cdev::new(i2c_bus).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let sensor = si7021::Si7021::new(dev); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Ok ( Initialized::new ( sensor ) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/implementation/sensor/si7021.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn new( sensor: si7021::Si7021 ) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Initialized { sensor: Arc::new( Mutex::new( sensor ) ) } [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/implementation/sensor/ads1115.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 49 | let dev = hal::I2cdev::new(i2c_bus).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let mut sensor = Ads1x1x::new_ads1115(dev, address); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok ( Initialized::new ( sensor, get_scale_raw_to_milivolts(range) ) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/implementation/sensor/ads1115.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 78 | ...w( sensor: ads1x1x::Ads1x1x, ads1x1x::ic::Ads1115, ads1x1x::ic::Resolution16Bit, ads1x1x::mode::OneShot>, s... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | ...nitialized { sensor: Arc::new( Mutex::new( sensor ) ), scale_raw_to_minivolts } [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/implementation/sensor/tmp36.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init( sensor: Box + Send + Sync> ) -> Result { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | Ok ( Tmp36 { sensor } ) [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/server.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 73 | let sensors_sync = Arc::new(Mutex::new(sensors)); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let sensors_sync = Arc::clone(&sensors_sync); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | service_fn_ok(move |_request| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 81 | | [INFO] [stdout] 82 | | // Create registry [INFO] [stdout] 83 | | let registry = Registry::new(); [INFO] [stdout] ... | [INFO] [stdout] 104 | | response [INFO] [stdout] 105 | | }) [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus_sensors_exporter` (bin "prometheus_sensors_exporter") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/external/si7021.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Unknown(u8), [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | Unknown(()), [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/implementation/sensor/tmp102.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 38 | let dev = hal::I2cdev::new(i2c_bus).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let sensor = Tmp1x2::new(dev, i2c_address); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok ( Self { sensor } ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/implementation/sensor/si7021.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 23 | let dev = hal::I2cdev::new(i2c_bus).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let sensor = si7021::Si7021::new(dev); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Ok ( Initialized::new ( sensor ) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/implementation/sensor/si7021.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn new( sensor: si7021::Si7021 ) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Initialized { sensor: Arc::new( Mutex::new( sensor ) ) } [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/implementation/sensor/ads1115.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 49 | let dev = hal::I2cdev::new(i2c_bus).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let mut sensor = Ads1x1x::new_ads1115(dev, address); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok ( Initialized::new ( sensor, get_scale_raw_to_milivolts(range) ) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/implementation/sensor/ads1115.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 78 | ...w( sensor: ads1x1x::Ads1x1x, ads1x1x::ic::Ads1115, ads1x1x::ic::Resolution16Bit, ads1x1x::mode::OneShot>, s... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | ...nitialized { sensor: Arc::new( Mutex::new( sensor ) ), scale_raw_to_minivolts } [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/implementation/sensor/tmp36.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init( sensor: Box + Send + Sync> ) -> Result { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | Ok ( Tmp36 { sensor } ) [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/server.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 73 | let sensors_sync = Arc::new(Mutex::new(sensors)); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let sensors_sync = Arc::clone(&sensors_sync); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | service_fn_ok(move |_request| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 81 | | [INFO] [stdout] 82 | | // Create registry [INFO] [stdout] 83 | | let registry = Registry::new(); [INFO] [stdout] ... | [INFO] [stdout] 104 | | response [INFO] [stdout] 105 | | }) [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus_sensors_exporter` (bin "prometheus_sensors_exporter" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3e3b89828b6c5e705b828107fe2a4e77d8905263097d592f1546588d88f38d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3b89828b6c5e705b828107fe2a4e77d8905263097d592f1546588d88f38d7e", kill_on_drop: false }` [INFO] [stdout] 3e3b89828b6c5e705b828107fe2a4e77d8905263097d592f1546588d88f38d7e