[INFO] cloning repository https://github.com/cardoe/cargo-bitbake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cardoe/cargo-bitbake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardoe%2Fcargo-bitbake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardoe%2Fcargo-bitbake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77c1f66e61d8a006a1ddb01f023084e4e183644b [INFO] checking cardoe/cargo-bitbake/77c1f66e61d8a006a1ddb01f023084e4e183644b 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%2Fcardoe%2Fcargo-bitbake" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cardoe/cargo-bitbake 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/cardoe/cargo-bitbake [INFO] finished tweaking git repo https://github.com/cardoe/cargo-bitbake [INFO] tweaked toml for git repo https://github.com/cardoe/cargo-bitbake written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cardoe/cargo-bitbake 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] ef3a5fbc6529bdfd94cd253d312af702b6ef6b5f1de1aabf0df7c9ffdf771391 [INFO] running `Command { std: "docker" "start" "-a" "ef3a5fbc6529bdfd94cd253d312af702b6ef6b5f1de1aabf0df7c9ffdf771391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef3a5fbc6529bdfd94cd253d312af702b6ef6b5f1de1aabf0df7c9ffdf771391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3a5fbc6529bdfd94cd253d312af702b6ef6b5f1de1aabf0df7c9ffdf771391", kill_on_drop: false }` [INFO] [stdout] ef3a5fbc6529bdfd94cd253d312af702b6ef6b5f1de1aabf0df7c9ffdf771391 [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] ac94152999b54fb8738d59ddcaaeceb287aa1bcd20e36db7779ee4259f2ecf37 [INFO] running `Command { std: "docker" "start" "-a" "ac94152999b54fb8738d59ddcaaeceb287aa1bcd20e36db7779ee4259f2ecf37", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling libz-sys v1.1.6 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling curl-sys v0.4.54+curl-7.83.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.13.3+1.4.2 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking clap v3.1.16 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling cargo v0.61.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking opener v0.5.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking unicode-xid v0.2.3 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cargo-util v0.1.2 [INFO] [stderr] Checking kstring v1.0.6 [INFO] [stderr] Checking serde_ignored v0.1.3 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking os_info v3.3.0 [INFO] [stderr] Checking toml_edit v0.13.4 [INFO] [stderr] Checking rustfix v0.6.0 [INFO] [stderr] Checking crates-io v0.34.0 [INFO] [stderr] Checking git2 v0.14.3 [INFO] [stderr] Checking git2-curl v0.15.0 [INFO] [stderr] Checking cargo-bitbake v0.3.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `branch` is never read [INFO] [stdout] --> src/git.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ProjectRepo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 88 | pub uri: String, [INFO] [stdout] 89 | pub branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectRepo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | let ws = Workspace::new(&root, config)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Ok(PackageInfo { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | cfg: config, [INFO] [stdout] 59 | | current_manifest: root, [INFO] [stdout] 60 | | ws, [INFO] [stdout] 61 | | }) [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] = 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/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 81 | let mut registry = self.registry()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let (packages, resolve) = ops::resolve_ws(&self.ws)?; [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] ... [INFO] [stdout] 87 | let resolve = ops::resolve_with_previous( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok((packages, resolve)) [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] | 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] = 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.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | .filter_map(|tag| repo.revparse_single(tag).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/git.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | .filter_map(|tag| tag.peel(git2::ObjectType::Commit).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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-bitbake` (bin "cargo-bitbake" test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `branch` is never read [INFO] [stdout] --> src/git.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ProjectRepo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 88 | pub uri: String, [INFO] [stdout] 89 | pub branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectRepo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | let ws = Workspace::new(&root, config)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Ok(PackageInfo { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | cfg: config, [INFO] [stdout] 59 | | current_manifest: root, [INFO] [stdout] 60 | | ws, [INFO] [stdout] 61 | | }) [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] = 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/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 81 | let mut registry = self.registry()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let (packages, resolve) = ops::resolve_ws(&self.ws)?; [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] ... [INFO] [stdout] 87 | let resolve = ops::resolve_with_previous( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok((packages, resolve)) [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] | 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] = 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.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | .filter_map(|tag| repo.revparse_single(tag).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/git.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | .filter_map(|tag| tag.peel(git2::ObjectType::Commit).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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-bitbake` (bin "cargo-bitbake") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ac94152999b54fb8738d59ddcaaeceb287aa1bcd20e36db7779ee4259f2ecf37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac94152999b54fb8738d59ddcaaeceb287aa1bcd20e36db7779ee4259f2ecf37", kill_on_drop: false }` [INFO] [stdout] ac94152999b54fb8738d59ddcaaeceb287aa1bcd20e36db7779ee4259f2ecf37