[INFO] cloning repository https://github.com/statiolake/agent-container
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/statiolake/agent-container" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatiolake%2Fagent-container", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatiolake%2Fagent-container'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9f4aebbb6301945f3070520521184e34cc6a5e3
[INFO] checking statiolake/agent-container against dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatiolake%2Fagent-container" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/statiolake/agent-container
[INFO] finished tweaking git repo https://github.com/statiolake/agent-container
[INFO] tweaked toml for git repo https://github.com/statiolake/agent-container written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/statiolake/agent-container on toolchain dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/statiolake/agent-container 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" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustls v0.23.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54
[INFO] running `Command { std: "docker" "start" "171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]    Compiling rustls v0.23.38
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking num-conv v0.2.1
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking symlink v0.1.0
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking directories v5.0.1
[INFO] [stderr]     Checking anyhow v1.0.102
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking rustls-webpki v0.103.12
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tracing-appender v0.2.5
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking agent-container v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE`
[INFO] [stdout]   --> src/creds.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context`, `Result`, and `bail`
[INFO] [stdout]  --> src/keychain.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::{Context, Result, bail};
[INFO] [stdout]   |              ^^^^^^^  ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE`
[INFO] [stdout]   --> src/oauth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE`
[INFO] [stdout]   --> src/creds.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context`, `Result`, and `bail`
[INFO] [stdout]  --> src/keychain.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::{Context, Result, bail};
[INFO] [stdout]   |              ^^^^^^^  ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE`
[INFO] [stdout]   --> src/oauth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::keychain::CLAUDE_CODE_CREDENTIALS_SERVICE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLAUDE_CODE_CREDENTIALS_SERVICE` is never used
[INFO] [stdout]  --> src/keychain.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const CLAUDE_CODE_CREDENTIALS_SERVICE: &str = "Claude Code-credentials";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_name` is never read
[INFO] [stdout]   --> src/oauth.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct McpOAuthEntry {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 30 |     pub server_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `McpOAuthEntry` 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: struct `RawEntry` is never constructed
[INFO] [stdout]   --> src/oauth.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct RawEntry {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiscoveryState` is never constructed
[INFO] [stdout]   --> src/oauth.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | struct DiscoveryState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_raw_credentials` is never used
[INFO] [stdout]    --> src/oauth.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn parse_raw_credentials(raw: &str) -> Result<HashMap<String, McpOAuthEntry>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_entry` is never used
[INFO] [stdout]    --> src/oauth.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn parse_entry(keychain_key: &str, value: &Value) -> Result<McpOAuthEntry> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `oauth_key` is never used
[INFO] [stdout]    --> src/oauth.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn oauth_key(entry: &McpOAuthEntry) -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entry_to_value` is never used
[INFO] [stdout]    --> src/oauth.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn entry_to_value(entry: &McpOAuthEntry) -> Value {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `open` is never used
[INFO] [stdout]   --> src/shared_cred.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl SharedCredFile {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn open(
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLAUDE_CODE_CREDENTIALS_SERVICE` is never used
[INFO] [stdout]  --> src/keychain.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const CLAUDE_CODE_CREDENTIALS_SERVICE: &str = "Claude Code-credentials";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `oauth_key` is never used
[INFO] [stdout]    --> src/oauth.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn oauth_key(entry: &McpOAuthEntry) -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entry_to_value` is never used
[INFO] [stdout]    --> src/oauth.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn entry_to_value(entry: &McpOAuthEntry) -> Value {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
[INFO] running `Command { std: "docker" "inspect" "171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54", kill_on_drop: false }`
[INFO] [stdout] 171600aae21b9a88d2b3f88b573cf9347090db280235ffb8ec32a15358580d54
