[INFO] fetching crate devai 0.5.12... [INFO] testing devai-0.5.12 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate devai 0.5.12 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate devai 0.5.12 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.27.0 [INFO] [stderr] Downloaded simple-fs v0.5.0 [INFO] [stderr] Downloaded match_token v0.1.0 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Downloaded value-ext v0.1.2 [INFO] [stderr] Downloaded strum_macros v0.27.0 [INFO] [stderr] Downloaded lazy-regex v3.4.1 [INFO] [stderr] Downloaded logos-derive v0.15.0 [INFO] [stderr] Downloaded string_cache_codegen v0.5.3 [INFO] [stderr] Downloaded markup5ever v0.14.1 [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded mlua-sys v0.6.7 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded genai v0.1.22 [INFO] [stderr] Downloaded handlebars v6.3.1 [INFO] [stderr] Downloaded keyring v3.6.1 [INFO] [stderr] Downloaded html5ever v0.29.1 [INFO] [stderr] Downloaded clap_builder v4.5.27 [INFO] [stderr] Downloaded logos-codegen v0.15.0 [INFO] [stderr] Downloaded mlua v0.10.3 [INFO] [stderr] Downloaded xml5ever v0.20.0 [INFO] [stderr] Downloaded markup5ever_rcdom v0.5.0-unofficial [INFO] [stderr] Downloaded bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Downloaded lua-src v547.0.0 [INFO] [stderr] Downloaded luajit-src v210.5.12+a4f56a4 [INFO] [stderr] Downloaded logos v0.15.0 [INFO] [stderr] Downloaded notify v8.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adf58380868e3b22141810d9bb924039914d7f021b71187c5d28915d3bc923e5 [INFO] running `Command { std: "docker" "start" "-a" "adf58380868e3b22141810d9bb924039914d7f021b71187c5d28915d3bc923e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adf58380868e3b22141810d9bb924039914d7f021b71187c5d28915d3bc923e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf58380868e3b22141810d9bb924039914d7f021b71187c5d28915d3bc923e5", kill_on_drop: false }` [INFO] [stdout] adf58380868e3b22141810d9bb924039914d7f021b71187c5d28915d3bc923e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cc7585fea819dbf4170a39c0cf082c1e5c66d1b047839fa2efa10840f400426 [INFO] running `Command { std: "docker" "start" "-a" "8cc7585fea819dbf4170a39c0cf082c1e5c66d1b047839fa2efa10840f400426", 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 semver v1.0.25 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls v0.23.22 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling file-id v0.2.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling lua-src v547.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling notify-debouncer-full v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling http-body v1.0.1 [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 ordered-float v2.10.1 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling which v7.0.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling luajit-src v210.5.12+a4f56a4 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling mlua-sys v0.6.7 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling html-escape v0.2.13 [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 crossterm v0.28.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling regex v1.11.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 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 lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling strum_macros v0.27.0 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling darling v0.20.10 [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 simple-fs v0.5.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling strum v0.27.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling devai v0.5.12 (/opt/rustwide/workdir) [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 erased-serde v0.4.5 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling mlua v0.10.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling xml5ever v0.20.0 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling value-ext v0.1.2 [INFO] [stderr] Compiling handlebars v6.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling markup5ever_rcdom v0.5.0-unofficial [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling toml v0.8.20 [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 1m 51s [INFO] running `Command { std: "docker" "inspect" "8cc7585fea819dbf4170a39c0cf082c1e5c66d1b047839fa2efa10840f400426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc7585fea819dbf4170a39c0cf082c1e5c66d1b047839fa2efa10840f400426", kill_on_drop: false }` [INFO] [stdout] 8cc7585fea819dbf4170a39c0cf082c1e5c66d1b047839fa2efa10840f400426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbaf3f85a21c4a05bfadb41fe70aac383442d6161157fa291a730469bd113c37 [INFO] running `Command { std: "docker" "start" "-a" "cbaf3f85a21c4a05bfadb41fe70aac383442d6161157fa291a730469bd113c37", 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 14.16s [INFO] running `Command { std: "docker" "inspect" "cbaf3f85a21c4a05bfadb41fe70aac383442d6161157fa291a730469bd113c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbaf3f85a21c4a05bfadb41fe70aac383442d6161157fa291a730469bd113c37", kill_on_drop: false }` [INFO] [stdout] cbaf3f85a21c4a05bfadb41fe70aac383442d6161157fa291a730469bd113c37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f814d6280c98c53ffe73007f5b1ead7c844d9fba1dce5422b2db10e42003d39 [INFO] running `Command { std: "docker" "start" "-a" "7f814d6280c98c53ffe73007f5b1ead7c844d9fba1dce5422b2db10e42003d39", 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.45s [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_locator::tests::test_find_command_agent_nested_main ... FAILED [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_all_sections_ok ... ok [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_nested_full_name ... FAILED [INFO] [stdout] test agent::agent_options::tests::test_options_legacy_0_5_9 ... ok [INFO] [stdout] test agent::agent_locator::tests::test_find_command_agent_direct_and_validate_ctx ... ok [INFO] [stdout] test agent::agent_locator::tests::test_get_initials ... 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_lua_from ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_legacy_config_ok ... ok [INFO] [stdout] test run::dir_context::devai_dir::tests::test_devai_dir_simple ... ok [INFO] [stdout] test hub::base::tests::test_hub ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_demo_ok ... ok [INFO] [stdout] test script::lua_script::lua_engine::tests::test_lua_engine_eval_require_ok ... FAILED [INFO] [stdout] test script::lua_script::lua_engine::tests::test_lua_engine_eval_simple_ok ... 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 run::run_command::tests_run_agent_script::test_run_agent_script_hello_ok ... ok [INFO] [stdout] test run::literals::tests::test_run_literals_devai_dir ... ok [INFO] [stdout] test script::devai_custom::tests::test_devai_custom_before_all_inputs ... ok [INFO] [stdout] test agent::agent_doc::tests::test_agent_doc_options_ok ... 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_cmd::tests::test_lua_cmd_exec_invalid_command_direct ... 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_script::test_run_agent_script_before_all_inputs_gen ... ok [INFO] [stdout] test run::run_command::tests_run_agent_llm::test_run_agent_llm_c_on_file_ok ... FAILED [INFO] [stdout] test script::lua_script::utils_devai::tests::test_lua_devai_skip_with_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_llm::test_run_agent_llm_full_chat_ok ... FAILED [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_without_reason ... 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_cmd::tests::test_lua_cmd_exec_echo_multiple_args ... ok [INFO] [stdout] test script::lua_script::utils_cmd::tests::test_lua_cmd_exec_echo_single_arg ... ok [INFO] [stdout] test run::run_command::tests_run_agent_script::test_run_agent_script_skip_simple ... ok [INFO] [stdout] test script::lua_script::utils_hbs::tests::test_lua_hbs_render_nested_table ... ok [INFO] [stdout] test script::lua_script::utils_hbs::tests::test_lua_hbs_render_simple ... 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_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_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_list_glob_abs_with_wild ... 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_file::file_common::tests::test_lua_file_save_simple_ok ... FAILED [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_file::file_common::tests::test_lua_file_load_simple_ok ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_deep ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_parse_invalid ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_stringify_pretty ... 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 run::run_command::tests_run_agent_script::test_run_agent_script_before_all_inputs_reshape ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_extract_meta ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_exists_false ... 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_exists_true ... ok [INFO] [stdout] test script::lua_script::utils_path::tests::test_lua_path_is_file_true ... ok [INFO] [stdout] test script::lua_script::utils_json::tests::test_lua_json_stringify_to_line ... 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_path::tests::test_lua_path_is_file_false ... 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_file::file_common::tests::test_lua_file_list_glob_with_base_dir_one_level ... 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_reflective ... 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_split ... ok [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_join_os_normalized_lua_engine ... 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_md::tests::test_lua_md_extract_blocks_with_all_lang_and_extruded_content ... ok [INFO] [stdout] test script::lua_script::utils_text::tests::test_lua_text_split_first_simple ... 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_text::tests::test_lua_text_extract_line_blocks_with_first_extrude ... 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::hbs::tests::test_hbs_with_lua_ok ... ok [INFO] [stdout] test script::lua_script::utils_file::file_common::tests::test_lua_file_first_glob_deep ... 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_ensure_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_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_no_matching_blocks ... ok [INFO] [stdout] test script::lua_script::utils_md::tests::test_lua_md_extract_blocks_simple ... ok [INFO] [stdout] test support::code::rust::tests::test_rust_prune_to_declarations ... 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_extrude_content ... 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_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::md_section_iter::tests::test_md_section_iter_level_0 ... 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_meta_extractor::tests::test_meta_extrude_simple ... 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_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 script::lua_script::utils_md::tests::test_lua_md_extract_blocks_with_lang_and_extruded_content ... ok [INFO] [stdout] test support::md::outer_block::tests::test_md_outer_block_content_only_closing_backticks ... 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::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_language ... 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_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_simple ... 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_post_json_ok ... FAILED [INFO] [stdout] test support::text::line_block_iter::tests::test_support_text_line_block_iter_extrude_content_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 support::text::text_common::tests::test_support_text_replace_markers_simple ... ok [INFO] [stdout] test support::text::text_common::tests::test_support_text_markers_no_closing ... 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_multiple_rust_blocks ... ok [INFO] [stdout] test script::lua_script::utils_web::tests::test_lua_web_get_invalid_url ... 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] test agent::agent_locator::tests::test_find_command_agent_custom_and_validate_ctx ... 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_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] ---- 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_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] ---- 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' (80) 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: 0x5bf667b120e2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5bf667b120e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5bf667b120e2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bf667b120e2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bf667b250ff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5bf667b250ff - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5bf667adc9b3 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5bf667adc9b3 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5bf667aea782 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5bf667aef9cf - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5bf667aef861 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5bf6670131fe - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5bf6670131fe - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5bf667af008f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5bf667af008f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5bf667aefe3a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5bf667aea8c9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5bf667ad003d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5bf667b2ffd0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5bf667b2fdd3 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x5bf6672882e9 - core::panicking::assert_failed::h23b6465db4c81765 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x5bf666da69ce - devai::script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested::h9005443ed7194999 [INFO] [stdout] at /opt/rustwide/workdir/src/script/lua_script/utils_file/file_common.rs:504:3 [INFO] [stdout] 22: 0x5bf666da6d87 - devai::script::lua_script::utils_file::file_common::tests::test_lua_file_list_glob_with_base_dir_all_nested::{{closure}}::h995ffc57426e746a [INFO] [stdout] at /opt/rustwide/workdir/src/script/lua_script/utils_file/file_common.rs:483:59 [INFO] [stdout] 23: 0x5bf666e9b936 - core::ops::function::FnOnce::call_once::h2f98e723d9a5fcd5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5bf66701306b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5bf66701306b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5bf66702705d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5bf66702705d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5bf66702705d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5bf66702705d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5bf66702705d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5bf66702705d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5bf66702705d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5bf6670005a4 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5bf6670005a4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5bf667003dfa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5bf667003dfa - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5bf667003dfa - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5bf667003dfa - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5bf667003dfa - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5bf667003dfa - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5bf667003dfa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5bf667ae5b0f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5bf667ae5b0f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7317e86feaa4 - [INFO] [stdout] 45: 0x7317e878ba64 - clone [INFO] [stdout] 46: 0x0 - [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] [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.25s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin devai` [INFO] running `Command { std: "docker" "inspect" "7f814d6280c98c53ffe73007f5b1ead7c844d9fba1dce5422b2db10e42003d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f814d6280c98c53ffe73007f5b1ead7c844d9fba1dce5422b2db10e42003d39", kill_on_drop: false }` [INFO] [stdout] 7f814d6280c98c53ffe73007f5b1ead7c844d9fba1dce5422b2db10e42003d39