[INFO] fetching crate musli-tests 0.0.26... [INFO] checking musli-tests-0.0.26 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate musli-tests 0.0.26 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate musli-tests 0.0.26 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 musli-tests 0.0.26 [INFO] finished tweaking crates.io crate musli-tests 0.0.26 [INFO] tweaked toml for crates.io crate musli-tests 0.0.26 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate musli-tests 0.0.26 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fd2678802f6ee82ea813e7bef5316457ddca391f2ebf1f8f1eea96849f49f037 [INFO] running `Command { std: "docker" "start" "-a" "fd2678802f6ee82ea813e7bef5316457ddca391f2ebf1f8f1eea96849f49f037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd2678802f6ee82ea813e7bef5316457ddca391f2ebf1f8f1eea96849f49f037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2678802f6ee82ea813e7bef5316457ddca391f2ebf1f8f1eea96849f49f037", kill_on_drop: false }` [INFO] [stdout] fd2678802f6ee82ea813e7bef5316457ddca391f2ebf1f8f1eea96849f49f037 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] aa93bd7d3fb96267137acbc5a7498e26fde01bf17e6b17c86de08363430adc0d [INFO] running `Command { std: "docker" "start" "-a" "aa93bd7d3fb96267137acbc5a7498e26fde01bf17e6b17c86de08363430adc0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking regex-automata v0.4.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking regex v1.10.0 [INFO] [stderr] Checking bstr v1.7.0 [INFO] [stderr] Compiling musli-macros v0.0.72 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking musli v0.0.72 [INFO] [stderr] Checking musli-common v0.0.72 [INFO] [stderr] Checking musli-storage v0.0.72 [INFO] [stderr] Checking musli-json v0.0.72 [INFO] [stderr] Checking musli-value v0.0.72 [INFO] [stderr] Checking musli-descriptive v0.0.72 [INFO] [stderr] Checking musli-wire v0.0.72 [INFO] [stderr] Checking musli-tests v0.0.26 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::full::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::full::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::extra::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::extra::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, mode::Packed>` will fail [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_>` will fail [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (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/utils/macros.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 116 | let value: Result<_, $encode_error> = $encode; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let buffer = value?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | [INFO] [stdout] 119 | Ok(EncodeState { [INFO] [stdout] | ____________________^ [INFO] [stdout] 120 | | buffer, [INFO] [stdout] 121 | | _marker: ::core::marker::PhantomData, [INFO] [stdout] 122 | | }) [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] ::: src/utils/mod.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / benchmarker! { [INFO] [stdout] 215 | | 'buf {@nolen} [INFO] [stdout] 216 | | [INFO] [stdout] 217 | | pub fn buffer() -> () {} [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `benchmarker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `musli-tests` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "aa93bd7d3fb96267137acbc5a7498e26fde01bf17e6b17c86de08363430adc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa93bd7d3fb96267137acbc5a7498e26fde01bf17e6b17c86de08363430adc0d", kill_on_drop: false }` [INFO] [stdout] aa93bd7d3fb96267137acbc5a7498e26fde01bf17e6b17c86de08363430adc0d