[INFO] cloning repository https://github.com/kivo360/mcp-citadel
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kivo360/mcp-citadel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkivo360%2Fmcp-citadel", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkivo360%2Fmcp-citadel'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 160cbdfb7d24e72b6d37cfbda26f9f7d0b3fa4b4
[INFO] testing kivo360/mcp-citadel against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkivo360%2Fmcp-citadel" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kivo360/mcp-citadel
[INFO] finished tweaking git repo https://github.com/kivo360/mcp-citadel
[INFO] tweaked toml for git repo https://github.com/kivo360/mcp-citadel written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kivo360/mcp-citadel on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kivo360/mcp-citadel 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tungstenite v0.24.0
[INFO] [stderr]   Downloaded quote v1.0.42
[INFO] [stderr]   Downloaded axum-extra v0.9.6
[INFO] [stderr]   Downloaded cc v1.2.45
[INFO] [stderr]   Downloaded uuid v1.18.1
[INFO] [stderr]   Downloaded tracing-serde v0.2.0
[INFO] [stderr]   Downloaded multer v3.1.0
[INFO] [stderr]   Downloaded tokio-tungstenite v0.24.0
[INFO] [stderr]   Downloaded tokio-stream v0.1.17
[INFO] [stderr]   Downloaded tower v0.5.2
[INFO] [stderr]   Downloaded rustix v0.38.44
[INFO] [stderr]   Downloaded tokio-test v0.4.4
[INFO] [stderr]   Downloaded procfs-core v0.16.0
[INFO] [stderr]   Downloaded procfs v0.16.0
[INFO] [stderr]   Downloaded syn v2.0.110
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 53e5884c3061537a2d729ea675aed4a06cdcb66a0648c9d922b7d977497a45ba
[INFO] running `Command { std: "docker" "start" "-a" "53e5884c3061537a2d729ea675aed4a06cdcb66a0648c9d922b7d977497a45ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53e5884c3061537a2d729ea675aed4a06cdcb66a0648c9d922b7d977497a45ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53e5884c3061537a2d729ea675aed4a06cdcb66a0648c9d922b7d977497a45ba", kill_on_drop: false }`
[INFO] [stdout] 53e5884c3061537a2d729ea675aed4a06cdcb66a0648c9d922b7d977497a45ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4c61aa6a4618edb6b000e8b16f0b5e15ee8ab26bca0d78b606ee07eda67d8f3
[INFO] running `Command { std: "docker" "start" "-a" "a4c61aa6a4618edb6b000e8b16f0b5e15ee8ab26bca0d78b606ee07eda67d8f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling procfs v0.16.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling procfs-core v0.16.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling clap_builder v4.5.51
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling clap v4.5.51
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling axum-extra v0.9.6
[INFO] [stderr]    Compiling mcp-citadel v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/transport/websocket.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::sync::Arc;
[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 import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/transport/websocket.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/transport/websocket.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tracing::{error, info, warn};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]   --> src/transport/http.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use futures::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `HttpSession` is more private than the item `AppState::sessions`
[INFO] [stdout]    --> src/transport/http.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub(super) sessions: Arc<Mutex<HashMap<String, HttpSession>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AppState::sessions` is reachable at visibility `pub(in crate::transport)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `HttpSession` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/transport/http.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | struct HttpSession {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AppState` is more private than the item `handle_websocket`
[INFO] [stdout]    --> src/transport/websocket.rs:23:1
[INFO] [stdout]     |
[INFO] [stdout]  23 | / pub async fn handle_websocket(
[INFO] [stdout]  24 | |     ws: WebSocketUpgrade,
[INFO] [stdout]  25 | |     State(state): State<AppState>,
[INFO] [stdout]  26 | | ) -> Result<Response, StatusCode> {
[INFO] [stdout]     | |_________________________________^ function `handle_websocket` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `AppState` is only usable at visibility `pub(in crate::transport)`
[INFO] [stdout]    --> src/transport/http.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub(super) struct AppState {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestTimer` is never constructed
[INFO] [stdout]    --> src/metrics.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct RequestTimer {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `observe_duration` are never used
[INFO] [stdout]    --> src/metrics.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl RequestTimer {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 118 |     pub fn new(method: impl Into<String>, endpoint: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn observe_duration(self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_http_request` is never used
[INFO] [stdout]    --> src/metrics.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn record_http_request(method: &str, endpoint: &str, status: u16) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_error` is never used
[INFO] [stdout]    --> src/metrics.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn record_error(error_type: &str, server: Option<&str>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_mcp_servers_up` is never used
[INFO] [stdout]    --> src/metrics.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn set_mcp_servers_up(count: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_session_created` is never used
[INFO] [stdout]    --> src/metrics.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub fn record_session_created(transport: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_message_replay` is never used
[INFO] [stdout]    --> src/metrics.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub fn record_message_replay(session_id: &str, count: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 28s
[INFO] running `Command { std: "docker" "inspect" "a4c61aa6a4618edb6b000e8b16f0b5e15ee8ab26bca0d78b606ee07eda67d8f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4c61aa6a4618edb6b000e8b16f0b5e15ee8ab26bca0d78b606ee07eda67d8f3", kill_on_drop: false }`
[INFO] [stdout] a4c61aa6a4618edb6b000e8b16f0b5e15ee8ab26bca0d78b606ee07eda67d8f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de1f8f2a745011a76dd9cb1ff0043ed8e85e130ae7caa9ae0f7fcec1f9070ec1
[INFO] running `Command { std: "docker" "start" "-a" "de1f8f2a745011a76dd9cb1ff0043ed8e85e130ae7caa9ae0f7fcec1f9070ec1", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling axum-extra v0.9.6
[INFO] [stderr]    Compiling mcp-citadel v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/transport/websocket.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::sync::Arc;
[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 import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/transport/websocket.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/transport/websocket.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tracing::{error, info, warn};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]   --> src/transport/http.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use futures::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `HttpSession` is more private than the item `AppState::sessions`
[INFO] [stdout]    --> src/transport/http.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub(super) sessions: Arc<Mutex<HashMap<String, HttpSession>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AppState::sessions` is reachable at visibility `pub(in crate::transport)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `HttpSession` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/transport/http.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | struct HttpSession {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AppState` is more private than the item `handle_websocket`
[INFO] [stdout]    --> src/transport/websocket.rs:23:1
[INFO] [stdout]     |
[INFO] [stdout]  23 | / pub async fn handle_websocket(
[INFO] [stdout]  24 | |     ws: WebSocketUpgrade,
[INFO] [stdout]  25 | |     State(state): State<AppState>,
[INFO] [stdout]  26 | | ) -> Result<Response, StatusCode> {
[INFO] [stdout]     | |_________________________________^ function `handle_websocket` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `AppState` is only usable at visibility `pub(in crate::transport)`
[INFO] [stdout]    --> src/transport/http.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub(super) struct AppState {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestTimer` is never constructed
[INFO] [stdout]    --> src/metrics.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct RequestTimer {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `observe_duration` are never used
[INFO] [stdout]    --> src/metrics.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl RequestTimer {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 118 |     pub fn new(method: impl Into<String>, endpoint: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn observe_duration(self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_http_request` is never used
[INFO] [stdout]    --> src/metrics.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn record_http_request(method: &str, endpoint: &str, status: u16) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_error` is never used
[INFO] [stdout]    --> src/metrics.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn record_error(error_type: &str, server: Option<&str>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_mcp_servers_up` is never used
[INFO] [stdout]    --> src/metrics.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn set_mcp_servers_up(count: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_session_created` is never used
[INFO] [stdout]    --> src/metrics.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub fn record_session_created(transport: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_message_replay` is never used
[INFO] [stdout]    --> src/metrics.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub fn record_message_replay(session_id: &str, count: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 23.27s
[INFO] running `Command { std: "docker" "inspect" "de1f8f2a745011a76dd9cb1ff0043ed8e85e130ae7caa9ae0f7fcec1f9070ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de1f8f2a745011a76dd9cb1ff0043ed8e85e130ae7caa9ae0f7fcec1f9070ec1", kill_on_drop: false }`
[INFO] [stdout] de1f8f2a745011a76dd9cb1ff0043ed8e85e130ae7caa9ae0f7fcec1f9070ec1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 21cf932b799b880bb08ebe08535df3fe5c3a3683d7826dca74aed97440d9b238
[INFO] running `Command { std: "docker" "start" "-a" "21cf932b799b880bb08ebe08535df3fe5c3a3683d7826dca74aed97440d9b238", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/transport/websocket.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::sync::Arc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::sync::Mutex`
[INFO] [stderr]   --> src/transport/websocket.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use tokio::sync::Mutex;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]   --> src/transport/websocket.rs:17:28
[INFO] [stderr]    |
[INFO] [stderr] 17 | use tracing::{error, info, warn};
[INFO] [stderr]    |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::StreamExt`
[INFO] [stderr]   --> src/transport/http.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use futures::StreamExt;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `HttpSession` is more private than the item `AppState::sessions`
[INFO] [stderr]    --> src/transport/http.rs:113:5
[INFO] [stderr]     |
[INFO] [stderr] 113 |     pub(super) sessions: Arc<Mutex<HashMap<String, HttpSession>>>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AppState::sessions` is reachable at visibility `pub(in crate::transport)`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `HttpSession` is only usable at visibility `pub(self)`
[INFO] [stderr]    --> src/transport/http.rs:43:1
[INFO] [stderr]     |
[INFO] [stderr]  43 | struct HttpSession {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `AppState` is more private than the item `handle_websocket`
[INFO] [stderr]    --> src/transport/websocket.rs:23:1
[INFO] [stderr]     |
[INFO] [stderr]  23 | / pub async fn handle_websocket(
[INFO] [stderr]  24 | |     ws: WebSocketUpgrade,
[INFO] [stderr]  25 | |     State(state): State<AppState>,
[INFO] [stderr]  26 | | ) -> Result<Response, StatusCode> {
[INFO] [stderr]     | |_________________________________^ function `handle_websocket` is reachable at visibility `pub(crate)`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `AppState` is only usable at visibility `pub(in crate::transport)`
[INFO] [stderr]    --> src/transport/http.rs:111:1
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub(super) struct AppState {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RequestTimer` is never constructed
[INFO] [stderr]    --> src/metrics.rs:111:12
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub struct RequestTimer {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `observe_duration` are never used
[INFO] [stderr]    --> src/metrics.rs:118:12
[INFO] [stderr]     |
[INFO] [stderr] 117 | impl RequestTimer {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr] 118 |     pub fn new(method: impl Into<String>, endpoint: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 126 |     pub fn observe_duration(self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `record_http_request` is never used
[INFO] [stderr]    --> src/metrics.rs:172:8
[INFO] [stderr]     |
[INFO] [stderr] 172 | pub fn record_http_request(method: &str, endpoint: &str, status: u16) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `record_error` is never used
[INFO] [stderr]    --> src/metrics.rs:179:8
[INFO] [stderr]     |
[INFO] [stderr] 179 | pub fn record_error(error_type: &str, server: Option<&str>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_mcp_servers_up` is never used
[INFO] [stderr]    --> src/metrics.rs:191:8
[INFO] [stderr]     |
[INFO] [stderr] 191 | pub fn set_mcp_servers_up(count: usize) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `record_session_created` is never used
[INFO] [stderr]    --> src/metrics.rs:201:8
[INFO] [stderr]     |
[INFO] [stderr] 201 | pub fn record_session_created(transport: &str) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `record_message_replay` is never used
[INFO] [stderr]    --> src/metrics.rs:208:8
[INFO] [stderr]     |
[INFO] [stderr] 208 | pub fn record_message_replay(session_id: &str, count: usize) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mcp-citadel` (bin "mcp-citadel" test) generated 13 warnings (run `cargo fix --bin "mcp-citadel" -p mcp-citadel --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mcp_citadel-b17249b96e7265d0)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/mcp-client.rs (/opt/rustwide/target/debug/deps/mcp_client-382a6f0f598887e7)
[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] running `Command { std: "docker" "inspect" "21cf932b799b880bb08ebe08535df3fe5c3a3683d7826dca74aed97440d9b238", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21cf932b799b880bb08ebe08535df3fe5c3a3683d7826dca74aed97440d9b238", kill_on_drop: false }`
[INFO] [stdout] 21cf932b799b880bb08ebe08535df3fe5c3a3683d7826dca74aed97440d9b238
