[INFO] cloning repository https://github.com/samkeen/todo-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samkeen/todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamkeen%2Ftodo-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamkeen%2Ftodo-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 425a457861baf24468f93572d38160f2b24d40f1 [INFO] checking samkeen/todo-app against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamkeen%2Ftodo-app" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samkeen/todo-app on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samkeen/todo-app [INFO] finished tweaking git repo https://github.com/samkeen/todo-app [INFO] tweaked toml for git repo https://github.com/samkeen/todo-app written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/samkeen/todo-app 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded digest v0.11.0-pre.8 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.3 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] [stderr] Downloaded crypto-common v0.2.0-pre.5 [INFO] [stderr] Downloaded block-buffer v0.11.0-pre.5 [INFO] [stderr] Downloaded hybrid-array v0.2.0-rc.5 [INFO] [stderr] Downloaded egui-wgpu v0.26.0 [INFO] [stderr] Downloaded env_logger v0.11.1 [INFO] [stderr] Downloaded const-oid v0.10.0-pre.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7842b5dec742d6c6c85711854806ae530d04b1b82e7037de534642872cf3c8b [INFO] running `Command { std: "docker" "start" "-a" "c7842b5dec742d6c6c85711854806ae530d04b1b82e7037de534642872cf3c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7842b5dec742d6c6c85711854806ae530d04b1b82e7037de534642872cf3c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7842b5dec742d6c6c85711854806ae530d04b1b82e7037de534642872cf3c8b", kill_on_drop: false }` [INFO] [stdout] c7842b5dec742d6c6c85711854806ae530d04b1b82e7037de534642872cf3c8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61b88f5982d1c1388ba11c15dbd7841b0dfdca94629c2dd608a12b3943d6f8ef [INFO] running `Command { std: "docker" "start" "-a" "61b88f5982d1c1388ba11c15dbd7841b0dfdca94629c2dd608a12b3943d6f8ef", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking ahash v0.8.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking hybrid-array v0.2.0-rc.5 [INFO] [stderr] Checking bytemuck v1.14.2 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.26.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ecolor v0.26.0 [INFO] [stderr] Checking crypto-common v0.2.0-pre.5 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking epaint v0.26.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-fs v1.6.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking const-oid v0.10.0-pre.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking egui v0.26.0 [INFO] [stderr] Checking env_logger v0.11.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking block-buffer v0.11.0-pre.5 [INFO] [stderr] Checking digest v0.11.0-pre.8 [INFO] [stderr] Checking sha2 v0.11.0-pre.3 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling zbus_macros v3.15.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking egui_glow v0.26.0 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking arboard v3.3.0 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking zbus v3.15.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.18.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.0 [INFO] [stderr] Checking winit v0.29.10 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.26.0 [INFO] [stderr] Checking eframe v0.26.0 [INFO] [stderr] Checking todo-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut todo_collection = TodoCollection::new("./todos.json"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut todo_collection = TodoCollection::new("./todos.json"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `persist_file_path` is never read [INFO] [stdout] --> src/todo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TodoCollection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 17 | todos: Vec, [INFO] [stdout] 18 | persist_file_path: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoCollection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `persist_file_path` is never read [INFO] [stdout] --> src/todo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TodoCollection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 17 | todos: Vec, [INFO] [stdout] 18 | persist_file_path: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoCollection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `add`, `list`, `remove`, `generate_id`, and `persist` are never used [INFO] [stdout] --> src/todo.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl TodoCollection { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn add(&mut self, headline: &str, description: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn list(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn remove(&mut self, todo_id: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn generate_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn persist(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `add`, `list`, `remove`, `generate_id`, and `persist` are never used [INFO] [stdout] --> src/todo.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl TodoCollection { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn add(&mut self, headline: &str, description: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn list(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn remove(&mut self, todo_id: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn generate_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn persist(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "61b88f5982d1c1388ba11c15dbd7841b0dfdca94629c2dd608a12b3943d6f8ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b88f5982d1c1388ba11c15dbd7841b0dfdca94629c2dd608a12b3943d6f8ef", kill_on_drop: false }` [INFO] [stdout] 61b88f5982d1c1388ba11c15dbd7841b0dfdca94629c2dd608a12b3943d6f8ef