[INFO] cloning repository https://github.com/emmalexandria/tdrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emmalexandria/tdrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femmalexandria%2Ftdrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femmalexandria%2Ftdrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 890baf290df676e7dd20400380ad0dd02b0e861c [INFO] checking emmalexandria/tdrop against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femmalexandria%2Ftdrop" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/emmalexandria/tdrop [INFO] finished tweaking git repo https://github.com/emmalexandria/tdrop [INFO] tweaked toml for git repo https://github.com/emmalexandria/tdrop written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emmalexandria/tdrop on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emmalexandria/tdrop 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded unicode-truncate v2.0.0 [INFO] [stderr] Downloaded terminal-light v1.8.0 [INFO] [stderr] Downloaded xterm-query v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0832bff02f96d387719db7e9887f1c44208ef77d00022c51efad3be9dc09a25 [INFO] running `Command { std: "docker" "start" "-a" "d0832bff02f96d387719db7e9887f1c44208ef77d00022c51efad3be9dc09a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0832bff02f96d387719db7e9887f1c44208ef77d00022c51efad3be9dc09a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0832bff02f96d387719db7e9887f1c44208ef77d00022c51efad3be9dc09a25", kill_on_drop: false }` [INFO] [stdout] d0832bff02f96d387719db7e9887f1c44208ef77d00022c51efad3be9dc09a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a9c93454a373d11fcc6f64f30a5f8425beac13f8a59c8e6aba1515efc5e1768 [INFO] running `Command { std: "docker" "start" "-a" "3a9c93454a373d11fcc6f64f30a5f8425beac13f8a59c8e6aba1515efc5e1768", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking coolor v1.1.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking lock_api v0.4.13 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking unicode-truncate v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking xterm-query v0.5.2 [INFO] [stderr] Checking terminal-light v1.8.0 [INFO] [stderr] Checking tdrop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `execute` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attributes as CrosstermAttrs`, `ContentStyle`, `SetBackgroundColor`, and `SetForegroundColor` [INFO] [stdout] --> src/backend.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | Attribute as CrosstermAttr, Attributes as CrosstermAttrs, Color as CrosstermColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Colors as CrosstermColors, ContentStyle, Print, SetAttribute, SetBackgroundColor, SetColors, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | SetForegroundColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/backend.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crossterm::terminal::{self, Clear}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/backend.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | if (cell.fg != fg || cell.bg != bg) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (cell.fg != fg || cell.bg != bg) { [INFO] [stdout] 121 + if cell.fg != fg || cell.bg != bg { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `execute` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attributes as CrosstermAttrs`, `ContentStyle`, `SetBackgroundColor`, and `SetForegroundColor` [INFO] [stdout] --> src/backend.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | Attribute as CrosstermAttr, Attributes as CrosstermAttrs, Color as CrosstermColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | Colors as CrosstermColors, ContentStyle, Print, SetAttribute, SetBackgroundColor, SetColors, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | SetForegroundColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/backend.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crossterm::terminal::{self, Clear}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/backend.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | if (cell.fg != fg || cell.bg != bg) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (cell.fg != fg || cell.bg != bg) { [INFO] [stdout] 121 + if cell.fg != fg || cell.bg != bg { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut fg = Color::Reset; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut bg = Color::Reset; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut fg = Color::Reset; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut bg = Color::Reset; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/terminal/terminal.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | Viewport::Inline(height) => backend.size()?.into(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `respect_exit` is never read [INFO] [stdout] --> src/terminal/terminal.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | respect_exit: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/terminal/terminal.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | Viewport::Inline(height) => backend.size()?.into(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `respect_exit` is never read [INFO] [stdout] --> src/terminal/terminal.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | respect_exit: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEvent` [INFO] [stdout] --> examples/basic_structure.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::event::{Event, KeyCode, KeyEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CrosstermBackend` and `terminal::Terminal` [INFO] [stdout] --> examples/basic_structure.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | component::confirmation::{Confirmation, ConfirmationState}, [INFO] [stdout] 5 | terminal::Terminal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> examples/basic_structure.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> examples/basic_structure.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let res: std::io::Result<()> = tdrop::run(|term| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> examples/basic_structure.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | fn exit(term: &mut DefaultTerminal) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/basic_structure.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | / term.draw(|frame| { [INFO] [stdout] 22 | | frame.render_stateful_component( [INFO] [stdout] 23 | | confirmation, [INFO] [stdout] 24 | | frame.area(), [INFO] [stdout] 25 | | &mut confirmation_state, [INFO] [stdout] 26 | | ); [INFO] [stdout] 27 | | }); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = term.draw(|frame| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "3a9c93454a373d11fcc6f64f30a5f8425beac13f8a59c8e6aba1515efc5e1768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a9c93454a373d11fcc6f64f30a5f8425beac13f8a59c8e6aba1515efc5e1768", kill_on_drop: false }` [INFO] [stdout] 3a9c93454a373d11fcc6f64f30a5f8425beac13f8a59c8e6aba1515efc5e1768