[INFO] fetching crate devai 0.5.12... [INFO] testing devai-0.5.12 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate devai 0.5.12 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate devai 0.5.12 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdd2f38e3a98d195aee98057b47c166a20baef5f230f5a3cf11d4c8598d3fdc7 [INFO] running `Command { std: "docker" "start" "-a" "bdd2f38e3a98d195aee98057b47c166a20baef5f230f5a3cf11d4c8598d3fdc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdd2f38e3a98d195aee98057b47c166a20baef5f230f5a3cf11d4c8598d3fdc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd2f38e3a98d195aee98057b47c166a20baef5f230f5a3cf11d4c8598d3fdc7", kill_on_drop: false }` [INFO] [stdout] bdd2f38e3a98d195aee98057b47c166a20baef5f230f5a3cf11d4c8598d3fdc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af80caf0fe218bb9229832e62d0dc01699834299de38ac804ca4515b62b2d84a [INFO] running `Command { std: "docker" "start" "-a" "af80caf0fe218bb9229832e62d0dc01699834299de38ac804ca4515b62b2d84a", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling rustls v0.23.22 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling file-id v0.2.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling lua-src v547.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling notify-debouncer-full v0.5.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling flate2 v1.0.35 [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 time v0.3.37 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling which v7.0.2 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling luajit-src v210.5.12+a4f56a4 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling mlua-sys v0.6.7 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling keyring v3.6.1 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling crossterm v0.28.1 [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 zerofrom v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling simple-fs v0.5.0 [INFO] [stderr] Compiling strum_macros v0.27.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling zip v0.6.6 [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 pest_meta v2.7.15 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling devai v0.5.12 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling strum v0.27.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling hyper v1.6.0 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling url v2.5.4 [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 value-ext v0.1.2 [INFO] [stderr] Compiling handlebars v6.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling xml5ever v0.20.0 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling markup5ever_rcdom v0.5.0-unofficial [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling genai v0.1.22 [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/cli/args.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `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] [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 2m 15s [INFO] running `Command { std: "docker" "inspect" "af80caf0fe218bb9229832e62d0dc01699834299de38ac804ca4515b62b2d84a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af80caf0fe218bb9229832e62d0dc01699834299de38ac804ca4515b62b2d84a", kill_on_drop: false }` [INFO] [stdout] af80caf0fe218bb9229832e62d0dc01699834299de38ac804ca4515b62b2d84a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60a98b4c01989bf0bd8e97d4647e42fac9b22323fede7c3c621ce4f51093762d [INFO] running `Command { std: "docker" "start" "-a" "60a98b4c01989bf0bd8e97d4647e42fac9b22323fede7c3c621ce4f51093762d", kill_on_drop: false }` [INFO] [stderr] Compiling devai v0.5.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/cli/args.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `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] [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 13.91s [INFO] running `Command { std: "docker" "inspect" "60a98b4c01989bf0bd8e97d4647e42fac9b22323fede7c3c621ce4f51093762d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a98b4c01989bf0bd8e97d4647e42fac9b22323fede7c3c621ce4f51093762d", kill_on_drop: false }` [INFO] [stdout] 60a98b4c01989bf0bd8e97d4647e42fac9b22323fede7c3c621ce4f51093762d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2d16620e1a680b518113f4f6ced14ee6526fa8f7358f6032aba54ea0fb31974 [INFO] running `Command { std: "docker" "start" "-a" "f2d16620e1a680b518113f4f6ced14ee6526fa8f7358f6032aba54ea0fb31974", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `command` [INFO] [stderr] --> src/cli/args.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use clap::{command, Parser, Subcommand}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [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] 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 9 warnings (run `cargo fix --bin "devai" -p devai --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/devai-cf2dbb34efe7de40) [INFO] [stdout] [INFO] [stdout] running 121 tests [INFO] [stdout] test _test_support::asserts::tests::test_assert_contains ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_all_sections_ok ... ok [INFO] [stdout] test agent::agent_options::tests::test_options_lua_from ... ok [INFO] [stdout] test agent::agent_locator::tests::test_get_initials ... ok [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_nested_main ... FAILED [INFO] [stdout] test agent::agent_options::tests::test_options_current_with_aliases ... ok [INFO] [stdout] test agent::agent_options::tests::test_options_legacy_0_5_9 ... ok [INFO] [stdout] test agent::agent_options::tests::test_options_lua_into ... ok [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_custom_and_validate_ctx ... FAILED [INFO] [stdout] test run::dir_context::devai_dir::tests::test_devai_dir_simple ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_options_ok ... ok [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_demo_ok ... ok [INFO] [stdout] test run::literals::tests::test_run_literals_devai_dir ... ok [INFO] [stdout] test run::run_command::tests_run_agent_llm::test_run_agent_llm_c_on_file_ok ... FAILED [INFO] [stdout] test script::devai_custom::tests::test_devai_custom_before_all_inputs ... ok [INFO] [stdout] test hub::base::tests::test_hub ... 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_hello_ok ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_with_options_read ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_legacy_config_ok ... ok [INFO] [stdout] test script::lua_script::lua_engine::tests::test_lua_engine_eval_require_ok ... FAILED [INFO] [stdout] test script::lua_script::utils_devai::tests::test_lua_devai_before_all_response_simple ... ok [INFO] [stdout] test script::lua_script::utils_code::tests::test_code_comment_line_simple ... 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_reason ... ok [INFO] [stdout] test run::run_command::tests_run_agent_llm::test_run_agent_llm_c_simple_ok ... FAILED [INFO] [stdout] test script::lua_script::lua_engine::tests::test_lua_engine_eval_file_load_ok ... 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_file::file_common::tests::test_lua_file_first_not_found ... ok [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_script::test_run_agent_script_before_all_inputs_reshape ... ok [INFO] [stdout] test script::lua_script::utils_devai::tests::test_lua_devai_skip_without_reason ... ok [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_direct_and_validate_ctx ... ok [INFO] [stdout] test script::lua_script::utils_cmd::tests::test_lua_cmd_exec_echo_multiple_args ... 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_list_glob_abs_with_wild ... ok [INFO] [stdout] test script::lua_script::utils_hbs::tests::test_lua_hbs_render_simple ... 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_json::tests::test_lua_json_parse_simple ... 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_complex ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_stringify_pretty ... 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_json::tests::test_lua_json_stringify_to_line ... ok [INFO] [stdout] test script::lua_script::utils_lua::tests::test_lua_dump_ok ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_before_all_inputs_gen ... 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_common::tests::test_lua_file_load_simple_ok ... 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_save_simple_ok ... FAILED [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_parse_invalid ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_extract_blocks_simple ... 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_list_glob_with_base_dir_one_level ... 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_default ... 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_path::tests::test_lua_path_split ... 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_parent ... 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_join_os_normalized_lua_engine ... 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_text::tests::test_lua_text_extract_line_blocks_with_first_extrude ... 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_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_before_all_simple ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_exists_true ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_split_first_simple ... 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_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_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_md::tests::test_lua_md_outer_block_content_or_raw ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_ensure_simple ... 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_text::tests::test_lua_text_extract_line_blocks_simple ... ok [INFO] [stdout] test script::lua_script::utils_rust::tests::test_lua_rust_prune_to_declarations ... ok [INFO] [stdout] test support::code::rust::tests::test_rust_prune_to_declarations ... ok [INFO] [stdout] test support::html::tests::test_html_prune_to_content_ok ... 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_no_extrude ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_handles_empty_blocks ... 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_multiple_rust_blocks ... 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_block_iter::tests::test_md_block_iter_match_empty_lang ... 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_a ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_heading_1_root ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_adjacent_backticks ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_multiple_code_blocks ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_no_filter_with_md_01 ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_no_filter_with_md_02 ... ok [INFO] [stdout] test support::md::md_section_iter::tests::test_md_section_iter_split_first_simple ... 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_no_lang_specified ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_single_rust_block_extrude_content ... ok [INFO] [stdout] test script::lua_script::utils_web::tests::test_lua_web_post_json_ok ... FAILED [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_simple ... 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_with_inner_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_with_whitespace ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_with_language ... ok [INFO] [stdout] test support::text::line_block_iter::tests::test_support_text_line_block_iter_collect_remains ... ok [INFO] [stdout] test support::md::md_meta_extractor::tests::test_meta_extrude_simple ... 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::text_common::tests::test_support_text_markers_no_closing ... ok [INFO] [stdout] test types::md_heading::tests::test_md_heading_simple_ok ... ok [INFO] [stdout] test support::text::text_common::tests::test_support_text_replace_markers_simple ... ok [INFO] [stdout] test support::text::line_block_iter::tests::test_support_text_line_block_iter_simple ... ok [INFO] [stdout] test support::md::md_block_iter::tests::test_md_block_iter_no_matching_blocks ... ok [INFO] [stdout] test support::md::md_meta_extractor::tests::test_extract_md_blocks_and_content_simple ... ok [INFO] [stdout] test types::md_heading::tests::test_md_heading_simple_none ... 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_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] ---- 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] ---- 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::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] ---- 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: 0x61882039fd32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61882039fd32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61882039fd32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61882039fd32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6188203b2d4f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6188203b2d4f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x61882036a3a3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61882036a3a3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6188203783d2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61882037d61f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61882037d4b1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61881f89f97e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x61881f89f97e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61882037dcdf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x61882037dcdf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61882037da8a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x618820378509 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61882035dc8d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6188203bdc20 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6188203bda23 - core::panicking::assert_failed_inner::hbdde3a71af798a31 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x61881fb13c38 - core::panicking::assert_failed::h3e91ff5301563c27 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x61881f80f1ee - devai::script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested::hd073a794529b65ef [INFO] [stdout] at /opt/rustwide/workdir/src/script/lua_script/utils_file/file_common.rs:504:3 [INFO] [stdout] 22: 0x61881f80f5a7 - devai::script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested::{{closure}}::hf63261a3cf0926c6 [INFO] [stdout] at /opt/rustwide/workdir/src/script/lua_script/utils_file/file_common.rs:483:59 [INFO] [stdout] 23: 0x61881f77f486 - core::ops::function::FnOnce::call_once::ha8eeb7e340817301 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61881f89f7cb - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61881f89f7cb - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61881f8b37dd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61881f8b37dd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61881f8b37dd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61881f8b37dd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61881f8b37dd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61881f8b37dd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61881f8b37dd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61881f88cd24 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61881f88cd24 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61881f89065a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x61881f89065a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61881f89065a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61881f89065a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61881f89065a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61881f89065a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x61881f89065a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61882037375f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x61882037375f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7f470e4a9aa4 - [INFO] [stdout] 45: 0x7f470e536a64 - 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.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin devai` [INFO] running `Command { std: "docker" "inspect" "f2d16620e1a680b518113f4f6ced14ee6526fa8f7358f6032aba54ea0fb31974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d16620e1a680b518113f4f6ced14ee6526fa8f7358f6032aba54ea0fb31974", kill_on_drop: false }` [INFO] [stdout] f2d16620e1a680b518113f4f6ced14ee6526fa8f7358f6032aba54ea0fb31974