[INFO] cloning repository https://github.com/museun/dearsum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/museun/dearsum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fdearsum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fdearsum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3288834fbd777be67113297c434ececa09d8398d [INFO] checking museun/dearsum against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fdearsum" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/museun/dearsum [INFO] finished tweaking git repo https://github.com/museun/dearsum [INFO] tweaked toml for git repo https://github.com/museun/dearsum written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/museun/dearsum on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding crossterm v0.27.0 (available: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a221638128b10f3fff4d3e1b9892ca0769aee1ec69cb77d80615e08425bb8348 [INFO] running `Command { std: "docker" "start" "-a" "a221638128b10f3fff4d3e1b9892ca0769aee1ec69cb77d80615e08425bb8348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a221638128b10f3fff4d3e1b9892ca0769aee1ec69cb77d80615e08425bb8348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a221638128b10f3fff4d3e1b9892ca0769aee1ec69cb77d80615e08425bb8348", kill_on_drop: false }` [INFO] [stdout] a221638128b10f3fff4d3e1b9892ca0769aee1ec69cb77d80615e08425bb8348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6aef58e8f5e06c8c6683161b10a385acd4d90aec2856635c002c148103a35369 [INFO] running `Command { std: "docker" "start" "-a" "6aef58e8f5e06c8c6683161b10a385acd4d90aec2856635c002c148103a35369", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking dearsum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/widget/placeholder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg_attr(feature = "serde", derive(::serde::Serialize,))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` 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: `serde` [INFO] [stdout] --> src/widget/placeholder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg_attr(feature = "serde", derive(::serde::Serialize,))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` 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: unused variable: `delta` [INFO] [stdout] --> src/widgets/input.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | fn select(&mut self, delta: i32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/widgets/input.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | fn select_word(&mut self, delta: i32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/widgets/input.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn delete_word(&mut self, delta: i32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/widgets/scrollable.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let rect = Rect::from_min_size(area.right_top(), vec2(1, area.height())); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/widgets/input.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | fn select(&mut self, delta: i32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/widgets/input.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | fn select_word(&mut self, delta: i32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/widgets/input.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn delete_word(&mut self, delta: i32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/widgets/scrollable.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let rect = Rect::from_min_size(area.right_top(), vec2(1, area.height())); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/paint/surface.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Surface { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn draw(&mut self, shape: impl Shape) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/paint/buffer.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get(&self, pos: Pos2) -> Option<&Cell> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show_cursor` and `hide_cursor` are never used [INFO] [stdout] --> src/paint/renderer.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Renderer { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn show_cursor(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn hide_cursor(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Release` is never constructed [INFO] [stdout] --> src/terminal/event/mouse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MouseEvent { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Release { button: MouseButton }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_requested_repaint` and `reset` are never used [INFO] [stdout] --> src/ui/repaint.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Repaint { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn has_requested_repaint(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `default_layout`, `default_paint`, and `as_any` are never used [INFO] [stdout] --> src/widget/erased.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ErasedWidget: std::any::Any + std::fmt::Debug { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn default_layout(&self, ctx: LayoutCtx, input: Constraints) -> Size; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | fn default_paint(&self, ctx: PaintCtx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn as_any(&self) -> &dyn std::any::Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/paint/surface.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn crop(&mut self, rect: Rect) -> CroppedSurface { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn crop(&mut self, rect: Rect) -> CroppedSurface<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/paint/surface.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Surface { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn draw(&mut self, shape: impl Shape) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/paint/buffer.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get(&self, pos: Pos2) -> Option<&Cell> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show_cursor` and `hide_cursor` are never used [INFO] [stdout] --> src/paint/renderer.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Renderer { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn show_cursor(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn hide_cursor(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Release` is never constructed [INFO] [stdout] --> src/terminal/event/mouse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MouseEvent { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Release { button: MouseButton }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_requested_repaint` and `reset` are never used [INFO] [stdout] --> src/ui/repaint.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Repaint { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn has_requested_repaint(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `default_layout`, `default_paint`, and `as_any` are never used [INFO] [stdout] --> src/widget/erased.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ErasedWidget: std::any::Any + std::fmt::Debug { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn default_layout(&self, ctx: LayoutCtx, input: Constraints) -> Size; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | fn default_paint(&self, ctx: PaintCtx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn as_any(&self) -> &dyn std::any::Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/paint/surface.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn crop(&mut self, rect: Rect) -> CroppedSurface { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn crop(&mut self, rect: Rect) -> CroppedSurface<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.22s [INFO] running `Command { std: "docker" "inspect" "6aef58e8f5e06c8c6683161b10a385acd4d90aec2856635c002c148103a35369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aef58e8f5e06c8c6683161b10a385acd4d90aec2856635c002c148103a35369", kill_on_drop: false }` [INFO] [stdout] 6aef58e8f5e06c8c6683161b10a385acd4d90aec2856635c002c148103a35369