[INFO] fetching crate git-bump 0.2.0... [INFO] checking git-bump-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate git-bump 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate git-bump 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 git-bump 0.2.0 [INFO] finished tweaking crates.io crate git-bump 0.2.0 [INFO] tweaked toml for crates.io crate git-bump 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate git-bump 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] 1affb1c09206ff04b777bc94bf0710a9ac6d0cb2c266514e41f3bb27aa3b2cad [INFO] running `Command { std: "docker" "start" "-a" "1affb1c09206ff04b777bc94bf0710a9ac6d0cb2c266514e41f3bb27aa3b2cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1affb1c09206ff04b777bc94bf0710a9ac6d0cb2c266514e41f3bb27aa3b2cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1affb1c09206ff04b777bc94bf0710a9ac6d0cb2c266514e41f3bb27aa3b2cad", kill_on_drop: false }` [INFO] [stdout] 1affb1c09206ff04b777bc94bf0710a9ac6d0cb2c266514e41f3bb27aa3b2cad [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] 249d67831c39cff9680bbb36447e812abef1a627ab32a9c34bb13b41cdfc026c [INFO] running `Command { std: "docker" "start" "-a" "249d67831c39cff9680bbb36447e812abef1a627ab32a9c34bb13b41cdfc026c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling luajit-src v210.3.3+resty673aaad [INFO] [stderr] Compiling lua-src v544.0.0 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling libgit2-sys v0.13.2+1.4.2 [INFO] [stderr] Compiling mlua v0.7.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking git2 v0.14.2 [INFO] [stderr] Checking git-bump v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | fn bump(version: String) -> Result<()> { [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 `!: LuaUserData` will fail [INFO] [stdout] --> src/lib.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | .call(()) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | fn bump(version: String) -> Result<()> { [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 `!: LuaUserData` will fail [INFO] [stdout] --> src/lib.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | .call(()) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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/state.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | Rc::clone(self.lua.get_or_insert_with(|| Rc::new(Lua::new()))) [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/state.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | home::home_dir().and_then(|p| p.join(".git-bump.lua").canonicalize().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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-bump` (lib test) due to 3 previous errors; 1 warning emitted [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/state.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | Rc::clone(self.lua.get_or_insert_with(|| Rc::new(Lua::new()))) [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/state.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | home::home_dir().and_then(|p| p.join(".git-bump.lua").canonicalize().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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-bump` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "249d67831c39cff9680bbb36447e812abef1a627ab32a9c34bb13b41cdfc026c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249d67831c39cff9680bbb36447e812abef1a627ab32a9c34bb13b41cdfc026c", kill_on_drop: false }` [INFO] [stdout] 249d67831c39cff9680bbb36447e812abef1a627ab32a9c34bb13b41cdfc026c