[INFO] fetching crate kovi-plugin-expand-napcat 0.4.0... [INFO] testing kovi-plugin-expand-napcat-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate kovi-plugin-expand-napcat 0.4.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kovi-plugin-expand-napcat 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c570944b90c485a29d3123b0e4be93c81a2daaba8f797f7e8579ebfa1f2472b [INFO] running `Command { std: "docker" "start" "-a" "9c570944b90c485a29d3123b0e4be93c81a2daaba8f797f7e8579ebfa1f2472b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c570944b90c485a29d3123b0e4be93c81a2daaba8f797f7e8579ebfa1f2472b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c570944b90c485a29d3123b0e4be93c81a2daaba8f797f7e8579ebfa1f2472b", kill_on_drop: false }` [INFO] [stdout] 9c570944b90c485a29d3123b0e4be93c81a2daaba8f797f7e8579ebfa1f2472b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6fd4f78a0223e5921c83b876e259f6e4a7970424aff81070a620c7e65622899 [INFO] running `Command { std: "docker" "start" "-a" "a6fd4f78a0223e5921c83b876e259f6e4a7970424aff81070a620c7e65622899", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling croner v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling kovi-macros v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling serde v1.0.219 [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 serde_json v1.0.140 [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 53.77s [INFO] running `Command { std: "docker" "inspect" "a6fd4f78a0223e5921c83b876e259f6e4a7970424aff81070a620c7e65622899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6fd4f78a0223e5921c83b876e259f6e4a7970424aff81070a620c7e65622899", kill_on_drop: false }` [INFO] [stdout] a6fd4f78a0223e5921c83b876e259f6e4a7970424aff81070a620c7e65622899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 173807d1df99813b7a204ea0cfb53bb7669b119e916f8fd7030b88c801968c2a [INFO] running `Command { std: "docker" "start" "-a" "173807d1df99813b7a204ea0cfb53bb7669b119e916f8fd7030b88c801968c2a", 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 0.94s [INFO] running `Command { std: "docker" "inspect" "173807d1df99813b7a204ea0cfb53bb7669b119e916f8fd7030b88c801968c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173807d1df99813b7a204ea0cfb53bb7669b119e916f8fd7030b88c801968c2a", kill_on_drop: false }` [INFO] [stdout] 173807d1df99813b7a204ea0cfb53bb7669b119e916f8fd7030b88c801968c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5dd217f09abe0440ef66444114bb61c9207f213a252980405797addc777988b [INFO] running `Command { std: "docker" "start" "-a" "d5dd217f09abe0440ef66444114bb61c9207f213a252980405797addc777988b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kovi_plugin_expand_napcat-9c15378ed4721c4a) [INFO] [stdout] [INFO] [stderr] Doc-tests kovi_plugin_expand_napcat [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 8 tests [INFO] [stdout] test src/lib.rs - NapCatVec::push_fake_node_from_content (line 1403) ... FAILED [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_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::push_node_from_content (line 1463) ... 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] [INFO] [stdout] failures: [INFO] [stdout] [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] 1 | 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_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] 1 | 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] 1 | 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] 4 | 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] 7 | 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] 7 | 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] 3 | let nodes = Vec::new() [INFO] [stdout] | _____________- [INFO] [stdout] 4 | | .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] 2 + 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::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] 4 | 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] 2 + 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] 5 | 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] 5 | 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] 4 | 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] 2 + 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_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] 3 | 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] 2 + 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] 5 | 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] 5 | 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] 3 | 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] 2 + 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] 4 | .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] 2 + 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] 5 | .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] 2 + 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] 7 | 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] 7 | 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] 3 | let nodes = Vec::new() [INFO] [stdout] | _____________- [INFO] [stdout] 4 | | .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] 2 + 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] [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.76s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.00s; merged doctests compilation took 0.23s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d5dd217f09abe0440ef66444114bb61c9207f213a252980405797addc777988b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5dd217f09abe0440ef66444114bb61c9207f213a252980405797addc777988b", kill_on_drop: false }` [INFO] [stdout] d5dd217f09abe0440ef66444114bb61c9207f213a252980405797addc777988b