[INFO] cloning repository https://github.com/Guard8-ai/ContextGuard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Guard8-ai/ContextGuard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuard8-ai%2FContextGuard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuard8-ai%2FContextGuard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e8fc3b886c144f17927cbac8560366fd7532534
[INFO] testing Guard8-ai/ContextGuard against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuard8-ai%2FContextGuard" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  49% (584/1181)
Updating files:  50% (591/1181)
Updating files:  51% (603/1181)
Updating files:  52% (615/1181)
Updating files:  53% (626/1181)
Updating files:  54% (638/1181)
Updating files:  55% (650/1181)
Updating files:  56% (662/1181)
Updating files:  57% (674/1181)
Updating files:  58% (685/1181)
Updating files:  59% (697/1181)
Updating files:  60% (709/1181)
Updating files:  61% (721/1181)
Updating files:  62% (733/1181)
Updating files:  63% (745/1181)
Updating files:  64% (756/1181)
Updating files:  65% (768/1181)
Updating files:  66% (780/1181)
Updating files:  67% (792/1181)
Updating files:  68% (804/1181)
Updating files:  69% (815/1181)
Updating files:  70% (827/1181)
Updating files:  71% (839/1181)
Updating files:  72% (851/1181)
Updating files:  73% (863/1181)
Updating files:  74% (874/1181)
Updating files:  75% (886/1181)
Updating files:  76% (898/1181)
Updating files:  77% (910/1181)
Updating files:  78% (922/1181)
Updating files:  79% (933/1181)
Updating files:  80% (945/1181)
Updating files:  81% (957/1181)
Updating files:  82% (969/1181)
Updating files:  83% (981/1181)
Updating files:  84% (993/1181)
Updating files:  85% (1004/1181)
Updating files:  86% (1016/1181)
Updating files:  87% (1028/1181)
Updating files:  88% (1040/1181)
Updating files:  89% (1052/1181)
Updating files:  90% (1063/1181)
Updating files:  91% (1075/1181)
Updating files:  92% (1087/1181)
Updating files:  93% (1099/1181)
Updating files:  94% (1111/1181)
Updating files:  95% (1122/1181)
Updating files:  96% (1134/1181)
Updating files:  97% (1146/1181)
Updating files:  98% (1158/1181)
Updating files:  99% (1170/1181)
Updating files: 100% (1181/1181)
Updating files: 100% (1181/1181), done.
[INFO] started tweaking git repo https://github.com/Guard8-ai/ContextGuard
[INFO] finished tweaking git repo https://github.com/Guard8-ai/ContextGuard
[INFO] tweaked toml for git repo https://github.com/Guard8-ai/ContextGuard written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Guard8-ai/ContextGuard on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Guard8-ai/ContextGuard 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 210a3a7d0e3161ad82e201e58826a7c2daf2b3ef343e72fd08b15d51b22d83ac
[INFO] running `Command { std: "docker" "start" "-a" "210a3a7d0e3161ad82e201e58826a7c2daf2b3ef343e72fd08b15d51b22d83ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "210a3a7d0e3161ad82e201e58826a7c2daf2b3ef343e72fd08b15d51b22d83ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "210a3a7d0e3161ad82e201e58826a7c2daf2b3ef343e72fd08b15d51b22d83ac", kill_on_drop: false }`
[INFO] [stdout] 210a3a7d0e3161ad82e201e58826a7c2daf2b3ef343e72fd08b15d51b22d83ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e1b49b84c3dbabd4bf3e01f1af500adbcb6b30397e724dad5a877d7b3728aa7
[INFO] running `Command { std: "docker" "start" "-a" "8e1b49b84c3dbabd4bf3e01f1af500adbcb6b30397e724dad5a877d7b3728aa7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling contextguard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `percentage`, `near_autocompact`, `system_overhead`, `compression_ratio`, and `estimate_total_from_billable` are never used
[INFO] [stdout]   --> src/context_parser.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl ContextData {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 25 |     /// Calculate the percentage of context used
[INFO] [stdout] 26 |     pub fn percentage(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn near_autocompact(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn system_overhead(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn compression_ratio(&self, billable_tokens: u64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn estimate_total_from_billable(&self, billable_tokens: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `session_id`, `hook_event_name`, `prompt`, and `source` are never read
[INFO] [stdout]   --> src/hook_types.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct HookInput {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout]  6 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  7 |     pub transcript_path: String,
[INFO] [stdout]  8 |     pub hook_event_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     #[serde(default)]
[INFO] [stdout] 10 |     pub prompt: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 11 |     #[serde(default)]
[INFO] [stdout] 12 |     pub source: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HookInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `block` is never used
[INFO] [stdout]   --> src/hook_types.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl HookOutput {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn block(reason: String, message: String) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache_read_input_tokens` is never read
[INFO] [stdout]   --> src/jsonl_parser.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub cache_read_input_tokens: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `event_type` is never read
[INFO] [stdout]   --> src/jsonl_parser.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct TranscriptEvent {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 71 |     #[serde(rename = "type")]
[INFO] [stdout] 72 |     pub event_type: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TranscriptEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_token_usage` is never used
[INFO] [stdout]   --> src/jsonl_parser.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn calculate_token_usage(transcript_path: &str) -> Result<u64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `event_type` is never read
[INFO] [stdout]   --> src/session_analyzer.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct SessionBoundary {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub event_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionBoundary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `session_start` and `clear_detected` are never read
[INFO] [stdout]   --> src/session_analyzer.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct CurrentSessionAnalysis {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 20 |     /// Where the current session started
[INFO] [stdout] 21 |     pub session_start: SessionBoundary,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub clear_detected: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CurrentSessionAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.00s
[INFO] running `Command { std: "docker" "inspect" "8e1b49b84c3dbabd4bf3e01f1af500adbcb6b30397e724dad5a877d7b3728aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e1b49b84c3dbabd4bf3e01f1af500adbcb6b30397e724dad5a877d7b3728aa7", kill_on_drop: false }`
[INFO] [stdout] 8e1b49b84c3dbabd4bf3e01f1af500adbcb6b30397e724dad5a877d7b3728aa7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a5bdea8eb42d480e6e2d0a4008402d34368fd648ad65b14d4b92d499ffaf913
[INFO] running `Command { std: "docker" "start" "-a" "8a5bdea8eb42d480e6e2d0a4008402d34368fd648ad65b14d4b92d499ffaf913", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling contextguard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `system_overhead`, `compression_ratio`, and `estimate_total_from_billable` are never used
[INFO] [stdout]   --> src/context_parser.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl ContextData {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn system_overhead(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn compression_ratio(&self, billable_tokens: u64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn estimate_total_from_billable(&self, billable_tokens: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `session_id`, `hook_event_name`, `prompt`, and `source` are never read
[INFO] [stdout]   --> src/hook_types.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct HookInput {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout]  6 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  7 |     pub transcript_path: String,
[INFO] [stdout]  8 |     pub hook_event_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     #[serde(default)]
[INFO] [stdout] 10 |     pub prompt: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 11 |     #[serde(default)]
[INFO] [stdout] 12 |     pub source: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HookInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `block` is never used
[INFO] [stdout]   --> src/hook_types.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl HookOutput {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn block(reason: String, message: String) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache_read_input_tokens` is never read
[INFO] [stdout]   --> src/jsonl_parser.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub cache_read_input_tokens: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `event_type` is never read
[INFO] [stdout]   --> src/jsonl_parser.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct TranscriptEvent {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 71 |     #[serde(rename = "type")]
[INFO] [stdout] 72 |     pub event_type: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TranscriptEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.40s
[INFO] running `Command { std: "docker" "inspect" "8a5bdea8eb42d480e6e2d0a4008402d34368fd648ad65b14d4b92d499ffaf913", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a5bdea8eb42d480e6e2d0a4008402d34368fd648ad65b14d4b92d499ffaf913", kill_on_drop: false }`
[INFO] [stdout] 8a5bdea8eb42d480e6e2d0a4008402d34368fd648ad65b14d4b92d499ffaf913
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 243f30a792641e272dce304f8b6498659f7c8cfec316f495957850fb39ac9cbe
[INFO] running `Command { std: "docker" "start" "-a" "243f30a792641e272dce304f8b6498659f7c8cfec316f495957850fb39ac9cbe", kill_on_drop: false }`
[INFO] [stderr] warning: methods `system_overhead`, `compression_ratio`, and `estimate_total_from_billable` are never used
[INFO] [stdout] 
[INFO] [stderr]   --> src/context_parser.rs:46:12
[INFO] [stdout] running 27 tests
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl ContextData {
[INFO] [stderr]    | ---------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 46 |     pub fn system_overhead(&self) -> u64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn compression_ratio(&self, billable_tokens: u64) -> f64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 66 |     pub fn estimate_total_from_billable(&self, billable_tokens: u64) -> u64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `session_id`, `hook_event_name`, `prompt`, and `source` are never read
[INFO] [stderr]   --> src/hook_types.rs:6:9
[INFO] [stderr]    |
[INFO] [stderr]  5 | pub struct HookInput {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr]  6 |     pub session_id: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]  7 |     pub transcript_path: String,
[INFO] [stderr]  8 |     pub hook_event_name: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]  9 |     #[serde(default)]
[INFO] [stderr] 10 |     pub prompt: Option<String>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 11 |     #[serde(default)]
[INFO] [stderr] 12 |     pub source: Option<String>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `HookInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `block` is never used
[INFO] [stderr]   --> src/hook_types.rs:58:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | impl HookOutput {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 58 |     pub fn block(reason: String, message: String) -> Self {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `cache_read_input_tokens` is never read
[INFO] [stderr]   --> src/jsonl_parser.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct TokenUsage {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub cache_read_input_tokens: u64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TokenUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `event_type` is never read
[INFO] [stderr]   --> src/jsonl_parser.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct TranscriptEvent {
[INFO] [stderr]    |            --------------- field in this struct
[INFO] [stderr] 71 |     #[serde(rename = "type")]
[INFO] [stderr] 72 |     pub event_type: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TranscriptEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `contextguard` (bin "contextguard" test) generated 5 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/contextguard-83f7c6391dd54c93)
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test context_parser::tests::test_context_data_near_autocompact ... ok
[INFO] [stdout] test context_parser::tests::test_context_data_percentage ... ok
[INFO] [stdout] test jsonl_parser::tests::test_estimate_total_context_small_session ... ok
[INFO] [stdout] test jsonl_parser::tests::test_estimate_total_context_zero_billable ... ok
[INFO] [stdout] test jsonl_parser::tests::test_token_usage_total ... ok
[INFO] [stdout] test jsonl_parser::tests::test_calculate_token_usage_missing_file ... ok
[INFO] [stdout] test session_handoff::tests::test_handoff_has_clear_directives ... ok
[INFO] [stdout] test session_handoff::tests::test_handoff_generation ... ok
[INFO] [stdout] test jsonl_parser::tests::test_estimate_total_context_current_session ... ok
[INFO] [stdout] test session_analyzer::tests::test_missing_file ... ok
[INFO] [stdout] test jsonl_parser::tests::test_calculate_token_usage_empty_file ... ok
[INFO] [stdout] test session_analyzer::tests::test_no_clear_command ... ok
[INFO] [stdout] test session_analyzer::tests::test_empty_file ... ok
[INFO] [stdout] test session_analyzer::tests::test_with_clear_command ... ok
[INFO] [stdout] test jsonl_parser::tests::test_calculate_token_usage_valid_file ... ok
[INFO] [stdout] test session_analyzer::tests::test_multiple_clear_commands ... ok
[INFO] [stdout] test session_handoff::tests::test_handoff_includes_template ... ok
[INFO] [stdout] test threshold_checker::tests::test_below_warning_threshold ... ok
[INFO] [stdout] test threshold_checker::tests::test_warning_threshold ... ok
[INFO] [stdout] test threshold_checker::tests::test_critical_threshold ... ok
[INFO] [stdout] test threshold_checker::tests::test_exact_critical_threshold ... ok
[INFO] [stdout] test context_parser::tests::test_parse_context_no_context_in_file ... ok
[INFO] [stdout] test jsonl_parser::tests::test_estimate_total_context_test2_session ... ok
[INFO] [stdout] test context_parser::tests::test_parse_context_multiple_contexts_returns_last ... FAILED
[INFO] [stdout] test context_parser::tests::test_parse_context_minimal_session ... FAILED
[INFO] [stdout] test context_parser::tests::test_parse_context_larger_session ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- context_parser::tests::test_parse_context_multiple_contexts_returns_last stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'context_parser::tests::test_parse_context_multiple_contexts_returns_last' (30) panicked at src/context_parser.rs:268:9:
[INFO] [stdout] assertion failed: context.is_some()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x651b1cde35a2 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x651b1cde35a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x651b1cde35a2 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x651b1cde35a2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x651b1cdf42ef - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x651b1cdf42ef - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x651b1cdaf9b3 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x651b1cdaf9b3 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x651b1cdbb9d2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x651b1cdc0fff - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x651b1cdc0e91 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x651b1cae224e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x651b1cae224e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x651b1cdc160f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x651b1cdc160f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x651b1cdc1436 - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x651b1cdbbb09 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x651b1cda417d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x651b1cdfe340 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x651b1cdfe31c - core::panicking::panic::h5cbcc2ceb0950681
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x651b1caa09b5 - contextguard::context_parser::tests::test_parse_context_multiple_contexts_returns_last::he88c8856e236172b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/context_parser.rs:268:9
[INFO] [stdout]   21:     0x651b1caa0b57 - contextguard::context_parser::tests::test_parse_context_multiple_contexts_returns_last::{{closure}}::h4350b5f95e4c0ffa
[INFO] [stdout]                                at /opt/rustwide/workdir/src/context_parser.rs:255:59
[INFO] [stdout]   22:     0x651b1caa2696 - core::ops::function::FnOnce::call_once::h689e42ebf5eb0ed6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x651b1cae204b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x651b1cae204b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x651b1caf60ad - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x651b1caf60ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x651b1caf60ad - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   28:     0x651b1caf60ad - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   29:     0x651b1caf60ad - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x651b1caf60ad - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x651b1caf60ad - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x651b1cacf5f4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x651b1cacf5f4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   34:     0x651b1cad2e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   35:     0x651b1cad2e4a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x651b1cad2e4a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   37:     0x651b1cad2e4a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   38:     0x651b1cad2e4a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x651b1cad2e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   40:     0x651b1cad2e4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x651b1cdb6f0f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   42:     0x651b1cdb6f0f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   43:     0x72c893ef6aa4 - <unknown>
[INFO] [stdout]   44:     0x72c893f83a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- context_parser::tests::test_parse_context_minimal_session stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'context_parser::tests::test_parse_context_minimal_session' (29) panicked at src/context_parser.rs:224:9:
[INFO] [stdout] assertion failed: context.is_some()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x651b1cde35a2 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x651b1cde35a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x651b1cde35a2 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x651b1cde35a2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x651b1cdf42ef - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x651b1cdf42ef - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x651b1cdaf9b3 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x651b1cdaf9b3 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x651b1cdbb9d2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x651b1cdc0fff - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x651b1cdc0e91 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x651b1cae224e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x651b1cae224e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x651b1cdc160f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x651b1cdc160f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x651b1cdc1436 - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x651b1cdbbb09 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x651b1cda417d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x651b1cdfe340 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x651b1cdfe31c - core::panicking::panic::h5cbcc2ceb0950681
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x651b1ca9fbb6 - contextguard::context_parser::tests::test_parse_context_minimal_session::hae91cb607b641fe5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/context_parser.rs:224:9
[INFO] [stdout]   21:     0x651b1ca9ff37 - contextguard::context_parser::tests::test_parse_context_minimal_session::{{closure}}::h180e2a064166a276
[INFO] [stdout]                                at /opt/rustwide/workdir/src/context_parser.rs:212:44
[INFO] [stdout]   22:     0x651b1caa2ab6 - core::ops::function::FnOnce::call_once::hd15357b3efa46853
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x651b1cae204b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x651b1cae204b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x651b1caf60ad - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x651b1caf60ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x651b1caf60ad - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   28:     0x651b1caf60ad - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   29:     0x651b1caf60ad - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x651b1caf60ad - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x651b1caf60ad - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x651b1cacf5f4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x651b1cacf5f4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   34:     0x651b1cad2e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   35:     0x651b1cad2e4a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x651b1cad2e4a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   37:     0x651b1cad2e4a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   38:     0x651b1cad2e4a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x651b1cad2e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   40:     0x651b1cad2e4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x651b1cdb6f0f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   42:     0x651b1cdb6f0f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   43:     0x72c893ef6aa4 - <unknown>
[INFO] [stdout]   44:     0x72c893f83a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- context_parser::tests::test_parse_context_larger_session stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'context_parser::tests::test_parse_context_larger_session' (28) panicked at src/context_parser.rs:247:9:
[INFO] [stdout] assertion failed: context.is_some()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x651b1cde35a2 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x651b1cde35a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x651b1cde35a2 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x651b1cde35a2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x651b1cdf42ef - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x651b1cdf42ef - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x651b1cdaf9b3 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x651b1cdaf9b3 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x651b1cdbb9d2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x651b1cdc0fff - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x651b1cdc0e91 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x651b1cae224e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x651b1cae224e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x651b1cdc160f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x651b1cdc160f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x651b1cdc1436 - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x651b1cdbbb09 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x651b1cda417d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x651b1cdfe340 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x651b1cdfe31c - core::panicking::panic::h5cbcc2ceb0950681
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x651b1ca9f49a - contextguard::context_parser::tests::test_parse_context_larger_session::hd45f532209b103d1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/context_parser.rs:247:9
[INFO] [stdout]   21:     0x651b1ca9f627 - contextguard::context_parser::tests::test_parse_context_larger_session::{{closure}}::h4a51a1f1433f7996
[INFO] [stdout]                                at /opt/rustwide/workdir/src/context_parser.rs:236:43
[INFO] [stdout]   22:     0x651b1caa24f6 - core::ops::function::FnOnce::call_once::h1500ca585c3b05ff
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x651b1cae204b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x651b1cae204b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x651b1caf60ad - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x651b1caf60ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x651b1caf60ad - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   28:     0x651b1caf60ad - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   29:     0x651b1caf60ad - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x651b1caf60ad - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x651b1caf60ad - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x651b1cacf5f4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x651b1cacf5f4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   34:     0x651b1cad2e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   35:     0x651b1cad2e4a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x651b1cad2e4a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   37:     0x651b1cad2e4a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   38:     0x651b1cad2e4a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x651b1cad2e4a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   40:     0x651b1cad2e4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x651b1cdb6f0f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   42:     0x651b1cdb6f0f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   43:     0x72c893ef6aa4 - <unknown>
[INFO] [stdout]   44:     0x72c893f83a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     context_parser::tests::test_parse_context_larger_session
[INFO] [stdout]     context_parser::tests::test_parse_context_minimal_session
[INFO] [stdout]     context_parser::tests::test_parse_context_multiple_contexts_returns_last
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 24 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin contextguard`
[INFO] running `Command { std: "docker" "inspect" "243f30a792641e272dce304f8b6498659f7c8cfec316f495957850fb39ac9cbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "243f30a792641e272dce304f8b6498659f7c8cfec316f495957850fb39ac9cbe", kill_on_drop: false }`
[INFO] [stdout] 243f30a792641e272dce304f8b6498659f7c8cfec316f495957850fb39ac9cbe
