[INFO] fetching crate oneiromancer 0.6.4... [INFO] testing oneiromancer-0.6.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate oneiromancer 0.6.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate oneiromancer 0.6.4 [INFO] finished tweaking crates.io crate oneiromancer 0.6.4 [INFO] tweaked toml for crates.io crate oneiromancer 0.6.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oneiromancer 0.6.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oneiromancer 0.6.4 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cookie_store v0.22.0 [INFO] [stderr] Downloaded spinners v4.1.1 [INFO] [stderr] Downloaded ureq v3.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69e8aba0aa38c8b6d69e6f71a67cc8b31e776410167e423361af77e0a30ff12f [INFO] running `Command { std: "docker" "start" "-a" "69e8aba0aa38c8b6d69e6f71a67cc8b31e776410167e423361af77e0a30ff12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69e8aba0aa38c8b6d69e6f71a67cc8b31e776410167e423361af77e0a30ff12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e8aba0aa38c8b6d69e6f71a67cc8b31e776410167e423361af77e0a30ff12f", kill_on_drop: false }` [INFO] [stdout] 69e8aba0aa38c8b6d69e6f71a67cc8b31e776410167e423361af77e0a30ff12f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944640fceba56d2e6a753f2d3042c65ec675fc53e722c2715c1c5c9890da0c93 [INFO] running `Command { std: "docker" "start" "-a" "944640fceba56d2e6a753f2d3042c65ec675fc53e722c2715c1c5c9890da0c93", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustls v0.23.34 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Compiling oneiromancer v0.6.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized] target(s) in 27.79s [INFO] running `Command { std: "docker" "inspect" "944640fceba56d2e6a753f2d3042c65ec675fc53e722c2715c1c5c9890da0c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944640fceba56d2e6a753f2d3042c65ec675fc53e722c2715c1c5c9890da0c93", kill_on_drop: false }` [INFO] [stdout] 944640fceba56d2e6a753f2d3042c65ec675fc53e722c2715c1c5c9890da0c93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0403fc52d96a93e39d49bf956d876c03c35b1eba25803d5695b32c7ad4d3c634 [INFO] running `Command { std: "docker" "start" "-a" "0403fc52d96a93e39d49bf956d876c03c35b1eba25803d5695b32c7ad4d3c634", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling oneiromancer v0.6.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized] target(s) in 4.80s [INFO] running `Command { std: "docker" "inspect" "0403fc52d96a93e39d49bf956d876c03c35b1eba25803d5695b32c7ad4d3c634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0403fc52d96a93e39d49bf956d876c03c35b1eba25803d5695b32c7ad4d3c634", kill_on_drop: false }` [INFO] [stdout] 0403fc52d96a93e39d49bf956d876c03c35b1eba25803d5695b32c7ad4d3c634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e596ad2b15fa84596367997a6ecb61951ba80103d0bdfce67dfc129de2478d2c [INFO] running `Command { std: "docker" "start" "-a" "e596ad2b15fa84596367997a6ecb61951ba80103d0bdfce67dfc129de2478d2c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oneiromancer-9826f322df306993) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test tests::analyze_file_with_invalid_input_filepath_fails ... ok [INFO] [stdout] test tests::ollama_request_with_wrong_model_fails ... ok [INFO] [stdout] test tests::analyze_code_with_empty_pseudo_code_string_fails ... ok [INFO] [stdout] test tests::analyze_code_works ... FAILED [INFO] [stdout] test tests::analyze_code_with_default_parameters_works ... FAILED [INFO] [stdout] test tests::analyze_file_with_default_parameters_works ... FAILED [INFO] [stdout] test tests::ollama_request_with_wrong_url_fails ... ok [INFO] [stdout] test tests::analyze_file_works ... FAILED [INFO] [stdout] test tests::ollama_request_works ... FAILED [INFO] [stdout] test tests::ollama_request_with_empty_prompt_returns_an_empty_response ... FAILED [INFO] [stdout] test tests::analyze_file_with_empty_input_file_fails ... ok [INFO] [stdout] test tests::run_with_invalid_input_filepath_fails ... ok [INFO] [stderr] . Querying the Oneiromancererror: test failed, to rerun pass `--lib` [INFO] [stdout] test tests::run_works ... FAILED [INFO] [stdout] test tests::run_with_empty_file_fails ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::analyze_code_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::analyze_code_works' (27) panicked at src/lib.rs:363:21: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: OllamaQueryFailed(Io(Custom { kind: ConnectionRefused, error: "Connection refused" })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x617ff070b972 - ::fmt::hde21067283f7e82e [INFO] [stdout] 1: 0x617ff071cb9f - core::fmt::write::h24186904251c31cb [INFO] [stdout] 2: 0x617ff06d4023 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] 3: 0x617ff06e2152 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] 4: 0x617ff06e7aef - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] 5: 0x617ff06e7981 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] 6: 0x617ff044903e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] 7: 0x617ff06e80ff - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] 8: 0x617ff06e7f5a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] 9: 0x617ff06e2299 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] 10: 0x617ff06c812d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] 11: 0x617ff07263d0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] 12: 0x617ff0725756 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] 13: 0x617ff014a5d9 - oneiromancer::tests::analyze_code_works::h5c3bd4be3c0911e2 [INFO] [stdout] 14: 0x617ff014a773 - oneiromancer::tests::analyze_code_works::{{closure}}::hb43787d595b816f1 [INFO] [stdout] 15: 0x617ff0146426 - core::ops::function::FnOnce::call_once::hadc5b193e63c83e3 [INFO] [stdout] 16: 0x617ff0448eab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] 17: 0x617ff045ce9d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] 18: 0x617ff04363e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] 19: 0x617ff0439c3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] 20: 0x617ff06dd68f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] 21: 0x70038e10baa4 - [INFO] [stdout] 22: 0x70038e198a64 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::analyze_code_with_default_parameters_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::analyze_code_with_default_parameters_works' (25) panicked at src/lib.rs:375:21: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: OllamaQueryFailed(Io(Custom { kind: ConnectionRefused, error: "Connection refused" })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x617ff070b972 - ::fmt::hde21067283f7e82e [INFO] [stdout] 1: 0x617ff071cb9f - core::fmt::write::h24186904251c31cb [INFO] [stdout] 2: 0x617ff06d4023 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] 3: 0x617ff06e2152 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] 4: 0x617ff06e7aef - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] 5: 0x617ff06e7981 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] 6: 0x617ff044903e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] 7: 0x617ff06e80ff - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] 8: 0x617ff06e7f5a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] 9: 0x617ff06e2299 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] 10: 0x617ff06c812d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] 11: 0x617ff07263d0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] 12: 0x617ff0725756 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] 13: 0x617ff014bcb4 - oneiromancer::tests::analyze_code_with_default_parameters_works::h89500074e6a1b04b [INFO] [stdout] 14: 0x617ff014be13 - oneiromancer::tests::analyze_code_with_default_parameters_works::{{closure}}::h5081bda8610c6a81 [INFO] [stdout] 15: 0x617ff01463a6 - core::ops::function::FnOnce::call_once::h6c6964b8f82a9dca [INFO] [stdout] 16: 0x617ff0448eab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] 17: 0x617ff045ce9d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] 18: 0x617ff04363e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] 19: 0x617ff0439c3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] 20: 0x617ff06dd68f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] 21: 0x70038e10baa4 - [INFO] [stdout] 22: 0x70038e198a64 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::analyze_file_with_default_parameters_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::analyze_file_with_default_parameters_works' (28) panicked at src/lib.rs:413:21: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileReadFailed(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x617ff070b972 - ::fmt::hde21067283f7e82e [INFO] [stdout] 1: 0x617ff071cb9f - core::fmt::write::h24186904251c31cb [INFO] [stdout] 2: 0x617ff06d4023 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] 3: 0x617ff06e2152 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] 4: 0x617ff06e7aef - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] 5: 0x617ff06e7981 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] 6: 0x617ff044903e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] 7: 0x617ff06e80ff - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] 8: 0x617ff06e7f5a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] 9: 0x617ff06e2299 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] 10: 0x617ff06c812d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] 11: 0x617ff07263d0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] 12: 0x617ff0725756 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] 13: 0x617ff014bf94 - oneiromancer::tests::analyze_file_with_default_parameters_works::h924e96f955645a3e [INFO] [stdout] 14: 0x617ff014c0f3 - oneiromancer::tests::analyze_file_with_default_parameters_works::{{closure}}::h42bf06f1fd6ff6c3 [INFO] [stdout] 15: 0x617ff0146136 - core::ops::function::FnOnce::call_once::h0b208a5386a4be4f [INFO] [stdout] 16: 0x617ff0448eab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] 17: 0x617ff045ce9d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] 18: 0x617ff04363e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] 19: 0x617ff0439c3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] 20: 0x617ff06dd68f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] 21: 0x70038e10baa4 - [INFO] [stdout] 22: 0x70038e198a64 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::analyze_file_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::analyze_file_works' (31) panicked at src/lib.rs:401:21: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileReadFailed(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x617ff070b972 - ::fmt::hde21067283f7e82e [INFO] [stdout] 1: 0x617ff071cb9f - core::fmt::write::h24186904251c31cb [INFO] [stdout] 2: 0x617ff06d4023 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] 3: 0x617ff06e2152 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] 4: 0x617ff06e7aef - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] 5: 0x617ff06e7981 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] 6: 0x617ff044903e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] 7: 0x617ff06e80ff - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] 8: 0x617ff06e7f5a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] 9: 0x617ff06e2299 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] 10: 0x617ff06c812d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] 11: 0x617ff07263d0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] 12: 0x617ff0725756 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] 13: 0x617ff014aa59 - oneiromancer::tests::analyze_file_works::h03834b53258d8af1 [INFO] [stdout] 14: 0x617ff014abf3 - oneiromancer::tests::analyze_file_works::{{closure}}::he83315f91e2c506b [INFO] [stdout] 15: 0x617ff0146366 - core::ops::function::FnOnce::call_once::h6bf8ef896a0fbeba [INFO] [stdout] 16: 0x617ff0448eab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] 17: 0x617ff045ce9d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] 18: 0x617ff04363e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] 19: 0x617ff0439c3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] 20: 0x617ff06dd68f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] 21: 0x70038e10baa4 - [INFO] [stdout] 22: 0x70038e198a64 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::ollama_request_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::ollama_request_works' (35) panicked at src/lib.rs:312:25: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: OllamaQueryFailed(Io(Custom { kind: ConnectionRefused, error: "Connection refused" })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x617ff070b972 - ::fmt::hde21067283f7e82e [INFO] [stdout] 1: 0x617ff071cb9f - core::fmt::write::h24186904251c31cb [INFO] [stdout] 2: 0x617ff06d4023 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] 3: 0x617ff06e2152 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] 4: 0x617ff06e7aef - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] 5: 0x617ff06e7981 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] 6: 0x617ff044903e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] 7: 0x617ff06e80ff - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] 8: 0x617ff06e7f5a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] 9: 0x617ff06e2299 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] 10: 0x617ff06c812d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] 11: 0x617ff07263d0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] 12: 0x617ff0725756 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] 13: 0x617ff014adeb - oneiromancer::tests::ollama_request_works::he49a78d28fa1cd7f [INFO] [stdout] 14: 0x617ff014af53 - oneiromancer::tests::ollama_request_works::{{closure}}::ha4d5bd05d3a1331b [INFO] [stdout] 15: 0x617ff0146476 - core::ops::function::FnOnce::call_once::he80b1f4319caa08f [INFO] [stdout] 16: 0x617ff0448eab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] 17: 0x617ff045ce9d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] 18: 0x617ff04363e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] 19: 0x617ff0439c3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] 20: 0x617ff06dd68f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] 21: 0x70038e10baa4 - [INFO] [stdout] 22: 0x70038e198a64 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::ollama_request_with_empty_prompt_returns_an_empty_response stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::ollama_request_with_empty_prompt_returns_an_empty_response' (32) panicked at src/lib.rs:348:24: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: OllamaQueryFailed(Io(Custom { kind: ConnectionRefused, error: "Connection refused" })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x617ff070b972 - ::fmt::hde21067283f7e82e [INFO] [stdout] 1: 0x617ff071cb9f - core::fmt::write::h24186904251c31cb [INFO] [stdout] 2: 0x617ff06d4023 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] 3: 0x617ff06e2152 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] 4: 0x617ff06e7aef - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] 5: 0x617ff06e7981 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] 6: 0x617ff044903e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] 7: 0x617ff06e80ff - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] 8: 0x617ff06e7f5a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] 9: 0x617ff06e2299 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] 10: 0x617ff06c812d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] 11: 0x617ff07263d0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] 12: 0x617ff0725756 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] 13: 0x617ff014c528 - oneiromancer::tests::ollama_request_with_empty_prompt_returns_an_empty_response::h71bb95dc755af1ed [INFO] [stdout] 14: 0x617ff014c693 - oneiromancer::tests::ollama_request_with_empty_prompt_returns_an_empty_response::{{closure}}::h16afdcaef2230615 [INFO] [stdout] 15: 0x617ff0146176 - core::ops::function::FnOnce::call_once::h108af995903df6e7 [INFO] [stdout] 16: 0x617ff0448eab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] 17: 0x617ff045ce9d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] 18: 0x617ff04363e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] 19: 0x617ff0439c3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] 20: 0x617ff06dd68f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] 21: 0x70038e10baa4 - [INFO] [stdout] 22: 0x70038e198a64 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::run_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::run_works' (38) panicked at src/lib.rs:440:53: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x617ff070b972 - ::fmt::hde21067283f7e82e [INFO] [stdout] 1: 0x617ff071cb9f - core::fmt::write::h24186904251c31cb [INFO] [stdout] 2: 0x617ff06d4023 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] 3: 0x617ff06e2152 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] 4: 0x617ff06e7aef - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] 5: 0x617ff06e7981 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] 6: 0x617ff044903e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] 7: 0x617ff06e80ff - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] 8: 0x617ff06e7f5a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] 9: 0x617ff06e2299 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] 10: 0x617ff06c812d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] 11: 0x617ff07263d0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] 12: 0x617ff0725756 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] 13: 0x617ff014c8d2 - oneiromancer::tests::run_works::hcf2ede3bf8732a42 [INFO] [stdout] 14: 0x617ff014cce3 - oneiromancer::tests::run_works::{{closure}}::h826b273136ff60e2 [INFO] [stdout] 15: 0x617ff01460f6 - core::ops::function::FnOnce::call_once::h07e050f35057733f [INFO] [stdout] 16: 0x617ff0448eab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] 17: 0x617ff045ce9d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] 18: 0x617ff04363e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] 19: 0x617ff0439c3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] 20: 0x617ff06dd68f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] 21: 0x70038e10baa4 - [INFO] [stdout] 22: 0x70038e198a64 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::analyze_code_with_default_parameters_works [INFO] [stdout] tests::analyze_code_works [INFO] [stdout] tests::analyze_file_with_default_parameters_works [INFO] [stdout] tests::analyze_file_works [INFO] [stdout] tests::ollama_request_with_empty_prompt_returns_an_empty_response [INFO] [stdout] tests::ollama_request_works [INFO] [stdout] tests::run_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e596ad2b15fa84596367997a6ecb61951ba80103d0bdfce67dfc129de2478d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e596ad2b15fa84596367997a6ecb61951ba80103d0bdfce67dfc129de2478d2c", kill_on_drop: false }` [INFO] [stdout] e596ad2b15fa84596367997a6ecb61951ba80103d0bdfce67dfc129de2478d2c