[INFO] fetching crate tari_comms_rpc_macros 1.0.0-rc.5... [INFO] checking tari_comms_rpc_macros-1.0.0-rc.5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tari_comms_rpc_macros 1.0.0-rc.5 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tari_comms_rpc_macros 1.0.0-rc.5 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tari_comms_rpc_macros 1.0.0-rc.5 [INFO] finished tweaking crates.io crate tari_comms_rpc_macros 1.0.0-rc.5 [INFO] tweaked toml for crates.io crate tari_comms_rpc_macros 1.0.0-rc.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding prost v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32217985c73868363b61453ac4fb1629dbe29aeb8e2a998da8e718769e67b1e4 [INFO] running `Command { std: "docker" "start" "-a" "32217985c73868363b61453ac4fb1629dbe29aeb8e2a998da8e718769e67b1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32217985c73868363b61453ac4fb1629dbe29aeb8e2a998da8e718769e67b1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32217985c73868363b61453ac4fb1629dbe29aeb8e2a998da8e718769e67b1e4", kill_on_drop: false }` [INFO] [stdout] 32217985c73868363b61453ac4fb1629dbe29aeb8e2a998da8e718769e67b1e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16836d6cb5591b2c95e3726a916cfd658e18a35f1a8e94ead3117424ab149143 [INFO] running `Command { std: "docker" "start" "-a" "16836d6cb5591b2c95e3726a916cfd658e18a35f1a8e94ead3117424ab149143", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tari_comms_rpc_macros v1.0.0-rc.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `dep_module_name` is never read [INFO] [stdout] --> src/options.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RpcTraitOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 33 | pub protocol_name: syn::LitByteStr, [INFO] [stdout] 34 | pub dep_module_name: Ident, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RpcTraitOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stdout] warning: field `dep_module_name` is never read [INFO] [stdout] --> src/options.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RpcTraitOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 33 | pub protocol_name: syn::LitByteStr, [INFO] [stdout] 34 | pub dep_module_name: Ident, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RpcTraitOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> tests/macro.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> tests/macro.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> tests/macro.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> tests/macro.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::sync::mpsc`, `tokio::sync::RwLock` [INFO] [stdout] --> tests/macro.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | sync::{mpsc, RwLock}, [INFO] [stdout] | ^^^^ ^^^^^^ no `RwLock` in `sync` [INFO] [stdout] | | [INFO] [stdout] | no `mpsc` in `sync` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] std::sync::mpsc [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::sync::RwLock [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tari_comms` [INFO] [stdout] --> tests/macro.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tari_comms::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tari_comms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tari_comms` [INFO] [stdout] --> tests/macro.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tari_comms::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tari_comms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tari_comms` [INFO] [stdout] --> tests/macro.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[tari_rpc(protocol_name = b"/test/protocol/123", server_struct = TestServer, client_struct = TestClient)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tari_comms` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tari_rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tari_comms` in the list of imported crates [INFO] [stdout] --> tests/macro.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[tari_rpc(protocol_name = b"/test/protocol/123", server_struct = TestServer, client_struct = TestClient)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `tari_comms` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tari_rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tari_test_utils` [INFO] [stdout] --> tests/macro.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use tari_test_utils::unpack_enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `tari_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tari_comms` [INFO] [stdout] --> tests/macro.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[tari_comms::async_trait] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tari_comms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tari_comms` [INFO] [stdout] --> tests/macro.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[tari_rpc(protocol_name = b"/test/protocol/123", server_struct = TestServer, client_struct = TestClient)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tari_comms` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tari_rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 23 + use std::future; [INFO] [stdout] | [INFO] [stdout] 23 + use futures::future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macro.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | sync::{mpsc, RwLock}, [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/lib.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 544 | mod sync; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> tests/macro.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | task, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_service::Service` [INFO] [stdout] --> tests/macro.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use tower_service::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dep_module_name` is never read [INFO] [stdout] --> src/options.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RpcTraitOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 33 | pub protocol_name: syn::LitByteStr, [INFO] [stdout] 34 | pub dep_module_name: Ident, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RpcTraitOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/macro.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[tari_rpc(protocol_name = b"/test/protocol/123", server_struct = TestServer, client_struct = TestClient)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tari_rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: if there were a trait named `Example` with associated type `Error` implemented for `TestServer`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 44 | as Example>::Error [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/macro.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[tari_rpc(protocol_name = b"/test/protocol/123", server_struct = TestServer, client_struct = TestClient)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tari_rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: if there were a trait named `Example` with associated type `Future` implemented for `TestServer`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 44 | as Example>::Future [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tari_comms_rpc_macros` (test "macro") due to 16 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16836d6cb5591b2c95e3726a916cfd658e18a35f1a8e94ead3117424ab149143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16836d6cb5591b2c95e3726a916cfd658e18a35f1a8e94ead3117424ab149143", kill_on_drop: false }` [INFO] [stdout] 16836d6cb5591b2c95e3726a916cfd658e18a35f1a8e94ead3117424ab149143