[INFO] fetching crate toy-rpc-macros 0.4.1... [INFO] testing toy-rpc-macros-0.4.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate toy-rpc-macros 0.4.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate toy-rpc-macros 0.4.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate toy-rpc-macros 0.4.1 [INFO] finished tweaking crates.io crate toy-rpc-macros 0.4.1 [INFO] tweaked toml for crates.io crate toy-rpc-macros 0.4.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a510d6ecc3a2f25a67ddb3eabdecc065aa5e48d4dc56587cb683ae63d270a6b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a510d6ecc3a2f25a67ddb3eabdecc065aa5e48d4dc56587cb683ae63d270a6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a510d6ecc3a2f25a67ddb3eabdecc065aa5e48d4dc56587cb683ae63d270a6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a510d6ecc3a2f25a67ddb3eabdecc065aa5e48d4dc56587cb683ae63d270a6b5", kill_on_drop: false }` [INFO] [stdout] a510d6ecc3a2f25a67ddb3eabdecc065aa5e48d4dc56587cb683ae63d270a6b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50b13573112acfe36cec87ac316c42d643eca3518c2b699988cbb881c724c976 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "50b13573112acfe36cec87ac316c42d643eca3518c2b699988cbb881c724c976", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling toy-rpc-macros v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.56s [INFO] running `Command { std: "docker" "inspect" "50b13573112acfe36cec87ac316c42d643eca3518c2b699988cbb881c724c976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b13573112acfe36cec87ac316c42d643eca3518c2b699988cbb881c724c976", kill_on_drop: false }` [INFO] [stdout] 50b13573112acfe36cec87ac316c42d643eca3518c2b699988cbb881c724c976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31b9b7cf4bf5bd11dce2ce03854140b356b0c6a2f6e79907345e25b9fd154b32 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "31b9b7cf4bf5bd11dce2ce03854140b356b0c6a2f6e79907345e25b9fd154b32", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling toy-rpc-macros v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "31b9b7cf4bf5bd11dce2ce03854140b356b0c6a2f6e79907345e25b9fd154b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31b9b7cf4bf5bd11dce2ce03854140b356b0c6a2f6e79907345e25b9fd154b32", kill_on_drop: false }` [INFO] [stdout] 31b9b7cf4bf5bd11dce2ce03854140b356b0c6a2f6e79907345e25b9fd154b32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e69e4f3808c33e2ef4844273b475c8febeaaec2ea581b97776d368a96988637f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e69e4f3808c33e2ef4844273b475c8febeaaec2ea581b97776d368a96988637f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/toy_rpc_macros-69279c88c6008fba) [INFO] [stderr] Doc-tests toy-rpc-macros [INFO] [stdout] [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 6 tests [INFO] [stdout] test src/lib.rs - export_impl (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - transform_impl (line 361) ... FAILED [INFO] [stdout] test src/lib.rs - service (line 681) ... FAILED [INFO] [stdout] test src/lib.rs - export_impl (line 250) ... FAILED [INFO] [stdout] test src/lib.rs - export_impl (line 273) ... FAILED [INFO] [stdout] test src/lib.rs - transform_impl (line 375) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - export_impl (line 232) stdout ---- [INFO] [stdout] error: cannot find attribute `export_impl` in this scope [INFO] [stdout] --> src/lib.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[export_impl] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_method` in this scope [INFO] [stdout] --> src/lib.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - transform_impl (line 361) stdout ---- [INFO] [stdout] error: cannot find attribute `export_impl` in this scope [INFO] [stdout] --> src/lib.rs:364:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[export_impl] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_method` in this scope [INFO] [stdout] --> src/lib.rs:366:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - service (line 681) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `toy_rpc` [INFO] [stdout] --> src/lib.rs:698:5 [INFO] [stdout] | [INFO] [stdout] 18 | use toy_rpc::Server; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `toy_rpc` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_impl` in this scope [INFO] [stdout] --> src/lib.rs:692:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[export_impl] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_impl` in this scope [INFO] [stdout] --> src/lib.rs:684:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[export_impl] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 21 | let foo = Arc::new(Foo {}); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:702:15 [INFO] [stdout] | [INFO] [stdout] 22 | let bar = Arc::new(rpc::Bar {}); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - export_impl (line 250) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn increment(&self, arg: i32) -> Result; [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn increment(&self, arg: i32) -> Result { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 18 | | Ok(arg + 1) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `toy_rpc` [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 4 | use toy_rpc::macros::export_impl; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `toy_rpc` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `async_trait` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:261:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[async_trait] // make sure `#[async_trait]` is declared before `#[export_impl]` [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_impl` in this scope [INFO] [stdout] --> src/lib.rs:262:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[export_impl] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_method` in this scope [INFO] [stdout] --> src/lib.rs:264:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/lib.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0053]: method `increment` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:265:44 [INFO] [stdout] | [INFO] [stdout] 8 | async fn increment(&self, arg: i32) -> Result; [INFO] [stdout] | ------------------- type in trait [INFO] [stdout] ... [INFO] [stdout] 17 | async fn increment(&self, arg: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Foo, _) -> Result` [INFO] [stdout] found fn pointer `fn(&Foo, _) -> impl Future` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0432, E0433, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - export_impl (line 273) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `toy_rpc` [INFO] [stdout] --> src/lib.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 17 | use toy_rpc::Client; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `toy_rpc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> src/lib.rs:292:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[async_std::main] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_impl` in this scope [INFO] [stdout] --> src/lib.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[export_impl] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 21 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - transform_impl (line 375) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 11 | self: std::sync::Arc, [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `toy_rpc` [INFO] [stdout] --> src/lib.rs:385:31 [INFO] [stdout] | [INFO] [stdout] 12 | mut deserializer: Box + Send>, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `toy_rpc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `toy_rpc` [INFO] [stdout] --> src/lib.rs:386:6 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> toy_rpc::service::HandlerResultFut { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `toy_rpc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `toy_rpc` [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 15 | let req: i32 = toy_rpc::erased_serde::deserialize(&mut deserializer) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `toy_rpc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `toy_rpc` [INFO] [stdout] --> src/lib.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 22 | as Box [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `toy_rpc` [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/lib.rs:384:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn increment_handler( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 11 | self: std::sync::Arc, [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `toy_rpc` [INFO] [stdout] --> src/lib.rs:389:38 [INFO] [stdout] | [INFO] [stdout] 16 | .map_err(|e| toy_rpc::error::Error::ParseError(Box::new(e)))?; [INFO] [stdout] | ^^^^^ not found in `toy_rpc::error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `toy_rpc` [INFO] [stdout] --> src/lib.rs:397:38 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| toy_rpc::error::Error::ExecutionError(e.to_string())); [INFO] [stdout] | ^^^^^ not found in `toy_rpc::error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - export_impl (line 232) [INFO] [stdout] src/lib.rs - export_impl (line 250) [INFO] [stdout] src/lib.rs - export_impl (line 273) [INFO] [stdout] src/lib.rs - service (line 681) [INFO] [stdout] src/lib.rs - transform_impl (line 361) [INFO] [stdout] src/lib.rs - transform_impl (line 375) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e69e4f3808c33e2ef4844273b475c8febeaaec2ea581b97776d368a96988637f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69e4f3808c33e2ef4844273b475c8febeaaec2ea581b97776d368a96988637f", kill_on_drop: false }` [INFO] [stdout] e69e4f3808c33e2ef4844273b475c8febeaaec2ea581b97776d368a96988637f