[INFO] fetching crate ion_shell_parser 0.2.0... [INFO] checking ion_shell_parser-0.2.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate ion_shell_parser 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ion_shell_parser 0.2.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ion_shell_parser 0.2.0 [INFO] finished tweaking crates.io crate ion_shell_parser 0.2.0 [INFO] tweaked toml for crates.io crate ion_shell_parser 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1c5b23d1453b8ce1bfe8ad17a3ed9b8bd1b0c22b6b70ae543754ed381c6d038 [INFO] running `Command { std: "docker" "start" "-a" "b1c5b23d1453b8ce1bfe8ad17a3ed9b8bd1b0c22b6b70ae543754ed381c6d038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1c5b23d1453b8ce1bfe8ad17a3ed9b8bd1b0c22b6b70ae543754ed381c6d038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c5b23d1453b8ce1bfe8ad17a3ed9b8bd1b0c22b6b70ae543754ed381c6d038", kill_on_drop: false }` [INFO] [stdout] b1c5b23d1453b8ce1bfe8ad17a3ed9b8bd1b0c22b6b70ae543754ed381c6d038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ab12f9085bd512addd5a1141e12f2ebc75fd2ab0e24cec923136396cd40c13d [INFO] running `Command { std: "docker" "start" "-a" "5ab12f9085bd512addd5a1141e12f2ebc75fd2ab0e24cec923136396cd40c13d", kill_on_drop: false }` [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking ion_shell_parser v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional/function_declaration.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 21 | || ser_trace_ [INFO] [stdout] 22 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional/function_declaration.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 51 | || ser_trace_ [INFO] [stdout] 52 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 58 | || ser_trace_ [INFO] [stdout] 59 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 86 | || ser_trace_ [INFO] [stdout] 87 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional/function_declaration.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 21 | || ser_trace_ [INFO] [stdout] 22 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional/function_declaration.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 51 | || ser_trace_ [INFO] [stdout] 52 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 58 | || ser_trace_ [INFO] [stdout] 59 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` [INFO] [stdout] --> src/parsing/parsing_rules/unconditional.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | feature = "ion_shell_par [INFO] [stdout] | _________^ - [INFO] [stdout] | |___________________| [INFO] [stdout] 86 | || ser_trace_ [INFO] [stdout] 87 | || parse_phase", [INFO] [stdout] | ||___________________^ help: there is a expected value with a similar name: `"ion_shell_parser_trace_parse_phase"` [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `ion_shell_parser_trace_parse_phase` [INFO] [stdout] = help: consider adding `ion_shell_par [INFO] [stdout] ser_trace_ [INFO] [stdout] parse_phase` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(CommandExpression, Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/parsing_rules/unconditional/commands.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 122 | let mut rest: Vec = Default::default(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | match self.command_expression(first_command)? { [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ion_shell_parser` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `(CommandExpression, Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/parsing_rules/unconditional/commands.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 122 | let mut rest: Vec = Default::default(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | match self.command_expression(first_command)? { [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: fields `source_command` and `to_be_sourced` are never read [INFO] [stdout] --> src/parsing/language_items.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct TestResult<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 152 | pub source_command: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 153 | pub to_be_sourced: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestResult` 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] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ion_shell_parser` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ab12f9085bd512addd5a1141e12f2ebc75fd2ab0e24cec923136396cd40c13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ab12f9085bd512addd5a1141e12f2ebc75fd2ab0e24cec923136396cd40c13d", kill_on_drop: false }` [INFO] [stdout] 5ab12f9085bd512addd5a1141e12f2ebc75fd2ab0e24cec923136396cd40c13d