[INFO] fetching crate lwleen-rpc 1.3.0... [INFO] testing lwleen-rpc-1.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate lwleen-rpc 1.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate lwleen-rpc 1.3.0 [INFO] finished tweaking crates.io crate lwleen-rpc 1.3.0 [INFO] tweaked toml for crates.io crate lwleen-rpc 1.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lwleen-rpc 1.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lwleen-rpc 1.3.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79aa8e8ae07fd0e9b1e2891b32c905afc002418a2ac0fad03311d11705d1826c [INFO] running `Command { std: "docker" "start" "-a" "79aa8e8ae07fd0e9b1e2891b32c905afc002418a2ac0fad03311d11705d1826c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79aa8e8ae07fd0e9b1e2891b32c905afc002418a2ac0fad03311d11705d1826c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79aa8e8ae07fd0e9b1e2891b32c905afc002418a2ac0fad03311d11705d1826c", kill_on_drop: false }` [INFO] [stdout] 79aa8e8ae07fd0e9b1e2891b32c905afc002418a2ac0fad03311d11705d1826c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2d5824f90f55f972347db37d7edaebd652a6ff335b1ff7317574266343232ba [INFO] running `Command { std: "docker" "start" "-a" "f2d5824f90f55f972347db37d7edaebd652a6ff335b1ff7317574266343232ba", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling lwleen-macro v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling lwleen-rpc v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.62s [INFO] running `Command { std: "docker" "inspect" "f2d5824f90f55f972347db37d7edaebd652a6ff335b1ff7317574266343232ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d5824f90f55f972347db37d7edaebd652a6ff335b1ff7317574266343232ba", kill_on_drop: false }` [INFO] [stdout] f2d5824f90f55f972347db37d7edaebd652a6ff335b1ff7317574266343232ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 699a95c0ec5cbc0ee9e811c29411ea750a5a1f862b25743dff62766edddcf1c8 [INFO] running `Command { std: "docker" "start" "-a" "699a95c0ec5cbc0ee9e811c29411ea750a5a1f862b25743dff62766edddcf1c8", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-fs v2.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling lwleen-rpc v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling smol v2.0.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.84s [INFO] running `Command { std: "docker" "inspect" "699a95c0ec5cbc0ee9e811c29411ea750a5a1f862b25743dff62766edddcf1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699a95c0ec5cbc0ee9e811c29411ea750a5a1f862b25743dff62766edddcf1c8", kill_on_drop: false }` [INFO] [stdout] 699a95c0ec5cbc0ee9e811c29411ea750a5a1f862b25743dff62766edddcf1c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fa804926e2e1d69f53ca2a8bee5236b168fb71372dd68e26d4321694d0e8af3 [INFO] running `Command { std: "docker" "start" "-a" "4fa804926e2e1d69f53ca2a8bee5236b168fb71372dd68e26d4321694d0e8af3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lwleen_rpc-a1bbeeecd8e8d83e) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test macros::测试::test_match取出 ... ok [INFO] [stdout] test 测试::测试 ... ok [INFO] [stderr] Doc-tests lwleen_rpc [INFO] [stdout] test mod_demo::测试::demo_测试 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/macros.rs - macros::core发布信令任务 (line 27) - compile ... FAILED [INFO] [stdout] test src/lib.rs - 信令特征 (line 166) - compile ... FAILED [INFO] [stdout] test src/lib.rs - prelude (line 25) - compile ... FAILED [INFO] [stdout] test src/macros.rs - macros::match取出 (line 176) - compile ... FAILED [INFO] [stdout] test src/mod_pool.rs - mod_pool::ThreadPool (line 297) ... FAILED [INFO] [stdout] test src/lib.rs - 信令路由::new (line 280) - compile ... FAILED [INFO] [stdout] test src/mod_pool.rs - mod_pool (line 18) - compile ... FAILED [INFO] [stdout] test src/mod_pool.rs - mod_pool::ThreadPool (line 348) ... FAILED [INFO] [stdout] test src/mod_pool.rs - mod_pool::ThreadPool (line 311) ... FAILED [INFO] [stdout] test src/macros.rs - macros::impl信令特征 (line 65) - compile ... FAILED [INFO] [stdout] test src/mod_pool.rs - mod_pool::ThreadPool (line 270) ... FAILED [INFO] [stdout] test src/lib.rs - rpc类型::futures单线程 (line 266) - compile ... FAILED [INFO] [stdout] test src/mod_pool.rs - mod_pool::ThreadPool (line 285) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros.rs - macros::core发布信令任务 (line 27) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/macros.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 11 | 信令路由::task发布信令_任务($clone_信令路由.to_owned(), $信令 , |结果| match取出!(结果?.try_into()?, $variant) ) [INFO] [stdout] | ^ expected one of `!` or `::` [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 - 信令特征 (line 166) stdout ---- [INFO] [stdout] error: expected item, found `-` [INFO] [stdout] --> src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 1 | - Sync 即 Mutex 多线程共享访问 [INFO] [stdout] | ^ expected item [INFO] [stdout] | [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 - prelude (line 25) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `lwleen_rpc` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 1 | 下面是 lwleen_rpc 导出的💖常用库 [INFO] [stdout] | ^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::match取出 (line 176) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/macros.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 6 | let a = aenum::abc; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [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/mod_pool.rs - mod_pool::ThreadPool (line 297) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rusty_pool` [INFO] [stdout] --> src/mod_pool.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusty_pool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rusty_pool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusty_pool`, use `cargo add rusty_pool` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - 信令路由::new (line 280) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_std` [INFO] [stdout] --> src/lib.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std; [INFO] [stdout] | ^^^^^^^^^ no external crate `async_std` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `信令路由` [INFO] [stdout] --> src/lib.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 4 | let 信令路由c1 = 信令路由::new(rpc类型::none自定义); // 用于自定义服务端 [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `信令路由` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `信令路由`, use `cargo add 信令路由` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::信令路由; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpc类型` [INFO] [stdout] --> src/lib.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 4 | let 信令路由c1 = 信令路由::new(rpc类型::none自定义); // 用于自定义服务端 [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rpc类型` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpc类型`, use `cargo add rpc类型` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::rpc类型; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `信令路由` [INFO] [stdout] --> src/lib.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 9 | async_std::task::spawn( 信令路由::core_信令包消费_执行(&信令路由c2, msg) ); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `信令路由` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `信令路由`, use `cargo add 信令路由` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::信令路由; [INFO] [stdout] | [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/mod_pool.rs - mod_pool (line 18) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/mod_pool.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 6 | future: Mutex>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::nonpoison::Mutex; [INFO] [stdout] | [INFO] [stdout] 2 + use async_lock::Mutex; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::lock::Mutex; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxFuture` in this scope [INFO] [stdout] --> src/mod_pool.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 6 | future: Mutex>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/future/future.rs:37:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Future` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - future: Mutex>>, [INFO] [stdout] 6 + future: Mutex>>, [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use futures::future::BoxFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreadPool` in this scope [INFO] [stdout] --> src/mod_pool.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 7 | pool: ThreadPool, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::mod_pool::ThreadPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Task` in this scope [INFO] [stdout] --> src/mod_pool.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 28 | impl Task<()> for Arc { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::mod_pool::Task; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/mod_pool.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 28 | impl Task<()> for Arc { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::prelude::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `waker_ref` in this scope [INFO] [stdout] --> src/mod_pool.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 32 | let waker = waker_ref(&self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try calling `waker_ref` as a method [INFO] [stdout] | [INFO] [stdout] 32 - let waker = waker_ref(&self); [INFO] [stdout] 32 + let waker = self.waker_ref(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use futures::task::waker_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> src/mod_pool.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 33 | let context = &mut Context::from_waker(&*waker); //提供 waker [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use anyhow::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async` [INFO] [stdout] --> src/mod_pool.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "async")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `glib`, `mod_gtk`, and `wasm-bindgen` [INFO] [stdout] = help: consider adding `r#async` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mod_pool.rs - mod_pool::ThreadPool (line 348) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rusty_pool` [INFO] [stdout] --> src/mod_pool.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rusty_pool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rusty_pool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusty_pool`, use `cargo add rusty_pool` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/mod_pool.rs - mod_pool::ThreadPool (line 311) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rusty_pool` [INFO] [stdout] --> src/mod_pool.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rusty_pool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rusty_pool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusty_pool`, use `cargo add rusty_pool` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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/macros.rs - macros::impl信令特征 (line 65) stdout ---- [INFO] [stdout] error: cannot find macro `impl信令特征` in this scope [INFO] [stdout] --> src/macros.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 6 | impl信令特征!(信令表, 执行函数); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::impl信令特征; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/macros.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Serialize, Deserialize)]//可选特征 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::prelude::Serialize; [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/macros.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Serialize, Deserialize)]//可选特征 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::prelude::Deserialize; [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `信令路由` [INFO] [stdout] --> src/macros.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn 执行函数(信令路由:信令路由,id:信令ID,单个信令:信令表)->anyhow_Result<信令表>{ } [INFO] [stdout] | ^^^^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::信令路由; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `信令ID` in this scope [INFO] [stdout] --> src/macros.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 8 | async fn 执行函数(信令路由:信令路由,id:信令ID,单个信令:信令表)->anyhow_Result<信令表>{ } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::信令ID; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `anyhow_Result` in this scope [INFO] [stdout] --> src/macros.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 8 | async fn 执行函数(信令路由:信令路由,id:信令ID,单个信令:信令表)->anyhow_Result<信令表>{ } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::prelude::anyhow_Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0573. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mod_pool.rs - mod_pool::ThreadPool (line 270) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rusty_pool` [INFO] [stdout] --> src/mod_pool.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusty_pool::Builder; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rusty_pool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusty_pool`, use `cargo add rusty_pool` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusty_pool` [INFO] [stdout] --> src/mod_pool.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rusty_pool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rusty_pool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusty_pool`, use `cargo add rusty_pool` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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 - rpc类型::futures单线程 (line 266) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `async_bounded` in this scope [INFO] [stdout] --> src/lib.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 3 | let (tx,rx) = async_bounded(1); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lwleen_rpc::prelude::async_bounded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `信令路由c1` in this scope [INFO] [stdout] --> src/lib.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 4 | 信令路由c1.spawn异步任务(async move{ tx.send(1).ok(); }); //派发的任务 [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mod_pool.rs - mod_pool::ThreadPool (line 285) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rusty_pool` [INFO] [stdout] --> src/mod_pool.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusty_pool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rusty_pool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusty_pool`, use `cargo add rusty_pool` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - prelude (line 25) [INFO] [stdout] src/lib.rs - rpc类型::futures单线程 (line 266) [INFO] [stdout] src/lib.rs - 信令特征 (line 166) [INFO] [stdout] src/lib.rs - 信令路由::new (line 280) [INFO] [stdout] src/macros.rs - macros::core发布信令任务 (line 27) [INFO] [stdout] src/macros.rs - macros::impl信令特征 (line 65) [INFO] [stdout] src/macros.rs - macros::match取出 (line 176) [INFO] [stdout] src/mod_pool.rs - mod_pool (line 18) [INFO] [stdout] src/mod_pool.rs - mod_pool::ThreadPool (line 270) [INFO] [stdout] src/mod_pool.rs - mod_pool::ThreadPool (line 285) [INFO] [stdout] src/mod_pool.rs - mod_pool::ThreadPool (line 297) [INFO] [stdout] src/mod_pool.rs - mod_pool::ThreadPool (line 311) [INFO] [stdout] src/mod_pool.rs - mod_pool::ThreadPool (line 348) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.22s [INFO] running `Command { std: "docker" "inspect" "4fa804926e2e1d69f53ca2a8bee5236b168fb71372dd68e26d4321694d0e8af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa804926e2e1d69f53ca2a8bee5236b168fb71372dd68e26d4321694d0e8af3", kill_on_drop: false }` [INFO] [stdout] 4fa804926e2e1d69f53ca2a8bee5236b168fb71372dd68e26d4321694d0e8af3