[INFO] fetching crate kovi-plugin-expand-napcat 0.4.0... [INFO] testing kovi-plugin-expand-napcat-0.4.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate kovi-plugin-expand-napcat 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate kovi-plugin-expand-napcat 0.4.0 [INFO] finished tweaking crates.io crate kovi-plugin-expand-napcat 0.4.0 [INFO] tweaked toml for crates.io crate kovi-plugin-expand-napcat 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kovi-plugin-expand-napcat 0.4.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kovi-plugin-expand-napcat 0.4.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-link v0.1.2 [INFO] [stderr] Downloaded kovi-macros v0.5.2 [INFO] [stderr] Downloaded tempfile v3.20.0 [INFO] [stderr] Downloaded errno v0.3.12 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded rustversion v1.0.21 [INFO] [stderr] Downloaded croner v2.1.0 [INFO] [stderr] Downloaded kovi v0.12.2 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded rand v0.9.1 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded hashbrown v0.15.4 [INFO] [stderr] Downloaded syn v2.0.102 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42335c0adbbb578ff9d47ec32f8e19995a352361c2165f66c4527b9b7c148bb0 [INFO] running `Command { std: "docker" "start" "-a" "42335c0adbbb578ff9d47ec32f8e19995a352361c2165f66c4527b9b7c148bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42335c0adbbb578ff9d47ec32f8e19995a352361c2165f66c4527b9b7c148bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42335c0adbbb578ff9d47ec32f8e19995a352361c2165f66c4527b9b7c148bb0", kill_on_drop: false }` [INFO] [stdout] 42335c0adbbb578ff9d47ec32f8e19995a352361c2165f66c4527b9b7c148bb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01abd01d35725fbd200d83170189df6f81a4dc3b214d1f68884a5bb05832a9a6 [INFO] running `Command { std: "docker" "start" "-a" "01abd01d35725fbd200d83170189df6f81a4dc3b214d1f68884a5bb05832a9a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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 kovi-macros v0.5.2 [INFO] [stderr] Compiling croner v2.1.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling kovi v0.12.2 [INFO] [stderr] Compiling kovi-plugin-expand-napcat v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "01abd01d35725fbd200d83170189df6f81a4dc3b214d1f68884a5bb05832a9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01abd01d35725fbd200d83170189df6f81a4dc3b214d1f68884a5bb05832a9a6", kill_on_drop: false }` [INFO] [stdout] 01abd01d35725fbd200d83170189df6f81a4dc3b214d1f68884a5bb05832a9a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e1afa4f3fedcd949a56ea3f860f667cf825897c3abc8ff30a53bd3d61937efe [INFO] running `Command { std: "docker" "start" "-a" "5e1afa4f3fedcd949a56ea3f860f667cf825897c3abc8ff30a53bd3d61937efe", kill_on_drop: false }` [INFO] [stderr] Compiling kovi-plugin-expand-napcat v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "5e1afa4f3fedcd949a56ea3f860f667cf825897c3abc8ff30a53bd3d61937efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1afa4f3fedcd949a56ea3f860f667cf825897c3abc8ff30a53bd3d61937efe", kill_on_drop: false }` [INFO] [stdout] 5e1afa4f3fedcd949a56ea3f860f667cf825897c3abc8ff30a53bd3d61937efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6731abf202c71b63030e053eca58c8e1332b15b8b920c7c8bd21074a2e5b8760 [INFO] running `Command { std: "docker" "start" "-a" "6731abf202c71b63030e053eca58c8e1332b15b8b920c7c8bd21074a2e5b8760", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kovi_plugin_expand_napcat-9c15378ed4721c4a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests kovi_plugin_expand_napcat [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 8 tests [INFO] [stdout] test src/lib.rs - NapCatVec::push_node_from_id (line 1450) ... FAILED [INFO] [stdout] test src/lib.rs - NapCatVec::add_fake_node_from_id (line 1390) ... FAILED [INFO] [stdout] test src/lib.rs - NapCatVec::push_fake_node_from_content (line 1403) ... FAILED [INFO] [stdout] test src/lib.rs - NapCatVec::push_fake_node_from_id (line 1416) ... FAILED [INFO] [stdout] test src/lib.rs - NapCatVec::add_node_from_id (line 1426) ... FAILED [INFO] [stdout] test src/lib.rs - NapCatVec::add_node_from_content (line 1439) ... FAILED [INFO] [stdout] test src/lib.rs - NapCatVec::add_fake_node_from_content (line 1372) ... FAILED [INFO] [stdout] test src/lib.rs - NapCatVec::push_node_from_content (line 1463) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - NapCatVec::push_node_from_id (line 1450) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:1451:1 [INFO] [stdout] | [INFO] [stdout] 1451 | let mut nodes = Vec::new(); [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - NapCatVec::add_fake_node_from_id (line 1390) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:1391:1 [INFO] [stdout] | [INFO] [stdout] 1391 | let mut nodes = Vec::new(); [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - NapCatVec::push_fake_node_from_content (line 1403) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:1404:1 [INFO] [stdout] | [INFO] [stdout] 1404 | let mut nodes = Vec::new(); [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - NapCatVec::push_fake_node_from_id (line 1416) stdout ---- [INFO] [stdout] error[E0599]: no method named `push_fake_node_from_id` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/lib.rs:1418:7 [INFO] [stdout] | [INFO] [stdout] 1418 | nodes.push_fake_node_from_id("10000", "测试", "10000"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - NapCatVec::add_node_from_id (line 1426) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1431:1 [INFO] [stdout] | [INFO] [stdout] 1431 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1431:22 [INFO] [stdout] | [INFO] [stdout] 1431 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node_from_id` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/lib.rs:1428:6 [INFO] [stdout] | [INFO] [stdout] 1427 | let nodes = Vec::new() [INFO] [stdout] | _____________- [INFO] [stdout] 1428 | | .add_node_from_id("10000") [INFO] [stdout] | |_____-^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:1433:8 [INFO] [stdout] | [INFO] [stdout] 1433 | fn add_node_from_id(self, id: &str) -> Vec; [INFO] [stdout] | ---------------- the method is available for `Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `add_fake_node_from_id` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1397:5 [INFO] [stdout] | [INFO] [stdout] 1397 | fn add_fake_node_from_id(self, user_id: &str, nickname: &str, id: &str) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NapCatVec` which provides `add_node_from_id` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1426 + use kovi_plugin_expand_napcat::NapCatVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/lib.rs - NapCatVec::add_node_from_content (line 1439) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/lib.rs:1440:46 [INFO] [stdout] | [INFO] [stdout] 1440 | let nodes = Vec::new().add_node_from_content(Message::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1439 + use kovi::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1442:1 [INFO] [stdout] | [INFO] [stdout] 1442 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1442:22 [INFO] [stdout] | [INFO] [stdout] 1442 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node_from_content` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/lib.rs:1440:24 [INFO] [stdout] | [INFO] [stdout] 1440 | let nodes = Vec::new().add_node_from_content(Message::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:1444:8 [INFO] [stdout] | [INFO] [stdout] 1444 | fn add_node_from_content(self, content: Message) -> Vec; [INFO] [stdout] | --------------------- the method is available for `Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `add_fake_node_from_content` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1379:5 [INFO] [stdout] | [INFO] [stdout] 1379 | / fn add_fake_node_from_content( [INFO] [stdout] 1380 | | self, [INFO] [stdout] 1381 | | user_id: &str, [INFO] [stdout] 1382 | | nickname: &str, [INFO] [stdout] 1383 | | content: Message, [INFO] [stdout] 1384 | | ) -> Vec; [INFO] [stdout] | |___________________^ [INFO] [stdout] help: trait `NapCatVec` which provides `add_node_from_content` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1439 + use kovi_plugin_expand_napcat::NapCatVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - NapCatVec::add_fake_node_from_content (line 1372) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/lib.rs:1374:48 [INFO] [stdout] | [INFO] [stdout] 1374 | .add_fake_node_from_content("10000", "测试", Message::from("some")) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1372 + use kovi::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/lib.rs:1375:49 [INFO] [stdout] | [INFO] [stdout] 1375 | .add_fake_node_from_content("10000", "测试2", Message::from("some")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1372 + use kovi::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1377:1 [INFO] [stdout] | [INFO] [stdout] 1377 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1377:22 [INFO] [stdout] | [INFO] [stdout] 1377 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_fake_node_from_content` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/lib.rs:1374:6 [INFO] [stdout] | [INFO] [stdout] 1373 | let nodes = Vec::new() [INFO] [stdout] | _____________- [INFO] [stdout] 1374 | | .add_fake_node_from_content("10000", "测试", Message::from("some")) [INFO] [stdout] | |_____-^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:1379:8 [INFO] [stdout] | [INFO] [stdout] 1379 | fn add_fake_node_from_content( [INFO] [stdout] | -------------------------- the method is available for `Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `add_node_from_content` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1444:5 [INFO] [stdout] | [INFO] [stdout] 1444 | fn add_node_from_content(self, content: Message) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NapCatVec` which provides `add_fake_node_from_content` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1372 + use kovi_plugin_expand_napcat::NapCatVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - NapCatVec::push_node_from_content (line 1463) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/lib.rs:1465:30 [INFO] [stdout] | [INFO] [stdout] 1465 | nodes.push_node_from_content(Message::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1463 + use kovi::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1466:1 [INFO] [stdout] | [INFO] [stdout] 1466 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bot` in this scope [INFO] [stdout] --> src/lib.rs:1466:22 [INFO] [stdout] | [INFO] [stdout] 1466 | bot.send_private_msg(bot.main_admin, nodes); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_node_from_content` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/lib.rs:1465:7 [INFO] [stdout] | [INFO] [stdout] 1465 | nodes.push_node_from_content(Message::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:1468:8 [INFO] [stdout] | [INFO] [stdout] 1468 | fn push_node_from_content(&mut self, content: Message); [INFO] [stdout] | ---------------------- the method is available for `Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `push_fake_node_from_content` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1410:5 [INFO] [stdout] | [INFO] [stdout] 1410 | fn push_fake_node_from_content(&mut self, user_id: &str, nickname: &str, content: Message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NapCatVec` which provides `push_node_from_content` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1463 + use kovi_plugin_expand_napcat::NapCatVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - NapCatVec::add_fake_node_from_content (line 1372) [INFO] [stdout] src/lib.rs - NapCatVec::add_fake_node_from_id (line 1390) [INFO] [stdout] src/lib.rs - NapCatVec::add_node_from_content (line 1439) [INFO] [stdout] src/lib.rs - NapCatVec::add_node_from_id (line 1426) [INFO] [stdout] src/lib.rs - NapCatVec::push_fake_node_from_content (line 1403) [INFO] [stdout] src/lib.rs - NapCatVec::push_fake_node_from_id (line 1416) [INFO] [stdout] src/lib.rs - NapCatVec::push_node_from_content (line 1463) [INFO] [stdout] src/lib.rs - NapCatVec::push_node_from_id (line 1450) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.89s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.20s; merged doctests compilation took 0.32s [INFO] running `Command { std: "docker" "inspect" "6731abf202c71b63030e053eca58c8e1332b15b8b920c7c8bd21074a2e5b8760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6731abf202c71b63030e053eca58c8e1332b15b8b920c7c8bd21074a2e5b8760", kill_on_drop: false }` [INFO] [stdout] 6731abf202c71b63030e053eca58c8e1332b15b8b920c7c8bd21074a2e5b8760