[INFO] cloning repository https://github.com/guillaumeboehm/wal-telegram-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guillaumeboehm/wal-telegram-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillaumeboehm%2Fwal-telegram-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillaumeboehm%2Fwal-telegram-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b3f14c05418b4bad222697606e21b040d47073b [INFO] testing guillaumeboehm/wal-telegram-rs against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillaumeboehm%2Fwal-telegram-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guillaumeboehm/wal-telegram-rs [INFO] finished tweaking git repo https://github.com/guillaumeboehm/wal-telegram-rs [INFO] tweaked toml for git repo https://github.com/guillaumeboehm/wal-telegram-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guillaumeboehm/wal-telegram-rs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/guillaumeboehm/wal-telegram-rs 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.10.2 [INFO] [stderr] Downloaded deranged v0.3.8 [INFO] [stderr] Downloaded xdg v2.5.2 [INFO] [stderr] Downloaded bzip2 v0.4.4 [INFO] [stderr] Downloaded lebe v0.5.2 [INFO] [stderr] Downloaded fdeflate v0.3.0 [INFO] [stderr] Downloaded time v0.3.28 [INFO] [stderr] Downloaded half v2.2.1 [INFO] [stderr] Downloaded flume v0.10.14 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded png v0.17.10 [INFO] [stderr] Downloaded blurslice v0.1.0 [INFO] [stderr] Downloaded aes v0.8.3 [INFO] [stderr] Downloaded aho-corasick v1.1.0 [INFO] [stderr] Downloaded qoi v0.4.1 [INFO] [stderr] Downloaded flate2 v1.0.27 [INFO] [stderr] Downloaded zune-inflate v0.2.54 [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded exr v1.7.0 [INFO] [stderr] Downloaded regex v1.9.5 [INFO] [stderr] Downloaded image v0.24.7 [INFO] [stderr] Downloaded regex-automata v0.3.8 [INFO] [stderr] Downloaded jpeg-decoder v0.3.0 [INFO] [stderr] Downloaded zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Downloaded tiff v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7a7358de674f39bdd2339b124ad2f003d3bf95a8c5b5218ca44e025862e5c3f [INFO] running `Command { std: "docker" "start" "-a" "d7a7358de674f39bdd2339b124ad2f003d3bf95a8c5b5218ca44e025862e5c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7a7358de674f39bdd2339b124ad2f003d3bf95a8c5b5218ca44e025862e5c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a7358de674f39bdd2339b124ad2f003d3bf95a8c5b5218ca44e025862e5c3f", kill_on_drop: false }` [INFO] [stdout] d7a7358de674f39bdd2339b124ad2f003d3bf95a8c5b5218ca44e025862e5c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 22544b3106736d62463d727c1445ef398fa1d4b54a7e03c00085b5d028322575 [INFO] running `Command { std: "docker" "start" "-a" "22544b3106736d62463d727c1445ef398fa1d4b54a7e03c00085b5d028322575", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling aho-corasick v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling blurslice v0.1.0 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.7.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling wal-telegram-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `collections::HashMap`, and `rc::Rc` [INFO] [stdout] --> src/background/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/color.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, format}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_background` is never used [INFO] [stdout] --> src/background/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn copy_background(tmp_dir: &std::path::PathBuf, blur:f32, bg_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_wal_background` is never used [INFO] [stdout] --> src/background/wal.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn use_wal_background(tmp_dir: &std::path::PathBuf, blur: f32, wal_colors_path: Option<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_custom_background` is never used [INFO] [stdout] --> src/background/custom.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn use_custom_background(tmp_dir: &std::path::PathBuf, blur: f32, background_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blur_image` is never used [INFO] [stdout] --> src/background/blur.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn blur_image(image: &mut image::DynamicImage, percentage: f32) -> Result<(), blurslice::SliceSizeError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_rgb_int`, `from_rgba_int`, `from_rgb_float`, and `from_rgba_float` are never used [INFO] [stdout] --> src/color.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Color { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_rgb_int(r: u8, g: u8, b: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_rgba_int(r: u8, g: u8, b: u8, a: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn from_rgb_float(r: f32, g: f32, b: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn from_rgba_float(r: f32, g: f32, b: f32, a: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/palette/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Palette { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 11 | Wal, [INFO] [stdout] 12 | Custom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/palette/custom.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | let palette_file = fs::read_to_string(filepath.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.22s [INFO] running `Command { std: "docker" "inspect" "22544b3106736d62463d727c1445ef398fa1d4b54a7e03c00085b5d028322575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22544b3106736d62463d727c1445ef398fa1d4b54a7e03c00085b5d028322575", kill_on_drop: false }` [INFO] [stdout] 22544b3106736d62463d727c1445ef398fa1d4b54a7e03c00085b5d028322575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 27586a461a80e70f0c0b7aea5385d25e1923e0e1e6284925da91542912cde626 [INFO] running `Command { std: "docker" "start" "-a" "27586a461a80e70f0c0b7aea5385d25e1923e0e1e6284925da91542912cde626", kill_on_drop: false }` [INFO] [stderr] Compiling wal-telegram-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `collections::HashMap`, and `rc::Rc` [INFO] [stdout] --> src/background/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/color.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, format}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_background` is never used [INFO] [stdout] --> src/background/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn copy_background(tmp_dir: &std::path::PathBuf, blur:f32, bg_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_wal_background` is never used [INFO] [stdout] --> src/background/wal.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn use_wal_background(tmp_dir: &std::path::PathBuf, blur: f32, wal_colors_path: Option<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_custom_background` is never used [INFO] [stdout] --> src/background/custom.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn use_custom_background(tmp_dir: &std::path::PathBuf, blur: f32, background_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blur_image` is never used [INFO] [stdout] --> src/background/blur.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn blur_image(image: &mut image::DynamicImage, percentage: f32) -> Result<(), blurslice::SliceSizeError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_rgb_int`, `from_rgba_int`, `from_rgb_float`, and `from_rgba_float` are never used [INFO] [stdout] --> src/color.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Color { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_rgb_int(r: u8, g: u8, b: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_rgba_int(r: u8, g: u8, b: u8, a: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn from_rgb_float(r: f32, g: f32, b: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn from_rgba_float(r: f32, g: f32, b: f32, a: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/palette/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Palette { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 11 | Wal, [INFO] [stdout] 12 | Custom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/palette/custom.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | let palette_file = fs::read_to_string(filepath.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "27586a461a80e70f0c0b7aea5385d25e1923e0e1e6284925da91542912cde626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27586a461a80e70f0c0b7aea5385d25e1923e0e1e6284925da91542912cde626", kill_on_drop: false }` [INFO] [stdout] 27586a461a80e70f0c0b7aea5385d25e1923e0e1e6284925da91542912cde626 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a3340a6188914d4ed707e91775d884f6fc87d8d20d24874625930cf37ef56b3 [INFO] running `Command { std: "docker" "start" "-a" "5a3340a6188914d4ed707e91775d884f6fc87d8d20d24874625930cf37ef56b3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `cell::RefCell`, `collections::HashMap`, and `rc::Rc` [INFO] [stderr] --> src/background/mod.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{cell::RefCell, rc::Rc, collections::HashMap}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `format` [INFO] [stderr] --> src/color.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::{self, format}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `copy_background` is never used [INFO] [stderr] --> src/background/mod.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn copy_background(tmp_dir: &std::path::PathBuf, blur:f32, bg_str: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `use_wal_background` is never used [INFO] [stderr] --> src/background/wal.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn use_wal_background(tmp_dir: &std::path::PathBuf, blur: f32, wal_colors_path: Option<&str>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `use_custom_background` is never used [INFO] [stderr] --> src/background/custom.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn use_custom_background(tmp_dir: &std::path::PathBuf, blur: f32, background_path: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `blur_image` is never used [INFO] [stderr] --> src/background/blur.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn blur_image(image: &mut image::DynamicImage, percentage: f32) -> Result<(), blurslice::SliceSizeError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `from_rgb_int`, `from_rgba_int`, `from_rgb_float`, and `from_rgba_float` are never used [INFO] [stderr] --> src/color.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Color { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn from_rgb_int(r: u8, g: u8, b: u8) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn from_rgba_int(r: u8, g: u8, b: u8, a: u8) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn from_rgb_float(r: f32, g: f32, b: f32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn from_rgba_float(r: f32, g: f32, b: f32, a: f32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Custom` is never constructed [INFO] [stderr] --> src/palette/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum Palette { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] 11 | Wal, [INFO] [stderr] 12 | Custom, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/palette/custom.rs:22:51 [INFO] [stderr] | [INFO] [stderr] 22 | let palette_file = fs::read_to_string(filepath.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wal-telegram-rs` (bin "wal-telegram-rs" test) generated 9 warnings (run `cargo fix --bin "wal-telegram-rs" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wal_telegram_rs-6696b93535973adc) [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" "5a3340a6188914d4ed707e91775d884f6fc87d8d20d24874625930cf37ef56b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3340a6188914d4ed707e91775d884f6fc87d8d20d24874625930cf37ef56b3", kill_on_drop: false }` [INFO] [stdout] 5a3340a6188914d4ed707e91775d884f6fc87d8d20d24874625930cf37ef56b3