[INFO] cloning repository https://github.com/SoaresVictor-vso/rust-text-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SoaresVictor-vso/rust-text-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoaresVictor-vso%2Frust-text-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoaresVictor-vso%2Frust-text-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 082881cc8f2ec159b8117104ab95b512a99de7c9 [INFO] checking SoaresVictor-vso/rust-text-editor against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoaresVictor-vso%2Frust-text-editor" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SoaresVictor-vso/rust-text-editor [INFO] finished tweaking git repo https://github.com/SoaresVictor-vso/rust-text-editor [INFO] tweaked toml for git repo https://github.com/SoaresVictor-vso/rust-text-editor written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SoaresVictor-vso/rust-text-editor on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SoaresVictor-vso/rust-text-editor 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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-scanner v0.31.9 [INFO] [stderr] Downloaded wayland-client v0.31.13 [INFO] [stderr] Downloaded wayland-sys v0.31.10 [INFO] [stderr] Downloaded wayland-backend v0.3.14 [INFO] [stderr] Downloaded tempfile v3.26.0 [INFO] [stderr] Downloaded wayland-protocols v0.31.2 [INFO] [stderr] Downloaded quick-xml v0.39.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6 [INFO] running `Command { std: "docker" "start" "9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling wayland-sys v0.31.10 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling wayland-client v0.31.13 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling quick-xml v0.39.2 [INFO] [stderr] Compiling wayland-backend v0.3.14 [INFO] [stderr] Compiling wayland-scanner v0.31.9 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking tempfile v3.26.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking rust-text-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `caps_debug` [INFO] [stdout] --> src/wayland.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let caps_debug = format!("{:?}", capabilities); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caps_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | let (mut event_queue, mut state, mut file, buffer, surface) = wayland::initialize_wayland(); [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: enum `Colors` is never used [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Colors { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_input_thread` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn start_input_thread(cor: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_color_buffer` is never used [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_color_buffer(file: &File, width: i32, height: i32, color: Colors) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text` is never used [INFO] [stdout] --> src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn draw_text(pixels: &mut [u32], width: i32, x: i32, y: i32, text: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_glyph` is never used [INFO] [stdout] --> src/main.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw_glyph(pixels: &mut [u32], width: i32, x: i32, y: i32, glyph: &[u8; 7]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_simple_font` is never used [INFO] [stdout] --> src/main.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn get_simple_font() -> std::collections::HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caps_debug` [INFO] [stdout] --> src/wayland.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let caps_debug = format!("{:?}", capabilities); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caps_debug` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | let (mut event_queue, mut state, mut file, buffer, surface) = wayland::initialize_wayland(); [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: enum `Colors` is never used [INFO] [stdout] --> src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Colors { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_input_thread` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn start_input_thread(cor: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_color_buffer` is never used [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_color_buffer(file: &File, width: i32, height: i32, color: Colors) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text` is never used [INFO] [stdout] --> src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn draw_text(pixels: &mut [u32], width: i32, x: i32, y: i32, text: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_glyph` is never used [INFO] [stdout] --> src/main.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw_glyph(pixels: &mut [u32], width: i32, x: i32, y: i32, glyph: &[u8; 7]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_simple_font` is never used [INFO] [stdout] --> src/main.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn get_simple_font() -> std::collections::HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `memmap2` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | memmap2 = "0.9" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `memmap2` [INFO] [stderr] warning: `rust-text-editor` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.23s [INFO] running `Command { std: "docker" "inspect" "9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6", kill_on_drop: false }` [INFO] [stdout] 9d4d4571cdfd16ab5ddd23613df70bcb5e759082fe32be73673adb18074702b6