[INFO] fetching crate devai 0.5.12... [INFO] testing devai-0.5.12 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate devai 0.5.12 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate devai 0.5.12 [INFO] finished tweaking crates.io crate devai 0.5.12 [INFO] tweaked toml for crates.io crate devai 0.5.12 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate devai 0.5.12 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate devai 0.5.12 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded value-ext v0.1.2 [INFO] [stderr] Downloaded strum v0.27.0 [INFO] [stderr] Downloaded strum_macros v0.27.0 [INFO] [stderr] Downloaded file-id v0.2.2 [INFO] [stderr] Downloaded notify v8.0.0 [INFO] [stderr] Downloaded mlua-sys v0.6.7 [INFO] [stderr] Downloaded match_token v0.1.0 [INFO] [stderr] Downloaded string_cache_codegen v0.5.3 [INFO] [stderr] Downloaded xml5ever v0.20.0 [INFO] [stderr] Downloaded markup5ever v0.14.1 [INFO] [stderr] Downloaded logos-codegen v0.15.0 [INFO] [stderr] Downloaded quinn-udp v0.5.10 [INFO] [stderr] Downloaded logos-derive v0.15.0 [INFO] [stderr] Downloaded notify-types v2.0.0 [INFO] [stderr] Downloaded notify-debouncer-full v0.5.0 [INFO] [stderr] Downloaded bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Downloaded html5ever v0.29.1 [INFO] [stderr] Downloaded markup5ever_rcdom v0.5.0-unofficial [INFO] [stderr] Downloaded logos v0.15.0 [INFO] [stderr] Downloaded handlebars v6.3.1 [INFO] [stderr] Downloaded keyring v3.6.1 [INFO] [stderr] Downloaded mlua v0.10.3 [INFO] [stderr] Downloaded simple-fs v0.5.0 [INFO] [stderr] Downloaded genai v0.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fb33ec3dcd0e0651982b53e9d1a62151dab3b5151c1d9acd62dd5fb1c883781 [INFO] running `Command { std: "docker" "start" "-a" "6fb33ec3dcd0e0651982b53e9d1a62151dab3b5151c1d9acd62dd5fb1c883781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fb33ec3dcd0e0651982b53e9d1a62151dab3b5151c1d9acd62dd5fb1c883781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb33ec3dcd0e0651982b53e9d1a62151dab3b5151c1d9acd62dd5fb1c883781", kill_on_drop: false }` [INFO] [stdout] 6fb33ec3dcd0e0651982b53e9d1a62151dab3b5151c1d9acd62dd5fb1c883781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca230c138075737bec8c949de017e202882015e219978b7544f543ee833947e1 [INFO] running `Command { std: "docker" "start" "-a" "ca230c138075737bec8c949de017e202882015e219978b7544f543ee833947e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls v0.23.22 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling file-id v0.2.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling which v7.0.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling notify-debouncer-full v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lua-src v547.0.0 [INFO] [stderr] Compiling luajit-src v210.5.12+a4f56a4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling keyring v3.6.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Compiling mlua-sys v0.6.7 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling strum_macros v0.27.0 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling simple-fs v0.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling devai v0.5.12 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strum v0.27.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling mlua v0.10.3 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling value-ext v0.1.2 [INFO] [stderr] Compiling handlebars v6.3.1 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling xml5ever v0.20.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling markup5ever_rcdom v0.5.0-unofficial [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling genai v0.1.22 [INFO] [stdout] warning: unused import: `crate::support::cred::get_or_prompt_api_key` [INFO] [stdout] --> src/run/genai_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::support::cred::get_or_prompt_api_key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_SERVICE` is never used [INFO] [stdout] --> src/support/cred.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const KEY_SERVICE: &str = "devai_secrets"; [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 `get_or_prompt_api_key` is never used [INFO] [stdout] --> src/support/cred.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_or_prompt_api_key(key_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_and_save_pwd` is never used [INFO] [stdout] --> src/support/cred.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_and_save_pwd(service: &str, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_and_save` is never used [INFO] [stdout] --> src/support/cred.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn prompt_and_save(entry: Entry, disp_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_terminal` is never used [INFO] [stdout] --> src/support/cred.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn clear_terminal() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/support/md/outer_block.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn outer_block_content_or_raw(content: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn outer_block_content_or_raw(content: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/support/text/text_common.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn ensure(s: &str, ensure_inst: EnsureOptions) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn ensure(s: &str, ensure_inst: EnsureOptions) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "ca230c138075737bec8c949de017e202882015e219978b7544f543ee833947e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca230c138075737bec8c949de017e202882015e219978b7544f543ee833947e1", kill_on_drop: false }` [INFO] [stdout] ca230c138075737bec8c949de017e202882015e219978b7544f543ee833947e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ba6ff68b695ecf3d1203c766ff3bd2890813f4b0d9b70ce955c575f658e34f3 [INFO] running `Command { std: "docker" "start" "-a" "1ba6ff68b695ecf3d1203c766ff3bd2890813f4b0d9b70ce955c575f658e34f3", kill_on_drop: false }` [INFO] [stderr] Compiling devai v0.5.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::support::cred::get_or_prompt_api_key` [INFO] [stdout] --> src/run/genai_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::support::cred::get_or_prompt_api_key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_SERVICE` is never used [INFO] [stdout] --> src/support/cred.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const KEY_SERVICE: &str = "devai_secrets"; [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 `get_or_prompt_api_key` is never used [INFO] [stdout] --> src/support/cred.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_or_prompt_api_key(key_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_and_save_pwd` is never used [INFO] [stdout] --> src/support/cred.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_and_save_pwd(service: &str, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_and_save` is never used [INFO] [stdout] --> src/support/cred.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn prompt_and_save(entry: Entry, disp_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_terminal` is never used [INFO] [stdout] --> src/support/cred.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn clear_terminal() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/support/md/outer_block.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn outer_block_content_or_raw(content: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn outer_block_content_or_raw(content: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/support/text/text_common.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn ensure(s: &str, ensure_inst: EnsureOptions) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn ensure(s: &str, ensure_inst: EnsureOptions) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.56s [INFO] running `Command { std: "docker" "inspect" "1ba6ff68b695ecf3d1203c766ff3bd2890813f4b0d9b70ce955c575f658e34f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba6ff68b695ecf3d1203c766ff3bd2890813f4b0d9b70ce955c575f658e34f3", kill_on_drop: false }` [INFO] [stdout] 1ba6ff68b695ecf3d1203c766ff3bd2890813f4b0d9b70ce955c575f658e34f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0c58e1c1972e15eb5c1539632b252806a837ce2da856b1869d88eb2086c6cbf [INFO] running `Command { std: "docker" "start" "-a" "e0c58e1c1972e15eb5c1539632b252806a837ce2da856b1869d88eb2086c6cbf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::support::cred::get_or_prompt_api_key` [INFO] [stderr] --> src/run/genai_client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::support::cred::get_or_prompt_api_key; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `KEY_SERVICE` is never used [INFO] [stderr] --> src/support/cred.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const KEY_SERVICE: &str = "devai_secrets"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_or_prompt_api_key` is never used [INFO] [stderr] --> src/support/cred.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_or_prompt_api_key(key_name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_and_save_pwd` is never used [INFO] [stderr] --> src/support/cred.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn get_and_save_pwd(service: &str, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `prompt_and_save` is never used [INFO] [stderr] --> src/support/cred.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | fn prompt_and_save(entry: Entry, disp_name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `clear_terminal` is never used [INFO] [stderr] --> src/support/cred.rs:88:4 [INFO] [stderr] | [INFO] [stderr] 88 | fn clear_terminal() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/support/md/outer_block.rs:13:44 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn outer_block_content_or_raw(content: &str) -> Cow { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | pub fn outer_block_content_or_raw(content: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/support/text/text_common.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn ensure(s: &str, ensure_inst: EnsureOptions) -> Cow { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | pub fn ensure(s: &str, ensure_inst: EnsureOptions) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `devai` (bin "devai" test) generated 8 warnings (run `cargo fix --bin "devai" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/devai-cf2dbb34efe7de40) [INFO] [stdout] [INFO] [stdout] running 121 tests [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_all_sections_ok ... ok [INFO] [stdout] test _test_support::asserts::tests::test_assert_contains ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_demo_ok ... ok [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_custom_and_validate_ctx ... FAILED [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_nested_full_name ... FAILED [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_legacy_config_ok ... ok [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_nested_main ... FAILED [INFO] [stdout] test hub::base::tests::test_hub ... ok [INFO] [stdout] test agent::agent_options::tests::test_options_lua_from ... ok [INFO] [stdout] test agent::agent_options::tests::test_options_current_with_aliases ... ok [INFO] [stdout] test agent::agent_options::tests::test_options_lua_into ... ok [INFO] [stdout] test agent::agent_options::tests::test_options_legacy_0_5_9 ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_options_ok ... ok [INFO] [stdout] test agent::agent_locator::tests::test_get_initials ... ok [INFO] [stdout] test run::dir_context::devai_dir::tests::test_devai_dir_simple ... ok [INFO] [stdout] test script::lua_script::lua_engine::tests::test_lua_engine_eval_require_ok ... FAILED [INFO] [stdout] test script::devai_custom::tests::test_devai_custom_before_all_inputs ... ok [INFO] [stdout] test script::lua_script::lua_engine::tests::test_lua_engine_eval_simple_ok ... ok [INFO] [stdout] test script::lua_script::utils_cmd::tests::test_lua_cmd_exec_echo_single_arg ... ok [INFO] [stdout] test script::lua_script::utils_cmd::tests::test_lua_cmd_exec_echo_multiple_args ... ok [INFO] [stdout] test script::lua_script::lua_engine::tests::test_lua_engine_eval_file_load_ok ... ok [INFO] [stdout] test run::run_command::tests_run_agent_llm::test_run_agent_llm_c_simple_ok ... FAILED [INFO] [stdout] test run::run_command::tests_run_agent_llm::test_run_agent_llm_full_chat_ok ... FAILED [INFO] [stdout] test run::run_command::tests_run_agent_llm::test_run_agent_llm_c_on_file_ok ... FAILED [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_direct_and_validate_ctx ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_before_all_simple ... ok [INFO] [stdout] test script::lua_script::utils_code::tests::test_code_comment_line_simple ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_skip_reason ... ok [INFO] [stdout] test script::lua_script::utils_devai::tests::test_lua_devai_before_all_response_simple ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_hello_ok ... ok [INFO] [stdout] test script::lua_script::utils_devai::tests::test_lua_devai_skip_with_reason ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_skip_simple ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_before_all_inputs_gen ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_before_all_inputs_reshape ... ok [INFO] [stdout] test run::literals::tests::test_run_literals_devai_dir ... ok [INFO] [stdout] test script::lua_script::utils_devai::tests::test_lua_devai_skip_without_reason ... ok [INFO] [stdout] test script::lua_script::utils_hbs::tests::test_lua_hbs_render_nested_table ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_load_simple_ok ... ok [INFO] [stdout] test script::lua_script::utils_hbs::tests::test_lua_hbs_render_simple ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_first_not_found ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_abs_with_wild ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_parse_simple ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_parse_invalid ... ok [INFO] [stdout] test script::lua_script::utils_cmd::tests::test_lua_cmd_exec_invalid_command_pcall ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_one_level ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_stringify_to_line ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_stringify_complex ... ok [INFO] [stdout] test script::lua_script::utils_lua::tests::test_lua_dump_ok ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_direct ... ok [INFO] [stdout] test script::lua_script::utils_file::file_md::tests::test_lua_file_load_md_split_first_ok ... ok [INFO] [stdout] test script::lua_script::utils_html::tests::test_lua_html_prune_to_content_ok ... ok [INFO] [stdout] test script::lua_script::utils_cmd::tests::test_lua_cmd_exec_invalid_command_direct ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_stringify_pretty ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_exists_false ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_extract_meta ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_extract_blocks_simple ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_exists_true ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_is_dir_false ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_join_os_normalized_lua_engine ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_join_os_non_normalized ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_is_file_false ... ok [INFO] [stdout] test script::lua_script::utils_file::file_md::tests::test_lua_file_load_md_sections_heading_1_top_ok ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_is_file_true ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_is_dir_true ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_join_default ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_deep ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_with_options_read ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_save_simple_ok ... FAILED [INFO] [stdout] test script::lua_script::utils_rust::tests::test_lua_rust_prune_to_declarations ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_split ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_outer_block_content_or_raw ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_extract_line_blocks_simple ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_extract_blocks_with_lang_and_extruded_content ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_join_os_normalized_reflective ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_extract_blocks_with_all_lang_and_extruded_content ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_first_glob_deep ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_parent ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_extract_line_blocks_with_first_no_extrude ... ok [INFO] [stdout] test support::code::rust::tests::test_rust_prune_to_declarations ... ok [INFO] [stdout] test support::hbs::tests::test_hbs_with_lua_ok ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_extract_line_blocks_with_first_extrude ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_ensure_simple ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_handles_empty_blocks ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_split_first_simple ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_match_empty_lang ... ok [INFO] [stdout] test support::html::tests::test_html_prune_to_content_ok ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_no_code_blocks ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_multiple_rust_blocks ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_no_matching_blocks ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_no_lang_specified ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_single_python_block ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_single_rust_block_simple ... ok [INFO] [stdout] test support::md::md_meta_extractor::tests::test_extract_md_blocks_and_content_simple ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_single_rust_block_extrude_content ... ok [INFO] [stdout] test support::md::md_meta_extractor::tests::test_meta_extrude_simple ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_level_0 ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_heading_1_root ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_heading_1_a ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_no_filter_with_md_01 ... ok [INFO] [stdout] test script::lua_script::utils_web::tests::test_lua_web_get_simple_ok ... FAILED [INFO] [stdout] test script::lua_script::utils_web::tests::test_lua_web_get_invalid_url ... ok [INFO] [stdout] test script::lua_script::utils_web::tests::test_lua_web_post_json_ok ... FAILED [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_no_filter_with_md_02 ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_adjacent_backticks ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_split_first_simple ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_multiple_code_blocks ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_no_backticks ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_only_closing_backticks ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_only_opening_backticks ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_simple ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_with_inner_backticks ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_with_language ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_with_whitespace ... ok [INFO] [stdout] test support::text::line_block_iter::tests::test_support_text_line_block_iter_collect_remains ... ok [INFO] [stdout] test support::text::line_block_iter::tests::test_support_text_line_block_iter_extrude_content_simple ... ok [INFO] [stdout] test support::text::line_block_iter::tests::test_support_text_line_block_iter_simple ... ok [INFO] [stdout] test support::text::text_common::tests::test_support_text_markers_no_closing ... ok [INFO] [stdout] test support::text::text_common::tests::test_support_text_replace_markers_simple ... ok [INFO] [stdout] test types::md_heading::tests::test_md_heading_simple_none ... ok [INFO] [stdout] test types::md_heading::tests::test_md_heading_simple_ok ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- agent::agent_locator::tests::test_find_command_agent_custom_and_validate_ctx stdout ---- [INFO] [stdout] Error: DirCantCreateAll(PathAndCause { path: "tests-data/sandbox-01/.devai/custom/agent", cause: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) }) [INFO] [stdout] [INFO] [stdout] ---- agent::agent_locator::tests::test_find_command_agent_nested_full_name stdout ---- [INFO] [stdout] Error: DirCantCreateAll(PathAndCause { path: "tests-data/sandbox-01/.devai/custom/agent/sub-dir/", cause: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) }) [INFO] [stdout] [INFO] [stdout] ---- agent::agent_locator::tests::test_find_command_agent_nested_main stdout ---- [INFO] [stdout] Error: DirCantCreateAll(PathAndCause { path: "tests-data/sandbox-01/.devai/custom/agent/mod-agent/", cause: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) }) [INFO] [stdout] [INFO] [stdout] ---- script::lua_script::lua_engine::tests::test_lua_engine_eval_require_ok stdout ---- [INFO] [stdout] Error: DirCantCreateAll(PathAndCause { path: "tests-data/sandbox-01/.devai/custom/lua", cause: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) }) [INFO] [stdout] [INFO] [stdout] ---- run::run_command::tests_run_agent_llm::test_run_agent_llm_c_simple_ok stdout ---- [INFO] [stdout] Error: GenAI(Resolver { model_iden: ModelIden { adapter_kind: OpenAI, model_name: ModelName("gpt-4o-mini") }, resolver_error: Custom("Environment variable 'OPENAI_API_KEY' make sure to set it for this terminal.") }) [INFO] [stdout] [INFO] [stdout] ---- run::run_command::tests_run_agent_llm::test_run_agent_llm_full_chat_ok stdout ---- [INFO] [stdout] Error: GenAI(Resolver { model_iden: ModelIden { adapter_kind: OpenAI, model_name: ModelName("gpt-4o-mini") }, resolver_error: Custom("Environment variable 'OPENAI_API_KEY' make sure to set it for this terminal.") }) [INFO] [stdout] [INFO] [stdout] ---- run::run_command::tests_run_agent_llm::test_run_agent_llm_c_on_file_ok stdout ---- [INFO] [stdout] Error: GenAI(Resolver { model_iden: ModelIden { adapter_kind: OpenAI, model_name: ModelName("gpt-4o-mini") }, resolver_error: Custom("Environment variable 'OPENAI_API_KEY' make sure to set it for this terminal.") }) [INFO] [stdout] [INFO] [stdout] ---- script::lua_script::utils_file::file_common::tests::test_lua_file_save_simple_ok stdout ---- [INFO] [stdout] Error: Lua("Lua error:\nDirCantCreateAll(PathAndCause { path: \"/opt/rustwide/workdir/tests-data/sandbox-01/./.tmp/test_file_save_simple_ok\", cause: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: \"Read-only file system\" }) })\nstack traceback:\n\t[C]: in field 'save'\n\tAt line 1 'return utils.file.save(\"./.tmp/test_file_save_simple_ok/agent-hello.devai\", \"hello from test_file_save_simple_ok\");' in main chunk\nOther lua error:\nDirCantCreateAll(PathAndCause { path: \"/opt/rustwide/workdir/tests-data/sandbox-01/./.tmp/test_file_save_simple_ok\", cause: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: \"Read-only file system\" }) })") [INFO] [stdout] [INFO] [stdout] ---- script::lua_script::utils_web::tests::test_lua_web_get_simple_ok stdout ---- [INFO] [stdout] Error: Lua("Lua error:\nLUA ERROR - Fail to do utils.web.get for url: https://phet-dev.colorado.edu/html/build-an-atom/0.0.0-3/simple-text-only-test-page.html\nCause: error sending request for url (https://phet-dev.colorado.edu/html/build-an-atom/0.0.0-3/simple-text-only-test-page.html)\nstack traceback:\n\t[C]: in field 'get'\n\tAt line 3 'return utils.web.get(url)' in main chunk\nOther lua error:\nLUA ERROR - Fail to do utils.web.get for url: https://phet-dev.colorado.edu/html/build-an-atom/0.0.0-3/simple-text-only-test-page.html\nCause: error sending request for url (https://phet-dev.colorado.edu/html/build-an-atom/0.0.0-3/simple-text-only-test-page.html)") [INFO] [stdout] [INFO] [stdout] ---- script::lua_script::utils_web::tests::test_lua_web_post_json_ok stdout ---- [INFO] [stdout] Error: Lua("Lua error:\nLUA ERROR - Fail to do utils.web.post for url: https://httpbin.org/post\nCause: error sending request for url (https://httpbin.org/post)\nstack traceback:\n\t[C]: in field 'post'\n\tAt line 3 'return utils.web.post(url, {some = \"stuff\"})' in main chunk\nOther lua error:\nLUA ERROR - Fail to do utils.web.post for url: https://httpbin.org/post\nCause: error sending request for url (https://httpbin.org/post)") [INFO] [stdout] [INFO] [stdout] ---- script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested' (79) panicked at src/script/lua_script/utils_file/file_common.rs:504:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "agent-hello-2.devai" [INFO] [stdout] right: "agent-hello-3.devai" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b23d8b577c2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b23d8b577c2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b23d8b577c2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b23d8b577c2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b23d8b6a97f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b23d8b6a97f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b23d8b21c91 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b23d8b21c91 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b23d8b2faa2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b23d8b34cff - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5b23d8b34b91 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5b23d801356e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5b23d801356e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b23d8b3546f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5b23d8b3546f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5b23d8b3521a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5b23d8b2fbe9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b23d8b14c2d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5b23d8b758a0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b23d8b756a3 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5b23d8296688 - core::panicking::assert_failed::h79c7ba368f843a40 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5b23d7f16d6e - devai::script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested::hc5f732402ca702eb [INFO] [stdout] at /opt/rustwide/workdir/src/script/lua_script/utils_file/file_common.rs:504:3 [INFO] [stdout] 22: 0x5b23d7f17127 - devai::script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested::{{closure}}::h21f172754d0c1137 [INFO] [stdout] at /opt/rustwide/workdir/src/script/lua_script/utils_file/file_common.rs:483:59 [INFO] [stdout] 23: 0x5b23d7f9dcd6 - core::ops::function::FnOnce::call_once::hca61eb60e7ad4bc2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5b23d801332b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5b23d801332b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5b23d8028e15 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5b23d8028e15 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5b23d8028e15 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5b23d8028e15 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5b23d8028e15 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b23d8028e15 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5b23d8028e15 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5b23d7fff784 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5b23d7fff784 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5b23d800312a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5b23d800312a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5b23d800312a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5b23d800312a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5b23d800312a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b23d800312a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5b23d800312a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5b23d8b2972f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5b23d8b2972f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7130e4146aa4 - [INFO] [stdout] 45: 0x7130e41d3a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] agent::agent_locator::tests::test_find_command_agent_custom_and_validate_ctx [INFO] [stdout] agent::agent_locator::tests::test_find_command_agent_nested_full_name [INFO] [stdout] agent::agent_locator::tests::test_find_command_agent_nested_main [INFO] [stdout] run::run_command::tests_run_agent_llm::test_run_agent_llm_c_on_file_ok [INFO] [stdout] run::run_command::tests_run_agent_llm::test_run_agent_llm_c_simple_ok [INFO] [stdout] run::run_command::tests_run_agent_llm::test_run_agent_llm_full_chat_ok [INFO] [stdout] script::lua_script::lua_engine::tests::test_lua_engine_eval_require_ok [INFO] [stdout] script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested [INFO] [stdout] script::lua_script::utils_file::file_common::tests::test_lua_file_save_simple_ok [INFO] [stdout] script::lua_script::utils_web::tests::test_lua_web_get_simple_ok [INFO] [stdout] script::lua_script::utils_web::tests::test_lua_web_post_json_ok [INFO] [stdout] [INFO] [stdout] test result: FAILED. 110 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin devai` [INFO] running `Command { std: "docker" "inspect" "e0c58e1c1972e15eb5c1539632b252806a837ce2da856b1869d88eb2086c6cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c58e1c1972e15eb5c1539632b252806a837ce2da856b1869d88eb2086c6cbf", kill_on_drop: false }` [INFO] [stdout] e0c58e1c1972e15eb5c1539632b252806a837ce2da856b1869d88eb2086c6cbf