[INFO] cloning repository https://github.com/KingTimer12/sirin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KingTimer12/sirin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingTimer12%2Fsirin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingTimer12%2Fsirin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 504358ca82818845b1f04fd51b3b85b881e1bf19 [INFO] checking KingTimer12/sirin/504358ca82818845b1f04fd51b3b85b881e1bf19 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%2FKingTimer12%2Fsirin" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KingTimer12/sirin 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/KingTimer12/sirin [INFO] finished tweaking git repo https://github.com/KingTimer12/sirin [INFO] tweaked toml for git repo https://github.com/KingTimer12/sirin written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KingTimer12/sirin 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4c2cea07268a246166eba0f7f70e8b1af775ff736236a88efec1f77ee4fc0cdf [INFO] running `Command { std: "docker" "start" "-a" "4c2cea07268a246166eba0f7f70e8b1af775ff736236a88efec1f77ee4fc0cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c2cea07268a246166eba0f7f70e8b1af775ff736236a88efec1f77ee4fc0cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2cea07268a246166eba0f7f70e8b1af775ff736236a88efec1f77ee4fc0cdf", kill_on_drop: false }` [INFO] [stdout] 4c2cea07268a246166eba0f7f70e8b1af775ff736236a88efec1f77ee4fc0cdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e2caf5414b0a02b11fece191f39095756868ebcc90543b461eb5f7a6e50f80f4 [INFO] running `Command { std: "docker" "start" "-a" "e2caf5414b0a02b11fece191f39095756868ebcc90543b461eb5f7a6e50f80f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v4.0.2 [INFO] [stderr] Checking sirin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast/evaluator.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | fn visit_error(&mut self, span: &super::lexer::TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/ast/lexer.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut kind = TokenKind::Bad; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast/evaluator.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | fn visit_error(&mut self, span: &super::lexer::TextSpan) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/ast/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct ASTPrinter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 93 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DiagnosticsKind { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 8 | Error, [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Diagnostics { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub kind: DiagnosticsKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DiagnosticsBag { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/ast/mod.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn binary(operator: ASTBinaryOperator, left: ASTExpression, right: ASTExpression) -> Self { [INFO] [stdout] | ------------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | Self::new(ASTExpressionKind::Binary(ASTBinaryExpression { [INFO] [stdout] | ___________________^ [INFO] [stdout] 277 | | left: Box::new(left), [INFO] [stdout] 278 | | right: Box::new(right), [INFO] [stdout] 279 | | operator, [INFO] [stdout] 280 | | })) [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/ast/mod.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn parenthesized(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | Self::new(ASTExpressionKind::Parenthesized( [INFO] [stdout] | ___________________^ [INFO] [stdout] 285 | | ASTParenthesizedExpression { [INFO] [stdout] 286 | | expression: Box::new(expr), [INFO] [stdout] 287 | | }, [INFO] [stdout] 288 | | )) [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/ast/mod.rs:320:19 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn expression(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | Self::new(ASTStatementKind::Expression(expr)) [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/ast/mod.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn let_statement(identifier: Token, initializer: ASTExpression) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | Self::new(ASTStatementKind::LetStatement(ASTLetStatement { [INFO] [stdout] | ___________________^ [INFO] [stdout] 325 | | identifier, [INFO] [stdout] 326 | | initializer, [INFO] [stdout] 327 | | })) [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] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/ast/lexer.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut kind = TokenKind::Bad; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sirin` (bin "sirin") due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/ast/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct ASTPrinter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 93 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/diagnostics/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DiagnosticsKind { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 8 | Error, [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/diagnostics/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Diagnostics { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub kind: DiagnosticsKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report_warning` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DiagnosticsBag { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn report_warning(&mut self, message: String, span: TextSpan) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/ast/mod.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn binary(operator: ASTBinaryOperator, left: ASTExpression, right: ASTExpression) -> Self { [INFO] [stdout] | ------------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | Self::new(ASTExpressionKind::Binary(ASTBinaryExpression { [INFO] [stdout] | ___________________^ [INFO] [stdout] 277 | | left: Box::new(left), [INFO] [stdout] 278 | | right: Box::new(right), [INFO] [stdout] 279 | | operator, [INFO] [stdout] 280 | | })) [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/ast/mod.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn parenthesized(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | Self::new(ASTExpressionKind::Parenthesized( [INFO] [stdout] | ___________________^ [INFO] [stdout] 285 | | ASTParenthesizedExpression { [INFO] [stdout] 286 | | expression: Box::new(expr), [INFO] [stdout] 287 | | }, [INFO] [stdout] 288 | | )) [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/ast/mod.rs:320:19 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn expression(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | Self::new(ASTStatementKind::Expression(expr)) [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/ast/mod.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn let_statement(identifier: Token, initializer: ASTExpression) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | Self::new(ASTStatementKind::LetStatement(ASTLetStatement { [INFO] [stdout] | ___________________^ [INFO] [stdout] 325 | | identifier, [INFO] [stdout] 326 | | initializer, [INFO] [stdout] 327 | | })) [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: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sirin` (bin "sirin" test) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e2caf5414b0a02b11fece191f39095756868ebcc90543b461eb5f7a6e50f80f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2caf5414b0a02b11fece191f39095756868ebcc90543b461eb5f7a6e50f80f4", kill_on_drop: false }` [INFO] [stdout] e2caf5414b0a02b11fece191f39095756868ebcc90543b461eb5f7a6e50f80f4