[INFO] cloning repository https://github.com/AtleSkaanes/cdraw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AtleSkaanes/cdraw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtleSkaanes%2Fcdraw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtleSkaanes%2Fcdraw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea68038e8075ebca066b4f986a4a1c4bc738ff79 [INFO] checking AtleSkaanes/cdraw/ea68038e8075ebca066b4f986a4a1c4bc738ff79 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtleSkaanes%2Fcdraw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AtleSkaanes/cdraw on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AtleSkaanes/cdraw [INFO] finished tweaking git repo https://github.com/AtleSkaanes/cdraw [INFO] tweaked toml for git repo https://github.com/AtleSkaanes/cdraw written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AtleSkaanes/cdraw 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33b8052c98788162d5f2861614508b36030e1fc312c8b99bd4ea7f88b82904f6 [INFO] running `Command { std: "docker" "start" "-a" "33b8052c98788162d5f2861614508b36030e1fc312c8b99bd4ea7f88b82904f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33b8052c98788162d5f2861614508b36030e1fc312c8b99bd4ea7f88b82904f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33b8052c98788162d5f2861614508b36030e1fc312c8b99bd4ea7f88b82904f6", kill_on_drop: false }` [INFO] [stdout] 33b8052c98788162d5f2861614508b36030e1fc312c8b99bd4ea7f88b82904f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1db35b558c3fdc2eb62c4e1ecce2fc56ca34fc7f2657ea4acaf5ebd85dc340f [INFO] running `Command { std: "docker" "start" "-a" "a1db35b558c3fdc2eb62c4e1ecce2fc56ca34fc7f2657ea4acaf5ebd85dc340f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking cgmath v0.18.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking cdraw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/streamhandler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/ui/tool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/streamhandler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/ui/tool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ui/tool.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { &mut TOOL } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { addr_of_mut!(TOOL) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ui/tool.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { &mut TOOL } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { addr_of_mut!(TOOL) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/ui/mod.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 128 | fn handle_ui_click(stream: &mut StreamHandler, col: u16, row: u16) -> std::io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_char` is never used [INFO] [stdout] --> src/streamhandler.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl StreamHandler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_char(&self, layer: usize, col: u16, row: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDO_LIST_MAX_SIZE` is never used [INFO] [stdout] --> src/ui/data.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const UNDO_LIST_MAX_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UNDO_LIST` is never used [INFO] [stdout] --> src/ui/data.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | static mut UNDO_LIST: VecDeque> = VecDeque::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UNDO_PTR` is never used [INFO] [stdout] --> src/ui/data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static mut UNDO_PTR: usize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_to_undolist` is never used [INFO] [stdout] --> src/ui/data.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn push_to_undolist(stroke: Vec<(u16, u16, char, char)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prev_undo` is never used [INFO] [stdout] --> src/ui/data.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_prev_undo() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_undo` is never used [INFO] [stdout] --> src/ui/data.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_next_undo() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/ui/mod.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 128 | fn handle_ui_click(stream: &mut StreamHandler, col: u16, row: u16) -> std::io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/ui/tool.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Tool { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub tool_type: ToolType, [INFO] [stdout] 8 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tool` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_tool` is never used [INFO] [stdout] --> src/ui/tool.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_tool(tool: Tool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_stroke` is never used [INFO] [stdout] --> src/ui/tool.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn add_to_stroke(col: u16, row: u16, from: char, to: char) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_char` is never used [INFO] [stdout] --> src/streamhandler.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl StreamHandler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_char(&self, layer: usize, col: u16, row: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDO_LIST_MAX_SIZE` is never used [INFO] [stdout] --> src/ui/data.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const UNDO_LIST_MAX_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UNDO_LIST` is never used [INFO] [stdout] --> src/ui/data.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | static mut UNDO_LIST: VecDeque> = VecDeque::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UNDO_PTR` is never used [INFO] [stdout] --> src/ui/data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static mut UNDO_PTR: usize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_to_undolist` is never used [INFO] [stdout] --> src/ui/data.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn push_to_undolist(stroke: Vec<(u16, u16, char, char)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prev_undo` is never used [INFO] [stdout] --> src/ui/data.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_prev_undo() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_undo` is never used [INFO] [stdout] --> src/ui/data.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_next_undo() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/ui/tool.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Tool { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub tool_type: ToolType, [INFO] [stdout] 8 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tool` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_tool` is never used [INFO] [stdout] --> src/ui/tool.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_tool(tool: Tool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_stroke` is never used [INFO] [stdout] --> src/ui/tool.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn add_to_stroke(col: u16, row: u16, from: char, to: char) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "a1db35b558c3fdc2eb62c4e1ecce2fc56ca34fc7f2657ea4acaf5ebd85dc340f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1db35b558c3fdc2eb62c4e1ecce2fc56ca34fc7f2657ea4acaf5ebd85dc340f", kill_on_drop: false }` [INFO] [stdout] a1db35b558c3fdc2eb62c4e1ecce2fc56ca34fc7f2657ea4acaf5ebd85dc340f