[INFO] cloning repository https://github.com/ZachClayburn/CompilerDesign-Project2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZachClayburn/CompilerDesign-Project2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZachClayburn%2FCompilerDesign-Project2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZachClayburn%2FCompilerDesign-Project2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5943c0f008f9695a7b1a6e1c7771fe29319b8d5 [INFO] checking ZachClayburn/CompilerDesign-Project2/c5943c0f008f9695a7b1a6e1c7771fe29319b8d5 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%2FZachClayburn%2FCompilerDesign-Project2" "/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/ZachClayburn/CompilerDesign-Project2 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/ZachClayburn/CompilerDesign-Project2 [INFO] finished tweaking git repo https://github.com/ZachClayburn/CompilerDesign-Project2 [INFO] tweaked toml for git repo https://github.com/ZachClayburn/CompilerDesign-Project2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZachClayburn/CompilerDesign-Project2 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] 7fb4ba605071cfe606f652a2b682456d0d9d573a17f6d0190c3ad5997366fd10 [INFO] running `Command { std: "docker" "start" "-a" "7fb4ba605071cfe606f652a2b682456d0d9d573a17f6d0190c3ad5997366fd10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fb4ba605071cfe606f652a2b682456d0d9d573a17f6d0190c3ad5997366fd10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb4ba605071cfe606f652a2b682456d0d9d573a17f6d0190c3ad5997366fd10", kill_on_drop: false }` [INFO] [stdout] 7fb4ba605071cfe606f652a2b682456d0d9d573a17f6d0190c3ad5997366fd10 [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] 06d1b9b26dedc2363ed85cfa50330bce8c660becdb63ae9d24128b2250468e17 [INFO] running `Command { std: "docker" "start" "-a" "06d1b9b26dedc2363ed85cfa50330bce8c660becdb63ae9d24128b2250468e17", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking peeking_take_while v1.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking simple_logger v1.13.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking compiler_design v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CodeGenError` [INFO] [stdout] --> src/codegen/symbol_table.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{CodeGenError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] 138 + '<' => Ok(Token::Less(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] 144 + '>' => Ok(Token::Greater(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] 150 + '=' => Ok(Token::Assign(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] 161 + '.' => Ok(Token::Dot(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodeGenError` [INFO] [stdout] --> src/codegen/symbol_table.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{CodeGenError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] 138 + '<' => Ok(Token::Less(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] 144 + '>' => Ok(Token::Greater(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] 150 + '=' => Ok(Token::Assign(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] 161 + '.' => Ok(Token::Dot(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `return_type` is never read [INFO] [stdout] --> src/evaluation/symbol_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub table: HashMap, [INFO] [stdout] 9 | pub return_type: ProcedureType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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/parser/ast/reductions.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn reduce_value(mut stack: Vec) -> Result> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | match stack.pop() { [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler_design` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `return_type` is never read [INFO] [stdout] --> src/evaluation/symbol_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub table: HashMap, [INFO] [stdout] 9 | pub return_type: ProcedureType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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/parser/ast/reductions.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn reduce_value(mut stack: Vec) -> Result> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | match stack.pop() { [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler_design` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "06d1b9b26dedc2363ed85cfa50330bce8c660becdb63ae9d24128b2250468e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d1b9b26dedc2363ed85cfa50330bce8c660becdb63ae9d24128b2250468e17", kill_on_drop: false }` [INFO] [stdout] 06d1b9b26dedc2363ed85cfa50330bce8c660becdb63ae9d24128b2250468e17