[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] testing dhruva71/gpt4ocr against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruva71%2Fgpt4ocr" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dhruva71/gpt4ocr on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-tc2/source/Cargo.toml
[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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88c898e8611fa2606bedb501deff9cebd0a01c5c683d4dfb88f71f8e0be81476
[INFO] running `Command { std: "docker" "start" "-a" "88c898e8611fa2606bedb501deff9cebd0a01c5c683d4dfb88f71f8e0be81476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88c898e8611fa2606bedb501deff9cebd0a01c5c683d4dfb88f71f8e0be81476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88c898e8611fa2606bedb501deff9cebd0a01c5c683d4dfb88f71f8e0be81476", kill_on_drop: false }`
[INFO] [stdout] 88c898e8611fa2606bedb501deff9cebd0a01c5c683d4dfb88f71f8e0be81476
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30a1e6153c690852fbca8689d4fcefb5029314e2a8426a8141da5e97aae034eb
[INFO] running `Command { std: "docker" "start" "-a" "30a1e6153c690852fbca8689d4fcefb5029314e2a8426a8141da5e97aae034eb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling smallvec v1.13.2
[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 signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling built v0.7.4
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling bytemuck v1.16.1
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling bitstream-io v2.5.0
[INFO] [stderr]    Compiling serde_json v1.0.121
[INFO] [stderr]    Compiling imgref v1.10.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling rgb v0.8.45
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling avif-serialize v0.8.1
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling image-webp v0.1.3
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.13
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling url v2.5.2
[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 darling_macro v0.20.10
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling tokio v1.39.2
[INFO] [stderr]    Compiling profiling-procmacros v1.0.15
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling profiling v1.0.15
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling derive_builder_core v0.20.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[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 h2 v0.4.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ravif v0.11.9
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling image v0.25.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 pdf2image v0.1.2
[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 2m 35s
[INFO] running `Command { std: "docker" "inspect" "30a1e6153c690852fbca8689d4fcefb5029314e2a8426a8141da5e97aae034eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30a1e6153c690852fbca8689d4fcefb5029314e2a8426a8141da5e97aae034eb", kill_on_drop: false }`
[INFO] [stdout] 30a1e6153c690852fbca8689d4fcefb5029314e2a8426a8141da5e97aae034eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0343ffcb76c4b548b6af5ad68164a82b932f4288941232a3163810b189b0725f
[INFO] running `Command { std: "docker" "start" "-a" "0343ffcb76c4b548b6af5ad68164a82b932f4288941232a3163810b189b0725f", kill_on_drop: false }`
[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 `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 9.13s
[INFO] running `Command { std: "docker" "inspect" "0343ffcb76c4b548b6af5ad68164a82b932f4288941232a3163810b189b0725f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0343ffcb76c4b548b6af5ad68164a82b932f4288941232a3163810b189b0725f", kill_on_drop: false }`
[INFO] [stdout] 0343ffcb76c4b548b6af5ad68164a82b932f4288941232a3163810b189b0725f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6de01b0bc4a525ddc5bb278ad760f63ae9d30422ee9402df9865d36acb46bdcb
[INFO] running `Command { std: "docker" "start" "-a" "6de01b0bc4a525ddc5bb278ad760f63ae9d30422ee9402df9865d36acb46bdcb", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stderr]   --> src/file_handlers.rs:46:33
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let base64_string = base64::encode(image_bytes);
[INFO] [stderr]    |                                 ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `file_handlers::get_base64_from_image_old`
[INFO] [stderr]    --> src/file_handlers.rs:127:33
[INFO] [stderr]     |
[INFO] [stderr] 127 |         let base64_string_old = get_base64_from_image_old(&img);
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gpt4ocr` (lib) generated 1 warning
[INFO] [stderr] warning: `gpt4ocr` (lib test) generated 2 warnings (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gpt4ocr-510ba0498652197e)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test file_handlers::tests::test_filter_markdown_json ... ok
[INFO] [stdout] test file_handlers::tests::test_get_filename_from_path ... ok
[INFO] [stdout] test gpt4o::tests::test_create_openai_client ... ok
[INFO] [stdout] test file_handlers::tests::test_save_json_to_file ... FAILED
[INFO] [stdout] test file_handlers::tests::test_get_base64_from_image ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- file_handlers::tests::test_save_json_to_file stdout ----
[INFO] [stdout] thread 'file_handlers::tests::test_save_json_to_file' panicked at src/file_handlers.rs:136:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: false
[INFO] [stdout]  right: true
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x60210f9c479a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x60210f9c479a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x60210f9c479a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x60210f9c479a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x60210f9ec4d3 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x60210f9ec4d3 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x60210f9c15f3 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x60210f9c45e2 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x60210f9c5c1d - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x60210f9c5a27 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x60210f152467 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x60210f152467 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x60210f9c62c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x60210f9c62c8 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x60210f9c608a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x60210f9c4c79 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x60210f9c5d1c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x60210efe51c0 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x60210efe5625 - core::panicking::assert_failed_inner::hf2c17e6d30928787
[INFO] [stdout]   19:     0x60210f6af52b - core::panicking::assert_failed::h21ec70132631bf6e
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:373:5
[INFO] [stdout]   20:     0x60210f11893b - gpt4ocr::file_handlers::tests::test_save_json_to_file::{{closure}}::h609618557ae409b0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/file_handlers.rs:136:9
[INFO] [stdout]   21:     0x60210f0d2962 - <core::pin::Pin<P> as core::future::future::Future>::poll::hb610761d65194da5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x60210f0d299d - <core::pin::Pin<P> as core::future::future::Future>::poll::hb89421333c091639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x60210f114e0f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h15a566f8aec3a958
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:673:57
[INFO] [stdout]   24:     0x60210f114d55 - tokio::runtime::coop::with_budget::heba73e15ce62b25d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x60210f114d55 - tokio::runtime::coop::budget::h15658a6446937762
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x60210f114d55 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hd9d31403af749527
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:673:25
[INFO] [stdout]   27:     0x60210f112990 - tokio::runtime::scheduler::current_thread::Context::enter::hfff679bc923cb155
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:412:19
[INFO] [stdout]   28:     0x60210f1143fe - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h3e8189541dbef62f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:672:36
[INFO] [stdout]   29:     0x60210f113874 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h65638b38143980fe
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:751:68
[INFO] [stdout]   30:     0x60210f0171bb - tokio::runtime::context::scoped::Scoped<T>::set::h00d496f39c2c7ce4
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x60210f0f8ed9 - tokio::runtime::context::set_scheduler::{{closure}}::hb81604fcd6118bbb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x60210f1059fd - std::thread::local::LocalKey<T>::try_with::h5494e88ca67ce54c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x60210f1050ba - std::thread::local::LocalKey<T>::with::h580d5de878b3f075
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x60210f0f8e0d - tokio::runtime::context::set_scheduler::h5a0d37a86138161a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x60210f113600 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::he1f60343c82f827c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:751:27
[INFO] [stdout]   36:     0x60210f1138f3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hdcaa2b1f49778858
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:660:19
[INFO] [stdout]   37:     0x60210f11164f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h7d5a9c616a3c575b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:180:28
[INFO] [stdout]   38:     0x60210f0b1b96 - tokio::runtime::context::runtime::enter_runtime::hb961679315c9b485
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x60210f111341 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h472b2bbba8054e43
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:168:9
[INFO] [stdout]   40:     0x60210f089c7d - tokio::runtime::runtime::Runtime::block_on_inner::h44421d5618533522
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/runtime.rs:361:47
[INFO] [stdout]   41:     0x60210f089d95 - tokio::runtime::runtime::Runtime::block_on::h65d975c9a7fce539
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/runtime.rs:335:13
[INFO] [stdout]   42:     0x60210f118629 - gpt4ocr::file_handlers::tests::test_save_json_to_file::h29c505c1292337b3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/file_handlers.rs:136:9
[INFO] [stdout]   43:     0x60210f1184e7 - gpt4ocr::file_handlers::tests::test_save_json_to_file::{{closure}}::h9fc3d9496c3f930c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/file_handlers.rs:132:38
[INFO] [stdout]   44:     0x60210f05cae6 - core::ops::function::FnOnce::call_once::h5e87f3e42345ef50
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x60210f156f8b - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x60210f156f8b - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x60210f156978 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x60210f156978 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x60210f156978 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x60210f156978 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x60210f156978 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x60210f156978 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x60210f156978 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x60210f11a41a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x60210f11a41a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x60210f11dd94 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x60210f11dd94 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x60210f11dd94 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x60210f11dd94 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x60210f11dd94 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x60210f11dd94 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x60210f11dd94 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x60210f9ca49b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x60210f9ca49b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x60210f9ca49b - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7a42a1cd2ac3 - <unknown>
[INFO] [stdout]   67:     0x7a42a1d63a04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     file_handlers::tests::test_save_json_to_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.88s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "6de01b0bc4a525ddc5bb278ad760f63ae9d30422ee9402df9865d36acb46bdcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6de01b0bc4a525ddc5bb278ad760f63ae9d30422ee9402df9865d36acb46bdcb", kill_on_drop: false }`
[INFO] [stdout] 6de01b0bc4a525ddc5bb278ad760f63ae9d30422ee9402df9865d36acb46bdcb
