[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanslovsky%2Ftcolr" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hanslovsky/tcolr on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc76104214fd333d1bfe1a8a4cfbd5a290d5d538234eb49e3150e8089b9685db [INFO] running `Command { std: "docker" "start" "-a" "fc76104214fd333d1bfe1a8a4cfbd5a290d5d538234eb49e3150e8089b9685db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc76104214fd333d1bfe1a8a4cfbd5a290d5d538234eb49e3150e8089b9685db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc76104214fd333d1bfe1a8a4cfbd5a290d5d538234eb49e3150e8089b9685db", kill_on_drop: false }` [INFO] [stdout] fc76104214fd333d1bfe1a8a4cfbd5a290d5d538234eb49e3150e8089b9685db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec0825560cdce21c263432344f315c9c5d890e5b61e64ef49e4f5716233915c8 [INFO] running `Command { std: "docker" "start" "-a" "ec0825560cdce21c263432344f315c9c5d890e5b61e64ef49e4f5716233915c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [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 simd_helpers v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [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 anstream v0.6.14 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [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 tokio-util v0.7.11 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling idna v1.0.0 [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 03s [INFO] running `Command { std: "docker" "inspect" "ec0825560cdce21c263432344f315c9c5d890e5b61e64ef49e4f5716233915c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec0825560cdce21c263432344f315c9c5d890e5b61e64ef49e4f5716233915c8", kill_on_drop: false }` [INFO] [stdout] ec0825560cdce21c263432344f315c9c5d890e5b61e64ef49e4f5716233915c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87c5fbbb3f2b54cd0c1571c6808f6fa6e8a34e881102cf54ccd7c7c2fb549a17 [INFO] running `Command { std: "docker" "start" "-a" "87c5fbbb3f2b54cd0c1571c6808f6fa6e8a34e881102cf54ccd7c7c2fb549a17", 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.56s [INFO] running `Command { std: "docker" "inspect" "87c5fbbb3f2b54cd0c1571c6808f6fa6e8a34e881102cf54ccd7c7c2fb549a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c5fbbb3f2b54cd0c1571c6808f6fa6e8a34e881102cf54ccd7c7c2fb549a17", kill_on_drop: false }` [INFO] [stdout] 87c5fbbb3f2b54cd0c1571c6808f6fa6e8a34e881102cf54ccd7c7c2fb549a17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4517f120d01d9377b0eacad529d188a6eca6634a378572cffe1ed924c695a98d [INFO] running `Command { std: "docker" "start" "-a" "4517f120d01d9377b0eacad529d188a6eca6634a378572cffe1ed924c695a98d", 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" -p tcolr --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [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" "4517f120d01d9377b0eacad529d188a6eca6634a378572cffe1ed924c695a98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4517f120d01d9377b0eacad529d188a6eca6634a378572cffe1ed924c695a98d", kill_on_drop: false }` [INFO] [stdout] 4517f120d01d9377b0eacad529d188a6eca6634a378572cffe1ed924c695a98d