[INFO] cloning repository https://github.com/hanslovsky/tcolr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanslovsky/tcolr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanslovsky%2Ftcolr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanslovsky%2Ftcolr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f10fce476261d8573b35e925aa7f6282142db46e [INFO] testing hanslovsky/tcolr against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanslovsky%2Ftcolr" "/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/hanslovsky/tcolr [INFO] finished tweaking git repo https://github.com/hanslovsky/tcolr [INFO] tweaked toml for git repo https://github.com/hanslovsky/tcolr written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hanslovsky/tcolr 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/hanslovsky/tcolr 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] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded cc v1.0.99 [INFO] [stderr] Downloaded icu_properties v1.5.0 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded url v2.5.1 [INFO] [stderr] Downloaded jobserver v0.1.31 [INFO] [stderr] Downloaded clap_derive v4.5.5 [INFO] [stderr] Downloaded num-bigint v0.4.5 [INFO] [stderr] Downloaded clap_builder v4.5.7 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded bytemuck v1.16.0 [INFO] [stderr] Downloaded clap v4.5.7 [INFO] [stderr] Downloaded either v1.12.0 [INFO] [stderr] Downloaded httparse v1.9.3 [INFO] [stderr] Downloaded object v0.36.0 [INFO] [stderr] Downloaded bitstream-io v2.3.0 [INFO] [stderr] Downloaded flate2 v1.0.30 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded zerovec v0.10.2 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded hyper-util v0.1.5 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded built v0.7.3 [INFO] [stderr] Downloaded toml v0.8.14 [INFO] [stderr] Downloaded zerovec-derive v0.10.2 [INFO] [stderr] Downloaded idna v1.0.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9acb8e77866e4ca6bf32ffb706c260861454f6f8d4813c08bc216b1722ca6774 [INFO] running `Command { std: "docker" "start" "-a" "9acb8e77866e4ca6bf32ffb706c260861454f6f8d4813c08bc216b1722ca6774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9acb8e77866e4ca6bf32ffb706c260861454f6f8d4813c08bc216b1722ca6774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9acb8e77866e4ca6bf32ffb706c260861454f6f8d4813c08bc216b1722ca6774", kill_on_drop: false }` [INFO] [stdout] 9acb8e77866e4ca6bf32ffb706c260861454f6f8d4813c08bc216b1722ca6774 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bce239fd3a5234da98f289466f055f172032a167fc6a0d08fa15cdbea67b96e1 [INFO] running `Command { std: "docker" "start" "-a" "bce239fd3a5234da98f289466f055f172032a167fc6a0d08fa15cdbea67b96e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling hyper v1.3.1 [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 tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling url v2.5.1 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling tcolr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ansi_term::Colour::RGB` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ansi_term::Colour::RGB; [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 variable: `t0` [INFO] [stdout] --> src/main.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | let t0 = get_time(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/main.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let t1 = get_time(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let image = match get_image(&args.image_url) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | let mut slice = &mut rgbs[y_chunk * n_x .. y_chunk * n_x + n_x]; [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: methods `set_zero` and `add` are never used [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl RGBSum { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | fn set_zero(&mut self) -> &RGBSum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn add(&mut self, other: &RGBSum) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RgbCount` is never constructed [INFO] [stdout] --> src/main.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | struct RgbCount { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_same_rgb`, `incr`, `is_valid`, `set_rgb`, and `invalid` are never used [INFO] [stdout] --> src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 217 | impl RgbCount { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 218 | fn is_same_rgb(&self, other: &RGBSum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn incr(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn set_rgb(&mut self, rgb: RGBSum) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn invalid() -> RgbCount { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "bce239fd3a5234da98f289466f055f172032a167fc6a0d08fa15cdbea67b96e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce239fd3a5234da98f289466f055f172032a167fc6a0d08fa15cdbea67b96e1", kill_on_drop: false }` [INFO] [stdout] bce239fd3a5234da98f289466f055f172032a167fc6a0d08fa15cdbea67b96e1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7656083fcfcde1c8fd9d2c7e6f9bc4ba1cb6d4276e2a326aaf672984ef6f7851 [INFO] running `Command { std: "docker" "start" "-a" "7656083fcfcde1c8fd9d2c7e6f9bc4ba1cb6d4276e2a326aaf672984ef6f7851", kill_on_drop: false }` [INFO] [stderr] Compiling tcolr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ansi_term::Colour::RGB` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ansi_term::Colour::RGB; [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 variable: `t0` [INFO] [stdout] --> src/main.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | let t0 = get_time(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/main.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let t1 = get_time(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let image = match get_image(&args.image_url) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | let mut slice = &mut rgbs[y_chunk * n_x .. y_chunk * n_x + n_x]; [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: methods `set_zero` and `add` are never used [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl RGBSum { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | fn set_zero(&mut self) -> &RGBSum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn add(&mut self, other: &RGBSum) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RgbCount` is never constructed [INFO] [stdout] --> src/main.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | struct RgbCount { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_same_rgb`, `incr`, `is_valid`, `set_rgb`, and `invalid` are never used [INFO] [stdout] --> src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 217 | impl RgbCount { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 218 | fn is_same_rgb(&self, other: &RGBSum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn incr(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn set_rgb(&mut self, rgb: RGBSum) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn invalid() -> RgbCount { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "7656083fcfcde1c8fd9d2c7e6f9bc4ba1cb6d4276e2a326aaf672984ef6f7851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7656083fcfcde1c8fd9d2c7e6f9bc4ba1cb6d4276e2a326aaf672984ef6f7851", kill_on_drop: false }` [INFO] [stdout] 7656083fcfcde1c8fd9d2c7e6f9bc4ba1cb6d4276e2a326aaf672984ef6f7851 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4e958820e57ad4544e62441359d2189785f1927044490e8d8384b5498d3c589 [INFO] running `Command { std: "docker" "start" "-a" "b4e958820e57ad4544e62441359d2189785f1927044490e8d8384b5498d3c589", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ansi_term::Colour::RGB` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use ansi_term::Colour::RGB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/main.rs:266:9 [INFO] [stderr] | [INFO] [stderr] 266 | let t0 = get_time(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/main.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | let t1 = get_time(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/main.rs:273:9 [INFO] [stderr] | [INFO] [stderr] 273 | let image = match get_image(&args.image_url) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:299:13 [INFO] [stderr] | [INFO] [stderr] 299 | let mut slice = &mut rgbs[y_chunk * n_x .. y_chunk * n_x + n_x]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `set_zero` and `add` are never used [INFO] [stderr] --> src/main.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 105 | impl RGBSum { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 110 | fn set_zero(&mut self) -> &RGBSum { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | fn add(&mut self, other: &RGBSum) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `RgbCount` is never constructed [INFO] [stderr] --> src/main.rs:211:8 [INFO] [stderr] | [INFO] [stderr] 211 | struct RgbCount { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `is_same_rgb`, `incr`, `is_valid`, `set_rgb`, and `invalid` are never used [INFO] [stderr] --> src/main.rs:218:8 [INFO] [stderr] | [INFO] [stderr] 217 | impl RgbCount { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 218 | fn is_same_rgb(&self, other: &RGBSum) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | fn incr(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 226 | fn is_valid(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 230 | fn set_rgb(&mut self, rgb: RGBSum) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 235 | fn invalid() -> RgbCount { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tcolr` (bin "tcolr" test) generated 8 warnings (run `cargo fix --bin "tcolr" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tcolr-21dbe252148392a9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4e958820e57ad4544e62441359d2189785f1927044490e8d8384b5498d3c589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e958820e57ad4544e62441359d2189785f1927044490e8d8384b5498d3c589", kill_on_drop: false }` [INFO] [stdout] b4e958820e57ad4544e62441359d2189785f1927044490e8d8384b5498d3c589