[INFO] fetching crate moduforge-macros 0.7.0... [INFO] testing moduforge-macros-0.7.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate moduforge-macros 0.7.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate moduforge-macros 0.7.0 [INFO] finished tweaking crates.io crate moduforge-macros 0.7.0 [INFO] tweaked toml for crates.io crate moduforge-macros 0.7.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate moduforge-macros 0.7.0 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 moduforge-macros 0.7.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8563bc1a226ecaad30668465c9466dd9f3710053c026e3e48c3543b8a354807f [INFO] running `Command { std: "docker" "start" "-a" "8563bc1a226ecaad30668465c9466dd9f3710053c026e3e48c3543b8a354807f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8563bc1a226ecaad30668465c9466dd9f3710053c026e3e48c3543b8a354807f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8563bc1a226ecaad30668465c9466dd9f3710053c026e3e48c3543b8a354807f", kill_on_drop: false }` [INFO] [stdout] 8563bc1a226ecaad30668465c9466dd9f3710053c026e3e48c3543b8a354807f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cdd178ad975329e964e648bb51f99df5184bcf0391cb7b3df00942632ee24c29 [INFO] running `Command { std: "docker" "start" "-a" "cdd178ad975329e964e648bb51f99df5184bcf0391cb7b3df00942632ee24c29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling archery v1.2.2 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling lru v0.14.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling base62 v2.2.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling metrics v0.22.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling sysinfo v0.37.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling petgraph v0.8.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v2.3.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling rpds v1.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling bon v2.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling moduforge-model v0.7.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling ractor v0.15.8 [INFO] [stderr] Compiling moduforge-transform v0.7.0 [INFO] [stderr] Compiling moduforge-state v0.7.0 [INFO] [stderr] Compiling moduforge-core v0.7.0 [INFO] [stderr] Compiling moduforge-macros v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "cdd178ad975329e964e648bb51f99df5184bcf0391cb7b3df00942632ee24c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd178ad975329e964e648bb51f99df5184bcf0391cb7b3df00942632ee24c29", kill_on_drop: false }` [INFO] [stdout] cdd178ad975329e964e648bb51f99df5184bcf0391cb7b3df00942632ee24c29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a5c19568bdc968788637af4f25b348c318fdcd76fc8c8d5de6b01fd67d5591d3 [INFO] running `Command { std: "docker" "start" "-a" "a5c19568bdc968788637af4f25b348c318fdcd76fc8c8d5de6b01fd67d5591d3", kill_on_drop: false }` [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling moduforge-transform v0.7.0 [INFO] [stderr] Compiling moduforge-state v0.7.0 [INFO] [stderr] Compiling moduforge-core v0.7.0 [INFO] [stderr] Compiling moduforge-macros v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.30s [INFO] running `Command { std: "docker" "inspect" "a5c19568bdc968788637af4f25b348c318fdcd76fc8c8d5de6b01fd67d5591d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c19568bdc968788637af4f25b348c318fdcd76fc8c8d5de6b01fd67d5591d3", kill_on_drop: false }` [INFO] [stdout] a5c19568bdc968788637af4f25b348c318fdcd76fc8c8d5de6b01fd67d5591d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5e035c0071fdbf71b6cf4ce145f5c0f2302272782356b7bfa015abfd24b2bb9e [INFO] running `Command { std: "docker" "start" "-a" "5e035c0071fdbf71b6cf4ce145f5c0f2302272782356b7bfa015abfd24b2bb9e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mf_macro-f5599e6f8116ecaa) [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 mf_macro [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 31) ... FAILED [INFO] [stdout] test src/extension.rs - extension::mf_extension (line 109) ... FAILED [INFO] [stdout] test src/plugin.rs - plugin::mf_plugin (line 213) ... FAILED [INFO] [stdout] test src/extension.rs - extension::mf_ops (line 69) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 31) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `mf_macro::impl_state_field` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | impl_state_field, derive_plugin_state [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `impl_state_field` in the root [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mf_derive` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use mf_derive::impl_command; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `mf_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mf_derive`, use `cargo add mf_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `mf_macro::mf_plugin_metadata`: 请使用 mf_meta! 宏代替,它不需要重复指定插件名称 [INFO] [stdout] --> src/lib.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | mf_plugin, mf_plugin_with_config, mf_plugin_metadata, mf_plugin_config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extension.rs - extension::mf_extension (line 109) stdout ---- [INFO] [stdout] error[E0599]: no method named `name` found for reference `&Node` in the current scope [INFO] [stdout] --> src/extension.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | if node.name() == "paragraph" { [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/cmp.rs:264:4 [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_attribute` found for struct `Node` in the current scope [INFO] [stdout] --> src/extension.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | new_node.add_attribute("class", "enhanced-paragraph"); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Node` [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/extension.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 127 | fn node_transformer(node: &mf_core::node::Node) -> Option { [INFO] [stdout] | ------------------------------------------------------------------------------ found signature defined here [INFO] [stdout] ... [INFO] [stdout] 140 | / mf_extension!( [INFO] [stdout] 141 | | logging_extension, [INFO] [stdout] 142 | | ops = [ setup_logging, cleanup_resources ], [INFO] [stdout] 143 | | node_transform = node_transformer, [INFO] [stdout] 144 | | docs = "用于日志记录、资源管理和节点转换的扩展" [INFO] [stdout] 145 | | ); [INFO] [stdout] | |_^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a> fn(&'a mut Node) -> _` [INFO] [stdout] found function signature `fn(&Node) -> _` [INFO] [stdout] = note: required for the cast from `Arc fn(&'a Node) -> Option {node_transformer}>` to `Arc Result<(), ForgeError> + Send + Sync>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestwPj87Y/rust_out.long-type-18049552143421633005.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `mf_extension` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0631. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/plugin.rs - plugin::mf_plugin (line 213) stdout ---- [INFO] [stdout] warning: use of deprecated macro `mf_plugin_metadata`: 请使用 mf_meta! 宏代替,它不需要重复指定插件名称 [INFO] [stdout] --> src/plugin.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | metadata = mf_plugin_metadata!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `mf_macro::mf_plugin_metadata`: 请使用 mf_meta! 宏代替,它不需要重复指定插件名称 [INFO] [stdout] --> src/plugin.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | use mf_macro::{mf_plugin, mf_plugin_metadata, mf_plugin_config}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/plugin.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | / mf_plugin!( [INFO] [stdout] 236 | | validation_plugin, [INFO] [stdout] 237 | | metadata = mf_plugin_metadata!( [INFO] [stdout] 238 | | "validation_plugin", [INFO] [stdout] ... | [INFO] [stdout] 249 | | append_transaction = validate_transaction, [INFO] [stdout] | | -------------------- arguments to this function are incorrect [INFO] [stdout] 250 | | filter_transaction = filter_transaction, [INFO] [stdout] 251 | | docs = "用于事务验证和安全检查的插件" [INFO] [stdout] 252 | | ); [INFO] [stdout] | |_^ expected `&[Transaction]`, found `&[Arc]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Transaction]` [INFO] [stdout] found reference `&'life1 [Arc]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/plugin.rs:220:10 [INFO] [stdout] | [INFO] [stdout] 220 | async fn validate_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | _trs: &[Transaction], [INFO] [stdout] | -------------------- [INFO] [stdout] = note: this error originates in the macro `mf_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/extension.rs - extension::mf_extension (line 109) [INFO] [stdout] src/lib.rs - (line 31) [INFO] [stdout] src/plugin.rs - plugin::mf_plugin (line 213) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.79s; merged doctests compilation took 0.35s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5e035c0071fdbf71b6cf4ce145f5c0f2302272782356b7bfa015abfd24b2bb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e035c0071fdbf71b6cf4ce145f5c0f2302272782356b7bfa015abfd24b2bb9e", kill_on_drop: false }` [INFO] [stdout] 5e035c0071fdbf71b6cf4ce145f5c0f2302272782356b7bfa015abfd24b2bb9e