[INFO] fetching crate moduforge-macros 0.6.4... [INFO] testing moduforge-macros-0.6.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate moduforge-macros 0.6.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate moduforge-macros 0.6.4 [INFO] finished tweaking crates.io crate moduforge-macros 0.6.4 [INFO] tweaked toml for crates.io crate moduforge-macros 0.6.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate moduforge-macros 0.6.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate moduforge-macros 0.6.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 466fb4dd98315d027756e5ad33d491b870e17157f8bb0ad68b08fcf759ed971e [INFO] running `Command { std: "docker" "start" "-a" "466fb4dd98315d027756e5ad33d491b870e17157f8bb0ad68b08fcf759ed971e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "466fb4dd98315d027756e5ad33d491b870e17157f8bb0ad68b08fcf759ed971e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466fb4dd98315d027756e5ad33d491b870e17157f8bb0ad68b08fcf759ed971e", kill_on_drop: false }` [INFO] [stdout] 466fb4dd98315d027756e5ad33d491b870e17157f8bb0ad68b08fcf759ed971e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7a3b4a96c2664dcc3e1d9a62342275e5aa11e266a63990e5010420a09502501 [INFO] running `Command { std: "docker" "start" "-a" "b7a3b4a96c2664dcc3e1d9a62342275e5aa11e266a63990e5010420a09502501", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitmaps v3.2.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling imbl-sized-chunks v0.1.3 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling archery v1.2.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling lru v0.14.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling base62 v2.2.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling metrics v0.22.4 [INFO] [stderr] Compiling sysinfo v0.37.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling petgraph v0.8.2 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [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 darling_macro v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v2.3.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling imbl v6.1.0 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling bon v2.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling moduforge-model v0.6.4 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling ractor v0.15.8 [INFO] [stderr] Compiling moduforge-transform v0.6.4 [INFO] [stderr] Compiling moduforge-state v0.6.4 [INFO] [stderr] Compiling moduforge-core v0.6.4 [INFO] [stderr] Compiling moduforge-macros v0.6.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "b7a3b4a96c2664dcc3e1d9a62342275e5aa11e266a63990e5010420a09502501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a3b4a96c2664dcc3e1d9a62342275e5aa11e266a63990e5010420a09502501", kill_on_drop: false }` [INFO] [stdout] b7a3b4a96c2664dcc3e1d9a62342275e5aa11e266a63990e5010420a09502501 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f8719a0b75ffbd70aa0805626b6da81049905c327b2ef6584a28c44b2257de4 [INFO] running `Command { std: "docker" "start" "-a" "3f8719a0b75ffbd70aa0805626b6da81049905c327b2ef6584a28c44b2257de4", kill_on_drop: false }` [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling moduforge-transform v0.6.4 [INFO] [stderr] Compiling moduforge-state v0.6.4 [INFO] [stderr] Compiling moduforge-core v0.6.4 [INFO] [stderr] Compiling moduforge-macros v0.6.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.10s [INFO] running `Command { std: "docker" "inspect" "3f8719a0b75ffbd70aa0805626b6da81049905c327b2ef6584a28c44b2257de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8719a0b75ffbd70aa0805626b6da81049905c327b2ef6584a28c44b2257de4", kill_on_drop: false }` [INFO] [stdout] 3f8719a0b75ffbd70aa0805626b6da81049905c327b2ef6584a28c44b2257de4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 214d71e7bd34b93fd430538b8ede0bad19b4d5e76aaf270f88609aae4f1302c9 [INFO] running `Command { std: "docker" "start" "-a" "214d71e7bd34b93fd430538b8ede0bad19b4d5e76aaf270f88609aae4f1302c9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mf_macro-5099a80ebc055c97) [INFO] [stdout] [INFO] [stderr] Doc-tests mf_macro [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] [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/c2e32f1c9652b13ed99608599c1e855462f421f3/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/rustdoctestPRFiq7/rust_out.long-type-14857413967072192006.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.94s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.29s; merged doctests compilation took 0.35s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "214d71e7bd34b93fd430538b8ede0bad19b4d5e76aaf270f88609aae4f1302c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214d71e7bd34b93fd430538b8ede0bad19b4d5e76aaf270f88609aae4f1302c9", kill_on_drop: false }` [INFO] [stdout] 214d71e7bd34b93fd430538b8ede0bad19b4d5e76aaf270f88609aae4f1302c9