[INFO] cloning repository https://github.com/amitsingh19975/EOC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amitsingh19975/EOC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famitsingh19975%2FEOC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famitsingh19975%2FEOC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5574f47b5ab8df46bece31d7901bdbf76134c14 [INFO] building amitsingh19975/EOC 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%2Famitsingh19975%2FEOC" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amitsingh19975/EOC 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/amitsingh19975/EOC [INFO] finished tweaking git repo https://github.com/amitsingh19975/EOC [INFO] tweaked toml for git repo https://github.com/amitsingh19975/EOC written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/amitsingh19975/EOC 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8e2774a2075ff523cecad69bc90e76b7090f18dc21a585b201fb53aaf31cf444 [INFO] running `Command { std: "docker" "start" "-a" "8e2774a2075ff523cecad69bc90e76b7090f18dc21a585b201fb53aaf31cf444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e2774a2075ff523cecad69bc90e76b7090f18dc21a585b201fb53aaf31cf444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2774a2075ff523cecad69bc90e76b7090f18dc21a585b201fb53aaf31cf444", kill_on_drop: false }` [INFO] [stdout] 8e2774a2075ff523cecad69bc90e76b7090f18dc21a585b201fb53aaf31cf444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0b2e0577a9f7c949b22f745bd548db3181fda0fdcc632e8bd76710feb4560417 [INFO] running `Command { std: "docker" "start" "-a" "0b2e0577a9f7c949b22f745bd548db3181fda0fdcc632e8bd76710feb4560417", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling eoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/eoc/lexer/ebnf/vm.rs:1087:45 [INFO] [stdout] | [INFO] [stdout] 1087 | if let Ok((temp, data, diag)) = rx.recv() { [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `diag` calls a custom destructor [INFO] [stdout] | `diag` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1096 | } [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: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `diag` may invoke a custom destructor because it contains a trait object [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] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationInner` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum OperationInner { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationResult` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct OperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericOperation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct GenericOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueUse` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct ValueUse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Successor` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct Successor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueIdentifierWithType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ValueIdentifierWithType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AttributeValue` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) enum AttributeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DictionaryAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) struct DictionaryAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectAttribute` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) enum DialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuiltinAttribute` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) enum BuiltinAttribute {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpaqueDialectAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct OpaqueDialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParenKind` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) enum ParenKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DialectAttributeBody` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) struct DialectAttributeBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectAttributeContent` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) enum DialectAttributeContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettyDialectAttribute` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) struct PrettyDialectAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Region` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) struct FunctionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectType` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub(crate) enum DialectType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpaqueDialectType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) struct OpaqueDialectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettyDialectType` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) struct PrettyDialectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DialectTypeBody` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) struct DialectTypeBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DialectTypeContent` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) enum DialectTypeContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BuiltInType` is never used [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | pub(crate) enum BuiltInType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomOperation` is never constructed [INFO] [stdout] --> src/eoc/parser/ir/operation.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | pub(crate) struct CustomOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eoc` (bin "eoc") due to 1 previous error; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b2e0577a9f7c949b22f745bd548db3181fda0fdcc632e8bd76710feb4560417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2e0577a9f7c949b22f745bd548db3181fda0fdcc632e8bd76710feb4560417", kill_on_drop: false }` [INFO] [stdout] 0b2e0577a9f7c949b22f745bd548db3181fda0fdcc632e8bd76710feb4560417