[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruva71%2Fgpt4ocr" "/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/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dhruva71/gpt4ocr on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.12.15 [INFO] [stderr] Downloaded ravif v0.11.9 [INFO] [stderr] Downloaded toml v0.8.15 [INFO] [stderr] Downloaded rgb v0.8.45 [INFO] [stderr] Downloaded bytes v1.6.1 [INFO] [stderr] Downloaded bitstream-io v2.5.0 [INFO] [stderr] Downloaded avif-serialize v0.8.1 [INFO] [stderr] Downloaded imgref v1.10.1 [INFO] [stderr] Downloaded image-webp v0.1.3 [INFO] [stderr] Downloaded winnow v0.6.15 [INFO] [stderr] Downloaded image v0.25.2 [INFO] [stderr] Downloaded toml_edit v0.22.16 [INFO] [stderr] Downloaded built v0.7.4 [INFO] [stderr] Downloaded pdf2image v0.1.2 [INFO] [stderr] Downloaded profiling-procmacros v1.0.15 [INFO] [stderr] Downloaded openai-api-rs v5.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e1f90f099be8c041a65094f61aed57fe14ccf2f2f79201dc25fe6f4e40aca8b [INFO] running `Command { std: "docker" "start" "-a" "2e1f90f099be8c041a65094f61aed57fe14ccf2f2f79201dc25fe6f4e40aca8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e1f90f099be8c041a65094f61aed57fe14ccf2f2f79201dc25fe6f4e40aca8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1f90f099be8c041a65094f61aed57fe14ccf2f2f79201dc25fe6f4e40aca8b", kill_on_drop: false }` [INFO] [stdout] 2e1f90f099be8c041a65094f61aed57fe14ccf2f2f79201dc25fe6f4e40aca8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4feb18d80c3dc01d7875fd8fbbbe82bd4c194058358d6b9bb40383b5fb297b5 [INFO] running `Command { std: "docker" "start" "-a" "a4feb18d80c3dc01d7875fd8fbbbe82bd4c194058358d6b9bb40383b5fb297b5", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rgb v0.8.45 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling url v2.5.2 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.204 [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 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 derive_builder_macro v0.20.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling ravif v0.11.9 [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 image v0.25.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling pdf2image v0.1.2 [INFO] [stderr] Compiling hyper-util v0.1.6 [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 03s [INFO] running `Command { std: "docker" "inspect" "a4feb18d80c3dc01d7875fd8fbbbe82bd4c194058358d6b9bb40383b5fb297b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4feb18d80c3dc01d7875fd8fbbbe82bd4c194058358d6b9bb40383b5fb297b5", kill_on_drop: false }` [INFO] [stdout] a4feb18d80c3dc01d7875fd8fbbbe82bd4c194058358d6b9bb40383b5fb297b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df16895247c1115418a33d5ba7972f3a89f2ae15b351a01c6da841615aab0d7 [INFO] running `Command { std: "docker" "start" "-a" "0df16895247c1115418a33d5ba7972f3a89f2ae15b351a01c6da841615aab0d7", 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.54s [INFO] running `Command { std: "docker" "inspect" "0df16895247c1115418a33d5ba7972f3a89f2ae15b351a01c6da841615aab0d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df16895247c1115418a33d5ba7972f3a89f2ae15b351a01c6da841615aab0d7", kill_on_drop: false }` [INFO] [stdout] 0df16895247c1115418a33d5ba7972f3a89f2ae15b351a01c6da841615aab0d7