[INFO] cloning repository https://github.com/abesto/toy-rust-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abesto/toy-rust-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabesto%2Ftoy-rust-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabesto%2Ftoy-rust-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27bf5f1708ba8e0f3d03b9442c69a7f4224660bf [INFO] checking abesto/toy-rust-shell/27bf5f1708ba8e0f3d03b9442c69a7f4224660bf 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%2Fabesto%2Ftoy-rust-shell" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abesto/toy-rust-shell 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/abesto/toy-rust-shell [INFO] finished tweaking git repo https://github.com/abesto/toy-rust-shell [INFO] tweaked toml for git repo https://github.com/abesto/toy-rust-shell written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/abesto/toy-rust-shell 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 068c88d5bd9fccb4745a0de1c396f5f225c21ba1dfa98b61635cda8713326cbb [INFO] running `Command { std: "docker" "start" "-a" "068c88d5bd9fccb4745a0de1c396f5f225c21ba1dfa98b61635cda8713326cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "068c88d5bd9fccb4745a0de1c396f5f225c21ba1dfa98b61635cda8713326cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068c88d5bd9fccb4745a0de1c396f5f225c21ba1dfa98b61635cda8713326cbb", kill_on_drop: false }` [INFO] [stdout] 068c88d5bd9fccb4745a0de1c396f5f225c21ba1dfa98b61635cda8713326cbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b38f0143d2aae093b510a4bdc8ace16192eb0560cf69013eee03b7fa182c1aac [INFO] running `Command { std: "docker" "start" "-a" "b38f0143d2aae093b510a4bdc8ace16192eb0560cf69013eee03b7fa182c1aac", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling im v12.2.0 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking toy-rust-shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{stdin, Stdout}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdout` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{stdin, Stdout}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | Some(_prefix) => None, // TODO [INFO] [stdout] | ^^^^^^^^^^^^^ matches no values because `CmdPrefix` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | Some(_prefix) => None, // TODO [INFO] [stdout] | ^^^^^^^^^^^^^ matches no values because `CmdPrefix` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/main.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | CompleteCommand::WithSep(l, op) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/main.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | CompleteCommand::WithSep(l, op) => {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 153 | Command::SimpleCommand(d) => simple_command(d), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] 154 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 161 | SimpleCommandData::Name(s) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 164 | SimpleCommandData::NameSuffix(name, suffix) => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 168 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/main.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | CompleteCommand::WithSep(l, op) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/main.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | CompleteCommand::WithSep(l, op) => {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 153 | Command::SimpleCommand(d) => simple_command(d), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] 154 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 161 | SimpleCommandData::Name(s) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 164 | SimpleCommandData::NameSuffix(name, suffix) => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 168 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_exit_code` is never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | last_exit_code: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_exit_code` is never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | last_exit_code: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/parser.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 250 | struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 251 | input: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And` and `Or` are never constructed [INFO] [stdout] --> src/parser.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 557 | pub enum AndOr<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 558 | Single(Pipeline), [INFO] [stdout] 559 | And(&'a AndOr<'a>, Pipeline), [INFO] [stdout] | ^^^ [INFO] [stdout] 560 | Or(&'a AndOr<'a>, Pipeline), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AndOr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompoundCommand`, `CompoundCommandWithRedirects`, and `FunctionDefinition` are never constructed [INFO] [stdout] --> src/parser.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 572 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 573 | SimpleCommand(SimpleCommandData), [INFO] [stdout] 574 | CompoundCommand(CompoundCommandData), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 575 | CompoundCommandWithRedirects(CompoundCommandWithRedirectsData), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 576 | FunctionDefinition(FunctionDefinitionData), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PrefixWordSuffix`, `PrefixWord`, and `Prefix` are never constructed [INFO] [stdout] --> src/parser.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 580 | pub enum SimpleCommandData { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 581 | PrefixWordSuffix(CmdPrefix, CmdWord, CmdSuffix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 582 | PrefixWord(CmdPrefix, CmdWord), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 583 | Prefix(CmdPrefix), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleCommandData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quote` is never used [INFO] [stdout] --> src/main.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn quote(string: &String) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set` is never used [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn set(state: &State) { [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/main.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_variable(self, name: String, value: String) -> State { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | State { [INFO] [stdout] 32 | variables: self.variables.update(name, value), [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: field `input` is never read [INFO] [stdout] --> src/parser.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 250 | struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 251 | input: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And` and `Or` are never constructed [INFO] [stdout] --> src/parser.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 557 | pub enum AndOr<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 558 | Single(Pipeline), [INFO] [stdout] 559 | And(&'a AndOr<'a>, Pipeline), [INFO] [stdout] | ^^^ [INFO] [stdout] 560 | Or(&'a AndOr<'a>, Pipeline), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AndOr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompoundCommand`, `CompoundCommandWithRedirects`, and `FunctionDefinition` are never constructed [INFO] [stdout] --> src/parser.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 572 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 573 | SimpleCommand(SimpleCommandData), [INFO] [stdout] 574 | CompoundCommand(CompoundCommandData), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 575 | CompoundCommandWithRedirects(CompoundCommandWithRedirectsData), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 576 | FunctionDefinition(FunctionDefinitionData), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PrefixWordSuffix`, `PrefixWord`, and `Prefix` are never constructed [INFO] [stdout] --> src/parser.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 580 | pub enum SimpleCommandData { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 581 | PrefixWordSuffix(CmdPrefix, CmdWord, CmdSuffix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 582 | PrefixWord(CmdPrefix, CmdWord), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 583 | Prefix(CmdPrefix), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleCommandData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quote` is never used [INFO] [stdout] --> src/main.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn quote(string: &String) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set` is never used [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn set(state: &State) { [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/main.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_variable(self, name: String, value: String) -> State { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | State { [INFO] [stdout] 32 | variables: self.variables.update(name, value), [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/parser.rs:429:38 [INFO] [stdout] | [INFO] [stdout] 429 | self.checkpoint(|parser| parser.list().map(|list| [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/parser.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | ... match self.checkpoint( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 440 | | ... |parser| parser.separator_op().and_then( [INFO] [stdout] 441 | | ... |op| parser.list().map( [INFO] [stdout] 442 | | ... |list| (op, list) [INFO] [stdout] 443 | | ... ))) { [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/parser.rs:441:43 [INFO] [stdout] | [INFO] [stdout] 441 | ... |op| parser.list().map( [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / std::env::set_current_dir(std::path::Path::new( [INFO] [stdout] 175 | | &std::env::var("HOME").unwrap_or("/".to_string()) [INFO] [stdout] 176 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = std::env::set_current_dir(std::path::Path::new( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / std::env::set_current_dir(std::path::Path::new( [INFO] [stdout] 181 | | dir [INFO] [stdout] 182 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = std::env::set_current_dir(std::path::Path::new( [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/parser.rs:429:38 [INFO] [stdout] | [INFO] [stdout] 429 | self.checkpoint(|parser| parser.list().map(|list| [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/parser.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | ... match self.checkpoint( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 440 | | ... |parser| parser.separator_op().and_then( [INFO] [stdout] 441 | | ... |op| parser.list().map( [INFO] [stdout] 442 | | ... |list| (op, list) [INFO] [stdout] 443 | | ... ))) { [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/parser.rs:441:43 [INFO] [stdout] | [INFO] [stdout] 441 | ... |op| parser.list().map( [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / std::env::set_current_dir(std::path::Path::new( [INFO] [stdout] 175 | | &std::env::var("HOME").unwrap_or("/".to_string()) [INFO] [stdout] 176 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = std::env::set_current_dir(std::path::Path::new( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / std::env::set_current_dir(std::path::Path::new( [INFO] [stdout] 181 | | dir [INFO] [stdout] 182 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = std::env::set_current_dir(std::path::Path::new( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toy-rust-shell` (bin "toy-rust-shell") due to 5 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `toy-rust-shell` (bin "toy-rust-shell" test) due to 5 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b38f0143d2aae093b510a4bdc8ace16192eb0560cf69013eee03b7fa182c1aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38f0143d2aae093b510a4bdc8ace16192eb0560cf69013eee03b7fa182c1aac", kill_on_drop: false }` [INFO] [stdout] b38f0143d2aae093b510a4bdc8ace16192eb0560cf69013eee03b7fa182c1aac