[INFO] cloning repository https://github.com/Kazurin-775/picotin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kazurin-775/picotin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKazurin-775%2Fpicotin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKazurin-775%2Fpicotin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 722e316ceb3832a67fc743253f943a083e7b3cba [INFO] checking Kazurin-775/picotin/722e316ceb3832a67fc743253f943a083e7b3cba 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%2FKazurin-775%2Fpicotin" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kazurin-775/picotin 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/Kazurin-775/picotin [INFO] finished tweaking git repo https://github.com/Kazurin-775/picotin [INFO] tweaked toml for git repo https://github.com/Kazurin-775/picotin written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kazurin-775/picotin 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 739cd2998d05b1329d77ba32cdf725c81afea2a4b98865cc0f830ca5af164671 [INFO] running `Command { std: "docker" "start" "-a" "739cd2998d05b1329d77ba32cdf725c81afea2a4b98865cc0f830ca5af164671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "739cd2998d05b1329d77ba32cdf725c81afea2a4b98865cc0f830ca5af164671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739cd2998d05b1329d77ba32cdf725c81afea2a4b98865cc0f830ca5af164671", kill_on_drop: false }` [INFO] [stdout] 739cd2998d05b1329d77ba32cdf725c81afea2a4b98865cc0f830ca5af164671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 300763fb66ea95a4e640c2b67e416b24bf6cb5585dfc9aaf5bc38c4f4e6b5048 [INFO] running `Command { std: "docker" "start" "-a" "300763fb66ea95a4e640c2b67e416b24bf6cb5585dfc9aaf5bc38c4f4e6b5048", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking async-lock v2.7.0 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling polling v2.5.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking async-channel v1.8.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking clap_builder v4.3.3 [INFO] [stderr] Checking unshare v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking cgroups-rs v0.3.2 [INFO] [stderr] Checking netlink-packet-core v0.5.0 [INFO] [stderr] Checking netlink-packet-route v0.15.0 [INFO] [stderr] Checking clap v4.3.3 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking netlink-sys v0.8.5 [INFO] [stderr] Checking netlink-proto v0.11.1 [INFO] [stderr] Checking rtnetlink v0.12.0 [INFO] [stderr] Checking picotin 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/engine/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 44 | Err(err) if err.kind() == ErrorKind::AlreadyExists => continue, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Err(err) => return Err(err).context("create container info directory"), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let dir_bomb = DirBomb { path: path.clone() }; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let cgroup = ContainerCgroup::new(&id, &config).context("create cgroup")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Ok(Container { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | info_path: path, [INFO] [stdout] 59 | | cgroup, [INFO] [stdout] 60 | | ns, [INFO] [stdout] 61 | | command: config.command, [INFO] [stdout] 62 | | _dir_bomb: dir_bomb, [INFO] [stdout] 63 | | }) [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/engine/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 67 | let cgroup = self.cgroup.try_clone().context("clone cgroup instance")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | match cgroup.jail_pid(pid) { [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/engine/modules/cgroup.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | let cgroup = cgroup.build(cgroups_rs::hierarchies::auto())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(ContainerCgroup { id, inner: cgroup }) [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] | [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `picotin` (bin "picotin" test) due to 4 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/engine/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 44 | Err(err) if err.kind() == ErrorKind::AlreadyExists => continue, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Err(err) => return Err(err).context("create container info directory"), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let dir_bomb = DirBomb { path: path.clone() }; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let cgroup = ContainerCgroup::new(&id, &config).context("create cgroup")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Ok(Container { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | info_path: path, [INFO] [stdout] 59 | | cgroup, [INFO] [stdout] 60 | | ns, [INFO] [stdout] 61 | | command: config.command, [INFO] [stdout] 62 | | _dir_bomb: dir_bomb, [INFO] [stdout] 63 | | }) [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/engine/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 67 | let cgroup = self.cgroup.try_clone().context("clone cgroup instance")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | match cgroup.jail_pid(pid) { [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/engine/modules/cgroup.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | let cgroup = cgroup.build(cgroups_rs::hierarchies::auto())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(ContainerCgroup { id, inner: cgroup }) [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] | [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `picotin` (bin "picotin") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "300763fb66ea95a4e640c2b67e416b24bf6cb5585dfc9aaf5bc38c4f4e6b5048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "300763fb66ea95a4e640c2b67e416b24bf6cb5585dfc9aaf5bc38c4f4e6b5048", kill_on_drop: false }` [INFO] [stdout] 300763fb66ea95a4e640c2b67e416b24bf6cb5585dfc9aaf5bc38c4f4e6b5048