[INFO] cloning repository https://github.com/Pjottos/carbon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pjottos/carbon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPjottos%2Fcarbon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPjottos%2Fcarbon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bd54626f53865318631dbdf389ff49dbb617854 [INFO] checking Pjottos/carbon/3bd54626f53865318631dbdf389ff49dbb617854 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%2FPjottos%2Fcarbon" "/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/Pjottos/carbon 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/Pjottos/carbon [INFO] finished tweaking git repo https://github.com/Pjottos/carbon [INFO] tweaked toml for git repo https://github.com/Pjottos/carbon written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pjottos/carbon 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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] 21dbd7ec48dcb8a282b93553ea6f6b2cf02d7dd8e788e840ebebd31da88da774 [INFO] running `Command { std: "docker" "start" "-a" "21dbd7ec48dcb8a282b93553ea6f6b2cf02d7dd8e788e840ebebd31da88da774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21dbd7ec48dcb8a282b93553ea6f6b2cf02d7dd8e788e840ebebd31da88da774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21dbd7ec48dcb8a282b93553ea6f6b2cf02d7dd8e788e840ebebd31da88da774", kill_on_drop: false }` [INFO] [stdout] 21dbd7ec48dcb8a282b93553ea6f6b2cf02d7dd8e788e840ebebd31da88da774 [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] a97f9b13ca61f635782ac4d9831c880cc22efc8160f8d02566ae147b2a649589 [INFO] running `Command { std: "docker" "start" "-a" "a97f9b13ca61f635782ac4d9831c880cc22efc8160f8d02566ae147b2a649589", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking quick-xml v0.23.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling fixed v1.15.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking protocol-scanner v0.1.0 (/opt/rustwide/workdir/protocol-scanner) [INFO] [stderr] Checking regex v1.5.6 [INFO] [stdout] warning: unused variable: `is_stub` [INFO] [stdout] --> protocol-scanner/src/lib.rs:497:25 [INFO] [stdout] | [INFO] [stdout] 497 | fn rust_type(&self, is_stub: bool) -> TokenStream { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_stub` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> protocol-scanner/src/lib.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct Protocol { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 422 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` 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] warning: field `interface` is never read [INFO] [stdout] --> protocol-scanner/src/lib.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 463 | ObjectId { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 464 | interface: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> protocol-scanner/src/lib.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | (a.key == b"name").then(|| a.unescape_and_decode_value(&self.reader).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protocol-scanner` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `is_stub` [INFO] [stdout] --> protocol-scanner/src/lib.rs:497:25 [INFO] [stdout] | [INFO] [stdout] 497 | fn rust_type(&self, is_stub: bool) -> TokenStream { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_stub` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> protocol-scanner/src/lib.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct Protocol { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 422 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` 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] warning: field `interface` is never read [INFO] [stdout] --> protocol-scanner/src/lib.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 463 | ObjectId { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 464 | interface: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> protocol-scanner/src/lib.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | (a.key == b"name").then(|| a.unescape_and_decode_value(&self.reader).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_stub` [INFO] [stdout] --> protocol-scanner/src/lib.rs:497:25 [INFO] [stdout] | [INFO] [stdout] 497 | fn rust_type(&self, is_stub: bool) -> TokenStream { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_stub` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protocol-scanner` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> protocol-scanner/src/lib.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct Protocol { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 422 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` 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] warning: field `interface` is never read [INFO] [stdout] --> protocol-scanner/src/lib.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 463 | ObjectId { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 464 | interface: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> protocol-scanner/src/lib.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | (a.key == b"name").then(|| a.unescape_and_decode_value(&self.reader).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protocol-scanner` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a97f9b13ca61f635782ac4d9831c880cc22efc8160f8d02566ae147b2a649589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a97f9b13ca61f635782ac4d9831c880cc22efc8160f8d02566ae147b2a649589", kill_on_drop: false }` [INFO] [stdout] a97f9b13ca61f635782ac4d9831c880cc22efc8160f8d02566ae147b2a649589