[INFO] fetching crate walle-core 0.1.1... [INFO] testing walle-core-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate walle-core 0.1.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate walle-core 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate walle-core 0.1.1 [INFO] finished tweaking crates.io crate walle-core 0.1.1 [INFO] tweaked toml for crates.io crate walle-core 0.1.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47803bd951b183cdbe38bdb5f37981bf5b0fd1da672bc52ad5aebf8a09c5513c [INFO] running `Command { std: "docker" "start" "-a" "47803bd951b183cdbe38bdb5f37981bf5b0fd1da672bc52ad5aebf8a09c5513c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47803bd951b183cdbe38bdb5f37981bf5b0fd1da672bc52ad5aebf8a09c5513c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47803bd951b183cdbe38bdb5f37981bf5b0fd1da672bc52ad5aebf8a09c5513c", kill_on_drop: false }` [INFO] [stdout] 47803bd951b183cdbe38bdb5f37981bf5b0fd1da672bc52ad5aebf8a09c5513c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64f91c73fbed224f8488d86c80c0247e4c53753e3d996aa74314fe102753a841 [INFO] running `Command { std: "docker" "start" "-a" "64f91c73fbed224f8488d86c80c0247e4c53753e3d996aa74314fe102753a841", kill_on_drop: false }` [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling walle-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `impl` [INFO] [stdout] --> src/event_builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | r#impl: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `platform` [INFO] [stdout] --> src/event_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | platform: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `self_id` [INFO] [stdout] --> src/event_builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | self_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.47s [INFO] running `Command { std: "docker" "inspect" "64f91c73fbed224f8488d86c80c0247e4c53753e3d996aa74314fe102753a841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f91c73fbed224f8488d86c80c0247e4c53753e3d996aa74314fe102753a841", kill_on_drop: false }` [INFO] [stdout] 64f91c73fbed224f8488d86c80c0247e4c53753e3d996aa74314fe102753a841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e6e722e6c6b34da6451b3c78cf712bb47fa1e46035143249fe7ff5706c9cdd4 [INFO] running `Command { std: "docker" "start" "-a" "8e6e722e6c6b34da6451b3c78cf712bb47fa1e46035143249fe7ff5706c9cdd4", kill_on_drop: false }` [INFO] [stderr] Compiling walle-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `impl` [INFO] [stdout] --> src/event_builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | r#impl: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `platform` [INFO] [stdout] --> src/event_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | platform: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `self_id` [INFO] [stdout] --> src/event_builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | self_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `impl` [INFO] [stdout] --> src/event_builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | r#impl: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `platform` [INFO] [stdout] --> src/event_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | platform: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `self_id` [INFO] [stdout] --> src/event_builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | self_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/event_builder.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.66s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/walle_core-1b5d07e7b163fcdd) [INFO] running `Command { std: "docker" "inspect" "8e6e722e6c6b34da6451b3c78cf712bb47fa1e46035143249fe7ff5706c9cdd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6e722e6c6b34da6451b3c78cf712bb47fa1e46035143249fe7ff5706c9cdd4", kill_on_drop: false }` [INFO] [stdout] 8e6e722e6c6b34da6451b3c78cf712bb47fa1e46035143249fe7ff5706c9cdd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e2affce5c7bc3cad43977f53aca500386f63854875f758a7f9dbabad035bc759 [INFO] running `Command { std: "docker" "start" "-a" "e2affce5c7bc3cad43977f53aca500386f63854875f758a7f9dbabad035bc759", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `impl` [INFO] [stderr] --> src/event_builder.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | r#impl: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/event_builder.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `platform` [INFO] [stderr] --> src/event_builder.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | platform: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/event_builder.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `self_id` [INFO] [stderr] --> src/event_builder.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | self_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/event_builder.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `walle-core` (lib) generated 3 warnings [INFO] [stderr] warning: `walle-core` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/walle_core-1b5d07e7b163fcdd) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::action ... ok [INFO] [stdout] test test::action_resp ... ok [INFO] [stdout] test test::message ... ok [INFO] [stdout] test test::event ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests walle-core [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/handle/mod.rs - handle::ActionHandler (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - event (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - event (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - event (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - event (line 87) ... FAILED [INFO] [stdout] test src/lib.rs - event (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - event (line 73) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/handle/mod.rs - handle::ActionHandler (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `abras_onebot` [INFO] [stdout] --> src/handle/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | use abras_onebot::{Action, ActionResps, VersionContent, ActionHandler, ActionRespContent}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `abras_onebot` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - event (line 66) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `BaseEvent` in this scope [INFO] [stdout] --> src/lib.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Event = BaseEvent; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::BaseEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventContent` in this scope [INFO] [stdout] --> src/lib.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Event = BaseEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::EventContent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - event (line 31) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Deserialize [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[serde(rename = "impl")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - event (line 100) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `EventContent` in this scope [INFO] [stdout] --> src/lib.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn from_standard(content: EventContent) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::EventContent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `walle_core::impls` [INFO] [stdout] --> src/lib.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 3 | use walle_core::{ImplConfig, impls::OneBot, DefaultHandler}; [INFO] [stdout] | ^^^^^ could not find `impls` in `walle_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> src/lib.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 7 | let env = tracing_subscriber::EnvFilter::from("Walle-core=trace"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 8 | tracing_subscriber::fmt().with_env_filter(env).init(); // 初始化 tracing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - event (line 87) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Deserialize [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Meta` in this scope [INFO] [stdout] --> src/lib.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 6 | Standard(Meta), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::Meta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - event (line 51) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Deserialize [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Meta` in this scope [INFO] [stdout] --> src/lib.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 7 | Meta(Meta), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::Meta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 8 | Message(Message), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::Message; [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::event::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Notice` in this scope [INFO] [stdout] --> src/lib.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 9 | Notice(Notice), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::Notice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 10 | Request(Request), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 58) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `walle_core::app` [INFO] [stdout] --> src/lib.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 3 | use walle_core::{AppConfig, app::OneBot, DefaultHandler}; [INFO] [stdout] | ^^^ could not find `app` in `walle_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> src/lib.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 7 | let env = tracing_subscriber::EnvFilter::from("Walle-core=trace"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 8 | tracing_subscriber::fmt().with_env_filter(env).init(); // 初始化 tracing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - event (line 73) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Deserialize [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtendedMeta` in this scope [INFO] [stdout] --> src/lib.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 7 | Meta(ExtendedMeta), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::ExtendedMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtendedMessage` in this scope [INFO] [stdout] --> src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 8 | Message(ExtendedMessage), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::ExtendedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtendedNotice` in this scope [INFO] [stdout] --> src/lib.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 9 | Notice(ExtendedNotice), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::ExtendedNotice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtendedRequest` in this scope [INFO] [stdout] --> src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 10 | Request(ExtendedRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use walle_core::ExtendedRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/handle/mod.rs - handle::ActionHandler (line 13) [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/lib.rs - event (line 100) [INFO] [stdout] src/lib.rs - event (line 31) [INFO] [stdout] src/lib.rs - event (line 51) [INFO] [stdout] src/lib.rs - event (line 66) [INFO] [stdout] src/lib.rs - event (line 73) [INFO] [stdout] src/lib.rs - event (line 87) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e2affce5c7bc3cad43977f53aca500386f63854875f758a7f9dbabad035bc759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2affce5c7bc3cad43977f53aca500386f63854875f758a7f9dbabad035bc759", kill_on_drop: false }` [INFO] [stdout] e2affce5c7bc3cad43977f53aca500386f63854875f758a7f9dbabad035bc759