[INFO] fetching crate plugins 0.1.31... [INFO] testing plugins-0.1.31 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate plugins 0.1.31 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate plugins 0.1.31 [INFO] finished tweaking crates.io crate plugins 0.1.31 [INFO] tweaked toml for crates.io crate plugins 0.1.31 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate plugins 0.1.31 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate plugins 0.1.31 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-serde v0.2.0 [INFO] [stderr] Downloaded tracing-shared v0.2.0 [INFO] [stderr] Downloaded pkcs1 v0.7.5 [INFO] [stderr] Downloaded secra-pluginctl v0.2.0 [INFO] [stderr] Downloaded zmij v1.0.0 [INFO] [stderr] Downloaded uuid v1.19.0 [INFO] [stderr] Downloaded fsevent-sys v4.1.0 [INFO] [stderr] Downloaded env_filter v0.1.4 [INFO] [stderr] Downloaded phf v0.12.1 [INFO] [stderr] Downloaded convert_case v0.10.0 [INFO] [stderr] Downloaded notify-types v2.0.0 [INFO] [stderr] Downloaded libloading v0.9.0 [INFO] [stderr] Downloaded actix-server v2.6.0 [INFO] [stderr] Downloaded flate2 v1.1.5 [INFO] [stderr] Downloaded derive_more v2.1.1 [INFO] [stderr] Downloaded derive_more-impl v2.1.1 [INFO] [stderr] Downloaded regex-lite v0.1.8 [INFO] [stderr] Downloaded tokio-util v0.7.17 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded actix-http v3.11.2 [INFO] [stderr] Downloaded clap_builder v4.5.53 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] [stderr] Downloaded actix-web v4.12.1 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.10 [INFO] [stderr] Downloaded libm v0.2.15 [INFO] [stderr] Downloaded chrono v0.4.42 [INFO] [stderr] Downloaded actix-service v2.0.3 [INFO] [stderr] Downloaded pin-project v1.1.10 [INFO] [stderr] Downloaded clap v4.5.53 [INFO] [stderr] Downloaded serde_json v1.0.148 [INFO] [stderr] Downloaded tracing-actix-web v0.7.20 [INFO] [stderr] Downloaded secra-logger v1.0.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.64 [INFO] [stderr] Downloaded env_logger v0.11.8 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] [stderr] Downloaded inotify v0.11.0 [INFO] [stderr] Downloaded kqueue v1.1.1 [INFO] [stderr] Downloaded notify v8.2.0 [INFO] [stderr] Downloaded file-rotate v0.8.0 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.10 [INFO] [stderr] Downloaded tracing-appender v0.2.4 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded tracing-log v0.1.4 [INFO] [stderr] Downloaded mutually_exclusive_features v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.104 [INFO] [stderr] Downloaded inotify-sys v0.1.5 [INFO] [stderr] Downloaded kqueue-sys v1.0.4 [INFO] [stderr] Downloaded phf_shared v0.12.1 [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded impl-more v0.1.9 [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded chrono-tz v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1d50674d58796e242a137b975068885e0285c96ccc314fe93e325aea824d1dd [INFO] running `Command { std: "docker" "start" "-a" "f1d50674d58796e242a137b975068885e0285c96ccc314fe93e325aea824d1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1d50674d58796e242a137b975068885e0285c96ccc314fe93e325aea824d1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d50674d58796e242a137b975068885e0285c96ccc314fe93e325aea824d1dd", kill_on_drop: false }` [INFO] [stdout] f1d50674d58796e242a137b975068885e0285c96ccc314fe93e325aea824d1dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f30a31e94c255d5e90b0debeb6a29721ea5c4f11f2430814e100b5673f3da895 [INFO] running `Command { std: "docker" "start" "-a" "f30a31e94c255d5e90b0debeb6a29721ea5c4f11f2430814e100b5673f3da895", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling indexmap v2.12.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 icu_properties_data v2.1.2 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zmij v1.0.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling base64ct v1.8.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling walkdir v2.5.0 [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 signature v2.2.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling mutually_exclusive_features v0.1.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling jiff v0.2.17 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling libloading v0.9.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling synstructure v0.13.2 [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 tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-shared v0.2.0 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling file-rotate v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.10 [INFO] [stderr] Compiling tracing-appender v0.2.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling toml v0.8.23 [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 plugins v0.1.31 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "f30a31e94c255d5e90b0debeb6a29721ea5c4f11f2430814e100b5673f3da895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30a31e94c255d5e90b0debeb6a29721ea5c4f11f2430814e100b5673f3da895", kill_on_drop: false }` [INFO] [stdout] f30a31e94c255d5e90b0debeb6a29721ea5c4f11f2430814e100b5673f3da895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3652d3d3f024866ac3199dfcacc8be571b974e29db6e37b1a9af713da86d1b8a [INFO] running `Command { std: "docker" "start" "-a" "3652d3d3f024866ac3199dfcacc8be571b974e29db6e37b1a9af713da86d1b8a", kill_on_drop: false }` [INFO] [stderr] Compiling plugins v0.1.31 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.07s [INFO] running `Command { std: "docker" "inspect" "3652d3d3f024866ac3199dfcacc8be571b974e29db6e37b1a9af713da86d1b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3652d3d3f024866ac3199dfcacc8be571b974e29db6e37b1a9af713da86d1b8a", kill_on_drop: false }` [INFO] [stdout] 3652d3d3f024866ac3199dfcacc8be571b974e29db6e37b1a9af713da86d1b8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ffba307b3db54f9a2e568b1dce5102b1da9af5358e32739f931fd3c92e280dc [INFO] running `Command { std: "docker" "start" "-a" "5ffba307b3db54f9a2e568b1dce5102b1da9af5358e32739f931fd3c92e280dc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/plugins-3d7345f3f241eb7d) [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-495b426687d4773b) [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 plugins [INFO] [stdout] [INFO] [stdout] running 95 tests [INFO] [stdout] test src/error.rs - error::PluginManagerError::state_error (line 250) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::execute_plugin (line 706) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::disable_plugin (line 947) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::dependency_error (line 231) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::execution_error (line 288) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::start_failed (line 193) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::initialization_failed (line 174) - compile ... FAILED [INFO] [stdout] test src/factory.rs - factory::CreatePluginFn (line 54) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::validation_failed (line 136) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::already_exists (line 117) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::load_failed (line 155) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::get_all_plugins (line 804) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::stop_failed (line 212) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::reload_plugin (line 1024) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::load_all_plugins (line 201) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::config_error (line 269) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::insert_child_plugin (line 274) - compile ... FAILED [INFO] [stdout] test src/error.rs - error::PluginManagerError::not_found (line 99) - 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::get_plugin (line 832) - compile ... FAILED [INFO] [stdout] test src/factory.rs - factory::PluginFactory (line 18) - 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::stop_all_plugins (line 425) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::stop_watching (line 1217) - 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::start_plugin (line 397) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::watch_plugin_directory (line 1153) - 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::stop_plugin (line 454) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::initialize_plugin (line 339) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::unload_plugin (line 495) - compile ... FAILED [INFO] [stdout] test src/manager/loader.rs - manager::loader::create_plugin_instance (line 793) - compile ... FAILED [INFO] [stdout] test src/manager.rs - manager::PluginManager::initialize_all_plugins (line 306) - 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.rs - manager::PluginManager::start_all_plugins (line 367) - 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/loader.rs - manager::loader::get_plugin_factory_function (line 733) - 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/loader.rs - manager::loader::verify_plugin_signature (line 174) - 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::load_dynamic_library (line 678) - compile ... FAILED [INFO] [stdout] test src/manager/loader.rs - manager::loader::get_library_file_path (line 542) - 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/init_ops.rs - manager::init_ops::initialize_plugin (line 155) - 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::prepare_plugin_temp_dir (line 240) - compile ... FAILED [INFO] [stdout] test src/manager/loader.rs - manager::loader::validate_keys (line 98) - compile ... FAILED [INFO] [stdout] test src/manager/executor.rs - manager::executor::validate_execute_params (line 28) - compile ... FAILED [INFO] [stdout] test src/manager/loader.rs - manager::loader::load_plugin (line 897) - 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::register_all_plugin_routes (line 752) - compile ... FAILED [INFO] [stdout] test src/manager/loader.rs - manager::loader::unpack_plugin (line 364) - compile ... FAILED [INFO] [stdout] test src/manager/manager_config.rs - manager::manager_config::PluginManagerConfigBuilder::build (line 321) - compile ... FAILED [INFO] [stdout] test src/manager/stop_ops.rs - manager::stop_ops::stop_plugin (line 110) - 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/start_ops.rs - manager::start_ops::start_all_plugins (line 33) - 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/start_ops.rs - manager::start_ops::start_plugin (line 148) - 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/types.rs - manager::types::PluginMap (line 31) - 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/route_ops.rs - manager::route_ops::register_all_plugin_routes (line 31) - 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/watch_ops.rs - manager::watch_ops::watch_plugin_directory (line 47) - 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/unload_ops.rs - manager::unload_ops::get_unload_info (line 99) - compile ... FAILED [INFO] [stdout] test src/manager/loader.rs - manager::loader::scan_plugin_directory (line 38) - 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/query_ops.rs - manager::query_ops::get_plugin (line 79) - compile ... FAILED [INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::has_routes (line 94) - compile ... FAILED [INFO] [stdout] test src/manager/manager_config.rs - manager::manager_config::PluginManagerConfig::builder (line 47) - 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/metadata.rs - metadata::PluginMetadataBuilder::add_dependency (line 275) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::ChildPluginInfo::from_metadata (line 235) - compile ... FAILED [INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::validate (line 122) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::PluginStatus::as_str (line 130) - compile ... FAILED [INFO] [stdout] test src/metadata.rs - metadata::PluginMetadata::has_dependencies (line 77) - compile ... FAILED [INFO] [stdout] test src/manager/unloader.rs - manager::unloader::cleanup_single_temp_files (line 94) - compile ... FAILED [INFO] [stdout] test src/metadata.rs - metadata::PluginMetadataBuilder::build (line 401) - 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::is_root_plugin (line 60) - compile ... FAILED [INFO] [stdout] test src/manager/reload_ops.rs - manager::reload_ops::get_reload_info (line 31) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::PluginStatus::can_stop (line 73) - compile ... FAILED [INFO] [stdout] test src/plugins.rs - plugins::Plugin (line 30) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::PluginStatus::can_initialize (line 33) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::ChildPluginInfoBuilder::build (line 371) - compile ... FAILED [INFO] [stdout] test src/metadata.rs - metadata::PluginMetadataBuilder::dependencies (line 296) - compile ... FAILED [INFO] [stdout] test src/plugins.rs - plugins::Plugin::register_routes (line 197) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::PluginStatus::is_running (line 90) - compile ... FAILED [INFO] [stdout] test src/plugins.rs - plugins::Plugin::execute (line 164) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::ChildPluginInfo::builder (line 256) - compile ... FAILED [INFO] [stdout] test src/status.rs - status::PluginStatus::can_start (line 53) - 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::state_error (line 250) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerError` in this scope [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 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::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/error.rs - error::PluginManagerError::dependency_error (line 231) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerError` in this scope [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 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]: cannot find type `PluginManagerError` in this scope [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 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]: cannot find type `PluginManagerError` in this scope [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 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]: cannot find type `PluginManagerError` in this scope [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 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 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: unsafe attribute used without unsafe [INFO] [stdout] --> src/factory.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 56 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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::validation_failed (line 136) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerError` in this scope [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 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::already_exists (line 117) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerError` in this scope [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 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]: cannot find type `PluginManagerError` in this scope [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 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::get_all_plugins (line 804) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/manager.rs:807:20 [INFO] [stdout] | [INFO] [stdout] 807 | 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:807:51 [INFO] [stdout] | [INFO] [stdout] 806 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 807 | | let plugin_infos = manager.get_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 808 | | for info in plugin_infos { [INFO] [stdout] 809 | | println!("插件: {}, 状态: {:?}", info.metadata.name, info.status); [INFO] [stdout] 810 | | } [INFO] [stdout] 811 | | } [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::stop_failed (line 212) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerError` in this scope [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 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::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::load_all_plugins (line 201) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/manager.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | 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:204:33 [INFO] [stdout] | [INFO] [stdout] 203 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 204 | | manager.load_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 205 | | } [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::config_error (line 269) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerError` in this scope [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 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::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/error.rs - error::PluginManagerError::not_found (line 99) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerError` in this scope [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 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::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::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/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 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 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use plugins::Plugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MyPlugin` in this scope [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::reload_plugin_directory (line 654) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/manager.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | 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:660:1 [INFO] [stdout] | [INFO] [stdout] 660 | 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:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | 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:658:40 [INFO] [stdout] | [INFO] [stdout] 656 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 657 | | // 重新加载插件目录 [INFO] [stdout] 658 | | manager.reload_plugin_directory().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 661 | | manager.start_all_plugins().await?; [INFO] [stdout] 662 | | } [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:39 [INFO] [stdout] | [INFO] [stdout] 656 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 657 | | // 重新加载插件目录 [INFO] [stdout] 658 | | manager.reload_plugin_directory().await?; [INFO] [stdout] 659 | | // 初始化和启动所有插件 [INFO] [stdout] 660 | | manager.initialize_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 661 | | manager.start_all_plugins().await?; [INFO] [stdout] 662 | | } [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:661:34 [INFO] [stdout] | [INFO] [stdout] 656 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 657 | | // 重新加载插件目录 [INFO] [stdout] 658 | | manager.reload_plugin_directory().await?; [INFO] [stdout] ... | [INFO] [stdout] 661 | | manager.start_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 662 | | } [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::stop_all_plugins (line 425) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/manager.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | 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:428:33 [INFO] [stdout] | [INFO] [stdout] 427 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 428 | | manager.stop_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 429 | | } [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_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.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:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | 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:597:35 [INFO] [stdout] | [INFO] [stdout] 596 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 597 | | manager.unload_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 598 | | } [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::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.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]: cannot find type `PluginStatus` in this scope [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 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::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.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::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/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.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:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | 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:309:39 [INFO] [stdout] | [INFO] [stdout] 308 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 309 | | manager.initialize_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 310 | | } [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]: cannot find `manager` in `crate` [INFO] [stdout] --> src/manager/load_ops.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | use crate::manager::types::PluginMap; [INFO] [stdout] | ^^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 263 | use crate::plugins::manager::types::PluginMap; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `child_instance` in this scope [INFO] [stdout] --> src/manager/load_ops.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | 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:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | 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:271:51 [INFO] [stdout] | [INFO] [stdout] 268 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 269 | | let plugins: PluginMap = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 270 | | // ... 创建子插件实例 ... [INFO] [stdout] 271 | | insert_child_plugin(plugins, child_instance).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 272 | | } [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::start_all_plugins (line 367) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/manager.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:34 [INFO] [stdout] | [INFO] [stdout] 369 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 370 | | manager.start_all_plugins().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 371 | | } [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_plugin_instance (line 184) stdout ---- [INFO] [stdout] error[E0433]: cannot find `manager` in `crate` [INFO] [stdout] --> src/manager/load_ops.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | use crate::manager::types::PluginMap; [INFO] [stdout] | ^^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 186 | use crate::plugins::manager::types::PluginMap; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `plugin_instance` in this scope [INFO] [stdout] --> src/manager/load_ops.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | 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:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | 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:194:55 [INFO] [stdout] | [INFO] [stdout] 191 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 192 | | let plugins: PluginMap = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 193 | | // ... 创建 plugin_instance ... [INFO] [stdout] 194 | | insert_plugin_instance(plugins, plugin_instance).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 195 | | } [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/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/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/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/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:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | 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:49:81 [INFO] [stdout] | [INFO] [stdout] 46 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 47 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 48 | | let params = json!({"key": "value"}); [INFO] [stdout] 49 | | 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] 50 | | println!("执行结果: {}", result); [INFO] [stdout] 51 | | } [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:684:15 [INFO] [stdout] | [INFO] [stdout] 684 | 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::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:548:20 [INFO] [stdout] | [INFO] [stdout] 548 | 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:556:20 [INFO] [stdout] | [INFO] [stdout] 556 | 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/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/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:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:50 [INFO] [stdout] | [INFO] [stdout] 161 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 162 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 163 | | initialize_plugin(plugins, "my-plugin", 30).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 164 | | } [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:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | 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:57:8 [INFO] [stdout] | [INFO] [stdout] 48 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 49 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 50 | | load_all_plugins( [INFO] [stdout] 51 | | plugins, [INFO] [stdout] ... | [INFO] [stdout] 57 | | ).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 58 | | } [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::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:243:23 [INFO] [stdout] | [INFO] [stdout] 243 | 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:246:8 [INFO] [stdout] | [INFO] [stdout] 242 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 243 | | let plugin_temp_dir = prepare_plugin_temp_dir( [INFO] [stdout] 244 | | "/opt/secra/plugins/temp", [INFO] [stdout] 245 | | "my-plugin", [INFO] [stdout] 246 | | ).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 247 | | println!("插件临时目录: {}", plugin_temp_dir.display()); [INFO] [stdout] 248 | | } [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::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/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/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:900:23 [INFO] [stdout] | [INFO] [stdout] 900 | 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:906:8 [INFO] [stdout] | [INFO] [stdout] 899 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 900 | | let plugin_instance = load_plugin( [INFO] [stdout] 901 | | "/opt/secra/plugins/my-plugin.spk", [INFO] [stdout] 902 | | Some("/path/to/ed25519.pub".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 906 | | ).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 907 | | println!("插件加载成功: {}", plugin_instance.metadata.name); [INFO] [stdout] 908 | | } [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_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::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/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:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | 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/manager_config.rs - manager::manager_config::PluginManagerConfigBuilder::build (line 321) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerConfigBuilder` in this scope [INFO] [stdout] --> src/manager/manager_config.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 323 | let config = PluginManagerConfigBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerConfigBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 320 + use 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/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:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | 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:118:44 [INFO] [stdout] | [INFO] [stdout] 116 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 117 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 118 | | stop_plugin(plugins, "my-plugin", 30).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 119 | | } [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/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:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | 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:42:42 [INFO] [stdout] | [INFO] [stdout] 40 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 41 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 42 | | initialize_all_plugins(plugins, 30).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 43 | | } [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/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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | 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:41:37 [INFO] [stdout] | [INFO] [stdout] 39 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 41 | | start_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/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:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | 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:48:8 [INFO] [stdout] | [INFO] [stdout] 43 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 44 | | let plugin_file = find_plugin_file_by_id( [INFO] [stdout] 45 | | "/opt/secra/plugins", [INFO] [stdout] 46 | | "my-plugin-id", [INFO] [stdout] 47 | | "my-plugin", [INFO] [stdout] 48 | | ).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 49 | | println!("找到插件文件: {}", plugin_file); [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/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:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | 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:156:45 [INFO] [stdout] | [INFO] [stdout] 154 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 155 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 156 | | start_plugin(plugins, "my-plugin", 30).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 157 | | } [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::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:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | 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/types.rs - manager::types::PluginMap (line 31) stdout ---- [INFO] [stdout] error[E0433]: cannot find `manager` in `crate` [INFO] [stdout] --> src/manager/types.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::manager::types::PluginMap; [INFO] [stdout] | ^^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 33 | use crate::plugins::manager::types::PluginMap; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/manager/types.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 30 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RwLock` in this scope [INFO] [stdout] --> src/manager/types.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 30 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] 30 + use std::sync::nonpoison::RwLock; [INFO] [stdout] | [INFO] [stdout] 30 + use tokio::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/manager/types.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 30 + 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/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:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | 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:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | 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/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:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | 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:41:52 [INFO] [stdout] | [INFO] [stdout] 38 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 39 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 40 | | let mut cfg = web::ServiceConfig::default(); [INFO] [stdout] 41 | | register_all_plugin_routes(plugins, &mut cfg).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 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/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:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 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:31:50 [INFO] [stdout] | [INFO] [stdout] 29 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 30 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 31 | | let plugin_infos = get_all_plugins(plugins).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 32 | | for info in plugin_infos { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [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:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | 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/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:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | 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/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:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | 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/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:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | 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: 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::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:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 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:41:69 [INFO] [stdout] | [INFO] [stdout] 40 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 41 | | let plugin_files = scan_plugin_directory("/opt/secra/plugins").await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 42 | | for file in plugin_files { [INFO] [stdout] 43 | | println!("找到插件文件: {}", file); [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [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:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | 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:40:36 [INFO] [stdout] | [INFO] [stdout] 38 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 39 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 40 | | stop_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/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:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | 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:87:57 [INFO] [stdout] | [INFO] [stdout] 85 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 86 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 87 | | let plugin_info = get_plugin(plugins, "my-plugin").await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 88 | | println!("插件名称: {}", plugin_info.metadata.name); [INFO] [stdout] 89 | | println!("插件状态: {:?}", plugin_info.status); [INFO] [stdout] 90 | | } [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::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/manager/manager_config.rs - manager::manager_config::PluginManagerConfig::builder (line 47) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginManagerConfig` in this scope [INFO] [stdout] --> src/manager/manager_config.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | let config = PluginManagerConfig::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PluginManagerConfig` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 51 - let config = PluginManagerConfig::builder() [INFO] [stdout] 51 + let config = PluginManagerResult::builder() [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 46 + use plugins::manager::PluginManagerConfig; [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/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:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | 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:193:67 [INFO] [stdout] | [INFO] [stdout] 191 | async fn example() { [INFO] [stdout] | ____________________- [INFO] [stdout] 192 | | let plugins = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] 193 | | let unloaded_instance = perform_unload(plugins, "my-plugin").await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 194 | | println!("已卸载插件: {}", unloaded_instance.metadata.name); [INFO] [stdout] 195 | | } [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]: cannot find type `PluginMetadata` in this scope [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 plugins::PluginMetadata; [INFO] [stdout] | [INFO] [stdout] 41 + use secra_pluginctl::config::PluginMetadata; [INFO] [stdout] | [INFO] [stdout] 41 + use secra_pluginctl::format::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/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/status.rs - status::ChildPluginInfo::from_metadata (line 235) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ChildPluginInfo` in this scope [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 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/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] [stderr] error: doctest failed, to rerun pass `--doc` [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/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/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/metadata.rs - metadata::PluginMetadataBuilder::build (line 401) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `PluginMetadataBuilder` in this scope [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 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/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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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::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/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:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | 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:39:70 [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 (name, was_running) = get_reload_info(plugins, "my-plugin").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/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/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 plugins::PluginMetadata; [INFO] [stdout] | [INFO] [stdout] 30 + use secra_pluginctl::config::PluginMetadata; [INFO] [stdout] | [INFO] [stdout] 30 + use secra_pluginctl::format::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 plugins::PluginConfig; [INFO] [stdout] | [INFO] [stdout] 30 + use secra_pluginctl::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 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 plugins::PluginMetadata; [INFO] [stdout] | [INFO] [stdout] 30 + use secra_pluginctl::config::PluginMetadata; [INFO] [stdout] | [INFO] [stdout] 30 + use secra_pluginctl::format::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 plugins::PluginConfig; [INFO] [stdout] | [INFO] [stdout] 30 + use secra_pluginctl::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 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 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 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 30 + use 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::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/status.rs - status::ChildPluginInfoBuilder::build (line 371) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ChildPluginInfoBuilder` in this scope [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 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/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/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]: cannot find module or crate `web` in this scope [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 plugins::PluginManagerResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `web` in this scope [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]: cannot find module or crate `web` in this scope [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::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/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::ChildPluginInfo::builder (line 256) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ChildPluginInfo` in this scope [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 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_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::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 3.79s [INFO] [stdout] [INFO] [stdout] all doctests ran in 4.55s; merged doctests compilation took 0.74s [INFO] running `Command { std: "docker" "inspect" "5ffba307b3db54f9a2e568b1dce5102b1da9af5358e32739f931fd3c92e280dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ffba307b3db54f9a2e568b1dce5102b1da9af5358e32739f931fd3c92e280dc", kill_on_drop: false }` [INFO] [stdout] 5ffba307b3db54f9a2e568b1dce5102b1da9af5358e32739f931fd3c92e280dc