[INFO] cloning repository https://github.com/xsro/pdf-color-separator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xsro/pdf-color-separator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsro%2Fpdf-color-separator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsro%2Fpdf-color-separator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c53947cf4546965ec8afddb8a7396394b0a65c5
[INFO] checking xsro/pdf-color-separator against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsro%2Fpdf-color-separator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xsro/pdf-color-separator
[INFO] finished tweaking git repo https://github.com/xsro/pdf-color-separator
[INFO] tweaked toml for git repo https://github.com/xsro/pdf-color-separator written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xsro/pdf-color-separator on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xsro/pdf-color-separator 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vecmath v1.0.0
[INFO] [stderr]   Downloaded piston-float v1.0.1
[INFO] [stderr]   Downloaded libloading v0.8.7
[INFO] [stderr]   Downloaded toml v0.8.22
[INFO] [stderr]   Downloaded adobe-cmap-parser v0.4.1
[INFO] [stderr]   Downloaded type1-encoding-parser v0.1.0
[INFO] [stderr]   Downloaded cff-parser v0.1.0
[INFO] [stderr]   Downloaded postscript v0.14.1
[INFO] [stderr]   Downloaded nom_locate v5.0.0
[INFO] [stderr]   Downloaded euclid v0.20.14
[INFO] [stderr]   Downloaded pdf-extract v0.9.0
[INFO] [stderr]   Downloaded cc v1.2.24
[INFO] [stderr]   Downloaded pom v1.1.0
[INFO] [stderr]   Downloaded pdfium-render v0.8.31
[INFO] [stderr]   Downloaded lopdf v0.36.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036
[INFO] running `Command { std: "docker" "start" "8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036", 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" "8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]     Checking aligned-vec v0.5.0
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking imgref v1.11.0
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking bitstream-io v2.6.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking avif-serialize v0.8.3
[INFO] [stderr]     Checking bytecount v0.6.8
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking pom v1.1.0
[INFO] [stderr]     Checking rgb v0.8.50
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking zune-core v0.4.12
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]     Checking image-webp v0.2.1
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking zune-jpeg v0.4.14
[INFO] [stderr]     Checking ecb v0.1.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking exr v1.73.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]    Compiling pdfium-render v0.8.31
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking rangemap v1.5.1
[INFO] [stderr]     Checking piston-float v1.0.1
[INFO] [stderr]     Checking utf16string v0.2.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]     Checking euclid v0.20.14
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking adobe-cmap-parser v0.4.1
[INFO] [stderr]     Checking type1-encoding-parser v0.1.0
[INFO] [stderr]     Checking libloading v0.8.7
[INFO] [stderr]     Checking postscript v0.14.1
[INFO] [stderr]     Checking cff-parser v0.1.0
[INFO] [stderr]     Checking maybe-owned v0.3.4
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking av1-grain v0.2.4
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking nom_locate v5.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking profiling v1.0.16
[INFO] [stderr]     Checking lopdf v0.36.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking pdf-extract v0.9.0
[INFO] [stderr]     Checking ravif v0.11.12
[INFO] [stderr]     Checking image v0.25.6
[INFO] [stderr]     Checking pdf-color-separator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Luma` and `Rgb`
[INFO] [stdout]  --> src/main.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{DynamicImage, GenericImageView, ImageBuffer, Luma, 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 import: `pdf_extract::extract_text`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pdf_extract::extract_text;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             image::Pixel::Luma(l) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Luma` and `Rgb`
[INFO] [stdout]  --> src/main.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{DynamicImage, GenericImageView, ImageBuffer, Luma, 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 import: `pdf_extract::extract_text`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pdf_extract::extract_text;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             image::Pixel::Luma(l) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             image::Pixel::Rgb(rgb) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             image::Pixel::Rgb(rgb) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PdfPageRenderConfig` in this scope
[INFO] [stdout]   --> src/main.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 PdfPageRenderConfig::new()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PdfPageRenderConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 63 -                 PdfPageRenderConfig::new()
[INFO] [stdout] 63 +                 PdfRenderConfig::new()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PdfPageRenderConfig` in this scope
[INFO] [stdout]   --> src/main.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 PdfPageRenderConfig::new()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PdfPageRenderConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 63 -                 PdfPageRenderConfig::new()
[INFO] [stdout] 63 +                 PdfRenderConfig::new()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pdfium_render::prelude::PdfBitmap::<'a>::as_bytes`: This function has been renamed to better reflect its purpose. Use the PdfBitmap::as_raw_bytes() function instead.
[INFO] [stdout]   --> src/main.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let img_data = bitmap.as_bytes();
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `pdfium_render::prelude::PdfBitmap::<'a>::as_bytes`: This function has been renamed to better reflect its purpose. Use the PdfBitmap::as_raw_bytes() function instead.
[INFO] [stdout]   --> src/main.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let img_data = bitmap.as_bytes();
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 82 |         results.push((page_num + 1, is_color));
[INFO] [stdout]    |         -------      ------------------------ this argument has type `(u16, bool)`...
[INFO] [stdout]    |         |
[INFO] [stdout]    |         ... which causes `results` to have type `Vec<(u16, bool)>`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     Ok(results)
[INFO] [stdout]    |     -- ^^^^^^^ expected `Vec<(usize, bool)>`, found `Vec<(u16, bool)>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<(usize, _)>`
[INFO] [stdout]               found struct `Vec<(u16, _)>`
[INFO] [stdout] help: the type constructed contains `Vec<(u16, bool)>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     Ok(results)
[INFO] [stdout]    |     ^^^-------^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 82 |         results.push((page_num + 1, is_color));
[INFO] [stdout]    |         -------      ------------------------ this argument has type `(u16, bool)`...
[INFO] [stdout]    |         |
[INFO] [stdout]    |         ... which causes `results` to have type `Vec<(u16, bool)>`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     Ok(results)
[INFO] [stdout]    |     -- ^^^^^^^ expected `Vec<(usize, bool)>`, found `Vec<(u16, bool)>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<(usize, _)>`
[INFO] [stdout]               found struct `Vec<(u16, _)>`
[INFO] [stdout] help: the type constructed contains `Vec<(u16, bool)>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     Ok(results)
[INFO] [stdout]    |     ^^^-------^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:153:18
[INFO] [stdout]     |
[INFO] [stdout] 147 | /             Arg::new("input")
[INFO] [stdout] 148 | |                 .short('i')
[INFO] [stdout] 149 | |                 .long("input")
[INFO] [stdout] 150 | |                 .value_name("INPUT")
[INFO] [stdout] 151 | |                 .help("输入PDF文件路径")
[INFO] [stdout] 152 | |                 .required(true)
[INFO] [stdout] 153 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:153:18
[INFO] [stdout]     |
[INFO] [stdout] 147 | /             Arg::new("input")
[INFO] [stdout] 148 | |                 .short('i')
[INFO] [stdout] 149 | |                 .long("input")
[INFO] [stdout] 150 | |                 .value_name("INPUT")
[INFO] [stdout] 151 | |                 .help("输入PDF文件路径")
[INFO] [stdout] 152 | |                 .required(true)
[INFO] [stdout] 153 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             Arg::new("bw_output")
[INFO] [stdout] 157 | |                 .short('b')
[INFO] [stdout] 158 | |                 .long("bw-output")
[INFO] [stdout] 159 | |                 .value_name("BW_OUTPUT")
[INFO] [stdout] 160 | |                 .help("黑白页面输出文件路径")
[INFO] [stdout] 161 | |                 .default_value("output_bw.pdf")
[INFO] [stdout] 162 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             Arg::new("bw_output")
[INFO] [stdout] 157 | |                 .short('b')
[INFO] [stdout] 158 | |                 .long("bw-output")
[INFO] [stdout] 159 | |                 .value_name("BW_OUTPUT")
[INFO] [stdout] 160 | |                 .help("黑白页面输出文件路径")
[INFO] [stdout] 161 | |                 .default_value("output_bw.pdf")
[INFO] [stdout] 162 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:171:18
[INFO] [stdout]     |
[INFO] [stdout] 165 | /             Arg::new("color_output")
[INFO] [stdout] 166 | |                 .short('c')
[INFO] [stdout] 167 | |                 .long("color-output")
[INFO] [stdout] 168 | |                 .value_name("COLOR_OUTPUT")
[INFO] [stdout] 169 | |                 .help("彩色页面输出文件路径")
[INFO] [stdout] 170 | |                 .default_value("output_color.pdf")
[INFO] [stdout] 171 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:180:18
[INFO] [stdout]     |
[INFO] [stdout] 174 | /             Arg::new("threshold")
[INFO] [stdout] 175 | |                 .short('t')
[INFO] [stdout] 176 | |                 .long("threshold")
[INFO] [stdout] 177 | |                 .value_name("THRESHOLD")
[INFO] [stdout] 178 | |                 .help("彩色判断阈值 (0.0-1.0)")
[INFO] [stdout] 179 | |                 .default_value("0.05")
[INFO] [stdout] 180 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:171:18
[INFO] [stdout]     |
[INFO] [stdout] 165 | /             Arg::new("color_output")
[INFO] [stdout] 166 | |                 .short('c')
[INFO] [stdout] 167 | |                 .long("color-output")
[INFO] [stdout] 168 | |                 .value_name("COLOR_OUTPUT")
[INFO] [stdout] 169 | |                 .help("彩色页面输出文件路径")
[INFO] [stdout] 170 | |                 .default_value("output_color.pdf")
[INFO] [stdout] 171 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `takes_value` found for struct `Arg` in the current scope
[INFO] [stdout]    --> src/main.rs:180:18
[INFO] [stdout]     |
[INFO] [stdout] 174 | /             Arg::new("threshold")
[INFO] [stdout] 175 | |                 .short('t')
[INFO] [stdout] 176 | |                 .long("threshold")
[INFO] [stdout] 177 | |                 .value_name("THRESHOLD")
[INFO] [stdout] 178 | |                 .help("彩色判断阈值 (0.0-1.0)")
[INFO] [stdout] 179 | |                 .default_value("0.05")
[INFO] [stdout] 180 | |                 .takes_value(true),
[INFO] [stdout]     | |                 -^^^^^^^^^^^ method not found in `Arg`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:189:29
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let input_pdf = matches.value_of("input").unwrap();
[INFO] [stdout]     |                             ^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:189:29
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let input_pdf = matches.value_of("input").unwrap();
[INFO] [stdout]     |                             ^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:190:29
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let bw_output = matches.value_of("bw_output").unwrap();
[INFO] [stdout]     |                             ^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:190:29
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let bw_output = matches.value_of("bw_output").unwrap();
[INFO] [stdout]     |                             ^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:191:32
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let color_output = matches.value_of("color_output").unwrap();
[INFO] [stdout]     |                                ^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:191:32
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let color_output = matches.value_of("color_output").unwrap();
[INFO] [stdout]     |                                ^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:193:10
[INFO] [stdout]     |
[INFO] [stdout] 192 |       let threshold = matches
[INFO] [stdout]     |  _____________________-
[INFO] [stdout] 193 | |         .value_of("threshold")
[INFO] [stdout]     | |         -^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `value_of` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:193:10
[INFO] [stdout]     |
[INFO] [stdout] 192 |       let threshold = matches
[INFO] [stdout]     |  _____________________-
[INFO] [stdout] 193 | |         .value_of("threshold")
[INFO] [stdout]     | |         -^^^^^^^^ method not found in `ArgMatches`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_present` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:197:31
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let duplex_mode = matches.is_present("duplex");
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `args_present` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.38/src/parser/matches/arg_matches.rs:580:5
[INFO] [stdout]     |
[INFO] [stdout] 580 |     pub fn args_present(&self) -> bool {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_present` found for struct `ArgMatches` in the current scope
[INFO] [stdout]    --> src/main.rs:197:31
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let duplex_mode = matches.is_present("duplex");
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `args_present` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.38/src/parser/matches/arg_matches.rs:580:5
[INFO] [stdout]     |
[INFO] [stdout] 580 |     pub fn args_present(&self) -> bool {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf_path`
[INFO] [stdout]   --> src/main.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pdf_path: &str,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pdf_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf_path`
[INFO] [stdout]   --> src/main.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pdf_path: &str,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pdf_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pdf-color-separator` (bin "pdf-color-separator" test) due to 13 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pdf-color-separator` (bin "pdf-color-separator") due to 13 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036", kill_on_drop: false }`
[INFO] [stdout] 8ce6573a7261e6287031bb87599560a8114d551dc4c8bf6343616b80ce668036
