[INFO] fetching crate tari_comms_rpc_macros 5.1.0... [INFO] testing tari_comms_rpc_macros-5.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate tari_comms_rpc_macros 5.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tari_comms_rpc_macros 5.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tari_comms_rpc_macros 5.1.0 [INFO] tweaked toml for crates.io crate tari_comms_rpc_macros 5.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tari_comms_rpc_macros 5.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tari_comms_rpc_macros 5.1.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e7c77387c427de6254990bd94f6e695057ebd57644b8d13eff1ac4b0e4c82c8 [INFO] running `Command { std: "docker" "start" "-a" "4e7c77387c427de6254990bd94f6e695057ebd57644b8d13eff1ac4b0e4c82c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7c77387c427de6254990bd94f6e695057ebd57644b8d13eff1ac4b0e4c82c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7c77387c427de6254990bd94f6e695057ebd57644b8d13eff1ac4b0e4c82c8", kill_on_drop: false }` [INFO] [stdout] 4e7c77387c427de6254990bd94f6e695057ebd57644b8d13eff1ac4b0e4c82c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb95009a36661ed2fd5aa26868500f478e8746f67ce07a97be985ddf579208b8 [INFO] running `Command { std: "docker" "start" "-a" "bb95009a36661ed2fd5aa26868500f478e8746f67ce07a97be985ddf579208b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tari_comms_rpc_macros v5.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.13s [INFO] running `Command { std: "docker" "inspect" "bb95009a36661ed2fd5aa26868500f478e8746f67ce07a97be985ddf579208b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb95009a36661ed2fd5aa26868500f478e8746f67ce07a97be985ddf579208b8", kill_on_drop: false }` [INFO] [stdout] bb95009a36661ed2fd5aa26868500f478e8746f67ce07a97be985ddf579208b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19010e6455ef2c500954d86b6bbb49f98cf338cea05c10e17d7ac12cae605a78 [INFO] running `Command { std: "docker" "start" "-a" "19010e6455ef2c500954d86b6bbb49f98cf338cea05c10e17d7ac12cae605a78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling tari_comms_rpc_macros v5.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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 one of these structs instead: [INFO] [stdout] std::sync::RwLock [INFO] [stdout] std::sync::nonpoison::RwLock [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tari_comms` [INFO] [stdout] --> tests/macro.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tari_comms::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tari_comms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tari_comms`, use `cargo add tari_comms` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tari_comms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tari_comms`, use `cargo add tari_comms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tari_comms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tari_comms`, use `cargo add tari_comms` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tari_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tari_test_utils`, use `cargo add tari_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tari_comms` [INFO] [stdout] --> tests/macro.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[tari_comms::async_trait] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tari_comms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tari_comms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tari_comms`, use `cargo add tari_comms` to add it to your `Cargo.toml` [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-1949cf8c6b5b557f/tokio-1.45.1/src/lib.rs:546:5 [INFO] [stdout] | [INFO] [stdout] 546 | 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)]` (part of `#[warn(unused)]`) 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] 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>::#[tari_rpc(protocol_name = b"/test/protocol/123", server_struct = TestServer, client_struct = TestClient)] [INFO] [stdout] | ++++++++++++++++++++++++++++ [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>::#[tari_rpc(protocol_name = b"/test/protocol/123", server_struct = TestServer, client_struct = TestClient)] [INFO] [stdout] | ++++++++++++++++++++++++++++ [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 15 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "19010e6455ef2c500954d86b6bbb49f98cf338cea05c10e17d7ac12cae605a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19010e6455ef2c500954d86b6bbb49f98cf338cea05c10e17d7ac12cae605a78", kill_on_drop: false }` [INFO] [stdout] 19010e6455ef2c500954d86b6bbb49f98cf338cea05c10e17d7ac12cae605a78