[INFO] cloning repository https://github.com/meriy100/RustTutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meriy100/RustTutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeriy100%2FRustTutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeriy100%2FRustTutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b26a2763654c66e8f4ed777159a4054a8370345 [INFO] checking meriy100/RustTutorial against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeriy100%2FRustTutorial" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/meriy100/RustTutorial on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meriy100/RustTutorial [INFO] finished tweaking git repo https://github.com/meriy100/RustTutorial [INFO] tweaked toml for git repo https://github.com/meriy100/RustTutorial written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/meriy100/RustTutorial 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded libc v0.2.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54a73b6af63ad3f2fd7ac5bf412c7e6cc02d6d0760c87c8955826ba37f56357e [INFO] running `Command { std: "docker" "start" "-a" "54a73b6af63ad3f2fd7ac5bf412c7e6cc02d6d0760c87c8955826ba37f56357e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54a73b6af63ad3f2fd7ac5bf412c7e6cc02d6d0760c87c8955826ba37f56357e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a73b6af63ad3f2fd7ac5bf412c7e6cc02d6d0760c87c8955826ba37f56357e", kill_on_drop: false }` [INFO] [stdout] 54a73b6af63ad3f2fd7ac5bf412c7e6cc02d6d0760c87c8955826ba37f56357e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50fe3d166e7c9757770f3f146e20df4554788872d9fd624a5b57b2f5a8d84486 [INFO] running `Command { std: "docker" "start" "-a" "50fe3d166e7c9757770f3f146e20df4554788872d9fd624a5b57b2f5a8d84486", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | _ => None [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:190:14 [INFO] [stdout] | [INFO] [stdout] 101 | CommandType::Inc => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 110 | CommandType::Dec => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 119 | CommandType::PInc => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 127 | CommandType::PDec => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 190 | _ => None [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | _ => None [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:190:14 [INFO] [stdout] | [INFO] [stdout] 101 | CommandType::Inc => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 110 | CommandType::Dec => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 119 | CommandType::PInc => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 127 | CommandType::PDec => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 190 | _ => None [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | io::stdout().write(&[memory[pointer]]); [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] 181 | let _ = io::stdout().write(&[memory[pointer]]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | io::stdout().write(&[memory[pointer]]); [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] 181 | let _ = io::stdout().write(&[memory[pointer]]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "50fe3d166e7c9757770f3f146e20df4554788872d9fd624a5b57b2f5a8d84486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50fe3d166e7c9757770f3f146e20df4554788872d9fd624a5b57b2f5a8d84486", kill_on_drop: false }` [INFO] [stdout] 50fe3d166e7c9757770f3f146e20df4554788872d9fd624a5b57b2f5a8d84486 [INFO] checking meriy100/RustTutorial against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeriy100%2FRustTutorial" "/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/meriy100/RustTutorial on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meriy100/RustTutorial [INFO] finished tweaking git repo https://github.com/meriy100/RustTutorial [INFO] tweaked toml for git repo https://github.com/meriy100/RustTutorial written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/meriy100/RustTutorial 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99b6f6a9d2084cfef35e381c90d7ecd6fb119d574c5e8ed3f9c0f7d59c446bb7 [INFO] running `Command { std: "docker" "start" "-a" "99b6f6a9d2084cfef35e381c90d7ecd6fb119d574c5e8ed3f9c0f7d59c446bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99b6f6a9d2084cfef35e381c90d7ecd6fb119d574c5e8ed3f9c0f7d59c446bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b6f6a9d2084cfef35e381c90d7ecd6fb119d574c5e8ed3f9c0f7d59c446bb7", kill_on_drop: false }` [INFO] [stdout] 99b6f6a9d2084cfef35e381c90d7ecd6fb119d574c5e8ed3f9c0f7d59c446bb7 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ce821bed1c6d2dade42d6f2f16ad3414bd958bb83db0c0d65216e83352ac723 [INFO] running `Command { std: "docker" "start" "-a" "4ce821bed1c6d2dade42d6f2f16ad3414bd958bb83db0c0d65216e83352ac723", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | _ => None [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:190:14 [INFO] [stdout] | [INFO] [stdout] 101 | CommandType::Inc => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 110 | CommandType::Dec => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 119 | CommandType::PInc => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 127 | CommandType::PDec => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 190 | _ => None [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | _ => None [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:190:14 [INFO] [stdout] | [INFO] [stdout] 101 | CommandType::Inc => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 110 | CommandType::Dec => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 119 | CommandType::PInc => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 127 | CommandType::PDec => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 190 | _ => None [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` 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/main.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 95 | fn execute(interpreter: Interpreter) -> Option { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let mut while_stack = interpreter.while_stack; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | interpreter.current_node.and_then(|current_node| [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 100 | | match (*current_node).command_type { [INFO] [stdout] 101 | | CommandType::Inc => { [INFO] [stdout] 102 | | memory[pointer] = safe_increment(memory[pointer]); [INFO] [stdout] ... | [INFO] [stdout] 190 | | _ => None [INFO] [stdout] 191 | | } [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/main.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 98 | let mut while_stack = interpreter.while_stack; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | while_stack.pop().and_then(|while_node| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | Some(Interpreter { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 156 | | memory, [INFO] [stdout] 157 | | pointer, [INFO] [stdout] 158 | | current_node: Some(while_node), [INFO] [stdout] 159 | | while_stack [INFO] [stdout] 160 | | }) [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/main.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 98 | let mut while_stack = interpreter.while_stack; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | interpreter.current_node.and_then(|current_node| [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | Some(Interpreter { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 172 | | memory, [INFO] [stdout] 173 | | pointer, [INFO] [stdout] 174 | | current_node: (*current_node).left, [INFO] [stdout] 175 | | while_stack [INFO] [stdout] 176 | | }) [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:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | io::stdout().write(&[memory[pointer]]); [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] 181 | let _ = io::stdout().write(&[memory[pointer]]); [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:203:14 [INFO] [stdout] | [INFO] [stdout] 202 | let mut option_interpreter: Option = parse(&mut v2).and_then(|ast| [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | Some(Interpreter { [INFO] [stdout] | ______________^ [INFO] [stdout] 204 | | memory: vec![0; 100], [INFO] [stdout] 205 | | pointer: 0, [INFO] [stdout] 206 | | current_node: Some(Box::new(ast)), [INFO] [stdout] 207 | | while_stack: vec![], [INFO] [stdout] 208 | | }) [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; 2 warnings emitted [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:99:40 [INFO] [stdout] | [INFO] [stdout] 95 | fn execute(interpreter: Interpreter) -> Option { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let mut while_stack = interpreter.while_stack; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | interpreter.current_node.and_then(|current_node| [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 100 | | match (*current_node).command_type { [INFO] [stdout] 101 | | CommandType::Inc => { [INFO] [stdout] 102 | | memory[pointer] = safe_increment(memory[pointer]); [INFO] [stdout] ... | [INFO] [stdout] 190 | | _ => None [INFO] [stdout] 191 | | } [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/main.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 98 | let mut while_stack = interpreter.while_stack; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | while_stack.pop().and_then(|while_node| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | Some(Interpreter { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 156 | | memory, [INFO] [stdout] 157 | | pointer, [INFO] [stdout] 158 | | current_node: Some(while_node), [INFO] [stdout] 159 | | while_stack [INFO] [stdout] 160 | | }) [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/main.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 98 | let mut while_stack = interpreter.while_stack; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | interpreter.current_node.and_then(|current_node| [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | Some(Interpreter { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 172 | | memory, [INFO] [stdout] 173 | | pointer, [INFO] [stdout] 174 | | current_node: (*current_node).left, [INFO] [stdout] 175 | | while_stack [INFO] [stdout] 176 | | }) [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:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | io::stdout().write(&[memory[pointer]]); [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] 181 | let _ = io::stdout().write(&[memory[pointer]]); [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:203:14 [INFO] [stdout] | [INFO] [stdout] 202 | let mut option_interpreter: Option = parse(&mut v2).and_then(|ast| [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | Some(Interpreter { [INFO] [stdout] | ______________^ [INFO] [stdout] 204 | | memory: vec![0; 100], [INFO] [stdout] 205 | | pointer: 0, [INFO] [stdout] 206 | | current_node: Some(Box::new(ast)), [INFO] [stdout] 207 | | while_stack: vec![], [INFO] [stdout] 208 | | }) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_tutorial` (bin "rust_tutorial") due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_tutorial` (bin "rust_tutorial" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ce821bed1c6d2dade42d6f2f16ad3414bd958bb83db0c0d65216e83352ac723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce821bed1c6d2dade42d6f2f16ad3414bd958bb83db0c0d65216e83352ac723", kill_on_drop: false }` [INFO] [stdout] 4ce821bed1c6d2dade42d6f2f16ad3414bd958bb83db0c0d65216e83352ac723