[INFO] fetching crate gpt4ocr 0.3.2... [INFO] testing gpt4ocr-0.3.2 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] extracting crate gpt4ocr 0.3.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate gpt4ocr 0.3.2 [INFO] finished tweaking crates.io crate gpt4ocr 0.3.2 [INFO] tweaked toml for crates.io crate gpt4ocr 0.3.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gpt4ocr 0.3.2 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gpt4ocr 0.3.2 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33ed50b8a8558d44e2f8de2177db0c476ebcfbe9bc9a5732b132702bbd9aba5 [INFO] running `Command { std: "docker" "start" "-a" "a33ed50b8a8558d44e2f8de2177db0c476ebcfbe9bc9a5732b132702bbd9aba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33ed50b8a8558d44e2f8de2177db0c476ebcfbe9bc9a5732b132702bbd9aba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33ed50b8a8558d44e2f8de2177db0c476ebcfbe9bc9a5732b132702bbd9aba5", kill_on_drop: false }` [INFO] [stdout] a33ed50b8a8558d44e2f8de2177db0c476ebcfbe9bc9a5732b132702bbd9aba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ae14146eccc32bdf5c42372b53985544e54339bbbb916b1eb72bfc227a4d64 [INFO] running `Command { std: "docker" "start" "-a" "c5ae14146eccc32bdf5c42372b53985544e54339bbbb916b1eb72bfc227a4d64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling idna v0.5.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 zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [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 profiling-procmacros v1.0.15 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling ravif v0.11.9 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.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 5m 34s [INFO] running `Command { std: "docker" "inspect" "c5ae14146eccc32bdf5c42372b53985544e54339bbbb916b1eb72bfc227a4d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ae14146eccc32bdf5c42372b53985544e54339bbbb916b1eb72bfc227a4d64", kill_on_drop: false }` [INFO] [stdout] c5ae14146eccc32bdf5c42372b53985544e54339bbbb916b1eb72bfc227a4d64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 968eda5743a05f838aa3a5ed2b5b078fdfb679f94d548562f6579f7c4281040d [INFO] running `Command { std: "docker" "start" "-a" "968eda5743a05f838aa3a5ed2b5b078fdfb679f94d548562f6579f7c4281040d", 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.85s [INFO] running `Command { std: "docker" "inspect" "968eda5743a05f838aa3a5ed2b5b078fdfb679f94d548562f6579f7c4281040d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968eda5743a05f838aa3a5ed2b5b078fdfb679f94d548562f6579f7c4281040d", kill_on_drop: false }` [INFO] [stdout] 968eda5743a05f838aa3a5ed2b5b078fdfb679f94d548562f6579f7c4281040d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c15b2241fa1f899d9dbb2a5250e3fc859ce158a3aa5c47850cfc59d69900429c [INFO] running `Command { std: "docker" "start" "-a" "c15b2241fa1f899d9dbb2a5250e3fc859ce158a3aa5c47850cfc59d69900429c", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gpt4ocr-fc699819317b8126) [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_get_base64_from_image ... ok [INFO] [stdout] test file_handlers::tests::test_save_json_to_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- file_handlers::tests::test_save_json_to_file stdout ---- [INFO] [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: 0x59fc001ae522 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59fc001ae522 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59fc001ae522 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59fc001ae522 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59fc001d5fb3 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59fc001d5fb3 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x59fc001ab1b3 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59fc001ab1b3 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59fc001ae372 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59fc001afa9c - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x59fc001af8f2 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x59fc000cb764 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x59fc000cb764 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59fc001b057b - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x59fc001b057b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x59fc001b024a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x59fc001aea19 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x59fc001afedd - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x59fc001d3ca0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59fc001d3f98 - core::panicking::assert_failed_inner::h6a89cd271393c011 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x59fc00136b67 - core::panicking::assert_failed::hb267bc40889dea02 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x59fc0003d582 - gpt4ocr::file_handlers::tests::test_save_json_to_file::{{closure}}::h6731bdbbb1b098e4 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handlers.rs:136:9 [INFO] [stdout] 22: 0x59fc00043325 - as core::future::future::Future>::poll::h0cbf8def5150cbd8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x59fc00043325 - as core::future::future::Future>::poll::ha574cb51ded9d993 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x59fc00043325 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hd5d8d64d6182ac07 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:673:73 [INFO] [stdout] 25: 0x59fc00043325 - tokio::runtime::coop::with_budget::hec86b77aad33e612 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x59fc00043325 - tokio::runtime::coop::budget::h78f5f196818cb5f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x59fc00043325 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h994f8bfc2a7ccdf0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 28: 0x59fc00043325 - tokio::runtime::scheduler::current_thread::Context::enter::h79cdcc27d1511d65 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 29: 0x59fc00039dfb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h343cd90575e496f6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:672:44 [INFO] [stdout] 30: 0x59fc00039dfb - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h5d9397323b45dffb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 31: 0x59fc00039dfb - tokio::runtime::context::scoped::Scoped::set::h1d24b7fa20fd8b8d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x59fc00043685 - tokio::runtime::context::set_scheduler::{{closure}}::h96615270c983dc83 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context.rs:180:38 [INFO] [stdout] 33: 0x59fc00043685 - std::thread::local::LocalKey::try_with::h32bf6432a9d66127 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 34: 0x59fc00043685 - std::thread::local::LocalKey::with::h929d5aa2f6df8615 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 35: 0x59fc00043685 - tokio::runtime::context::set_scheduler::h029858b82a401f73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context.rs:180:17 [INFO] [stdout] 36: 0x59fc00043685 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::ha4a75c516be92604 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 37: 0x59fc00043685 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h41f4be1fc4027bef [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:660:24 [INFO] [stdout] 38: 0x59fc0003a269 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hc70743e0be76c1f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:180:33 [INFO] [stdout] 39: 0x59fc0003a269 - tokio::runtime::context::runtime::enter_runtime::hfdb28a24a1d38d9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x59fc0003d065 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::ha1cc357a140194a2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 41: 0x59fc0003d065 - tokio::runtime::runtime::Runtime::block_on_inner::hd5a449df5324e10c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:361:52 [INFO] [stdout] 42: 0x59fc0003d065 - tokio::runtime::runtime::Runtime::block_on::h36047459cc74ad3d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:335:18 [INFO] [stdout] 43: 0x59fc0003d065 - gpt4ocr::file_handlers::tests::test_save_json_to_file::h7497621a3494c060 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handlers.rs:136:47 [INFO] [stdout] 44: 0x59fc00048a49 - gpt4ocr::file_handlers::tests::test_save_json_to_file::{{closure}}::h909b27a26b66f063 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handlers.rs:132:38 [INFO] [stdout] 45: 0x59fc00048a49 - core::ops::function::FnOnce::call_once::h11426b2d242ab96f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x59fc000d0e9b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x59fc000d0e9b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 48: 0x59fc000d00de - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 49: 0x59fc000d00de - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x59fc000d00de - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 51: 0x59fc000d00de - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 52: 0x59fc000d00de - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x59fc000d00de - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 54: 0x59fc000d00de - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 55: 0x59fc00093c84 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 56: 0x59fc00093c84 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 57: 0x59fc0009762a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x59fc0009762a - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x59fc0009762a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 60: 0x59fc0009762a - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 61: 0x59fc0009762a - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x59fc0009762a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x59fc0009762a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x59fc001b35f7 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 65: 0x59fc001b35f7 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 66: 0x59fc001b35f7 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 67: 0x7712911f9aa4 - [INFO] [stdout] 68: 0x771291286a34 - clone [INFO] [stdout] 69: 0x0 - [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 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "c15b2241fa1f899d9dbb2a5250e3fc859ce158a3aa5c47850cfc59d69900429c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15b2241fa1f899d9dbb2a5250e3fc859ce158a3aa5c47850cfc59d69900429c", kill_on_drop: false }` [INFO] [stdout] c15b2241fa1f899d9dbb2a5250e3fc859ce158a3aa5c47850cfc59d69900429c