[INFO] updating cached repository https://github.com/cobbinma/log-analyser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d03cf89581df44f285be8c2d03e1644f04b98c63 [INFO] checking cobbinma/log-analyser/d03cf89581df44f285be8c2d03e1644f04b98c63 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%2Fcobbinma%2Flog-analyser" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cobbinma/log-analyser 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/cobbinma/log-analyser [INFO] finished tweaking git repo https://github.com/cobbinma/log-analyser [INFO] tweaked toml for git repo https://github.com/cobbinma/log-analyser written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cobbinma/log-analyser 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bf92ee0dbd9876a920283098ba6ae34d974caa95e6eef5ee45737eec4c8493ee [INFO] running `Command { std: "docker" "start" "-a" "bf92ee0dbd9876a920283098ba6ae34d974caa95e6eef5ee45737eec4c8493ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf92ee0dbd9876a920283098ba6ae34d974caa95e6eef5ee45737eec4c8493ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf92ee0dbd9876a920283098ba6ae34d974caa95e6eef5ee45737eec4c8493ee", kill_on_drop: false }` [INFO] [stdout] bf92ee0dbd9876a920283098ba6ae34d974caa95e6eef5ee45737eec4c8493ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 27e5fc80e103d85ab0f5db28c041711f5f3dfd585708a4bdf6f5936f37a7548e [INFO] running `Command { std: "docker" "start" "-a" "27e5fc80e103d85ab0f5db28c041711f5f3dfd585708a4bdf6f5936f37a7548e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking comfy-table v4.1.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking log-analyser v0.1.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/analyse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn lines(lines: I) -> MessageStatistics [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | / lines [INFO] [stdout] 12 | | .map(|line| { [INFO] [stdout] 13 | | let message = line [INFO] [stdout] 14 | | .context("unable to read line") [INFO] [stdout] ... | [INFO] [stdout] 24 | | message [INFO] [stdout] 25 | | }) [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/analyse.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn lines(lines: I) -> MessageStatistics [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | .fold(MessageStatistics::new(), |mut stats, message| { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `log-analyser` (bin "log-analyser") due to 3 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/analyse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn lines(lines: I) -> MessageStatistics [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | / lines [INFO] [stdout] 12 | | .map(|line| { [INFO] [stdout] 13 | | let message = line [INFO] [stdout] 14 | | .context("unable to read line") [INFO] [stdout] ... | [INFO] [stdout] 24 | | message [INFO] [stdout] 25 | | }) [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/analyse.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn lines(lines: I) -> MessageStatistics [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | .fold(MessageStatistics::new(), |mut stats, message| { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `log-analyser` (bin "log-analyser" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "27e5fc80e103d85ab0f5db28c041711f5f3dfd585708a4bdf6f5936f37a7548e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e5fc80e103d85ab0f5db28c041711f5f3dfd585708a4bdf6f5936f37a7548e", kill_on_drop: false }` [INFO] [stdout] 27e5fc80e103d85ab0f5db28c041711f5f3dfd585708a4bdf6f5936f37a7548e