[INFO] cloning repository https://github.com/brbtavares/ai-context-gen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brbtavares/ai-context-gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrbtavares%2Fai-context-gen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrbtavares%2Fai-context-gen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4a8442a9e3c495c37c383f56020ec24b689c6bd
[INFO] testing brbtavares/ai-context-gen against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrbtavares%2Fai-context-gen" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/brbtavares/ai-context-gen
[INFO] finished tweaking git repo https://github.com/brbtavares/ai-context-gen
[INFO] tweaked toml for git repo https://github.com/brbtavares/ai-context-gen written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brbtavares/ai-context-gen on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brbtavares/ai-context-gen 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded slab v0.4.10
[INFO] [stderr]   Downloaded io-uring v0.7.8
[INFO] [stderr]   Downloaded clap_derive v4.5.41
[INFO] [stderr]   Downloaded cc v1.2.29
[INFO] [stderr]   Downloaded clap v4.5.41
[INFO] [stderr]   Downloaded fancy-regex v0.12.0
[INFO] [stderr]   Downloaded clap_builder v4.5.41
[INFO] [stderr]   Downloaded tokio v1.46.1
[INFO] [stderr]   Downloaded tiktoken-rs v0.5.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f11d891691216e6ad592807878f2b7718926afd9b0f7de816f22fe0082804b4
[INFO] running `Command { std: "docker" "start" "-a" "4f11d891691216e6ad592807878f2b7718926afd9b0f7de816f22fe0082804b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f11d891691216e6ad592807878f2b7718926afd9b0f7de816f22fe0082804b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f11d891691216e6ad592807878f2b7718926afd9b0f7de816f22fe0082804b4", kill_on_drop: false }`
[INFO] [stdout] 4f11d891691216e6ad592807878f2b7718926afd9b0f7de816f22fe0082804b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d84388d17ebb8ea963c02fcda8a7baddf857322a7604fdbf06af81bc72bf5569
[INFO] running `Command { std: "docker" "start" "-a" "d84388d17ebb8ea963c02fcda8a7baddf857322a7604fdbf06af81bc72bf5569", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling clap_builder v4.5.41
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling fancy-regex v0.12.0
[INFO] [stderr]    Compiling clap v4.5.41
[INFO] [stderr]    Compiling tiktoken-rs v0.5.9
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling ai-context-gen v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.89s
[INFO] running `Command { std: "docker" "inspect" "d84388d17ebb8ea963c02fcda8a7baddf857322a7604fdbf06af81bc72bf5569", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d84388d17ebb8ea963c02fcda8a7baddf857322a7604fdbf06af81bc72bf5569", kill_on_drop: false }`
[INFO] [stdout] d84388d17ebb8ea963c02fcda8a7baddf857322a7604fdbf06af81bc72bf5569
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8803e3a9ea9421a73eec67032a832d4e9b942618d37e89c9eaeeb9292952aacc
[INFO] running `Command { std: "docker" "start" "-a" "8803e3a9ea9421a73eec67032a832d4e9b942618d37e89c9eaeeb9292952aacc", kill_on_drop: false }`
[INFO] [stderr]    Compiling ai-context-gen v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
[INFO] running `Command { std: "docker" "inspect" "8803e3a9ea9421a73eec67032a832d4e9b942618d37e89c9eaeeb9292952aacc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8803e3a9ea9421a73eec67032a832d4e9b942618d37e89c9eaeeb9292952aacc", kill_on_drop: false }`
[INFO] [stdout] 8803e3a9ea9421a73eec67032a832d4e9b942618d37e89c9eaeeb9292952aacc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 76c9e73f24e74b1ab982a21bc587f67c4b03f7a6a08fb038841e79b772d87f6f
[INFO] running `Command { std: "docker" "start" "-a" "76c9e73f24e74b1ab982a21bc587f67c4b03f7a6a08fb038841e79b772d87f6f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ai_context_gen-faa0f0585d50fa98)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ai_context_gen-0a456aea71ed4376)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ai_context_gen
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test src/lib.rs - (line 106) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 44) - compile ... ok
[INFO] [stdout] test src/lib.rs - generate_context (line 186) ... ok
[INFO] [stdout] test src/generator.rs - generator::ContextGenerator (line 24) ... ok
[INFO] [stdout] test src/lib.rs - (line 74) - compile ... ok
[INFO] [stdout] test src/generator.rs - generator::ContextGenerator::generate_context (line 95) ... ok
[INFO] [stdout] test src/lib.rs - (line 126) - compile ... ok
[INFO] [stdout] test src/lib.rs - generate_context_with_config (line 221) ... ok
[INFO] [stdout] test src/scanner.rs - scanner::RepositoryScanner::scan (line 187) ... ok
[INFO] [stdout] test src/scanner.rs - scanner::RepositoryScanner (line 125) ... ok
[INFO] [stdout] test src/scanner.rs - scanner::RepositoryScanner::new (line 158) ... ok
[INFO] [stdout] test src/config.rs - config::Config (line 17) ... ok
[INFO] [stdout] test src/parser.rs - parser::RustParser::parse_rust_file (line 161) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::ContentSection::new (line 280) ... ok
[INFO] [stdout] test src/config.rs - config::Config::default (line 80) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::ContentSection (line 238) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::TokenCounter (line 16) ... ok
[INFO] [stdout] test src/generator.rs - generator::ContextGenerator::new (line 56) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::ContentPrioritizer::prioritize_content (line 176) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::TokenCounter::count_tokens (line 66) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::TokenCounter::new (line 41) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::ContentPrioritizer (line 129) ... ok
[INFO] [stdout] test src/token_counter.rs - token_counter::TokenCounter::truncate_to_token_limit (line 94) ... ok
[INFO] [stdout] test src/lib.rs - (line 29) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 29) stdout ----
[INFO] [stdout] Test executable failed (exit status: 1).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
[INFO] [stdout]    1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
[INFO] [stdout]    2: ai_context_gen::generator::ContextGenerator::generate_context::{{closure}}
[INFO] [stdout]    3: ai_context_gen::generate_context::{{closure}}
[INFO] [stdout]    4: rust_out::main::{{closure}}
[INFO] [stdout]    5: tokio::runtime::park::CachedParkThread::block_on::{{closure}}
[INFO] [stdout]    6: tokio::runtime::park::CachedParkThread::block_on
[INFO] [stdout]    7: tokio::runtime::context::blocking::BlockingRegionGuard::block_on
[INFO] [stdout]    8: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}
[INFO] [stdout]    9: tokio::runtime::context::runtime::enter_runtime
[INFO] [stdout]   10: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
[INFO] [stdout]   11: tokio::runtime::runtime::Runtime::block_on_inner
[INFO] [stdout]   12: tokio::runtime::runtime::Runtime::block_on
[INFO] [stdout]   13: rust_out::main
[INFO] [stdout]   14: core::ops::function::FnOnce::call_once
[INFO] [stdout]   15: std::sys::backtrace::__rust_begin_short_backtrace
[INFO] [stdout]   16: std::rt::lang_start::{{closure}}
[INFO] [stdout]   17: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21
[INFO] [stdout]   18: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   19: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   20: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   21: std::rt::lang_start_internal::{{closure}}
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24
[INFO] [stdout]   22: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   23: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   24: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   25: std::rt::lang_start_internal
[INFO] [stdout]              at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5
[INFO] [stdout]   26: std::rt::lang_start
[INFO] [stdout]   27: main
[INFO] [stdout]   28: <unknown>
[INFO] [stdout]   29: __libc_start_main
[INFO] [stdout]   30: _start
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 29)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 23 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.90s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "76c9e73f24e74b1ab982a21bc587f67c4b03f7a6a08fb038841e79b772d87f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76c9e73f24e74b1ab982a21bc587f67c4b03f7a6a08fb038841e79b772d87f6f", kill_on_drop: false }`
[INFO] [stdout] 76c9e73f24e74b1ab982a21bc587f67c4b03f7a6a08fb038841e79b772d87f6f
