[INFO] fetching crate kokai 0.3.1... [INFO] checking kokai-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kokai 0.3.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate kokai 0.3.1 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 kokai 0.3.1 [INFO] finished tweaking crates.io crate kokai 0.3.1 [INFO] tweaked toml for crates.io crate kokai 0.3.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate kokai 0.3.1 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 10f82f861c0e0d1b8161c34574ab58e03caca43b431d3880876582fc0ef5d0ed [INFO] running `Command { std: "docker" "start" "-a" "10f82f861c0e0d1b8161c34574ab58e03caca43b431d3880876582fc0ef5d0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10f82f861c0e0d1b8161c34574ab58e03caca43b431d3880876582fc0ef5d0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f82f861c0e0d1b8161c34574ab58e03caca43b431d3880876582fc0ef5d0ed", kill_on_drop: false }` [INFO] [stdout] 10f82f861c0e0d1b8161c34574ab58e03caca43b431d3880876582fc0ef5d0ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b007e6ba63b6609d31b50413de568571b17e8d7ba91f63f592876c957bbfe3de [INFO] running `Command { std: "docker" "start" "-a" "b007e6ba63b6609d31b50413de568571b17e8d7ba91f63f592876c957bbfe3de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling openssl-src v111.13.0+1.1.1i [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling libgit2-sys v0.12.17+1.1.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking git2 v0.13.15 [INFO] [stderr] Checking kokai v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `italic`, `strike`, and `quote` are never used [INFO] [stdout] --> src/format/formatters.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Markdown { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn italic(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn strike(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn quote(&self) -> String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/error.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn into_error_msg(self, msg: S) -> Result { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | self.map_err(|_| Error::new(msg)) [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/error.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn into_error_msg(self, msg: S) -> Result { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self.map_err(|_| Error::new(msg)) [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/git/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 27 | let repo = self.repository()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let mut walk = repo.revwalk().into_error()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let start_commit = repo.get_commit_from_ref(&from)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | / walk [INFO] [stdout] 36 | | .into_iter() [INFO] [stdout] 37 | | .map(|c| c.unwrap()) [INFO] [stdout] 38 | | .map(|c| repo.revparse_single(&c.to_string()).unwrap()) [INFO] [stdout] 39 | | .map(|c| c.peel_to_commit().unwrap()) [INFO] [stdout] 40 | | .map(Commit::from) [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] | |__________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/git/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|c| repo.revparse_single(&c.to_string()).unwrap()) [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/git/mod.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|c| c.peel_to_commit().unwrap()) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kokai` (bin "kokai") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `italic`, `strike`, and `quote` are never used [INFO] [stdout] --> src/format/formatters.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Markdown { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn italic(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn strike(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn quote(&self) -> String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/error.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn into_error_msg(self, msg: S) -> Result { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | self.map_err(|_| Error::new(msg)) [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/error.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn into_error_msg(self, msg: S) -> Result { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self.map_err(|_| Error::new(msg)) [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/git/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 27 | let repo = self.repository()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let mut walk = repo.revwalk().into_error()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let start_commit = repo.get_commit_from_ref(&from)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | / walk [INFO] [stdout] 36 | | .into_iter() [INFO] [stdout] 37 | | .map(|c| c.unwrap()) [INFO] [stdout] 38 | | .map(|c| repo.revparse_single(&c.to_string()).unwrap()) [INFO] [stdout] 39 | | .map(|c| c.peel_to_commit().unwrap()) [INFO] [stdout] 40 | | .map(Commit::from) [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] | |__________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/git/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|c| repo.revparse_single(&c.to_string()).unwrap()) [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/git/mod.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|c| c.peel_to_commit().unwrap()) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kokai` (bin "kokai" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b007e6ba63b6609d31b50413de568571b17e8d7ba91f63f592876c957bbfe3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b007e6ba63b6609d31b50413de568571b17e8d7ba91f63f592876c957bbfe3de", kill_on_drop: false }` [INFO] [stdout] b007e6ba63b6609d31b50413de568571b17e8d7ba91f63f592876c957bbfe3de