[INFO] cloning repository https://github.com/devfire/code-mcp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devfire/code-mcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fcode-mcp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fcode-mcp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9b8eda5346047ca0c9498694c23763cb21c73e7
[INFO] testing devfire/code-mcp against 1.97.0-beta.1 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fcode-mcp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/devfire/code-mcp
[INFO] finished tweaking git repo https://github.com/devfire/code-mcp
[INFO] tweaked toml for git repo https://github.com/devfire/code-mcp written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devfire/code-mcp on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/devfire/code-mcp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98e20e227c2f4768ddf2d917f31e390d0bdee7be59744b2d6712680d5d596f4e
[INFO] running `Command { std: "docker" "start" "-a" "98e20e227c2f4768ddf2d917f31e390d0bdee7be59744b2d6712680d5d596f4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98e20e227c2f4768ddf2d917f31e390d0bdee7be59744b2d6712680d5d596f4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98e20e227c2f4768ddf2d917f31e390d0bdee7be59744b2d6712680d5d596f4e", kill_on_drop: false }`
[INFO] [stdout] 98e20e227c2f4768ddf2d917f31e390d0bdee7be59744b2d6712680d5d596f4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d69476375c53fa4ce300f545a3bfcc40bbd50d5543cebb343f5c7d03c331346e
[INFO] running `Command { std: "docker" "start" "-a" "d69476375c53fa4ce300f545a3bfcc40bbd50d5543cebb343f5c7d03c331346e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling grep-matcher v0.1.8
[INFO] [stderr]    Compiling rmcp v0.16.0
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling encoding_rs_io v0.1.7
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling pastey v0.2.2
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling memmap2 v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling rand v0.10.1
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling grep-searcher v0.1.16
[INFO] [stderr]    Compiling grep-regex v0.1.14
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling ignore v0.4.25
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling rmcp-macros v0.16.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling sse-stream v0.2.3
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling code-mcp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.50s
[INFO] running `Command { std: "docker" "inspect" "d69476375c53fa4ce300f545a3bfcc40bbd50d5543cebb343f5c7d03c331346e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d69476375c53fa4ce300f545a3bfcc40bbd50d5543cebb343f5c7d03c331346e", kill_on_drop: false }`
[INFO] [stdout] d69476375c53fa4ce300f545a3bfcc40bbd50d5543cebb343f5c7d03c331346e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7c0a5524022e3d57328a977a28aeb3509a996cfb80672a7ffc95dd1bc62f3c5
[INFO] running `Command { std: "docker" "start" "-a" "d7c0a5524022e3d57328a977a28aeb3509a996cfb80672a7ffc95dd1bc62f3c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling code-mcp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.49s
[INFO] running `Command { std: "docker" "inspect" "d7c0a5524022e3d57328a977a28aeb3509a996cfb80672a7ffc95dd1bc62f3c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7c0a5524022e3d57328a977a28aeb3509a996cfb80672a7ffc95dd1bc62f3c5", kill_on_drop: false }`
[INFO] [stdout] d7c0a5524022e3d57328a977a28aeb3509a996cfb80672a7ffc95dd1bc62f3c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 505ab746662243a6cdec800ce5ffa0b380f99d3799b5a9e7c246fbe7a59f454d
[INFO] running `Command { std: "docker" "start" "-a" "505ab746662243a6cdec800ce5ffa0b380f99d3799b5a9e7c246fbe7a59f454d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/code_mcp-13c5b8e6a7df42e5)
[INFO] [stdout] 
[INFO] [stdout] running 38 tests
[INFO] [stdout] test gate::tests::peer_ip_uses_socket_addr_by_default ... ok
[INFO] [stdout] test gate::tests::peer_ip_ignores_xff_when_untrusted ... ok
[INFO] [stdout] test limiter::tests::allows_within_capacity ... ok
[INFO] [stdout] test gate::tests::peer_ip_uses_xff_last_hop_when_trusted ... ok
[INFO] [stdout] test limiter::tests::blocks_after_exhaustion ... ok
[INFO] [stdout] test gate::tests::passes_through_get_requests ... ok
[INFO] [stdout] test memory::tests::load_memory_errors_on_missing_dir ... ok
[INFO] [stdout] test gate::tests::peer_ip_falls_back_to_socket_when_xff_unparseable ... ok
[INFO] [stdout] test limiter::tests::separate_ips_get_separate_buckets ... ok
[INFO] [stdout] test memory::tests::load_memory_lists_md_files_when_no_index ... ok
[INFO] [stdout] test memory::tests::load_memory_returns_index_when_memory_md_present ... ok
[INFO] [stdout] test reaper::tests::touch_keeps_active_session_alive ... ok
[INFO] [stdout] test reaper::tests::first_sweep_seeds_unknown_sessions_and_does_not_reap ... ok
[INFO] [stdout] test reaper::tests::sweep_drops_tracker_entries_for_dead_sessions ... ok
[INFO] [stdout] test memory::tests::load_memory_rejects_path_traversal ... ok
[INFO] [stdout] test memory::tests::load_memory_returns_named_file ... ok
[INFO] [stdout] test scope::tests::check_rejects_path_traversal ... ok
[INFO] [stdout] test scope::tests::root_must_be_a_directory ... ok
[INFO] [stdout] test reaper::tests::sweep_reaps_idle_session ... ok
[INFO] [stdout] test scope::tests::check_resolves_symlink_to_outside_root ... ok
[INFO] [stdout] test tools::tests::cat_errors_when_path_is_directory ... ok
[INFO] [stdout] test server::tests::grep_args_accepts_file_extensions_as_array ... ok
[INFO] [stdout] test server::tests::grep_args_accepts_file_extensions_as_string ... ok
[INFO] [stdout] test gate::tests::passes_through_post_with_session_id ... ok
[INFO] [stdout] test gate::tests::rate_limits_initialize_per_peer ... ok
[INFO] [stdout] test scope::tests::check_accepts_path_inside_root ... ok
[INFO] [stdout] test scope::tests::check_rejects_path_outside_root ... ok
[INFO] [stdout] test scope::tests::root_must_exist ... ok
[INFO] [stdout] test tools::tests::cat_offset_and_line_window ... ok
[INFO] [stdout] test tools::tests::cat_byte_cap_truncates_with_marker ... ok
[INFO] [stdout] test limiter::tests::evicts_stale_entries_when_threshold_exceeded ... ok
[INFO] [stdout] test gate::tests::rejects_initialize_when_session_cap_reached ... ok
[INFO] [stdout] test tools::tests::grep_filters_by_extension ... ok
[INFO] [stdout] test tools::tests::grep_case_insensitive_toggle ... ok
[INFO] [stdout] test tools::tests::grep_finds_matches_and_respects_max_results_exactly ... ok
[INFO] [stdout] test tools::tests::grep_respects_gitignore ... ok
[INFO] [stdout] test limiter::tests::refills_over_time ... ok
[INFO] [stdout] test tools::tests::find_match_basename_and_full_path ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "505ab746662243a6cdec800ce5ffa0b380f99d3799b5a9e7c246fbe7a59f454d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "505ab746662243a6cdec800ce5ffa0b380f99d3799b5a9e7c246fbe7a59f454d", kill_on_drop: false }`
[INFO] [stdout] 505ab746662243a6cdec800ce5ffa0b380f99d3799b5a9e7c246fbe7a59f454d
