[INFO] fetching crate rhine 0.1.8... [INFO] testing rhine-0.1.8 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rhine 0.1.8 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rhine 0.1.8 [INFO] finished tweaking crates.io crate rhine 0.1.8 [INFO] tweaked toml for crates.io crate rhine 0.1.8 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rhine 0.1.8 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rhine 0.1.8 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 102e944e01d665761085e6f5573fb9f1f573122abc7e6e2f151a85ee149f37c6 [INFO] running `Command { std: "docker" "start" "-a" "102e944e01d665761085e6f5573fb9f1f573122abc7e6e2f151a85ee149f37c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "102e944e01d665761085e6f5573fb9f1f573122abc7e6e2f151a85ee149f37c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "102e944e01d665761085e6f5573fb9f1f573122abc7e6e2f151a85ee149f37c6", kill_on_drop: false }` [INFO] [stdout] 102e944e01d665761085e6f5573fb9f1f573122abc7e6e2f151a85ee149f37c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99aff38b070ccde8a4db1adf8a1a0c6ec5fed6d2b20d16fb966da0e6da61439a [INFO] running `Command { std: "docker" "start" "-a" "99aff38b070ccde8a4db1adf8a1a0c6ec5fed6d2b20d16fb966da0e6da61439a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tz-rs v0.6.14 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling error-stack v0.5.0 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling dashmap v7.0.0-rc2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling clia-local-offset v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling rhine-schema-derive v0.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling clia-tracing-appender v0.2.5 [INFO] [stderr] Compiling clia-tracing-config v0.2.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rhine v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/chat/chat_base.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::info; [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: `serde_json::json` [INFO] [stdout] --> src/chat/chat_multi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/chat/chat_multi.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::prompt::test_prompt` [INFO] [stdout] --> src/tests/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::prompt::test_prompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::chat::test_chat` [INFO] [stdout] --> src/tests/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tests::chat::test_chat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tool_use/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `prompt::model::Prompt::character_unchecked`: 请使用返回Result的character函数代替 [INFO] [stdout] --> src/prompt/model.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | self.character_unchecked("assistant") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `prompt::model::Prompts::init_unchecked`: 请使用返回Result的init函数代替 [INFO] [stdout] --> src/prompt/mod.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | pub static PROMPTS: Lazy = Lazy::new(Prompts::init_unchecked); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/tool_use/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let env = ENV_POOL.get(key).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_test_block` is never used [INFO] [stdout] --> src/tests/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn format_test_block(title: &str, content_fn: F) [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 `test_prompt` is never used [INFO] [stdout] --> src/tests/prompt.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn test_prompt() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_json_schema` is never used [INFO] [stdout] --> src/tests/prompt.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn test_json_schema() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tool_schema` is never used [INFO] [stdout] --> src/tests/prompt.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn test_tool_schema() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tool_registry` is never used [INFO] [stdout] --> src/tests/prompt.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | async fn test_tool_registry() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assemble_output_discription` is never used [INFO] [stdout] --> src/tests/prompt.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | async fn test_assemble_output_discription() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assemble_tools_prompt` is never used [INFO] [stdout] --> src/tests/prompt.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | async fn test_assemble_tools_prompt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StudentInfo` is never constructed [INFO] [stdout] --> src/tests/prompt.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct StudentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chat` is never used [INFO] [stdout] --> src/tests/chat.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn test_chat() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat` is never used [INFO] [stdout] --> src/tests/chat.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | async fn test_single_chat() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat_get_json` is never used [INFO] [stdout] --> src/tests/chat.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn test_single_chat_get_json() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat_get_tool` is never used [INFO] [stdout] --> src/tests/chat.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | async fn test_single_chat_get_tool() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StudentInfo` is never constructed [INFO] [stdout] --> src/tests/chat.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct StudentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Environment` is never constructed [INFO] [stdout] --> src/tool_use/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_env` is never used [INFO] [stdout] --> src/tool_use/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add_env(key: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_env` is never used [INFO] [stdout] --> src/tool_use/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn remove_env(key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ENV_POOL` is never used [INFO] [stdout] --> src/tool_use/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub static ENV_POOL: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tests/chat.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "99aff38b070ccde8a4db1adf8a1a0c6ec5fed6d2b20d16fb966da0e6da61439a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99aff38b070ccde8a4db1adf8a1a0c6ec5fed6d2b20d16fb966da0e6da61439a", kill_on_drop: false }` [INFO] [stdout] 99aff38b070ccde8a4db1adf8a1a0c6ec5fed6d2b20d16fb966da0e6da61439a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79a79d7de635f37c5a48eff2bb61883ffb20b078020a88c478f4e124c82fb598 [INFO] running `Command { std: "docker" "start" "-a" "79a79d7de635f37c5a48eff2bb61883ffb20b078020a88c478f4e124c82fb598", kill_on_drop: false }` [INFO] [stderr] Compiling rhine v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/chat/chat_base.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::info; [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: `serde_json::json` [INFO] [stdout] --> src/chat/chat_multi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/chat/chat_multi.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::prompt::test_prompt` [INFO] [stdout] --> src/tests/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::prompt::test_prompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::chat::test_chat` [INFO] [stdout] --> src/tests/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tests::chat::test_chat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tool_use/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `prompt::model::Prompt::character_unchecked`: 请使用返回Result的character函数代替 [INFO] [stdout] --> src/prompt/model.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | self.character_unchecked("assistant") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `prompt::model::Prompts::init_unchecked`: 请使用返回Result的init函数代替 [INFO] [stdout] --> src/prompt/mod.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | pub static PROMPTS: Lazy = Lazy::new(Prompts::init_unchecked); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/tool_use/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let env = ENV_POOL.get(key).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_test_block` is never used [INFO] [stdout] --> src/tests/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn format_test_block(title: &str, content_fn: F) [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 `test_prompt` is never used [INFO] [stdout] --> src/tests/prompt.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn test_prompt() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_json_schema` is never used [INFO] [stdout] --> src/tests/prompt.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn test_json_schema() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tool_schema` is never used [INFO] [stdout] --> src/tests/prompt.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn test_tool_schema() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tool_registry` is never used [INFO] [stdout] --> src/tests/prompt.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | async fn test_tool_registry() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assemble_output_discription` is never used [INFO] [stdout] --> src/tests/prompt.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | async fn test_assemble_output_discription() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assemble_tools_prompt` is never used [INFO] [stdout] --> src/tests/prompt.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | async fn test_assemble_tools_prompt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StudentInfo` is never constructed [INFO] [stdout] --> src/tests/prompt.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct StudentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chat` is never used [INFO] [stdout] --> src/tests/chat.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn test_chat() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat` is never used [INFO] [stdout] --> src/tests/chat.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | async fn test_single_chat() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat_get_json` is never used [INFO] [stdout] --> src/tests/chat.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn test_single_chat_get_json() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat_get_tool` is never used [INFO] [stdout] --> src/tests/chat.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | async fn test_single_chat_get_tool() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StudentInfo` is never constructed [INFO] [stdout] --> src/tests/chat.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct StudentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Environment` is never constructed [INFO] [stdout] --> src/tool_use/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_env` is never used [INFO] [stdout] --> src/tool_use/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add_env(key: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_env` is never used [INFO] [stdout] --> src/tool_use/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn remove_env(key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ENV_POOL` is never used [INFO] [stdout] --> src/tool_use/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub static ENV_POOL: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tests/chat.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/chat/chat_base.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::info; [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: `serde_json::json` [INFO] [stdout] --> src/chat/chat_multi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/chat/chat_multi.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tests::prompt::test_prompt` [INFO] [stdout] --> src/tests/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tests::prompt::test_prompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tool_use/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `prompt::model::Prompt::character_unchecked`: 请使用返回Result的character函数代替 [INFO] [stdout] --> src/prompt/model.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | self.character_unchecked("assistant") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `prompt::model::Prompts::init_unchecked`: 请使用返回Result的init函数代替 [INFO] [stdout] --> src/prompt/mod.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | pub static PROMPTS: Lazy = Lazy::new(Prompts::init_unchecked); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/tool_use/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let env = ENV_POOL.get(key).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_prompt` is never used [INFO] [stdout] --> src/tests/prompt.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn test_prompt() { [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 `test_json_schema` is never used [INFO] [stdout] --> src/tests/prompt.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn test_json_schema() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tool_schema` is never used [INFO] [stdout] --> src/tests/prompt.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn test_tool_schema() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tool_registry` is never used [INFO] [stdout] --> src/tests/prompt.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | async fn test_tool_registry() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assemble_output_discription` is never used [INFO] [stdout] --> src/tests/prompt.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | async fn test_assemble_output_discription() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assemble_tools_prompt` is never used [INFO] [stdout] --> src/tests/prompt.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | async fn test_assemble_tools_prompt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StudentInfo` is never constructed [INFO] [stdout] --> src/tests/prompt.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct StudentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat_get_json` is never used [INFO] [stdout] --> src/tests/chat.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn test_single_chat_get_json() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_single_chat_get_tool` is never used [INFO] [stdout] --> src/tests/chat.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | async fn test_single_chat_get_tool() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StudentInfo` is never constructed [INFO] [stdout] --> src/tests/chat.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct StudentInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Environment` is never constructed [INFO] [stdout] --> src/tool_use/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_env` is never used [INFO] [stdout] --> src/tool_use/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add_env(key: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_env` is never used [INFO] [stdout] --> src/tool_use/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn remove_env(key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ENV_POOL` is never used [INFO] [stdout] --> src/tool_use/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub static ENV_POOL: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tests/chat.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "79a79d7de635f37c5a48eff2bb61883ffb20b078020a88c478f4e124c82fb598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a79d7de635f37c5a48eff2bb61883ffb20b078020a88c478f4e124c82fb598", kill_on_drop: false }` [INFO] [stdout] 79a79d7de635f37c5a48eff2bb61883ffb20b078020a88c478f4e124c82fb598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5fe98e0a421f9c3e0e85bd8b57ee7453155d9927a28361b26b22fa03a15b92ec [INFO] running `Command { std: "docker" "start" "-a" "5fe98e0a421f9c3e0e85bd8b57ee7453155d9927a28361b26b22fa03a15b92ec", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> src/chat/chat_base.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/chat/chat_multi.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `thiserror::Error` [INFO] [stderr] --> src/chat/chat_multi.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use thiserror::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::tests::prompt::test_prompt` [INFO] [stderr] --> src/tests/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::tests::prompt::test_prompt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | mod tests; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::tests::chat::test_chat` [INFO] [stderr] --> src/tests/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::tests::chat::test_chat; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | mod tests; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/tool_use/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `prompt::model::Prompt::character_unchecked`: 请使用返回Result的character函数代替 [INFO] [stderr] --> src/prompt/model.rs:352:14 [INFO] [stderr] | [INFO] [stderr] 352 | self.character_unchecked("assistant") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `prompt::model::Prompts::init_unchecked`: 请使用返回Result的init函数代替 [INFO] [stderr] --> src/prompt/mod.rs:8:56 [INFO] [stderr] | [INFO] [stderr] 8 | pub static PROMPTS: Lazy = Lazy::new(Prompts::init_unchecked); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/tool_use/mod.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let env = ENV_POOL.get(key).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `format_test_block` is never used [INFO] [stderr] --> src/tests/mod.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn format_test_block(title: &str, content_fn: F) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_prompt` is never used [INFO] [stderr] --> src/tests/prompt.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn test_prompt() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_json_schema` is never used [INFO] [stderr] --> src/tests/prompt.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | async fn test_json_schema() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_tool_schema` is never used [INFO] [stderr] --> src/tests/prompt.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | async fn test_tool_schema() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_tool_registry` is never used [INFO] [stderr] --> src/tests/prompt.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | async fn test_tool_registry() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_assemble_output_discription` is never used [INFO] [stderr] --> src/tests/prompt.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | async fn test_assemble_output_discription() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_assemble_tools_prompt` is never used [INFO] [stderr] --> src/tests/prompt.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | async fn test_assemble_tools_prompt() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StudentInfo` is never constructed [INFO] [stderr] --> src/tests/prompt.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct StudentInfo { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_chat` is never used [INFO] [stderr] --> src/tests/chat.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn test_chat() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_single_chat` is never used [INFO] [stderr] --> src/tests/chat.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | async fn test_single_chat() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_single_chat_get_json` is never used [INFO] [stderr] --> src/tests/chat.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | async fn test_single_chat_get_json() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_single_chat_get_tool` is never used [INFO] [stderr] --> src/tests/chat.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | async fn test_single_chat_get_tool() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StudentInfo` is never constructed [INFO] [stderr] --> src/tests/chat.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | pub struct StudentInfo { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Environment` is never constructed [INFO] [stderr] --> src/tool_use/mod.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Environment { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_env` is never used [INFO] [stderr] --> src/tool_use/mod.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn add_env(key: &str) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_env` is never used [INFO] [stderr] --> src/tool_use/mod.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn remove_env(key: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `ENV_POOL` is never used [INFO] [stderr] --> src/tool_use/mod.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub static ENV_POOL: Lazy> = Lazy::new(|| DashMap::new()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/tests/chat.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 84 | let _ = chat.set_tools(vec![send_email_tool_schema()]); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::tests::prompt::test_prompt` [INFO] [stderr] --> src/tests/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::tests::prompt::test_prompt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_prompt` is never used [INFO] [stderr] --> src/tests/prompt.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn test_prompt() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rhine` (lib) generated 27 warnings (run `cargo fix --lib -p rhine` to apply 7 suggestions) [INFO] [stderr] warning: `rhine` (lib test) generated 23 warnings (21 duplicates) (run `cargo fix --lib -p rhine --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rhine-e43f0dadeff892ff) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test' (17) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clia-tracing-appender-0.2.5/src/rolling.rs:155:14: [INFO] [stdout] initializing rolling file appender failed: InitError { context: "failed to create log directory", source: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61d6f45477aa - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61d6f45477aa - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61d6f45477aa - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x61d6f45477aa - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x61d6f455edfa - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x61d6f455edfa - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x61d6f454cd72 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61d6f454cd72 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x61d6f4523c2f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x61d6f4523c2f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x61d6f453ee39 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x61d6f3f1b78c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x61d6f3f1b78c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61d6f453f0b2 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x61d6f453f0b2 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x61d6f4523ce8 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x61d6f451ad59 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x61d6f4524d6d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x61d6f455f66c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x61d6f455f3b2 - core[6aaeda2c7ad07a48]::result::unwrap_failed [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x61d6f3da119c - >::expect [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x61d6f3dff300 - ::new:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clia-tracing-appender-0.2.5/src/rolling.rs:155:14 [INFO] [stdout] 22: 0x61d6f3e01834 - clia_tracing_appender[855568ee0c1e3a5a]::rolling::daily:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clia-tracing-appender-0.2.5/src/rolling.rs:375:5 [INFO] [stdout] 23: 0x61d6f3da1678 - ::init [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clia-tracing-config-0.2.7/src/lib.rs:161:17 [INFO] [stdout] 24: 0x61d6f3d9a610 - rhine[4c747bb3c70455a0]::tests::test::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:19:10 [INFO] [stdout] 25: 0x61d6f3d88402 - > as core[6aaeda2c7ad07a48]::future::future::Future>::poll [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 26: 0x61d6f3d8847d - >> as core[6aaeda2c7ad07a48]::future::future::Future>::poll [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 27: 0x61d6f3d66c9d - ::block_on::>>>::{closure#0}::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 28: 0x61d6f3d66b9b - tokio[c20cce88f9fbaf1c]::task::coop::with_budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 29: 0x61d6f3d66b9b - tokio[c20cce88f9fbaf1c]::task::coop::budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 30: 0x61d6f3d66b9b - ::block_on::>>>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 31: 0x61d6f3d60a40 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 32: 0x61d6f3d65c1d - ::block_on::>>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 33: 0x61d6f3d64f14 - ::enter::<::block_on>>>::{closure#0}, core[6aaeda2c7ad07a48]::option::Option<()>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 34: 0x61d6f3d7269b - >::set::<::enter<::block_on>>>::{closure#0}, core[6aaeda2c7ad07a48]::option::Option<()>>::{closure#0}, (alloc[28d2dab30c1dc666]::boxed::Box, core[6aaeda2c7ad07a48]::option::Option<()>)> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 35: 0x61d6f3d99a29 - tokio[c20cce88f9fbaf1c]::runtime::context::set_scheduler::<(alloc[28d2dab30c1dc666]::boxed::Box, core[6aaeda2c7ad07a48]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[6aaeda2c7ad07a48]::option::Option<()>>::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38 [INFO] [stdout] 36: 0x61d6f3d72e22 - >::try_with::, core[6aaeda2c7ad07a48]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[6aaeda2c7ad07a48]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[28d2dab30c1dc666]::boxed::Box, core[6aaeda2c7ad07a48]::option::Option<()>)> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/local.rs:462:12 [INFO] [stdout] 37: 0x61d6f3d729ae - >::with::, core[6aaeda2c7ad07a48]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[6aaeda2c7ad07a48]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[28d2dab30c1dc666]::boxed::Box, core[6aaeda2c7ad07a48]::option::Option<()>)> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/local.rs:426:20 [INFO] [stdout] 38: 0x61d6f3d9875d - tokio[c20cce88f9fbaf1c]::runtime::context::set_scheduler::<(alloc[28d2dab30c1dc666]::boxed::Box, core[6aaeda2c7ad07a48]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[6aaeda2c7ad07a48]::option::Option<()>>::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17 [INFO] [stdout] 39: 0x61d6f3d62b80 - ::enter::<::block_on>>>::{closure#0}, core[6aaeda2c7ad07a48]::option::Option<()>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 40: 0x61d6f3d62e76 - ::block_on::>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 41: 0x61d6f3d64950 - ::block_on::>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 42: 0x61d6f3d5cf23 - tokio[c20cce88f9fbaf1c]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 43: 0x61d6f3d604d1 - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 44: 0x61d6f3d8a594 - ::block_on_inner::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 45: 0x61d6f3d8a75f - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18 [INFO] [stdout] 46: 0x61d6f3d9e193 - rhine[4c747bb3c70455a0]::tests::test [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:22:22 [INFO] [stdout] 47: 0x61d6f3d9a487 - rhine[4c747bb3c70455a0]::tests::test::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:11:20 [INFO] [stdout] 48: 0x61d6f3d7deb6 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 49: 0x61d6f3f0f86b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 50: 0x61d6f3f0f86b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 51: 0x61d6f3f1c25b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 52: 0x61d6f3f1c25b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 53: 0x61d6f3f1c25b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 54: 0x61d6f3f1c25b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 55: 0x61d6f3f1c25b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 56: 0x61d6f3f1c25b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 57: 0x61d6f3f1c25b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 58: 0x61d6f3f17974 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 59: 0x61d6f3f17974 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 60: 0x61d6f3f1ee62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 61: 0x61d6f3f1ee62 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 62: 0x61d6f3f1ee62 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 63: 0x61d6f3f1ee62 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 64: 0x61d6f3f1ee62 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 65: 0x61d6f3f1ee62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 66: 0x61d6f3f1ee62 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 67: 0x61d6f4546d7f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 68: 0x61d6f4546d7f - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 69: 0x796e19546aa4 - [INFO] [stdout] 70: 0x796e195d3a64 - clone [INFO] [stdout] 71: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "5fe98e0a421f9c3e0e85bd8b57ee7453155d9927a28361b26b22fa03a15b92ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe98e0a421f9c3e0e85bd8b57ee7453155d9927a28361b26b22fa03a15b92ec", kill_on_drop: false }` [INFO] [stdout] 5fe98e0a421f9c3e0e85bd8b57ee7453155d9927a28361b26b22fa03a15b92ec