[INFO] cloning repository https://github.com/Sruimeng/mentat-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sruimeng/mentat-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSruimeng%2Fmentat-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSruimeng%2Fmentat-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a30dc6a4d429789b0951e1039ac81724e27da384 [INFO] testing Sruimeng/mentat-code against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSruimeng%2Fmentat-code" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sruimeng/mentat-code [INFO] finished tweaking git repo https://github.com/Sruimeng/mentat-code [INFO] tweaked toml for git repo https://github.com/Sruimeng/mentat-code written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sruimeng/mentat-code on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sruimeng/mentat-code 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d2e21db8d5a12ab20999cd86f414e367c100bad0a89702926e605307bba3b02 [INFO] running `Command { std: "docker" "start" "-a" "3d2e21db8d5a12ab20999cd86f414e367c100bad0a89702926e605307bba3b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d2e21db8d5a12ab20999cd86f414e367c100bad0a89702926e605307bba3b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d2e21db8d5a12ab20999cd86f414e367c100bad0a89702926e605307bba3b02", kill_on_drop: false }` [INFO] [stdout] 3d2e21db8d5a12ab20999cd86f414e367c100bad0a89702926e605307bba3b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e279e1f0d75b120e0742978f4813b931a93e1cf8547fbf1a3508b09203779f64 [INFO] running `Command { std: "docker" "start" "-a" "e279e1f0d75b120e0742978f4813b931a93e1cf8547fbf1a3508b09203779f64", 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.178 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling zmij v0.1.9 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling jiff v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling mentat-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `load_settings` is never used [INFO] [stdout] --> src/config.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn load_settings() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/tools/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ToolRegistry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.14s [INFO] running `Command { std: "docker" "inspect" "e279e1f0d75b120e0742978f4813b931a93e1cf8547fbf1a3508b09203779f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e279e1f0d75b120e0742978f4813b931a93e1cf8547fbf1a3508b09203779f64", kill_on_drop: false }` [INFO] [stdout] e279e1f0d75b120e0742978f4813b931a93e1cf8547fbf1a3508b09203779f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a11350a7184f2474854af9ff9eb2000847ff760dba9f7931adeef7e8dd54689 [INFO] running `Command { std: "docker" "start" "-a" "6a11350a7184f2474854af9ff9eb2000847ff760dba9f7931adeef7e8dd54689", kill_on_drop: false }` [INFO] [stderr] Compiling mentat-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `load_settings` is never used [INFO] [stdout] --> src/config.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn load_settings() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/tools/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ToolRegistry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "6a11350a7184f2474854af9ff9eb2000847ff760dba9f7931adeef7e8dd54689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a11350a7184f2474854af9ff9eb2000847ff760dba9f7931adeef7e8dd54689", kill_on_drop: false }` [INFO] [stdout] 6a11350a7184f2474854af9ff9eb2000847ff760dba9f7931adeef7e8dd54689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b1742a79f390f989993ab81780dd934d16e3c0162be6540cb507f9709e83f03e [INFO] running `Command { std: "docker" "start" "-a" "b1742a79f390f989993ab81780dd934d16e3c0162be6540cb507f9709e83f03e", kill_on_drop: false }` [INFO] [stderr] warning: function `load_settings` is never used [INFO] [stderr] --> src/config.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn load_settings() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `is_empty` is never used [INFO] [stderr] --> src/tools/mod.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl ToolRegistry { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mentat-code` (bin "mentat-code-mini" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mentat_code_mini-dfb4bddd12d2620f) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test config::tests::test_config_not_found_error_message ... ok [INFO] [stdout] test config::tests::test_get_model_custom ... ok [INFO] [stdout] test config::tests::test_validate_empty_api_key ... ok [INFO] [stdout] test config::tests::test_get_model_default ... ok [INFO] [stdout] test config::tests::test_validate_empty_base_url ... ok [INFO] [stdout] test config::tests::test_validate_invalid_base_url ... ok [INFO] [stdout] test config::tests::test_validate_invalid_proxy ... ok [INFO] [stdout] test config::tests::test_validate_short_api_key ... ok [INFO] [stdout] test config::tests::test_validate_valid_settings_with_proxy ... ok [INFO] [stdout] test tools::path_validator::tests::test_hidden_traversal_rejected ... ok [INFO] [stdout] test tools::path_validator::tests::test_nested_traversal_rejected ... ok [INFO] [stdout] test tools::path_validator::tests::test_simple_traversal_rejected ... ok [INFO] [stdout] test tools::path_validator::tests::test_valid_nested_path ... ok [INFO] [stdout] test tools::path_validator::tests::test_valid_relative_path ... ok [INFO] [stdout] test tools::path_validator::tests::test_write_traversal_rejected ... ok [INFO] [stdout] test tools::path_validator::tests::test_write_to_new_file ... ok [INFO] [stdout] test tools::read_file::tests::test_nested_traversal_blocked ... ok [INFO] [stdout] test tools::read_file::tests::test_path_traversal_blocked ... ok [INFO] [stdout] test tools::tests::test_execute_unknown_tool ... ok [INFO] [stdout] test tools::read_file::tests::test_read_nonexistent_file ... ok [INFO] [stdout] test tools::tests::test_registry_builtins ... ok [INFO] [stdout] test tools::write_file::tests::test_nested_traversal_blocked ... ok [INFO] [stdout] test tools::write_file::tests::test_absolute_path_blocked ... ok [INFO] [stdout] test tools::write_file::tests::test_path_traversal_blocked ... ok [INFO] [stdout] test config::tests::test_validate_valid_settings ... ok [INFO] [stdout] test tools::path_validator::tests::test_absolute_path_rejected ... ok [INFO] [stdout] test tools::read_file::tests::test_absolute_path_blocked ... ok [INFO] [stdout] test tools::path_validator::tests::test_read_nonexistent_file ... ok [INFO] [stdout] test tools::read_file::tests::test_read_existing_file ... ok [INFO] [stdout] test tools::write_file::tests::test_write_new_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tools::write_file::tests::test_write_new_file stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tools::write_file::tests::test_write_new_file' (53) panicked at src/tools/write_file.rs:142:9: [INFO] [stdout] assertion failed: result.contains("\"success\":true") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5db06d41af62 - std[b14e17aa63033746]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5db06d41af62 - std[b14e17aa63033746]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5db06d41af62 - std[b14e17aa63033746]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5db06d41af62 - <::print::DisplayBacktrace as core[7ebf52c056bd56a4]::fmt::Display>::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5db06d42f91a - ::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5db06d42f91a - core[7ebf52c056bd56a4]::fmt::write [INFO] [stdout] 6: 0x5db06d41fda6 - std[b14e17aa63033746]::io::default_write_fmt::> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5db06d41fda6 - as std[b14e17aa63033746]::io::Write>::write_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5db06d3f814f - ::print [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5db06d3f814f - std[b14e17aa63033746]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5db06d412bb9 - std[b14e17aa63033746]::panicking::default_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5db06d38b37e - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5db06d38b37e - test[3318909d72adbd73]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5db06d412d72 - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5db06d412d72 - std[b14e17aa63033746]::panicking::panic_with_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5db06d3f823a - std[b14e17aa63033746]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x5db06d3efa89 - std[b14e17aa63033746]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5db06d3f905d - __rustc[f8abce35e9738d16]::rust_begin_unwind [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5db06d43002c - core[7ebf52c056bd56a4]::panicking::panic_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5db06d42fff2 - core[7ebf52c056bd56a4]::panicking::panic [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x5db06d368b38 - mentat_code_mini[9260344c2ee36e51]::tools::write_file::tests::test_write_new_file [INFO] [stdout] at /opt/rustwide/workdir/src/tools/write_file.rs:142:9 [INFO] [stdout] 21: 0x5db06d365917 - mentat_code_mini[9260344c2ee36e51]::tools::write_file::tests::test_write_new_file::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/tools/write_file.rs:134:29 [INFO] [stdout] 22: 0x5db06d379066 - >::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5db06d37f72b - core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5db06d37f72b - test[3318909d72adbd73]::__rust_begin_short_backtrace::, fn() -> core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5db06d38bf8a - test[3318909d72adbd73]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5db06d38bf8a - as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5db06d38bf8a - std[b14e17aa63033746]::panicking::catch_unwind::do_call::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x5db06d38bf8a - std[b14e17aa63033746]::panicking::catch_unwind::, core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x5db06d38bf8a - std[b14e17aa63033746]::panic::catch_unwind::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5db06d38bf8a - test[3318909d72adbd73]::run_test_in_process [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5db06d38bf8a - test[3318909d72adbd73]::run_test::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5db06d387534 - test[3318909d72adbd73]::run_test::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5db06d387534 - std[b14e17aa63033746]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 34: 0x5db06d38ea82 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 35: 0x5db06d38ea82 - ::{closure#1}::{closure#0}> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5db06d38ea82 - std[b14e17aa63033746]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 37: 0x5db06d38ea82 - std[b14e17aa63033746]::panicking::catch_unwind::<(), core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 38: 0x5db06d38ea82 - std[b14e17aa63033746]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5db06d38ea82 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 40: 0x5db06d38ea82 - ::{closure#1} as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5db06d41a2cf - + core[7ebf52c056bd56a4]::marker::Send> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 42: 0x5db06d41a2cf - ::new::thread_start [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 43: 0x759218059aa4 - [INFO] [stdout] 44: 0x7592180e6a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tools::write_file::tests::test_write_new_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 29 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin mentat-code-mini` [INFO] running `Command { std: "docker" "inspect" "b1742a79f390f989993ab81780dd934d16e3c0162be6540cb507f9709e83f03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1742a79f390f989993ab81780dd934d16e3c0162be6540cb507f9709e83f03e", kill_on_drop: false }` [INFO] [stdout] b1742a79f390f989993ab81780dd934d16e3c0162be6540cb507f9709e83f03e