[INFO] cloning repository https://github.com/Bright-Shard/objective-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bright-Shard/objective-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBright-Shard%2Fobjective-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBright-Shard%2Fobjective-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1b9bfdd2cef32c1a71584e4db6defed158bb18b [INFO] building Bright-Shard/objective-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBright-Shard%2Fobjective-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bright-Shard/objective-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bright-Shard/objective-rust [INFO] finished tweaking git repo https://github.com/Bright-Shard/objective-rust [INFO] tweaked toml for git repo https://github.com/Bright-Shard/objective-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bright-Shard/objective-rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f81aaed5774c40ce43f6ea75924497e7a633e381721cad2ee02eec6b2e71fd1b [INFO] running `Command { std: "docker" "start" "-a" "f81aaed5774c40ce43f6ea75924497e7a633e381721cad2ee02eec6b2e71fd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f81aaed5774c40ce43f6ea75924497e7a633e381721cad2ee02eec6b2e71fd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81aaed5774c40ce43f6ea75924497e7a633e381721cad2ee02eec6b2e71fd1b", kill_on_drop: false }` [INFO] [stdout] f81aaed5774c40ce43f6ea75924497e7a633e381721cad2ee02eec6b2e71fd1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fd4a44edd60b75b08aedb35a34594ae3bb6e29fedc2ebe04fdf4e8176045c1a [INFO] running `Command { std: "docker" "start" "-a" "9fd4a44edd60b75b08aedb35a34594ae3bb6e29fedc2ebe04fdf4e8176045c1a", kill_on_drop: false }` [INFO] [stderr] Compiling objective-rust-macros v0.1.1 (/opt/rustwide/workdir/objective-rust-macros) [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> objective-rust-macros/src/parser/extern_block.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | while let Some(initial_raw_token) = tokens.next() { [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `initial_raw_token` calls a custom destructor [INFO] [stdout] | `initial_raw_token` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let Some(TokenTree::Ident(name)) = tokens.next() else { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | let Some(TokenTree::Punct(semicolon)) = tokens.next() else { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let Some(TokenTree::Group(brackets)) = tokens.next() else { [INFO] [stdout] | -------- ------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | `brackets` calls a custom destructor [INFO] [stdout] | `brackets` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | &mut brackets.stream().into_iter().peekable(), [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `initial_raw_token` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `brackets` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `define_client_handles` which comes from the expansion of the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> objective-rust-macros/src/parser.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | while let Some(initial_raw_token) = self.input.next() { [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | up until Edition 2021 `#8` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `initial_raw_token` calls a custom destructor [INFO] [stdout] | `initial_raw_token` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let name_token = self.input.next().unwrap(); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `name_token` calls a custom destructor [INFO] [stdout] | `name_token` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let Some(TokenTree::Group(extern_block)) = self.input.next() else { [INFO] [stdout] | ------------ ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `extern_block` calls a custom destructor [INFO] [stdout] | `extern_block` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | &mut extern_block.stream().into_iter().peekable(), [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let Some(TokenTree::Group(braces)) = self.input.next() else { [INFO] [stdout] | ------ ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | `braces` calls a custom destructor [INFO] [stdout] | `braces` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | Parser::new(braces.stream().into_iter().peekable()).parse()?; [INFO] [stdout] | ------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] 109 | let scoped_tokens = crate::codegen::generate(scoped_input)?; [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let Some(TokenTree::Group(brackets)) = self.input.next() else { [INFO] [stdout] | -------- ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | `brackets` calls a custom destructor [INFO] [stdout] | `brackets` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | &mut brackets.stream().into_iter().peekable(), [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `initial_raw_token` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `name_token` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `extern_block` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `braces` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `brackets` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `define_client_handles` which comes from the expansion of the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom` is never read [INFO] [stdout] --> objective-rust-macros/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Class { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | custom: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_struct` is never used [INFO] [stdout] --> objective-rust-macros/src/parser/struct_definition.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 4 | fn parse_struct(&mut self) -> Struct { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `objective-rust-macros` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9fd4a44edd60b75b08aedb35a34594ae3bb6e29fedc2ebe04fdf4e8176045c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd4a44edd60b75b08aedb35a34594ae3bb6e29fedc2ebe04fdf4e8176045c1a", kill_on_drop: false }` [INFO] [stdout] 9fd4a44edd60b75b08aedb35a34594ae3bb6e29fedc2ebe04fdf4e8176045c1a