[INFO] cloning repository https://github.com/JakobHuemer/github-pixel-art [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JakobHuemer/github-pixel-art" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakobHuemer%2Fgithub-pixel-art", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakobHuemer%2Fgithub-pixel-art'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a2146edaad5ace17906df4c6de8736458d4450c [INFO] building JakobHuemer/github-pixel-art against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakobHuemer%2Fgithub-pixel-art" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JakobHuemer/github-pixel-art [INFO] finished tweaking git repo https://github.com/JakobHuemer/github-pixel-art [INFO] tweaked toml for git repo https://github.com/JakobHuemer/github-pixel-art written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JakobHuemer/github-pixel-art on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JakobHuemer/github-pixel-art 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded snafu-derive v0.8.6 [INFO] [stderr] Downloaded graphql_query_derive v0.14.0 [INFO] [stderr] Downloaded graphql-introspection-query v0.2.0 [INFO] [stderr] Downloaded graphql_client v0.14.0 [INFO] [stderr] Downloaded graphql-parser v0.4.1 [INFO] [stderr] Downloaded snafu v0.8.6 [INFO] [stderr] Downloaded fdeflate v0.3.5 [INFO] [stderr] Downloaded keyring v3.6.2 [INFO] [stderr] Downloaded graphql_client_codegen v0.14.0 [INFO] [stderr] Downloaded octocrab v0.44.1 [INFO] [stderr] Downloaded libssh2-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33997e287305a62ef5ef74d4df78cc2e1b2999ced3ec2630ca621f088ddea04a [INFO] running `Command { std: "docker" "start" "-a" "33997e287305a62ef5ef74d4df78cc2e1b2999ced3ec2630ca621f088ddea04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33997e287305a62ef5ef74d4df78cc2e1b2999ced3ec2630ca621f088ddea04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33997e287305a62ef5ef74d4df78cc2e1b2999ced3ec2630ca621f088ddea04a", kill_on_drop: false }` [INFO] [stdout] 33997e287305a62ef5ef74d4df78cc2e1b2999ced3ec2630ca621f088ddea04a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d83390aac8e4e5bc7c0d22024352375d80537aebcf65c1e30a0eb5e3b0d0ec7 [INFO] running `Command { std: "docker" "start" "-a" "6d83390aac8e4e5bc7c0d22024352375d80537aebcf65c1e30a0eb5e3b0d0ec7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling libgit2-sys v0.18.1+1.9.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling keyring v3.6.2 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling graphql-parser v0.4.1 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling snafu v0.8.6 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling graphql_client_codegen v0.14.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling git2 v0.20.1 [INFO] [stderr] Compiling graphql_query_derive v0.14.0 [INFO] [stderr] Compiling graphql_client v0.14.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling octocrab v0.44.1 [INFO] [stderr] Compiling github-pixel-art v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/image_to_tiles.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if (img.height() != 7 || img.width() >= 50) { [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] 11 - if (img.height() != 7 || img.width() >= 50) { [INFO] [stdout] 11 + if img.height() != 7 || img.width() >= 50 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inquire::Select` [INFO] [stdout] --> src/ui/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use inquire::Select; [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 import: `std::error::Error` [INFO] [stdout] --> src/ui/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/ui/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/repo_manager/github.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo_manager/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut repo = builder [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: unused variable: `main_branch` [INFO] [stdout] --> src/repo_manager/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut main_branch = self.repo.find_branch("main", BranchType::Local); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_branch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/repo_manager/mod.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | for i in 0..*t { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo_manager/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut main_branch = self.repo.find_branch("main", BranchType::Local); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_PATH` is never used [INFO] [stdout] --> src/config_manager/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const CONFIG_PATH: &str = "./config"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_FILE_NAME` is never used [INFO] [stdout] --> src/config_manager/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const CONFIG_FILE_NAME: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WELCOME_MESSAGE` is never used [INFO] [stdout] --> src/ui/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const WELCOME_MESSAGE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo_name` and `repo_folder` are never read [INFO] [stdout] --> src/repo_manager/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RepoManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 15 | repo: Repository, [INFO] [stdout] 16 | repo_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | repo_folder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo_folder` and `remote_origin` are never read [INFO] [stdout] --> src/repo_manager/git.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Git { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | repo_folder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | remote_origin: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::exit; [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 `Result` that must be used [INFO] [stdout] --> src/main.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | code_builder.wait_for_user().await; [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 _ = code_builder.wait_for_user().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "6d83390aac8e4e5bc7c0d22024352375d80537aebcf65c1e30a0eb5e3b0d0ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d83390aac8e4e5bc7c0d22024352375d80537aebcf65c1e30a0eb5e3b0d0ec7", kill_on_drop: false }` [INFO] [stdout] 6d83390aac8e4e5bc7c0d22024352375d80537aebcf65c1e30a0eb5e3b0d0ec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc690d8d4bc1947f5acc29fa8e309db7ed3be8f5e443bc4fccde9fb5b1f5f564 [INFO] running `Command { std: "docker" "start" "-a" "bc690d8d4bc1947f5acc29fa8e309db7ed3be8f5e443bc4fccde9fb5b1f5f564", kill_on_drop: false }` [INFO] [stderr] Compiling github-pixel-art v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/image_to_tiles.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if (img.height() != 7 || img.width() >= 50) { [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] 11 - if (img.height() != 7 || img.width() >= 50) { [INFO] [stdout] 11 + if img.height() != 7 || img.width() >= 50 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inquire::Select` [INFO] [stdout] --> src/ui/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use inquire::Select; [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 import: `std::error::Error` [INFO] [stdout] --> src/ui/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/ui/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/repo_manager/github.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo_manager/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut repo = builder [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: unused variable: `main_branch` [INFO] [stdout] --> src/repo_manager/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut main_branch = self.repo.find_branch("main", BranchType::Local); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_branch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/repo_manager/mod.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | for i in 0..*t { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo_manager/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut main_branch = self.repo.find_branch("main", BranchType::Local); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_PATH` is never used [INFO] [stdout] --> src/config_manager/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const CONFIG_PATH: &str = "./config"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_FILE_NAME` is never used [INFO] [stdout] --> src/config_manager/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const CONFIG_FILE_NAME: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WELCOME_MESSAGE` is never used [INFO] [stdout] --> src/ui/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const WELCOME_MESSAGE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo_name` and `repo_folder` are never read [INFO] [stdout] --> src/repo_manager/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RepoManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 15 | repo: Repository, [INFO] [stdout] 16 | repo_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | repo_folder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo_folder` and `remote_origin` are never read [INFO] [stdout] --> src/repo_manager/git.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Git { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | repo_folder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | remote_origin: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::exit; [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 `Result` that must be used [INFO] [stdout] --> src/main.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | code_builder.wait_for_user().await; [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 _ = code_builder.wait_for_user().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/image_to_tiles.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if (img.height() != 7 || img.width() >= 50) { [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] 11 - if (img.height() != 7 || img.width() >= 50) { [INFO] [stdout] 11 + if img.height() != 7 || img.width() >= 50 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inquire::Select` [INFO] [stdout] --> src/ui/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use inquire::Select; [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 import: `std::error::Error` [INFO] [stdout] --> src/ui/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/ui/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/repo_manager/github.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo_manager/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut repo = builder [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: unused variable: `main_branch` [INFO] [stdout] --> src/repo_manager/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut main_branch = self.repo.find_branch("main", BranchType::Local); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_branch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/repo_manager/mod.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | for i in 0..*t { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo_manager/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut main_branch = self.repo.find_branch("main", BranchType::Local); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_PATH` is never used [INFO] [stdout] --> src/config_manager/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const CONFIG_PATH: &str = "./config"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_FILE_NAME` is never used [INFO] [stdout] --> src/config_manager/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const CONFIG_FILE_NAME: &str = "config.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WELCOME_MESSAGE` is never used [INFO] [stdout] --> src/ui/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const WELCOME_MESSAGE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo_name` and `repo_folder` are never read [INFO] [stdout] --> src/repo_manager/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RepoManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 15 | repo: Repository, [INFO] [stdout] 16 | repo_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | repo_folder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo_folder` and `remote_origin` are never read [INFO] [stdout] --> src/repo_manager/git.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Git { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | repo_folder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | remote_origin: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "bc690d8d4bc1947f5acc29fa8e309db7ed3be8f5e443bc4fccde9fb5b1f5f564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc690d8d4bc1947f5acc29fa8e309db7ed3be8f5e443bc4fccde9fb5b1f5f564", kill_on_drop: false }` [INFO] [stdout] bc690d8d4bc1947f5acc29fa8e309db7ed3be8f5e443bc4fccde9fb5b1f5f564