[INFO] cloning repository https://github.com/dhruva71/gpt4ocr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhruva71/gpt4ocr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruva71%2Fgpt4ocr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruva71%2Fgpt4ocr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 509b9d9f2046a7c598d34e6054aa242945d3d377 [INFO] building dhruva71/gpt4ocr against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruva71%2Fgpt4ocr" "/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/dhruva71/gpt4ocr [INFO] finished tweaking git repo https://github.com/dhruva71/gpt4ocr [INFO] tweaked toml for git repo https://github.com/dhruva71/gpt4ocr written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dhruva71/gpt4ocr on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dhruva71/gpt4ocr 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.12.15 [INFO] [stderr] Downloaded openai-api-rs v5.0.4 [INFO] [stderr] Downloaded pdf2image v0.1.2 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded winnow v0.6.15 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a272114dbcf1fe65b2a136d7dbbc3024ad663c007cbf760c8896c2c68c7bca14 [INFO] running `Command { std: "docker" "start" "-a" "a272114dbcf1fe65b2a136d7dbbc3024ad663c007cbf760c8896c2c68c7bca14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a272114dbcf1fe65b2a136d7dbbc3024ad663c007cbf760c8896c2c68c7bca14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a272114dbcf1fe65b2a136d7dbbc3024ad663c007cbf760c8896c2c68c7bca14", kill_on_drop: false }` [INFO] [stdout] a272114dbcf1fe65b2a136d7dbbc3024ad663c007cbf760c8896c2c68c7bca14 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc211d17e3588753e5ef1588b645225a5f126c832ddd5a73512223fb637d8ca2 [INFO] running `Command { std: "docker" "start" "-a" "cc211d17e3588753e5ef1588b645225a5f126c832ddd5a73512223fb637d8ca2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rgb v0.8.45 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling ravif v0.11.9 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling pdf2image v0.1.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling openai-api-rs v5.0.4 [INFO] [stderr] Compiling gpt4ocr v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/file_handlers.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let base64_string = base64::encode(image_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "cc211d17e3588753e5ef1588b645225a5f126c832ddd5a73512223fb637d8ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc211d17e3588753e5ef1588b645225a5f126c832ddd5a73512223fb637d8ca2", kill_on_drop: false }` [INFO] [stdout] cc211d17e3588753e5ef1588b645225a5f126c832ddd5a73512223fb637d8ca2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a177efcf21da21333ab1fbdb2da5d0b916d0143ab5c3c758c076ce09a5ae9539 [INFO] running `Command { std: "docker" "start" "-a" "a177efcf21da21333ab1fbdb2da5d0b916d0143ab5c3c758c076ce09a5ae9539", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/file_handlers.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let base64_string = base64::encode(image_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gpt4ocr v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/file_handlers.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let base64_string = base64::encode(image_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `file_handlers::get_base64_from_image_old` [INFO] [stdout] --> src/file_handlers.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | let base64_string_old = get_base64_from_image_old(&img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "a177efcf21da21333ab1fbdb2da5d0b916d0143ab5c3c758c076ce09a5ae9539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a177efcf21da21333ab1fbdb2da5d0b916d0143ab5c3c758c076ce09a5ae9539", kill_on_drop: false }` [INFO] [stdout] a177efcf21da21333ab1fbdb2da5d0b916d0143ab5c3c758c076ce09a5ae9539