[INFO] cloning repository https://github.com/LucianoBestia/mem2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucianoBestia/mem2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucianoBestia%2Fmem2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucianoBestia%2Fmem2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa5969f59208a1d7faf85940dbc602d47c572303 [INFO] checking LucianoBestia/mem2/aa5969f59208a1d7faf85940dbc602d47c572303 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucianoBestia%2Fmem2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucianoBestia/mem2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LucianoBestia/mem2 [INFO] finished tweaking git repo https://github.com/LucianoBestia/mem2 [INFO] tweaked toml for git repo https://github.com/LucianoBestia/mem2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LucianoBestia/mem2 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] 632d175a962d2a67c442ba86ac15542d45ae20a2e4fe52a488d2de2c63e3163d [INFO] running `Command { std: "docker" "start" "-a" "632d175a962d2a67c442ba86ac15542d45ae20a2e4fe52a488d2de2c63e3163d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "632d175a962d2a67c442ba86ac15542d45ae20a2e4fe52a488d2de2c63e3163d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632d175a962d2a67c442ba86ac15542d45ae20a2e4fe52a488d2de2c63e3163d", kill_on_drop: false }` [INFO] [stdout] 632d175a962d2a67c442ba86ac15542d45ae20a2e4fe52a488d2de2c63e3163d [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] 6772b7e78c7843c2f05a180460b7edfd5359720620735ed62d7911469d3e37d2 [INFO] running `Command { std: "docker" "start" "-a" "6772b7e78c7843c2f05a180460b7edfd5359720620735ed62d7911469d3e37d2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.51 [INFO] [stderr] Compiling bumpalo v2.3.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.51 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking futures v0.1.26 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking strum v0.15.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.43 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Compiling strum_macros v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.51 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.51 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.51 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.51 [INFO] [stderr] Compiling web-sys v0.3.28 [INFO] [stderr] Checking js-sys v0.3.28 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.20 [INFO] [stderr] Checking wasm-bindgen-test v0.2.43 [INFO] [stderr] Checking dodrio v0.1.0 [INFO] [stderr] Checking mem2 v1.0.2 (/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/lib.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (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/lib.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Serialize, Deserialize)] [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: this error originates in the macro `try` (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/lib.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | .and_then(|json| serde_json::from_str(&json).ok()); [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/lib.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 513 | let window = web_sys::window().expect("error: web_sys::window"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 514 | window.session_storage().unwrap_throw().unwrap_throw() [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/lib.rs:616:51 [INFO] [stdout] | [INFO] [stdout] 616 | ... .and_then(|t| t.dyn_into::().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/lib.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mem2` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Serialize, Deserialize)] [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: this error originates in the macro `try` (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/lib.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | .and_then(|json| serde_json::from_str(&json).ok()); [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/lib.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 513 | let window = web_sys::window().expect("error: web_sys::window"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 514 | window.session_storage().unwrap_throw().unwrap_throw() [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/lib.rs:616:51 [INFO] [stdout] | [INFO] [stdout] 616 | ... .and_then(|t| t.dyn_into::().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mem2` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "6772b7e78c7843c2f05a180460b7edfd5359720620735ed62d7911469d3e37d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6772b7e78c7843c2f05a180460b7edfd5359720620735ed62d7911469d3e37d2", kill_on_drop: false }` [INFO] [stdout] 6772b7e78c7843c2f05a180460b7edfd5359720620735ed62d7911469d3e37d2