[INFO] fetching crate ai-context-gen 0.1.2... [INFO] testing ai-context-gen-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ai-context-gen 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate ai-context-gen 0.1.2 [INFO] finished tweaking crates.io crate ai-context-gen 0.1.2 [INFO] tweaked toml for crates.io crate ai-context-gen 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ai-context-gen 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ai-context-gen 0.1.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fancy-regex v0.12.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9732bd1a3dfc191c60d33e9e457bd166872526b5f6cfbfaf668d7fb51dde44ae [INFO] running `Command { std: "docker" "start" "-a" "9732bd1a3dfc191c60d33e9e457bd166872526b5f6cfbfaf668d7fb51dde44ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9732bd1a3dfc191c60d33e9e457bd166872526b5f6cfbfaf668d7fb51dde44ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9732bd1a3dfc191c60d33e9e457bd166872526b5f6cfbfaf668d7fb51dde44ae", kill_on_drop: false }` [INFO] [stdout] 9732bd1a3dfc191c60d33e9e457bd166872526b5f6cfbfaf668d7fb51dde44ae [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d443afe112a6d19e5ccb34b4692478f1ad367e5ba5e93ec2316d9b3a4b249191 [INFO] running `Command { std: "docker" "start" "-a" "d443afe112a6d19e5ccb34b4692478f1ad367e5ba5e93ec2316d9b3a4b249191", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling clap v4.5.41 [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 28.49s [INFO] running `Command { std: "docker" "inspect" "d443afe112a6d19e5ccb34b4692478f1ad367e5ba5e93ec2316d9b3a4b249191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d443afe112a6d19e5ccb34b4692478f1ad367e5ba5e93ec2316d9b3a4b249191", kill_on_drop: false }` [INFO] [stdout] d443afe112a6d19e5ccb34b4692478f1ad367e5ba5e93ec2316d9b3a4b249191 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccf01a86c0bdd0dd751987861913176c2ac38c0623646f086a32a7665d06876f [INFO] running `Command { std: "docker" "start" "-a" "ccf01a86c0bdd0dd751987861913176c2ac38c0623646f086a32a7665d06876f", 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.11s [INFO] running `Command { std: "docker" "inspect" "ccf01a86c0bdd0dd751987861913176c2ac38c0623646f086a32a7665d06876f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf01a86c0bdd0dd751987861913176c2ac38c0623646f086a32a7665d06876f", kill_on_drop: false }` [INFO] [stdout] ccf01a86c0bdd0dd751987861913176c2ac38c0623646f086a32a7665d06876f [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 24d11a3b5c6c3a5733d94874ccc6d81169a537307a1f04ebb59ca136e5018c1d [INFO] running `Command { std: "docker" "start" "-a" "24d11a3b5c6c3a5733d94874ccc6d81169a537307a1f04ebb59ca136e5018c1d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ai_context_gen-2b4889ff8e6eb620) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ai_context_gen-ac4b9346fb4c6b73) [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 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] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/lib.rs - (line 126) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 44) - compile ... 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/scanner.rs - scanner::RepositoryScanner (line 125) ... ok [INFO] [stdout] test src/lib.rs - (line 106) - compile ... ok [INFO] [stdout] test src/parser.rs - parser::RustParser::parse_rust_file (line 161) ... 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::new (line 158) ... ok [INFO] [stdout] test src/lib.rs - generate_context (line 186) ... ok [INFO] [stdout] test src/generator.rs - generator::ContextGenerator::generate_context (line 95) ... ok [INFO] [stdout] test src/config.rs - config::Config (line 17) ... ok [INFO] [stdout] test src/config.rs - config::Config::default (line 80) ... ok [INFO] [stdout] test src/token_counter.rs - token_counter::ContentSection::new (line 280) ... ok [INFO] [stdout] test src/token_counter.rs - token_counter::ContentSection (line 238) ... ok [INFO] [stdout] test src/token_counter.rs - token_counter::ContentPrioritizer (line 129) ... 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/generator.rs - generator::ContextGenerator::new (line 56) ... ok [INFO] [stdout] test src/token_counter.rs - token_counter::TokenCounter (line 16) ... ok [INFO] [stdout] test src/token_counter.rs - token_counter::TokenCounter::truncate_to_token_limit (line 94) ... ok [INFO] [stdout] test src/token_counter.rs - token_counter::ContentPrioritizer::prioritize_content (line 176) ... 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:: for anyhow::Error>::from [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::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:: for &F>::call_once [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 18: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 19: std::panicking::catch_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 20: std::panic::catch_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 21: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 22: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 23: std::panicking::catch_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 25: std::rt::lang_start_internal [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 26: std::rt::lang_start [INFO] [stdout] 27: main [INFO] [stdout] 28: [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.89s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "24d11a3b5c6c3a5733d94874ccc6d81169a537307a1f04ebb59ca136e5018c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d11a3b5c6c3a5733d94874ccc6d81169a537307a1f04ebb59ca136e5018c1d", kill_on_drop: false }` [INFO] [stdout] 24d11a3b5c6c3a5733d94874ccc6d81169a537307a1f04ebb59ca136e5018c1d