[INFO] cloning repository https://github.com/EmKian/Tetrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EmKian/Tetrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmKian%2FTetrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmKian%2FTetrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f12b03a84a8e0f5345d74e03a36ca8bbe3343a32 [INFO] checking EmKian/Tetrs/f12b03a84a8e0f5345d74e03a36ca8bbe3343a32 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%2FEmKian%2FTetrs" "/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/EmKian/Tetrs 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/EmKian/Tetrs [INFO] finished tweaking git repo https://github.com/EmKian/Tetrs [INFO] tweaked toml for git repo https://github.com/EmKian/Tetrs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EmKian/Tetrs 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] 52f16a3a577d16332771a2741a60bb1ebdfd4d978711ef356f01e8ffed6ecabb [INFO] running `Command { std: "docker" "start" "-a" "52f16a3a577d16332771a2741a60bb1ebdfd4d978711ef356f01e8ffed6ecabb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52f16a3a577d16332771a2741a60bb1ebdfd4d978711ef356f01e8ffed6ecabb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f16a3a577d16332771a2741a60bb1ebdfd4d978711ef356f01e8ffed6ecabb", kill_on_drop: false }` [INFO] [stdout] 52f16a3a577d16332771a2741a60bb1ebdfd4d978711ef356f01e8ffed6ecabb [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] 1f5dc26a745c88f89c101c6bb2440cef8607121504c65900e6324b0ea2e76a90 [INFO] running `Command { std: "docker" "start" "-a" "1f5dc26a745c88f89c101c6bb2440cef8607121504c65900e6324b0ea2e76a90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tui v0.18.0 [INFO] [stderr] Checking tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Instant` and `RwLock` [INFO] [stdout] --> src/main.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{mpsc, Arc, Mutex, RwLock}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | thread, [INFO] [stdout] 6 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment::Center`, `Block`, `Borders`, `Rect`, `Widget`, `buffer`, `self`, and `style::Color` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | backend::{self, Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | layout::{Alignment::Center, Rect}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] 13 | style::Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | widgets::{Block, Borders, Widget}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent` and `self` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | event::{self, poll, read, Event, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/ui.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | layout::{Rect, Layout, Direction, Constraint}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant` and `RwLock` [INFO] [stdout] --> src/main.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{mpsc, Arc, Mutex, RwLock}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | thread, [INFO] [stdout] 6 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment::Center`, `Block`, `Borders`, `Rect`, `Widget`, `buffer`, `self`, and `style::Color` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | backend::{self, Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | layout::{Alignment::Center, Rect}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] 13 | style::Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | widgets::{Block, Borders, Widget}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent` and `self` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | event::{self, poll, read, Event, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/ui.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | layout::{Rect, Layout, Direction, Constraint}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | backend::{self, Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_thread` [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let input_thread = input_thread(tx_input, accept_input.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_thread` [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let timer_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_thread` [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:121:19 [INFO] [stdout] | [INFO] [stdout] 118 | sender: std::sync::mpsc::Sender, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | accept_input: Arc>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | ) -> std::thread::JoinHandle<()> { [INFO] [stdout] 121 | thread::spawn(move || loop { [INFO] [stdout] | ___________________^ [INFO] [stdout] 122 | | if let Ok(poll) = poll(Duration::from_millis(5)) { [INFO] [stdout] 123 | | if poll && *accept_input.lock().unwrap() { [INFO] [stdout] 124 | | if let Ok(Event::Key(key)) = read() { [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | }) [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` (bin "tetris" test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | backend::{self, Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_thread` [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let input_thread = input_thread(tx_input, accept_input.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_thread` [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let timer_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_thread` [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:121:19 [INFO] [stdout] | [INFO] [stdout] 118 | sender: std::sync::mpsc::Sender, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | accept_input: Arc>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | ) -> std::thread::JoinHandle<()> { [INFO] [stdout] 121 | thread::spawn(move || loop { [INFO] [stdout] | ___________________^ [INFO] [stdout] 122 | | if let Ok(poll) = poll(Duration::from_millis(5)) { [INFO] [stdout] 123 | | if poll && *accept_input.lock().unwrap() { [INFO] [stdout] 124 | | if let Ok(Event::Key(key)) = read() { [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | }) [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` (bin "tetris") due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f5dc26a745c88f89c101c6bb2440cef8607121504c65900e6324b0ea2e76a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5dc26a745c88f89c101c6bb2440cef8607121504c65900e6324b0ea2e76a90", kill_on_drop: false }` [INFO] [stdout] 1f5dc26a745c88f89c101c6bb2440cef8607121504c65900e6324b0ea2e76a90