[INFO] fetching crate profirust 0.2.0... [INFO] checking profirust-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate profirust 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate profirust 0.2.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] started tweaking crates.io crate profirust 0.2.0 [INFO] finished tweaking crates.io crate profirust 0.2.0 [INFO] tweaked toml for crates.io crate profirust 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate profirust 0.2.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 51e1440278f56d227b7878b2ed135fc47f56b071435736fee33d74d153c2a7fb [INFO] running `Command { std: "docker" "start" "-a" "51e1440278f56d227b7878b2ed135fc47f56b071435736fee33d74d153c2a7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51e1440278f56d227b7878b2ed135fc47f56b071435736fee33d74d153c2a7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e1440278f56d227b7878b2ed135fc47f56b071435736fee33d74d153c2a7fb", kill_on_drop: false }` [INFO] [stdout] 51e1440278f56d227b7878b2ed135fc47f56b071435736fee33d74d153c2a7fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1c9b0d131225796473b05b8f2c0c43249e94a180cd956d45cd89f2d0c61c0bb1 [INFO] running `Command { std: "docker" "start" "-a" "1c9b0d131225796473b05b8f2c0c43249e94a180cd956d45cd89f2d0c61c0bb1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking process-image v0.2.0 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rs485 v0.1.0 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Checking profirust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/time.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `cortex-m`, `default`, `embedded-hal`, `fugit`, `libc`, `nb`, `phy-linux`, `phy-rp2040`, `phy-simulator`, `rp2040-hal`, `rs485`, and `std` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt` [INFO] [stdout] --> src/time.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `cortex-m`, `default`, `embedded-hal`, `fugit`, `libc`, `nb`, `phy-linux`, `phy-rp2040`, `phy-simulator`, `rp2040-hal`, `rs485`, and `std` [INFO] [stdout] = help: consider adding `defmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking proptest v1.2.0 [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/phy/mod.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 67 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | self.transmit_data(now, |buffer| { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 73 | | let ttx = crate::fdl::TelegramTx::new(buffer); [INFO] [stdout] 74 | | let response = f(ttx); [INFO] [stdout] 75 | | if let Some(response) = response { [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | }) [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/phy/mod.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 111 | fn receive_telegram(&mut self, now: crate::time::Instant, f: F) -> Option [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | self.receive_data(now, |buffer| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 116 | | match crate::fdl::Telegram::deserialize(buffer) { [INFO] [stdout] 117 | | // Discard all received data on error. [INFO] [stdout] 118 | | Some(Err(_)) => (buffer.len(), None), [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | }) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `profirust` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1c9b0d131225796473b05b8f2c0c43249e94a180cd956d45cd89f2d0c61c0bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9b0d131225796473b05b8f2c0c43249e94a180cd956d45cd89f2d0c61c0bb1", kill_on_drop: false }` [INFO] [stdout] 1c9b0d131225796473b05b8f2c0c43249e94a180cd956d45cd89f2d0c61c0bb1