[INFO] fetching crate secra_plugins 0.1.32...
[INFO] testing secra_plugins-0.1.32 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate secra_plugins 0.1.32 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate secra_plugins 0.1.32
[INFO] finished tweaking crates.io crate secra_plugins 0.1.32
[INFO] tweaked toml for crates.io crate secra_plugins 0.1.32 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate secra_plugins 0.1.32 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate secra_plugins 0.1.32 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded file-rotate v0.8.0
[INFO] [stderr]   Downloaded tracing-shared v0.2.0
[INFO] [stderr]   Downloaded secra-pluginctl v0.2.0
[INFO] [stderr]   Downloaded secra-logger v1.0.1
[INFO] [stderr]   Downloaded jiff-static v0.2.17
[INFO] [stderr]   Downloaded rsa v0.9.9
[INFO] [stderr]   Downloaded tracing-bunyan-formatter v0.3.10
[INFO] [stderr]   Downloaded jiff v0.2.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 629cd6eefd02b442728c9409bd179f180ae86e85065c4d5bd11ae36878c6b26d
[INFO] running `Command { std: "docker" "start" "-a" "629cd6eefd02b442728c9409bd179f180ae86e85065c4d5bd11ae36878c6b26d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "629cd6eefd02b442728c9409bd179f180ae86e85065c4d5bd11ae36878c6b26d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "629cd6eefd02b442728c9409bd179f180ae86e85065c4d5bd11ae36878c6b26d", kill_on_drop: false }`
[INFO] [stdout] 629cd6eefd02b442728c9409bd179f180ae86e85065c4d5bd11ae36878c6b26d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 370630d67174a65df7b933b3b1f204743be854d718c9c7dd57362753405b10de
[INFO] running `Command { std: "docker" "start" "-a" "370630d67174a65df7b933b3b1f204743be854d718c9c7dd57362753405b10de", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling zmij v1.0.0
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling base64ct v1.8.1
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling phf_shared v0.12.1
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling chrono-tz v0.10.4
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling phf v0.12.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing-log v0.1.4
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling gethostname v0.2.3
[INFO] [stderr]    Compiling jiff v0.2.17
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling mutually_exclusive_features v0.1.0
[INFO] [stderr]    Compiling rsa v0.9.9
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling tracing-bunyan-formatter v0.3.10
[INFO] [stderr]    Compiling inotify v0.11.0
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling file-rotate v0.8.0
[INFO] [stderr]    Compiling tracing-shared v0.2.0
[INFO] [stderr]    Compiling notify-types v2.0.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling notify v8.2.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling libloading v0.9.0
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling secra-pluginctl v0.2.0
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling actix-web v4.12.1
[INFO] [stderr]    Compiling tracing-actix-web v0.7.20
[INFO] [stderr]    Compiling secra-logger v1.0.1
[INFO] [stderr]    Compiling secra_plugins v0.1.32 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 15s
[INFO] running `Command { std: "docker" "inspect" "370630d67174a65df7b933b3b1f204743be854d718c9c7dd57362753405b10de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "370630d67174a65df7b933b3b1f204743be854d718c9c7dd57362753405b10de", kill_on_drop: false }`
[INFO] [stdout] 370630d67174a65df7b933b3b1f204743be854d718c9c7dd57362753405b10de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 932b32698225306faacba45f54ac21931641bdcfbab98a47f2ecc0cd0c2f5fe0
[INFO] running `Command { std: "docker" "start" "-a" "932b32698225306faacba45f54ac21931641bdcfbab98a47f2ecc0cd0c2f5fe0", kill_on_drop: false }`
[INFO] [stderr]    Compiling secra_plugins v0.1.32 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.05s
[INFO] running `Command { std: "docker" "inspect" "932b32698225306faacba45f54ac21931641bdcfbab98a47f2ecc0cd0c2f5fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "932b32698225306faacba45f54ac21931641bdcfbab98a47f2ecc0cd0c2f5fe0", kill_on_drop: false }`
[INFO] [stdout] 932b32698225306faacba45f54ac21931641bdcfbab98a47f2ecc0cd0c2f5fe0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 54aed69e477d991c0366a7b46750931f3835cf0c89b7b61079010c2a7f215329
[INFO] running `Command { std: "docker" "start" "-a" "54aed69e477d991c0366a7b46750931f3835cf0c89b7b61079010c2a7f215329", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secra_plugins-faf4f72aef72cdf0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests example/main.rs (/opt/rustwide/target/debug/deps/secra_plugins-70275d7336917f4d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests secra_plugins
[INFO] [stdout] 
[INFO] [stdout] running 95 tests
[INFO] [stdout] test src/error.rs - error::PluginManagerError::dependency_error (line 231) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::config_error (line 269) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::execution_error (line 288) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::not_found (line 99) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::load_failed (line 155) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::state_error (line 250) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::initialization_failed (line 174) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::stop_failed (line 212) - compile ... FAILED
[INFO] [stdout] test src/factory.rs - factory::CreatePluginFn (line 54) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::already_exists (line 117) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::start_failed (line 193) - compile ... FAILED
[INFO] [stdout] test src/factory.rs - factory::PluginFactory (line 18) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::disable_plugin (line 947) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::initialize_all_plugins (line 306) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::get_all_plugins (line 804) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::insert_child_plugin (line 274) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::initialize_plugin (line 339) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::get_plugin (line 832) - compile ... FAILED
[INFO] [stdout] test src/error.rs - error::PluginManagerError::validation_failed (line 136) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::execute_plugin (line 706) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::insert_plugin_instance (line 238) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::reload_plugin (line 1024) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::register_all_plugin_routes (line 752) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::reload_plugin_directory (line 654) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::start_all_plugins (line 367) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::load_all_plugins (line 201) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::start_plugin (line 397) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::set_plugin_status (line 870) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::register_all_plugin_routes_sync (line 779) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::unload_all_plugins (line 594) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::unload_plugin (line 495) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::stop_all_plugins (line 425) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::stop_plugin (line 454) - compile ... FAILED
[INFO] [stdout] test src/manager/lifecycle_ops.rs - manager::lifecycle_ops::initialize_single_plugin (line 125) - compile ... FAILED
[INFO] [stdout] test src/manager/executor.rs - manager::executor::validate_execute_params (line 28) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::watch_plugin_directory (line 1153) - compile ... FAILED
[INFO] [stdout] test src/manager/init_ops.rs - manager::init_ops::initialize_all_plugins (line 34) - compile ... FAILED
[INFO] [stdout] test src/manager/load_ops.rs - manager::load_ops::insert_child_plugin (line 261) - compile ... FAILED
[INFO] [stdout] test src/manager/lifecycle_ops.rs - manager::lifecycle_ops::stop_single_plugin (line 37) - compile ... FAILED
[INFO] [stdout] test src/manager/load_ops.rs - manager::load_ops::insert_plugin_instance (line 184) - compile ... FAILED
[INFO] [stdout] test src/manager.rs - manager::PluginManager::stop_watching (line 1217) - compile ... FAILED
[INFO] [stdout] test src/manager/load_ops.rs - manager::load_ops::load_all_plugins (line 42) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::create_plugin_instance (line 793) - compile ... FAILED
[INFO] [stdout] test src/manager/execute_ops.rs - manager::execute_ops::execute_plugin (line 39) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::get_plugin_factory_function (line 733) - compile ... FAILED
[INFO] [stdout] test src/manager/init_ops.rs - manager::init_ops::initialize_plugin (line 155) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::load_dynamic_library (line 678) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::unpack_plugin (line 364) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::validate_keys (line 98) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::verify_plugin_signature (line 174) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::load_plugin (line 897) - compile ... FAILED
[INFO] [stdout] test src/manager/manager_config.rs - manager::manager_config::PluginManagerConfig::builder (line 47) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::prepare_plugin_temp_dir (line 240) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::get_library_file_path (line 542) - compile ... FAILED
[INFO] [stdout] test src/manager/loader.rs - manager::loader::scan_plugin_directory (line 38) - compile ... FAILED
[INFO] [stdout] test src/manager/manager_config.rs - manager::manager_config::PluginManagerConfigBuilder::build (line 321) - compile ... FAILED
[INFO] [stdout] test src/manager/query_ops.rs - manager::query_ops::get_plugin (line 79) - compile ... FAILED
[INFO] [stdout] test src/manager/reload_ops.rs - manager::reload_ops::get_reload_info (line 31) - compile ... FAILED
[INFO] [stdout] test src/manager/query.rs - manager::query::find_plugin_file_by_id (line 41) - compile ... FAILED
[INFO] [stdout] test src/manager/route_ops.rs - manager::route_ops::register_all_plugin_routes (line 31) - compile ... FAILED
[INFO] [stdout] test src/manager/reload_ops.rs - manager::reload_ops::call_reload_hook (line 81) - compile ... FAILED
[INFO] [stdout] test src/manager/route_ops.rs - manager::route_ops::register_all_plugin_routes_sync (line 188) - compile ... FAILED
[INFO] [stdout] test src/manager/query_ops.rs - manager::query_ops::get_all_plugins (line 23) - compile ... FAILED
[INFO] [stdout] test src/manager/unload_ops.rs - manager::unload_ops::get_unload_order (line 253) - compile ... FAILED
[INFO] [stdout] test src/manager/start_ops.rs - manager::start_ops::start_all_plugins (line 33) - compile ... FAILED
[INFO] [stdout] test src/manager/stop_ops.rs - manager::stop_ops::stop_all_plugins (line 32) - compile ... FAILED
[INFO] [stdout] test src/manager/stop_ops.rs - manager::stop_ops::stop_plugin (line 110) - compile ... FAILED
[INFO] [stdout] test src/manager/unload_ops.rs - manager::unload_ops::remove_child_from_parent (line 29) - compile ... FAILED
[INFO] [stdout] test src/manager/types.rs - manager::types::PluginMap (line 31) - compile ... FAILED
[INFO] [stdout] test src/manager/unload_ops.rs - manager::unload_ops::get_unload_info (line 99) - compile ... FAILED
[INFO] [stdout] test src/manager/unloader.rs - manager::unloader::cleanup_single_temp_files (line 94) - compile ... FAILED
[INFO] [stdout] test src/manager/start_ops.rs - manager::start_ops::start_plugin (line 148) - compile ... FAILED
[INFO] [stdout] test src/manager/unload_ops.rs - manager::unload_ops::perform_unload (line 185) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::builder (line 41) - compile ... FAILED
[INFO] [stdout] test src/manager/unloader.rs - manager::unloader::check_plugin_dependencies (line 30) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::has_dependencies (line 77) - compile ... FAILED
[INFO] [stdout] test src/manager/watch_ops.rs - manager::watch_ops::watch_plugin_directory (line 47) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::is_root_plugin (line 60) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::has_routes (line 94) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadataBuilder::dependencies (line 296) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadataBuilder::build (line 401) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadataBuilder::add_dependency (line 275) - compile ... FAILED
[INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::validate (line 122) - compile ... FAILED
[INFO] [stdout] test src/plugins.rs - plugins::Plugin::execute (line 164) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::ChildPluginInfoBuilder::build (line 371) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::ChildPluginInfo::builder (line 256) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::PluginStatus::can_initialize (line 33) - compile ... FAILED
[INFO] [stdout] test src/plugins.rs - plugins::Plugin (line 30) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::ChildPluginInfo::from_metadata (line 235) - compile ... FAILED
[INFO] [stdout] test src/plugins.rs - plugins::Plugin::register_routes (line 197) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::PluginStatus::as_str (line 130) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::PluginStatus::can_start (line 53) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::PluginStatus::can_stop (line 73) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::PluginStatus::is_running (line 90) - compile ... FAILED
[INFO] [stdout] test src/status.rs - status::PluginStatus::is_error (line 107) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::dependency_error (line 231) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 | let error = PluginManagerError::dependency_error("依赖插件不存在");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 231 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::config_error (line 269) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 | let error = PluginManagerError::config_error("配置格式无效");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 269 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::execution_error (line 288) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 | let error = PluginManagerError::execution_error("执行超时");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 288 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::not_found (line 99) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 | let error = PluginManagerError::not_found("my-plugin");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]  99 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::load_failed (line 155) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | let error = PluginManagerError::load_failed("动态库加载失败");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 155 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::state_error (line 250) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 | let error = PluginManagerError::state_error("无效的状态转换");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 250 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::initialization_failed (line 174) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 | let error = PluginManagerError::initialization_failed("配置验证失败");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 174 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::stop_failed (line 212) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 | let error = PluginManagerError::stop_failed("资源清理失败");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 212 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/factory.rs - factory::CreatePluginFn (line 54) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `PluginFactory` in this scope
[INFO] [stdout]   --> src/factory.rs:57:47
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub extern "C" fn create_plugin() -> *mut dyn PluginFactory {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 54 + use secra_plugins::manager::PluginFactory;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MyPluginFactory` in this scope
[INFO] [stdout]   --> src/factory.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |     Box::into_raw(Box::new(MyPluginFactory))
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::already_exists (line 117) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 | let error = PluginManagerError::already_exists("my-plugin");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 117 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::start_failed (line 193) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 | let error = PluginManagerError::start_failed("服务启动失败");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 193 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/factory.rs - factory::PluginFactory (line 18) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `PluginFactory` in this scope
[INFO] [stdout]   --> src/factory.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl PluginFactory for MyPluginFactory {
[INFO] [stdout]    |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 18 + use secra_plugins::manager::PluginFactory;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Plugin` in this scope
[INFO] [stdout]   --> src/factory.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn create(&self) -> Box<dyn Plugin> {
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 18 + use secra_plugins::Plugin;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyPlugin`
[INFO] [stdout]   --> src/factory.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Box::new(MyPlugin::new())
[INFO] [stdout]    |                  ^^^^^^^^ use of undeclared type `MyPlugin`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::disable_plugin (line 947) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:949:1
[INFO] [stdout]     |
[INFO] [stdout] 949 | manager.disable_plugin("my-plugin").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:949:42
[INFO] [stdout]     |
[INFO] [stdout] 948 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 949 | | manager.disable_plugin("my-plugin").await?;
[INFO] [stdout]     | |                                          ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 950 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::initialize_all_plugins (line 306) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:308:1
[INFO] [stdout]     |
[INFO] [stdout] 308 | manager.initialize_all_plugins().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:308:39
[INFO] [stdout]     |
[INFO] [stdout] 307 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 308 | | manager.initialize_all_plugins().await?;
[INFO] [stdout]     | |                                       ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 309 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::get_all_plugins (line 804) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:806:20
[INFO] [stdout]     |
[INFO] [stdout] 806 | let plugin_infos = manager.get_all_plugins().await?;
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:806:51
[INFO] [stdout]     |
[INFO] [stdout] 805 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 806 | | let plugin_infos = manager.get_all_plugins().await?;
[INFO] [stdout]     | |                                                   ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 807 | | for info in plugin_infos {
[INFO] [stdout] 808 | |     println!("插件: {}, 状态: {:?}", info.metadata.name, info.status);
[INFO] [stdout] 809 | | }
[INFO] [stdout] 810 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::insert_child_plugin (line 274) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:277:1
[INFO] [stdout]     |
[INFO] [stdout] 277 | manager.insert_child_plugin(child_instance).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `child_instance` in this scope
[INFO] [stdout]    --> src/manager.rs:277:29
[INFO] [stdout]     |
[INFO] [stdout] 277 | manager.insert_child_plugin(child_instance).await?;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:277:50
[INFO] [stdout]     |
[INFO] [stdout] 275 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 276 | | // ... 创建子插件实例 ...
[INFO] [stdout] 277 | | manager.insert_child_plugin(child_instance).await?;
[INFO] [stdout]     | |                                                  ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 278 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::initialize_plugin (line 339) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:341:1
[INFO] [stdout]     |
[INFO] [stdout] 341 | manager.initialize_plugin("my-plugin").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:341:45
[INFO] [stdout]     |
[INFO] [stdout] 340 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 341 | | manager.initialize_plugin("my-plugin").await?;
[INFO] [stdout]     | |                                             ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 342 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::get_plugin (line 832) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:834:19
[INFO] [stdout]     |
[INFO] [stdout] 834 | let plugin_info = manager.get_plugin("my-plugin").await?;
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:834:56
[INFO] [stdout]     |
[INFO] [stdout] 833 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 834 | | let plugin_info = manager.get_plugin("my-plugin").await?;
[INFO] [stdout]     | |                                                        ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 835 | | println!("插件名称: {}", plugin_info.metadata.name);
[INFO] [stdout] 836 | | println!("插件状态: {:?}", plugin_info.status);
[INFO] [stdout] 837 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::PluginManagerError::validation_failed (line 136) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerError`
[INFO] [stdout]    --> src/error.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 | let error = PluginManagerError::validation_failed("插件元数据无效");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 136 + use secra_plugins::PluginManagerError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::execute_plugin (line 706) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:711:14
[INFO] [stdout]     |
[INFO] [stdout] 711 | let result = manager.execute_plugin("my-plugin", "my_action", params).await?;
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:711:76
[INFO] [stdout]     |
[INFO] [stdout] 709 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 710 | | let params = json!({"key": "value"});
[INFO] [stdout] 711 | | let result = manager.execute_plugin("my-plugin", "my_action", params).await?;
[INFO] [stdout]     | |                                                                            ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 712 | | println!("执行结果: {}", result);
[INFO] [stdout] 713 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::insert_plugin_instance (line 238) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:241:1
[INFO] [stdout]     |
[INFO] [stdout] 241 | manager.insert_plugin_instance(plugin_instance).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `plugin_instance` in this scope
[INFO] [stdout]    --> src/manager.rs:241:32
[INFO] [stdout]     |
[INFO] [stdout] 241 | manager.insert_plugin_instance(plugin_instance).await?;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:241:54
[INFO] [stdout]     |
[INFO] [stdout] 239 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 240 | | // ... 创建 plugin_instance ...
[INFO] [stdout] 241 | | manager.insert_plugin_instance(plugin_instance).await?;
[INFO] [stdout]     | |                                                      ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::reload_plugin (line 1024) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]     --> src/manager.rs:1026:1
[INFO] [stdout]      |
[INFO] [stdout] 1026 | manager.reload_plugin("my-plugin").await?;
[INFO] [stdout]      | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> src/manager.rs:1026:41
[INFO] [stdout]      |
[INFO] [stdout] 1025 |   async fn example() {
[INFO] [stdout]      |  ____________________-
[INFO] [stdout] 1026 | | manager.reload_plugin("my-plugin").await?;
[INFO] [stdout]      | |                                         ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 1027 | | }
[INFO] [stdout]      | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::register_all_plugin_routes (line 752) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:757:1
[INFO] [stdout]     |
[INFO] [stdout] 757 | manager.register_all_plugin_routes(&mut cfg).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ServiceConfig` in the current scope
[INFO] [stdout]    --> src/manager.rs:756:35
[INFO] [stdout]     |
[INFO] [stdout] 756 | let mut cfg = web::ServiceConfig::default();
[INFO] [stdout]     |                                   ^^^^^^^ function or associated item not found in `ServiceConfig`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:757:51
[INFO] [stdout]     |
[INFO] [stdout] 755 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 756 | | let mut cfg = web::ServiceConfig::default();
[INFO] [stdout] 757 | | manager.register_all_plugin_routes(&mut cfg).await?;
[INFO] [stdout]     | |                                                   ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 758 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::reload_plugin_directory (line 654) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:657:1
[INFO] [stdout]     |
[INFO] [stdout] 657 | manager.reload_plugin_directory().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:659:1
[INFO] [stdout]     |
[INFO] [stdout] 659 | manager.initialize_all_plugins().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:660:1
[INFO] [stdout]     |
[INFO] [stdout] 660 | manager.start_all_plugins().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:657:40
[INFO] [stdout]     |
[INFO] [stdout] 655 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 656 | | // 重新加载插件目录
[INFO] [stdout] 657 | | manager.reload_plugin_directory().await?;
[INFO] [stdout]     | |                                        ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...   |
[INFO] [stdout] 660 | | manager.start_all_plugins().await?;
[INFO] [stdout] 661 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:659:39
[INFO] [stdout]     |
[INFO] [stdout] 655 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 656 | | // 重新加载插件目录
[INFO] [stdout] 657 | | manager.reload_plugin_directory().await?;
[INFO] [stdout] 658 | | // 初始化和启动所有插件
[INFO] [stdout] 659 | | manager.initialize_all_plugins().await?;
[INFO] [stdout]     | |                                       ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 660 | | manager.start_all_plugins().await?;
[INFO] [stdout] 661 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:660:34
[INFO] [stdout]     |
[INFO] [stdout] 655 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 656 | | // 重新加载插件目录
[INFO] [stdout] 657 | | manager.reload_plugin_directory().await?;
[INFO] [stdout] ...   |
[INFO] [stdout] 660 | | manager.start_all_plugins().await?;
[INFO] [stdout]     | |                                  ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 661 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::start_all_plugins (line 367) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:369:1
[INFO] [stdout]     |
[INFO] [stdout] 369 | manager.start_all_plugins().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:369:34
[INFO] [stdout]     |
[INFO] [stdout] 368 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 369 | | manager.start_all_plugins().await?;
[INFO] [stdout]     | |                                  ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 370 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::load_all_plugins (line 201) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:203:1
[INFO] [stdout]     |
[INFO] [stdout] 203 | manager.load_all_plugins().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:203:33
[INFO] [stdout]     |
[INFO] [stdout] 202 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 203 | | manager.load_all_plugins().await?;
[INFO] [stdout]     | |                                 ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 204 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::start_plugin (line 397) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:399:1
[INFO] [stdout]     |
[INFO] [stdout] 399 | manager.start_plugin("my-plugin").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:399:40
[INFO] [stdout]     |
[INFO] [stdout] 398 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 399 | | manager.start_plugin("my-plugin").await?;
[INFO] [stdout]     | |                                        ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 400 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::set_plugin_status (line 870) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:872:1
[INFO] [stdout]     |
[INFO] [stdout] 872 | manager.set_plugin_status("my-plugin", PluginStatus::Disabled).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginStatus`
[INFO] [stdout]    --> src/manager.rs:872:40
[INFO] [stdout]     |
[INFO] [stdout] 872 | manager.set_plugin_status("my-plugin", PluginStatus::Disabled).await?;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ use of undeclared type `PluginStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 870 + use secra_plugins::status::PluginStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:872:69
[INFO] [stdout]     |
[INFO] [stdout] 871 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 872 | | manager.set_plugin_status("my-plugin", PluginStatus::Disabled).await?;
[INFO] [stdout]     | |                                                                     ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 873 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::register_all_plugin_routes_sync (line 779) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:783:1
[INFO] [stdout]     |
[INFO] [stdout] 783 | manager.register_all_plugin_routes_sync(&mut cfg)?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ServiceConfig` in the current scope
[INFO] [stdout]    --> src/manager.rs:782:35
[INFO] [stdout]     |
[INFO] [stdout] 782 | let mut cfg = web::ServiceConfig::default();
[INFO] [stdout]     |                                   ^^^^^^^ function or associated item not found in `ServiceConfig`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::unload_all_plugins (line 594) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:596:1
[INFO] [stdout]     |
[INFO] [stdout] 596 | manager.unload_all_plugins().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:596:35
[INFO] [stdout]     |
[INFO] [stdout] 595 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 596 | | manager.unload_all_plugins().await?;
[INFO] [stdout]     | |                                   ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 597 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::unload_plugin (line 495) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:497:1
[INFO] [stdout]     |
[INFO] [stdout] 497 | manager.unload_plugin("my-plugin".to_string()).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:497:53
[INFO] [stdout]     |
[INFO] [stdout] 496 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 497 | | manager.unload_plugin("my-plugin".to_string()).await?;
[INFO] [stdout]     | |                                                     ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 498 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::stop_all_plugins (line 425) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:427:1
[INFO] [stdout]     |
[INFO] [stdout] 427 | manager.stop_all_plugins().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:427:33
[INFO] [stdout]     |
[INFO] [stdout] 426 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 427 | | manager.stop_all_plugins().await?;
[INFO] [stdout]     | |                                 ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 428 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::stop_plugin (line 454) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/manager.rs:456:1
[INFO] [stdout]     |
[INFO] [stdout] 456 | manager.stop_plugin("my-plugin").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager.rs:456:39
[INFO] [stdout]     |
[INFO] [stdout] 455 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 456 | | manager.stop_plugin("my-plugin").await?;
[INFO] [stdout]     | |                                       ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 457 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/lifecycle_ops.rs - manager::lifecycle_ops::initialize_single_plugin (line 125) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `plugin_instance` in this scope
[INFO] [stdout]    --> src/manager/lifecycle_ops.rs:128:37
[INFO] [stdout]     |
[INFO] [stdout] 128 | match initialize_single_plugin(&mut plugin_instance).await {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_single_plugin` in this scope
[INFO] [stdout]    --> src/manager/lifecycle_ops.rs:128:7
[INFO] [stdout]     |
[INFO] [stdout] 128 | match initialize_single_plugin(&mut plugin_instance).await {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/executor.rs - manager::executor::validate_execute_params (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `validate_execute_params` in this scope
[INFO] [stdout]   --> src/manager/executor.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | validate_execute_params("my_action")?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `validate_execute_params` in this scope
[INFO] [stdout]   --> src/manager/executor.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | validate_execute_params("")?; // 返回错误
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::watch_plugin_directory (line 1153) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]     --> src/manager.rs:1155:1
[INFO] [stdout]      |
[INFO] [stdout] 1155 | manager.watch_plugin_directory().await?;
[INFO] [stdout]      | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]     --> src/manager.rs:1158:1
[INFO] [stdout]      |
[INFO] [stdout] 1158 | manager.stop_watching().await?;
[INFO] [stdout]      | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> src/manager.rs:1155:39
[INFO] [stdout]      |
[INFO] [stdout] 1154 |   async fn example() {
[INFO] [stdout]      |  ____________________-
[INFO] [stdout] 1155 | | manager.watch_plugin_directory().await?;
[INFO] [stdout]      | |                                       ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...    |
[INFO] [stdout] 1159 | | }
[INFO] [stdout]      | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> src/manager.rs:1158:30
[INFO] [stdout]      |
[INFO] [stdout] 1154 |   async fn example() {
[INFO] [stdout]      |  ____________________-
[INFO] [stdout] 1155 | | manager.watch_plugin_directory().await?;
[INFO] [stdout] ...    |
[INFO] [stdout] 1158 | | manager.stop_watching().await?;
[INFO] [stdout]      | |                              ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 1159 | | }
[INFO] [stdout]      | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/init_ops.rs - manager::init_ops::initialize_all_plugins (line 34) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `initialize_all_plugins` in this scope
[INFO] [stdout]   --> src/manager/init_ops.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | initialize_all_plugins(plugins, 30).await?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/init_ops.rs:41:42
[INFO] [stdout]    |
[INFO] [stdout] 39 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 40 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 41 | | initialize_all_plugins(plugins, 30).await?;
[INFO] [stdout]    | |                                          ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/load_ops.rs - manager::load_ops::insert_child_plugin (line 261) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]    --> src/manager/load_ops.rs:262:12
[INFO] [stdout]     |
[INFO] [stdout] 262 | use crate::manager::types::PluginMap;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            unresolved import
[INFO] [stdout]     |            help: a similar path exists: `secra_plugins::manager`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `child_instance` in this scope
[INFO] [stdout]    --> src/manager/load_ops.rs:270:30
[INFO] [stdout]     |
[INFO] [stdout] 270 | insert_child_plugin(plugins, child_instance).await?;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_child_plugin` in this scope
[INFO] [stdout]    --> src/manager/load_ops.rs:270:1
[INFO] [stdout]     |
[INFO] [stdout] 270 | insert_child_plugin(plugins, child_instance).await?;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/load_ops.rs:270:51
[INFO] [stdout]     |
[INFO] [stdout] 267 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 268 | | let plugins: PluginMap = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 269 | | // ... 创建子插件实例 ...
[INFO] [stdout] 270 | | insert_child_plugin(plugins, child_instance).await?;
[INFO] [stdout]     | |                                                   ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 271 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/lifecycle_ops.rs - manager::lifecycle_ops::stop_single_plugin (line 37) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `plugin_instance` in this scope
[INFO] [stdout]   --> src/manager/lifecycle_ops.rs:40:50
[INFO] [stdout]    |
[INFO] [stdout] 40 | stop_single_plugin("my-plugin".to_string(), &mut plugin_instance, 30).await;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `stop_single_plugin` in this scope
[INFO] [stdout]   --> src/manager/lifecycle_ops.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | stop_single_plugin("my-plugin".to_string(), &mut plugin_instance, 30).await;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/load_ops.rs - manager::load_ops::insert_plugin_instance (line 184) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]    --> src/manager/load_ops.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 185 | use crate::manager::types::PluginMap;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            unresolved import
[INFO] [stdout]     |            help: a similar path exists: `secra_plugins::manager`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `plugin_instance` in this scope
[INFO] [stdout]    --> src/manager/load_ops.rs:193:33
[INFO] [stdout]     |
[INFO] [stdout] 193 | insert_plugin_instance(plugins, plugin_instance).await?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_plugin_instance` in this scope
[INFO] [stdout]    --> src/manager/load_ops.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | insert_plugin_instance(plugins, plugin_instance).await?;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/load_ops.rs:193:55
[INFO] [stdout]     |
[INFO] [stdout] 190 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 191 | | let plugins: PluginMap = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 192 | | // ... 创建 plugin_instance ...
[INFO] [stdout] 193 | | insert_plugin_instance(plugins, plugin_instance).await?;
[INFO] [stdout]     | |                                                       ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 194 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager.rs - manager::PluginManager::stop_watching (line 1217) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]     --> src/manager.rs:1219:1
[INFO] [stdout]      |
[INFO] [stdout] 1219 | manager.stop_watching().await?;
[INFO] [stdout]      | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> src/manager.rs:1219:30
[INFO] [stdout]      |
[INFO] [stdout] 1218 |   async fn example() {
[INFO] [stdout]      |  ____________________-
[INFO] [stdout] 1219 | | manager.stop_watching().await?;
[INFO] [stdout]      | |                              ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 1220 | | }
[INFO] [stdout]      | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/load_ops.rs - manager::load_ops::load_all_plugins (line 42) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_all_plugins` in this scope
[INFO] [stdout]   --> src/manager/load_ops.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | load_all_plugins(
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/load_ops.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 47 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 48 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 49 | | load_all_plugins(
[INFO] [stdout] 50 | |     plugins,
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | | ).await?;
[INFO] [stdout]    | |        ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::create_plugin_instance (line 793) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `create_plugin_fn` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:800:5
[INFO] [stdout]     |
[INFO] [stdout] 800 |     create_plugin_fn,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `library` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:801:5
[INFO] [stdout]     |
[INFO] [stdout] 801 |     library,
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `artifact` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:802:6
[INFO] [stdout]     |
[INFO] [stdout] 802 |     &artifact,
[INFO] [stdout]     |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `library_file_path` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:803:6
[INFO] [stdout]     |
[INFO] [stdout] 803 |     &library_file_path,
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `plugin_temp_dir` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:805:5
[INFO] [stdout]     |
[INFO] [stdout] 805 |     plugin_temp_dir,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_plugin_instance` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:799:23
[INFO] [stdout]     |
[INFO] [stdout] 799 | let plugin_instance = create_plugin_instance(
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/execute_ops.rs - manager::execute_ops::execute_plugin (line 39) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `execute_plugin` in this scope
[INFO] [stdout]   --> src/manager/execute_ops.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 | let result = execute_plugin(plugins, "my-plugin", "my_action", params, 30).await?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/execute_ops.rs:48:81
[INFO] [stdout]    |
[INFO] [stdout] 45 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 46 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 47 | | let params = json!({"key": "value"});
[INFO] [stdout] 48 | | let result = execute_plugin(plugins, "my-plugin", "my_action", params, 30).await?;
[INFO] [stdout]    | |                                                                                 ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 49 | | println!("执行结果: {}", result);
[INFO] [stdout] 50 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::get_plugin_factory_function (line 733) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `library` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:738:53
[INFO] [stdout]     |
[INFO] [stdout] 738 | let create_plugin_fn = get_plugin_factory_function(&library, "my-plugin")?;
[INFO] [stdout]     |                                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_plugin_factory_function` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:738:24
[INFO] [stdout]     |
[INFO] [stdout] 738 | let create_plugin_fn = get_plugin_factory_function(&library, "my-plugin")?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/init_ops.rs - manager::init_ops::initialize_plugin (line 155) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `initialize_plugin` in this scope
[INFO] [stdout]    --> src/manager/init_ops.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | initialize_plugin(plugins, "my-plugin", 30).await?;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/init_ops.rs:162:50
[INFO] [stdout]     |
[INFO] [stdout] 160 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 161 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 162 | | initialize_plugin(plugins, "my-plugin", 30).await?;
[INFO] [stdout]     | |                                                  ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 163 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::load_dynamic_library (line 678) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_dynamic_library` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:683:15
[INFO] [stdout]     |
[INFO] [stdout] 683 | let library = load_dynamic_library(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::unpack_plugin (line 364) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `unpack_plugin` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:368:1
[INFO] [stdout]     |
[INFO] [stdout] 368 | unpack_plugin(
[INFO] [stdout]     | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::validate_keys (line 98) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `validate_keys` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:100:30
[INFO] [stdout]     |
[INFO] [stdout] 100 | let (ed25519_key, rsa_key) = validate_keys(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::verify_plugin_signature (line 174) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `verify_plugin_signature` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:176:1
[INFO] [stdout]     |
[INFO] [stdout] 176 | verify_plugin_signature(
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::load_plugin (line 897) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_plugin` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:899:23
[INFO] [stdout]     |
[INFO] [stdout] 899 | let plugin_instance = load_plugin(
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/loader.rs:905:8
[INFO] [stdout]     |
[INFO] [stdout] 898 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 899 | | let plugin_instance = load_plugin(
[INFO] [stdout] 900 | |     "/opt/secra/plugins/my-plugin.spk",
[INFO] [stdout] 901 | |     Some("/path/to/ed25519.pub".to_string()),
[INFO] [stdout] ...   |
[INFO] [stdout] 905 | | ).await?;
[INFO] [stdout]     | |        ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 906 | | println!("插件加载成功: {}", plugin_instance.metadata.name);
[INFO] [stdout] 907 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/manager_config.rs - manager::manager_config::PluginManagerConfig::builder (line 47) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plugins`
[INFO] [stdout]   --> src/manager/manager_config.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | use plugins::error::PluginManagerResult;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `plugins`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `plugins`, use `cargo add plugins` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerConfig`
[INFO] [stdout]   --> src/manager/manager_config.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 | let config = PluginManagerConfig::builder()
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 47 + use secra_plugins::manager::PluginManagerConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::prepare_plugin_temp_dir (line 240) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `prepare_plugin_temp_dir` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:242:23
[INFO] [stdout]     |
[INFO] [stdout] 242 | let plugin_temp_dir = prepare_plugin_temp_dir(
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/loader.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 241 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 242 | | let plugin_temp_dir = prepare_plugin_temp_dir(
[INFO] [stdout] 243 | |     "/opt/secra/plugins/temp",
[INFO] [stdout] 244 | |     "my-plugin",
[INFO] [stdout] 245 | | ).await?;
[INFO] [stdout]     | |        ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 246 | | println!("插件临时目录: {}", plugin_temp_dir.display());
[INFO] [stdout] 247 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/manager/loader.rs:242:5
[INFO] [stdout]     |
[INFO] [stdout] 242 | let plugin_temp_dir = prepare_plugin_temp_dir(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 | println!("插件临时目录: {}", plugin_temp_dir.display());
[INFO] [stdout]     |                              --------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `plugin_temp_dir` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 242 | let plugin_temp_dir: /* Type */ = prepare_plugin_temp_dir(
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::get_library_file_path (line 542) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_library_file_path` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:547:20
[INFO] [stdout]     |
[INFO] [stdout] 547 | let library_path = get_library_file_path(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_library_file_path` in this scope
[INFO] [stdout]    --> src/manager/loader.rs:555:20
[INFO] [stdout]     |
[INFO] [stdout] 555 | let library_path = get_library_file_path(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/loader.rs - manager::loader::scan_plugin_directory (line 38) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `scan_plugin_directory` in this scope
[INFO] [stdout]   --> src/manager/loader.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 | let plugin_files = scan_plugin_directory("/opt/secra/plugins").await?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/loader.rs:40:69
[INFO] [stdout]    |
[INFO] [stdout] 39 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 40 | | let plugin_files = scan_plugin_directory("/opt/secra/plugins").await?;
[INFO] [stdout]    | |                                                                     ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 41 | | for file in plugin_files {
[INFO] [stdout] 42 | |     println!("找到插件文件: {}", file);
[INFO] [stdout] 43 | | }
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/manager_config.rs - manager::manager_config::PluginManagerConfigBuilder::build (line 321) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginManagerConfigBuilder`
[INFO] [stdout]    --> src/manager/manager_config.rs:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 | let config = PluginManagerConfigBuilder::default()
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerConfigBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 321 + use secra_plugins::manager::PluginManagerConfigBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/query_ops.rs - manager::query_ops::get_plugin (line 79) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_plugin` in this scope
[INFO] [stdout]   --> src/manager/query_ops.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 | let plugin_info = get_plugin(plugins, "my-plugin").await?;
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/query_ops.rs:86:57
[INFO] [stdout]    |
[INFO] [stdout] 84 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 85 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 86 | | let plugin_info = get_plugin(plugins, "my-plugin").await?;
[INFO] [stdout]    | |                                                         ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 87 | | println!("插件名称: {}", plugin_info.metadata.name);
[INFO] [stdout] 88 | | println!("插件状态: {:?}", plugin_info.status);
[INFO] [stdout] 89 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/reload_ops.rs - manager::reload_ops::get_reload_info (line 31) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_reload_info` in this scope
[INFO] [stdout]   --> src/manager/reload_ops.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 | let (name, was_running) = get_reload_info(plugins, "my-plugin").await?;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/reload_ops.rs:38:70
[INFO] [stdout]    |
[INFO] [stdout] 36 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 37 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 38 | | let (name, was_running) = get_reload_info(plugins, "my-plugin").await?;
[INFO] [stdout]    | |                                                                      ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/query.rs - manager::query::find_plugin_file_by_id (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `find_plugin_file_by_id` in this scope
[INFO] [stdout]   --> src/manager/query.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | let plugin_file = find_plugin_file_by_id(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/query.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 43 | | let plugin_file = find_plugin_file_by_id(
[INFO] [stdout] 44 | |     "/opt/secra/plugins",
[INFO] [stdout] 45 | |     "my-plugin-id",
[INFO] [stdout] 46 | |     "my-plugin",
[INFO] [stdout] 47 | | ).await?;
[INFO] [stdout]    | |        ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 48 | | println!("找到插件文件: {}", plugin_file);
[INFO] [stdout] 49 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/route_ops.rs - manager::route_ops::register_all_plugin_routes (line 31) stdout ----
[INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ServiceConfig` in the current scope
[INFO] [stdout]   --> src/manager/route_ops.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 | let mut cfg = web::ServiceConfig::default();
[INFO] [stdout]    |                                   ^^^^^^^ function or associated item not found in `ServiceConfig`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `register_all_plugin_routes` in this scope
[INFO] [stdout]   --> src/manager/route_ops.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | register_all_plugin_routes(plugins, &mut cfg).await?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/route_ops.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 37 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 38 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 39 | | let mut cfg = web::ServiceConfig::default();
[INFO] [stdout] 40 | | register_all_plugin_routes(plugins, &mut cfg).await?;
[INFO] [stdout]    | |                                                    ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/reload_ops.rs - manager::reload_ops::call_reload_hook (line 81) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `call_reload_hook` in this scope
[INFO] [stdout]   --> src/manager/reload_ops.rs:88:1
[INFO] [stdout]    |
[INFO] [stdout] 88 | call_reload_hook(plugins, "my-plugin", 30).await;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/route_ops.rs - manager::route_ops::register_all_plugin_routes_sync (line 188) stdout ----
[INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ServiceConfig` in the current scope
[INFO] [stdout]    --> src/manager/route_ops.rs:195:35
[INFO] [stdout]     |
[INFO] [stdout] 195 | let mut cfg = web::ServiceConfig::default();
[INFO] [stdout]     |                                   ^^^^^^^ function or associated item not found in `ServiceConfig`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `register_all_plugin_routes_sync` in this scope
[INFO] [stdout]    --> src/manager/route_ops.rs:196:1
[INFO] [stdout]     |
[INFO] [stdout] 196 | register_all_plugin_routes_sync(plugins, &mut cfg)?;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/query_ops.rs - manager::query_ops::get_all_plugins (line 23) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_all_plugins` in this scope
[INFO] [stdout]   --> src/manager/query_ops.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 | let plugin_infos = get_all_plugins(plugins).await?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/query_ops.rs:30:50
[INFO] [stdout]    |
[INFO] [stdout] 28 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 29 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 30 | | let plugin_infos = get_all_plugins(plugins).await?;
[INFO] [stdout]    | |                                                  ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 31 | | for info in plugin_infos {
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/unload_ops.rs - manager::unload_ops::get_unload_order (line 253) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_unload_order` in this scope
[INFO] [stdout]    --> src/manager/unload_ops.rs:258:20
[INFO] [stdout]     |
[INFO] [stdout] 258 | let unload_order = get_unload_order(&plugins);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/start_ops.rs - manager::start_ops::start_all_plugins (line 33) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `start_all_plugins` in this scope
[INFO] [stdout]   --> src/manager/start_ops.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | start_all_plugins(plugins, 30).await?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/start_ops.rs:40:37
[INFO] [stdout]    |
[INFO] [stdout] 38 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 39 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 40 | | start_all_plugins(plugins, 30).await?;
[INFO] [stdout]    | |                                     ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/stop_ops.rs - manager::stop_ops::stop_all_plugins (line 32) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `stop_all_plugins` in this scope
[INFO] [stdout]   --> src/manager/stop_ops.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | stop_all_plugins(plugins, 30).await?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/manager/stop_ops.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 37 |   async fn example() {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 38 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 39 | | stop_all_plugins(plugins, 30).await?;
[INFO] [stdout]    | |                                    ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/stop_ops.rs - manager::stop_ops::stop_plugin (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `stop_plugin` in this scope
[INFO] [stdout]    --> src/manager/stop_ops.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | stop_plugin(plugins, "my-plugin", 30).await?;
[INFO] [stdout]     | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/stop_ops.rs:117:44
[INFO] [stdout]     |
[INFO] [stdout] 115 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 116 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 117 | | stop_plugin(plugins, "my-plugin", 30).await?;
[INFO] [stdout]     | |                                            ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 118 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/unload_ops.rs - manager::unload_ops::remove_child_from_parent (line 29) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `remove_child_from_parent` in this scope
[INFO] [stdout]   --> src/manager/unload_ops.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 | let removed = remove_child_from_parent(plugins, "child-plugin", "parent-plugin").await;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/types.rs - manager::types::PluginMap (line 31) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/manager/types.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | use crate::manager::types::PluginMap;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            unresolved import
[INFO] [stdout]    |            help: a similar path exists: `secra_plugins::manager`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/manager/types.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 | let plugins: PluginMap = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout]    |                          ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 31 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock`
[INFO] [stdout]   --> src/manager/types.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 | let plugins: PluginMap = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout]    |                                   ^^^^^^ use of undeclared type `RwLock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 31 + use std::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 31 + use std::sync::nonpoison::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 31 + use tokio::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/manager/types.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 34 | let plugins: PluginMap = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout]    |                                               ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 31 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/unload_ops.rs - manager::unload_ops::get_unload_info (line 99) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_unload_info` in this scope
[INFO] [stdout]    --> src/manager/unload_ops.rs:104:38
[INFO] [stdout]     |
[INFO] [stdout] 104 | let (child_ids, is_sub, parent_id) = get_unload_info(&plugins, "my-plugin")?;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/manager/unload_ops.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 | println!("子插件数量: {}", child_ids.len());
[INFO] [stdout]     |                            ^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/unloader.rs - manager::unloader::cleanup_single_temp_files (line 94) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `plugin_instance` in this scope
[INFO] [stdout]   --> src/manager/unloader.rs:97:28
[INFO] [stdout]    |
[INFO] [stdout] 97 | cleanup_single_temp_files(&plugin_instance).await;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `cleanup_single_temp_files` in this scope
[INFO] [stdout]   --> src/manager/unloader.rs:97:1
[INFO] [stdout]    |
[INFO] [stdout] 97 | cleanup_single_temp_files(&plugin_instance).await;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/start_ops.rs - manager::start_ops::start_plugin (line 148) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `start_plugin` in this scope
[INFO] [stdout]    --> src/manager/start_ops.rs:155:1
[INFO] [stdout]     |
[INFO] [stdout] 155 | start_plugin(plugins, "my-plugin", 30).await?;
[INFO] [stdout]     | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/start_ops.rs:155:45
[INFO] [stdout]     |
[INFO] [stdout] 153 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 154 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 155 | | start_plugin(plugins, "my-plugin", 30).await?;
[INFO] [stdout]     | |                                             ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 156 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/unload_ops.rs - manager::unload_ops::perform_unload (line 185) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `perform_unload` in this scope
[INFO] [stdout]    --> src/manager/unload_ops.rs:192:25
[INFO] [stdout]     |
[INFO] [stdout] 192 | let unloaded_instance = perform_unload(plugins, "my-plugin").await?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/manager/unload_ops.rs:192:67
[INFO] [stdout]     |
[INFO] [stdout] 190 |   async fn example() {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 191 | | let plugins = Arc::new(RwLock::new(HashMap::new()));
[INFO] [stdout] 192 | | let unloaded_instance = perform_unload(plugins, "my-plugin").await?;
[INFO] [stdout]     | |                                                                   ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 193 | | println!("已卸载插件: {}", unloaded_instance.metadata.name);
[INFO] [stdout] 194 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadata::builder (line 41) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginMetadata`
[INFO] [stdout]   --> src/metadata.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 | let metadata = PluginMetadata::builder()
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ use of undeclared type `PluginMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 41 + use secra_pluginctl::config::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 41 + use secra_pluginctl::format::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 41 + use secra_plugins::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/unloader.rs - manager::unloader::check_plugin_dependencies (line 30) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `check_plugin_dependencies` in this scope
[INFO] [stdout]   --> src/manager/unloader.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | check_plugin_dependencies(&plugins, "my-plugin")?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadata::has_dependencies (line 77) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/metadata.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | if metadata.has_dependencies() {
[INFO] [stdout]    |    ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/metadata.rs:79:28
[INFO] [stdout]    |
[INFO] [stdout] 79 |     println!("插件依赖: {:?}", metadata.dependencies);
[INFO] [stdout]    |                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/manager/watch_ops.rs - manager::watch_ops::watch_plugin_directory (line 47) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `watch_plugin_directory` in this scope
[INFO] [stdout]   --> src/manager/watch_ops.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     watch_plugin_directory(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadata::is_root_plugin (line 60) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/metadata.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | if metadata.is_root_plugin() {
[INFO] [stdout]    |    ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 60 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 60 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 60 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 60 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadata::has_routes (line 94) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/metadata.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | if metadata.has_routes() {
[INFO] [stdout]    |    ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 94 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 94 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 94 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 94 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/metadata.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |     println!("路由前缀: {:?}", metadata.route_prefix);
[INFO] [stdout]    |                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 94 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 94 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 94 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 94 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadataBuilder::dependencies (line 296) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `builder` in this scope
[INFO] [stdout]    --> src/metadata.rs:297:1
[INFO] [stdout]     |
[INFO] [stdout] 297 | builder.dependencies(vec![
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadataBuilder::build (line 401) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PluginMetadataBuilder`
[INFO] [stdout]    --> src/metadata.rs:402:16
[INFO] [stdout]     |
[INFO] [stdout] 402 | let metadata = PluginMetadataBuilder::default()
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginMetadataBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 401 + use secra_plugins::metadata::PluginMetadataBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadataBuilder::add_dependency (line 275) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `builder` in this scope
[INFO] [stdout]    --> src/metadata.rs:276:1
[INFO] [stdout]     |
[INFO] [stdout] 276 | builder
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/metadata.rs - metadata::PluginMetadata::validate (line 122) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]    --> src/metadata.rs:123:7
[INFO] [stdout]     |
[INFO] [stdout] 123 | match metadata.validate() {
[INFO] [stdout]     |       ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 122 + use std::fs::metadata;
[INFO] [stdout]     |
[INFO] [stdout] 122 + use std::ptr::metadata;
[INFO] [stdout]     |
[INFO] [stdout] 122 + use core::ptr::metadata;
[INFO] [stdout]     |
[INFO] [stdout] 122 + use tokio::fs::metadata;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/plugins.rs - plugins::Plugin::execute (line 164) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `plugin` in this scope
[INFO] [stdout]    --> src/plugins.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | let result = plugin.execute("my_action", params).await?;
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/plugins.rs:166:50
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_plugins_rs_164_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] 165 | let params = serde_json::json!({"key": "value"});
[INFO] [stdout] 166 | let result = plugin.execute("my_action", params).await?;
[INFO] [stdout]     |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::ChildPluginInfoBuilder::build (line 371) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildPluginInfoBuilder`
[INFO] [stdout]    --> src/status.rs:372:18
[INFO] [stdout]     |
[INFO] [stdout] 372 | let child_info = ChildPluginInfoBuilder::default()
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ChildPluginInfoBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 371 + use secra_plugins::status::ChildPluginInfoBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::ChildPluginInfo::builder (line 256) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildPluginInfo`
[INFO] [stdout]    --> src/status.rs:257:18
[INFO] [stdout]     |
[INFO] [stdout] 257 | let child_info = ChildPluginInfo::builder()
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ use of undeclared type `ChildPluginInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 256 + use secra_plugins::status::ChildPluginInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::PluginStatus::can_initialize (line 33) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `status` in this scope
[INFO] [stdout]   --> src/status.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | if status.can_initialize() {
[INFO] [stdout]    |    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/plugins.rs - plugins::Plugin (line 30) stdout ----
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]   --> src/plugins.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 30 + use async_trait::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginMetadata` in this scope
[INFO] [stdout]   --> src/plugins.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     metadata: PluginMetadata,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_pluginctl::config::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_pluginctl::format::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginConfig` in this scope
[INFO] [stdout]   --> src/plugins.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     config: PluginConfig,
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_pluginctl::PluginConfig;
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Plugin` in this scope
[INFO] [stdout]   --> src/plugins.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Plugin for MyPlugin {
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::Plugin;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginMetadata` in this scope
[INFO] [stdout]   --> src/plugins.rs:38:28
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn metadata(&self) -> &PluginMetadata {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_pluginctl::config::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_pluginctl::format::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginConfig` in this scope
[INFO] [stdout]   --> src/plugins.rs:42:44
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn initialize(&mut self, config: PluginConfig) -> PluginManagerResult<()> {
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_pluginctl::PluginConfig;
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginManagerResult` in this scope
[INFO] [stdout]   --> src/plugins.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn initialize(&mut self, config: PluginConfig) -> PluginManagerResult<()> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginManagerResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginManagerResult` in this scope
[INFO] [stdout]   --> src/plugins.rs:47:34
[INFO] [stdout]    |
[INFO] [stdout] 47 |     async fn start(&mut self) -> PluginManagerResult<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginManagerResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginManagerResult` in this scope
[INFO] [stdout]   --> src/plugins.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 |     async fn stop(&mut self) -> PluginManagerResult<()> {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginManagerResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginManagerResult` in this scope
[INFO] [stdout]   --> src/plugins.rs:57:73
[INFO] [stdout]    |
[INFO] [stdout] 57 |     async fn execute(&self, action: &str, params: serde_json::Value) -> PluginManagerResult<serde_json::Value> {
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 30 + use secra_plugins::PluginManagerResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::ChildPluginInfo::from_metadata (line 235) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildPluginInfo`
[INFO] [stdout]    --> src/status.rs:236:18
[INFO] [stdout]     |
[INFO] [stdout] 236 | let child_info = ChildPluginInfo::from_metadata(&plugin_metadata);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ use of undeclared type `ChildPluginInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 235 + use secra_plugins::status::ChildPluginInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `plugin_metadata` in this scope
[INFO] [stdout]    --> src/status.rs:236:50
[INFO] [stdout]     |
[INFO] [stdout] 236 | let child_info = ChildPluginInfo::from_metadata(&plugin_metadata);
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/plugins.rs - plugins::Plugin::register_routes (line 197) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/plugins.rs:198:20
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn register_routes(&self, cfg: &mut web::ServiceConfig) -> PluginManagerResult<()> {
[INFO] [stdout]     |                    ^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]    --> src/plugins.rs:198:37
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn register_routes(&self, cfg: &mut web::ServiceConfig) -> PluginManagerResult<()> {
[INFO] [stdout]     |                                     ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 197 + use actix_web::web;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PluginManagerResult` in this scope
[INFO] [stdout]    --> src/plugins.rs:198:60
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn register_routes(&self, cfg: &mut web::ServiceConfig) -> PluginManagerResult<()> {
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 197 + use secra_plugins::PluginManagerResult;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]    --> src/plugins.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         web::scope(&self.metadata().route_prefix.unwrap())
[INFO] [stdout]     |         ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 197 + use actix_web::web;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]    --> src/plugins.rs:201:30
[INFO] [stdout]     |
[INFO] [stdout] 201 |             .route("/hello", web::get().to(hello_handler))
[INFO] [stdout]     |                              ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 197 + use actix_web::web;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hello_handler` in this scope
[INFO] [stdout]    --> src/plugins.rs:201:44
[INFO] [stdout]     |
[INFO] [stdout] 201 |             .route("/hello", web::get().to(hello_handler))
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::PluginStatus::as_str (line 130) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `status` in this scope
[INFO] [stdout]    --> src/status.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 | println!("插件状态: {}", status.as_str());
[INFO] [stdout]     |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::PluginStatus::can_start (line 53) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `status` in this scope
[INFO] [stdout]   --> src/status.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | if status.can_start() {
[INFO] [stdout]    |    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::PluginStatus::can_stop (line 73) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `status` in this scope
[INFO] [stdout]   --> src/status.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | if status.can_stop() {
[INFO] [stdout]    |    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::PluginStatus::is_running (line 90) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `status` in this scope
[INFO] [stdout]   --> src/status.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | if status.is_running() {
[INFO] [stdout]    |    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/status.rs - status::PluginStatus::is_error (line 107) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `status` in this scope
[INFO] [stdout]    --> src/status.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | if status.is_error() {
[INFO] [stdout]     |    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/error.rs - error::PluginManagerError::already_exists (line 117)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::config_error (line 269)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::dependency_error (line 231)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::execution_error (line 288)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::initialization_failed (line 174)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::load_failed (line 155)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::not_found (line 99)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::start_failed (line 193)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::state_error (line 250)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::stop_failed (line 212)
[INFO] [stdout]     src/error.rs - error::PluginManagerError::validation_failed (line 136)
[INFO] [stdout]     src/factory.rs - factory::CreatePluginFn (line 54)
[INFO] [stdout]     src/factory.rs - factory::PluginFactory (line 18)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::disable_plugin (line 947)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::execute_plugin (line 706)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::get_all_plugins (line 804)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::get_plugin (line 832)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::initialize_all_plugins (line 306)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::initialize_plugin (line 339)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::insert_child_plugin (line 274)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::insert_plugin_instance (line 238)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::load_all_plugins (line 201)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::register_all_plugin_routes (line 752)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::register_all_plugin_routes_sync (line 779)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::reload_plugin (line 1024)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::reload_plugin_directory (line 654)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::set_plugin_status (line 870)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::start_all_plugins (line 367)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::start_plugin (line 397)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::stop_all_plugins (line 425)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::stop_plugin (line 454)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::stop_watching (line 1217)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::unload_all_plugins (line 594)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::unload_plugin (line 495)
[INFO] [stdout]     src/manager.rs - manager::PluginManager::watch_plugin_directory (line 1153)
[INFO] [stdout]     src/manager/execute_ops.rs - manager::execute_ops::execute_plugin (line 39)
[INFO] [stdout]     src/manager/executor.rs - manager::executor::validate_execute_params (line 28)
[INFO] [stdout]     src/manager/init_ops.rs - manager::init_ops::initialize_all_plugins (line 34)
[INFO] [stdout]     src/manager/init_ops.rs - manager::init_ops::initialize_plugin (line 155)
[INFO] [stdout]     src/manager/lifecycle_ops.rs - manager::lifecycle_ops::initialize_single_plugin (line 125)
[INFO] [stdout]     src/manager/lifecycle_ops.rs - manager::lifecycle_ops::stop_single_plugin (line 37)
[INFO] [stdout]     src/manager/load_ops.rs - manager::load_ops::insert_child_plugin (line 261)
[INFO] [stdout]     src/manager/load_ops.rs - manager::load_ops::insert_plugin_instance (line 184)
[INFO] [stdout]     src/manager/load_ops.rs - manager::load_ops::load_all_plugins (line 42)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::create_plugin_instance (line 793)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::get_library_file_path (line 542)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::get_plugin_factory_function (line 733)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::load_dynamic_library (line 678)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::load_plugin (line 897)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::prepare_plugin_temp_dir (line 240)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::scan_plugin_directory (line 38)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::unpack_plugin (line 364)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::validate_keys (line 98)
[INFO] [stdout]     src/manager/loader.rs - manager::loader::verify_plugin_signature (line 174)
[INFO] [stdout]     src/manager/manager_config.rs - manager::manager_config::PluginManagerConfig::builder (line 47)
[INFO] [stdout]     src/manager/manager_config.rs - manager::manager_config::PluginManagerConfigBuilder::build (line 321)
[INFO] [stdout]     src/manager/query.rs - manager::query::find_plugin_file_by_id (line 41)
[INFO] [stdout]     src/manager/query_ops.rs - manager::query_ops::get_all_plugins (line 23)
[INFO] [stdout]     src/manager/query_ops.rs - manager::query_ops::get_plugin (line 79)
[INFO] [stdout]     src/manager/reload_ops.rs - manager::reload_ops::call_reload_hook (line 81)
[INFO] [stdout]     src/manager/reload_ops.rs - manager::reload_ops::get_reload_info (line 31)
[INFO] [stdout]     src/manager/route_ops.rs - manager::route_ops::register_all_plugin_routes (line 31)
[INFO] [stdout]     src/manager/route_ops.rs - manager::route_ops::register_all_plugin_routes_sync (line 188)
[INFO] [stdout]     src/manager/start_ops.rs - manager::start_ops::start_all_plugins (line 33)
[INFO] [stdout]     src/manager/start_ops.rs - manager::start_ops::start_plugin (line 148)
[INFO] [stdout]     src/manager/stop_ops.rs - manager::stop_ops::stop_all_plugins (line 32)
[INFO] [stdout]     src/manager/stop_ops.rs - manager::stop_ops::stop_plugin (line 110)
[INFO] [stdout]     src/manager/types.rs - manager::types::PluginMap (line 31)
[INFO] [stdout]     src/manager/unload_ops.rs - manager::unload_ops::get_unload_info (line 99)
[INFO] [stdout]     src/manager/unload_ops.rs - manager::unload_ops::get_unload_order (line 253)
[INFO] [stdout]     src/manager/unload_ops.rs - manager::unload_ops::perform_unload (line 185)
[INFO] [stdout]     src/manager/unload_ops.rs - manager::unload_ops::remove_child_from_parent (line 29)
[INFO] [stdout]     src/manager/unloader.rs - manager::unloader::check_plugin_dependencies (line 30)
[INFO] [stdout]     src/manager/unloader.rs - manager::unloader::cleanup_single_temp_files (line 94)
[INFO] [stdout]     src/manager/watch_ops.rs - manager::watch_ops::watch_plugin_directory (line 47)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadata::builder (line 41)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadata::has_dependencies (line 77)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadata::has_routes (line 94)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadata::is_root_plugin (line 60)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadata::validate (line 122)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadataBuilder::add_dependency (line 275)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadataBuilder::build (line 401)
[INFO] [stdout]     src/metadata.rs - metadata::PluginMetadataBuilder::dependencies (line 296)
[INFO] [stdout]     src/plugins.rs - plugins::Plugin (line 30)
[INFO] [stdout]     src/plugins.rs - plugins::Plugin::execute (line 164)
[INFO] [stdout]     src/plugins.rs - plugins::Plugin::register_routes (line 197)
[INFO] [stdout]     src/status.rs - status::ChildPluginInfo::builder (line 256)
[INFO] [stdout]     src/status.rs - status::ChildPluginInfo::from_metadata (line 235)
[INFO] [stdout]     src/status.rs - status::ChildPluginInfoBuilder::build (line 371)
[INFO] [stdout]     src/status.rs - status::PluginStatus::as_str (line 130)
[INFO] [stdout]     src/status.rs - status::PluginStatus::can_initialize (line 33)
[INFO] [stdout]     src/status.rs - status::PluginStatus::can_start (line 53)
[INFO] [stdout]     src/status.rs - status::PluginStatus::can_stop (line 73)
[INFO] [stdout]     src/status.rs - status::PluginStatus::is_error (line 107)
[INFO] [stdout]     src/status.rs - status::PluginStatus::is_running (line 90)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 95 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.45s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "54aed69e477d991c0366a7b46750931f3835cf0c89b7b61079010c2a7f215329", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54aed69e477d991c0366a7b46750931f3835cf0c89b7b61079010c2a7f215329", kill_on_drop: false }`
[INFO] [stdout] 54aed69e477d991c0366a7b46750931f3835cf0c89b7b61079010c2a7f215329
