[INFO] cloning repository https://github.com/Qawerz/rust-screenshot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Qawerz/rust-screenshot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQawerz%2Frust-screenshot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQawerz%2Frust-screenshot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45f954a3b11b0ce8d6b3eb72abccda811749668c [INFO] testing Qawerz/rust-screenshot against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQawerz%2Frust-screenshot" "/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/Qawerz/rust-screenshot [INFO] finished tweaking git repo https://github.com/Qawerz/rust-screenshot [INFO] tweaked toml for git repo https://github.com/Qawerz/rust-screenshot written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Qawerz/rust-screenshot on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Qawerz/rust-screenshot 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flate2 v1.1.0 [INFO] [stderr] Downloaded epoll v4.3.3 [INFO] [stderr] Downloaded log v0.4.26 [INFO] [stderr] Downloaded once_cell v1.21.0 [INFO] [stderr] Downloaded cc v1.2.16 [INFO] [stderr] Downloaded evdev-sys v0.2.5 [INFO] [stderr] Downloaded xcb v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856 [INFO] running `Command { std: "docker" "start" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling xcb v1.5.0 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling evdev-sys v0.2.5 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling memmap2 v0.7.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling epoll v4.3.3 [INFO] [stderr] Compiling evdev-rs v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling rdev v0.5.3 [INFO] [stderr] Compiling wayland-client v0.30.2 [INFO] [stderr] Compiling wayland-protocols v0.30.1 [INFO] [stderr] Compiling display-info v0.4.8 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling wayland-protocols-wlr v0.1.0 [INFO] [stderr] Compiling libwayshot v0.2.0 [INFO] [stderr] Compiling screenshots v0.8.10 [INFO] [stderr] Compiling rust-screenshot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs, path}; [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: `text` [INFO] [stdout] --> src/colors.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | return String::from("[ \x1b[32m{text}\x1b[0m ] {msg}"); [INFO] [stdout] | --------------------------------- you might have meant to use string interpolation in this string literal [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: string interpolation only works in `format!` invocations [INFO] [stdout] | [INFO] [stdout] 15 | return String::from(format!("[ \x1b[32m{text}\x1b[0m ] {msg}")); [INFO] [stdout] | ++++++++ + [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(_text: &str, msg: &str) -> String { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/colors.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | return String::from("[ \x1b[32m{text}\x1b[0m ] {msg}"); [INFO] [stdout] | --------------------------------- you might have meant to use string interpolation in this string literal [INFO] [stdout] | [INFO] [stdout] help: string interpolation only works in `format!` invocations [INFO] [stdout] | [INFO] [stdout] 15 | return String::from(format!("[ \x1b[32m{text}\x1b[0m ] {msg}")); [INFO] [stdout] | ++++++++ + [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, _msg: &str) -> String { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `green_text_and_msg` is never used [INFO] [stdout] --> src/colors.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yellow_text_and_msg` is never used [INFO] [stdout] --> src/colors.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn yellow_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.10 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rust-screenshot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs, path}; [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: `text` [INFO] [stdout] --> src/colors.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | return String::from("[ \x1b[32m{text}\x1b[0m ] {msg}"); [INFO] [stdout] | --------------------------------- you might have meant to use string interpolation in this string literal [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: string interpolation only works in `format!` invocations [INFO] [stdout] | [INFO] [stdout] 15 | return String::from(format!("[ \x1b[32m{text}\x1b[0m ] {msg}")); [INFO] [stdout] | ++++++++ + [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(_text: &str, msg: &str) -> String { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/colors.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | return String::from("[ \x1b[32m{text}\x1b[0m ] {msg}"); [INFO] [stdout] | --------------------------------- you might have meant to use string interpolation in this string literal [INFO] [stdout] | [INFO] [stdout] help: string interpolation only works in `format!` invocations [INFO] [stdout] | [INFO] [stdout] 15 | return String::from(format!("[ \x1b[32m{text}\x1b[0m ] {msg}")); [INFO] [stdout] | ++++++++ + [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, _msg: &str) -> String { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `green_text_and_msg` is never used [INFO] [stdout] --> src/colors.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yellow_text_and_msg` is never used [INFO] [stdout] --> src/colors.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn yellow_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.10 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `path` [INFO] [stderr] --> src/main.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{env, fs, path}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> src/colors.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | return String::from("[ \x1b[32m{text}\x1b[0m ] {msg}"); [INFO] [stderr] | --------------------------------- you might have meant to use string interpolation in this string literal [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: string interpolation only works in `format!` invocations [INFO] [stderr] | [INFO] [stderr] 15 | return String::from(format!("[ \x1b[32m{text}\x1b[0m ] {msg}")); [INFO] [stderr] | ++++++++ + [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 14 | pub fn green_text_and_msg(_text: &str, msg: &str) -> String { [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/colors.rs:14:39 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stderr] | ^^^ [INFO] [stderr] 15 | return String::from("[ \x1b[32m{text}\x1b[0m ] {msg}"); [INFO] [stderr] | --------------------------------- you might have meant to use string interpolation in this string literal [INFO] [stderr] | [INFO] [stderr] help: string interpolation only works in `format!` invocations [INFO] [stderr] | [INFO] [stderr] 15 | return String::from(format!("[ \x1b[32m{text}\x1b[0m ] {msg}")); [INFO] [stderr] | ++++++++ + [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 14 | pub fn green_text_and_msg(text: &str, _msg: &str) -> String { [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: function `green_text_and_msg` is never used [INFO] [stderr] --> src/colors.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn green_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `yellow_text_and_msg` is never used [INFO] [stderr] --> src/colors.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn yellow_text_and_msg(text: &str, msg: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-screenshot` (bin "rust-screenshot" test) generated 5 warnings (run `cargo fix --bin "rust-screenshot" -p rust-screenshot --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.10 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_screenshot-a7a85fb275564d76) [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" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856", kill_on_drop: false }` [INFO] [stdout] f8e18b5315effdb63a5829eba52cb50d8d766f0019df087bfcb228bea3deb856