[INFO] cloning repository https://github.com/Jerolivine/rust-ocr-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jerolivine/rust-ocr-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerolivine%2Frust-ocr-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerolivine%2Frust-ocr-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b937a3427d90c1119c470818dba7656d7887be0 [INFO] testing Jerolivine/rust-ocr-poc against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerolivine%2Frust-ocr-poc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jerolivine/rust-ocr-poc [INFO] finished tweaking git repo https://github.com/Jerolivine/rust-ocr-poc [INFO] tweaked toml for git repo https://github.com/Jerolivine/rust-ocr-poc written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jerolivine/rust-ocr-poc on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jerolivine/rust-ocr-poc 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 597519d2cc42a4ec2ddb487d1d51d32df1ac6514edddc46c547e7a9f0d9d1f09 [INFO] running `Command { std: "docker" "start" "-a" "597519d2cc42a4ec2ddb487d1d51d32df1ac6514edddc46c547e7a9f0d9d1f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "597519d2cc42a4ec2ddb487d1d51d32df1ac6514edddc46c547e7a9f0d9d1f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "597519d2cc42a4ec2ddb487d1d51d32df1ac6514edddc46c547e7a9f0d9d1f09", kill_on_drop: false }` [INFO] [stdout] 597519d2cc42a4ec2ddb487d1d51d32df1ac6514edddc46c547e7a9f0d9d1f09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fcc55a14655663c51588fa6b44a16059436caa09d440b43a9065e5ee8c032f3 [INFO] running `Command { std: "docker" "start" "-a" "5fcc55a14655663c51588fa6b44a16059436caa09d440b43a9065e5ee8c032f3", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rten-tensor v0.4.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling windows-targets v0.48.5 [INFO] [stderr] Compiling flatbuffers v22.12.6 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling xcb v1.3.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling windows-core v0.51.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Compiling memmap2 v0.7.1 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling rten-vecmath v0.4.0 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling rten-imageproc v0.4.0 [INFO] [stderr] Compiling windows v0.51.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling rten v0.4.0 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling lexopt v0.3.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [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 profiling v1.0.15 [INFO] [stderr] Compiling wayland-client v0.30.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling win_ocr v0.1.3 [INFO] [stderr] Compiling wayland-protocols v0.30.1 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling display-info v0.4.8 [INFO] [stderr] Compiling wayland-protocols-wlr v0.1.0 [INFO] [stderr] Compiling ocrs v0.5.0 [INFO] [stderr] Compiling rten-imageio v0.4.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling libwayshot v0.2.0 [INFO] [stderr] Compiling screenshots v0.8.10 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling paddleocr v0.4.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.0 [INFO] [stderr] Compiling rusty-tesseract v1.1.10 [INFO] [stderr] Compiling screen-capture-tesseract-deneme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `create_folder` [INFO] [stdout] --> src/tesseract.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::folder_manager::{create_folder, write_to_file}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rten::ops::concat` [INFO] [stdout] --> src/tesseract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rten::ops::concat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `rc::Rc` [INFO] [stdout] --> src/tesseract.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs, rc::Rc}; [INFO] [stdout] | ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/ocrs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Args` is never constructed [INFO] [stdout] --> src/ocrs.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Args { [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 `parse_args` is never used [INFO] [stdout] --> src/ocrs.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_args() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | time::Duration, [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 imports: `extract_by_ocrs`, `extract_by_tesseract`, `process_by_ocrs`, `process_by_tesseract`, `self`, and `win_ocr::extract_by_win_ocr` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | folder_manager::{self, create_folder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | // leptess::process_by_leptess, [INFO] [stdout] 11 | ocrs::{extract_by_ocrs, process_by_ocrs}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | tesseract::{extract_by_tesseract, process_by_tesseract}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | win_ocr::extract_by_win_ocr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `custom_debug` [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! custom_debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capture_screen` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn capture_screen() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [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" "5fcc55a14655663c51588fa6b44a16059436caa09d440b43a9065e5ee8c032f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcc55a14655663c51588fa6b44a16059436caa09d440b43a9065e5ee8c032f3", kill_on_drop: false }` [INFO] [stdout] 5fcc55a14655663c51588fa6b44a16059436caa09d440b43a9065e5ee8c032f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76a07645ba753bad3dc63f72235fcf7edc87dacc33dc3ff43646aeae6108a992 [INFO] running `Command { std: "docker" "start" "-a" "76a07645ba753bad3dc63f72235fcf7edc87dacc33dc3ff43646aeae6108a992", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `create_folder` [INFO] [stdout] --> src/tesseract.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::folder_manager::{create_folder, write_to_file}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rten::ops::concat` [INFO] [stdout] --> src/tesseract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rten::ops::concat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `rc::Rc` [INFO] [stdout] --> src/tesseract.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs, rc::Rc}; [INFO] [stdout] | ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/ocrs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling screen-capture-tesseract-deneme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Args` is never constructed [INFO] [stdout] --> src/ocrs.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Args { [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 `parse_args` is never used [INFO] [stdout] --> src/ocrs.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_args() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_folder` [INFO] [stdout] --> src/tesseract.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::folder_manager::{create_folder, write_to_file}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rten::ops::concat` [INFO] [stdout] --> src/tesseract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rten::ops::concat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `rc::Rc` [INFO] [stdout] --> src/tesseract.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs, rc::Rc}; [INFO] [stdout] | ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/ocrs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | time::Duration, [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 imports: `extract_by_ocrs`, `extract_by_tesseract`, `process_by_ocrs`, `process_by_tesseract`, `self`, and `win_ocr::extract_by_win_ocr` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | folder_manager::{self, create_folder}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | // leptess::process_by_leptess, [INFO] [stdout] 11 | ocrs::{extract_by_ocrs, process_by_ocrs}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | tesseract::{extract_by_tesseract, process_by_tesseract}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | win_ocr::extract_by_win_ocr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `custom_debug` [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! custom_debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Args` is never constructed [INFO] [stdout] --> src/ocrs.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Args { [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 `parse_args` is never used [INFO] [stdout] --> src/ocrs.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_args() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capture_screen` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn capture_screen() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [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" "76a07645ba753bad3dc63f72235fcf7edc87dacc33dc3ff43646aeae6108a992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a07645ba753bad3dc63f72235fcf7edc87dacc33dc3ff43646aeae6108a992", kill_on_drop: false }` [INFO] [stdout] 76a07645ba753bad3dc63f72235fcf7edc87dacc33dc3ff43646aeae6108a992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59bcc544308d4abf3a8b2ab93f260225740d7cc4a2db77148795dfe4df77bba4 [INFO] running `Command { std: "docker" "start" "-a" "59bcc544308d4abf3a8b2ab93f260225740d7cc4a2db77148795dfe4df77bba4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `create_folder` [INFO] [stderr] --> src/tesseract.rs:1:29 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::folder_manager::{create_folder, write_to_file}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rten::ops::concat` [INFO] [stderr] --> src/tesseract.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rten::ops::concat; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `fs` and `rc::Rc` [INFO] [stderr] --> src/tesseract.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{fs, rc::Rc}; [INFO] [stderr] | ^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/ocrs.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Args` is never constructed [INFO] [stderr] --> src/ocrs.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | struct Args { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_args` is never used [INFO] [stderr] --> src/ocrs.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | fn parse_args() -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `screen-capture-tesseract-deneme` (lib) generated 6 warnings (run `cargo fix --lib -p screen-capture-tesseract-deneme` to apply 4 suggestions) [INFO] [stderr] warning: `screen-capture-tesseract-deneme` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused imports: `thread` and `time::Duration` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | thread, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 5 | time::Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `extract_by_ocrs`, `extract_by_tesseract`, `process_by_ocrs`, `process_by_tesseract`, `self`, and `win_ocr::extract_by_win_ocr` [INFO] [stderr] --> src/main.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | folder_manager::{self, create_folder}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | // leptess::process_by_leptess, [INFO] [stderr] 11 | ocrs::{extract_by_ocrs, process_by_ocrs}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | tesseract::{extract_by_tesseract, process_by_tesseract}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 13 | win_ocr::extract_by_win_ocr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `custom_debug` [INFO] [stderr] --> src/main.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | macro_rules! custom_debug { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `capture_screen` is never used [INFO] [stderr] --> src/main.rs:76:4 [INFO] [stderr] | [INFO] [stderr] 76 | fn capture_screen() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `screen-capture-tesseract-deneme` (bin "screen-capture-tesseract-deneme" test) generated 4 warnings (run `cargo fix --bin "screen-capture-tesseract-deneme" -p screen-capture-tesseract-deneme --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [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] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/screen_capture_tesseract_deneme-580b2b7c844697f9) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/screen_capture_tesseract_deneme-9b965e1b624601b2) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests screen_capture_tesseract_deneme [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] [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" "59bcc544308d4abf3a8b2ab93f260225740d7cc4a2db77148795dfe4df77bba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bcc544308d4abf3a8b2ab93f260225740d7cc4a2db77148795dfe4df77bba4", kill_on_drop: false }` [INFO] [stdout] 59bcc544308d4abf3a8b2ab93f260225740d7cc4a2db77148795dfe4df77bba4