[INFO] fetching crate tari_comms_rpc_macros 5.3.0-pre.8... [INFO] testing tari_comms_rpc_macros-5.3.0-pre.8 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tari_comms_rpc_macros 5.3.0-pre.8 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tari_comms_rpc_macros 5.3.0-pre.8 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tari_comms_rpc_macros 5.3.0-pre.8 [INFO] tweaked toml for crates.io crate tari_comms_rpc_macros 5.3.0-pre.8 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tari_comms_rpc_macros 5.3.0-pre.8 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tari_comms_rpc_macros 5.3.0-pre.8 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded bytes v1.9.0 [INFO] [stderr] Downloaded object v0.36.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b5adce13ece27b4fc6d77b70718175c2da0ddcde78edc335e4801ddd04afe76 [INFO] running `Command { std: "docker" "start" "-a" "2b5adce13ece27b4fc6d77b70718175c2da0ddcde78edc335e4801ddd04afe76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b5adce13ece27b4fc6d77b70718175c2da0ddcde78edc335e4801ddd04afe76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b5adce13ece27b4fc6d77b70718175c2da0ddcde78edc335e4801ddd04afe76", kill_on_drop: false }` [INFO] [stdout] 2b5adce13ece27b4fc6d77b70718175c2da0ddcde78edc335e4801ddd04afe76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bd43c6a8e7dee8bd7a598e895b1f2cb878b3198482d5093424f3fb128bda093 [INFO] running `Command { std: "docker" "start" "-a" "7bd43c6a8e7dee8bd7a598e895b1f2cb878b3198482d5093424f3fb128bda093", 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.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tari_comms_rpc_macros v5.3.0-pre.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.94s [INFO] running `Command { std: "docker" "inspect" "7bd43c6a8e7dee8bd7a598e895b1f2cb878b3198482d5093424f3fb128bda093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd43c6a8e7dee8bd7a598e895b1f2cb878b3198482d5093424f3fb128bda093", kill_on_drop: false }` [INFO] [stdout] 7bd43c6a8e7dee8bd7a598e895b1f2cb878b3198482d5093424f3fb128bda093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d516174b53934deb62dd869aad7e0158d4e50ac4990ca537c954a9cd390bc5c [INFO] running `Command { std: "docker" "start" "-a" "1d516174b53934deb62dd869aad7e0158d4e50ac4990ca537c954a9cd390bc5c", 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 either v1.13.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tari_comms_rpc_macros v5.3.0-pre.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.13.4 [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::RwLock`, `tokio::sync::mpsc` [INFO] [stdout] --> tests/macro.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | sync::{RwLock, mpsc}, [INFO] [stdout] | ^^^^^^ ^^^^ no `mpsc` in `sync` [INFO] [stdout] | | [INFO] [stdout] | no `RwLock` in `sync` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::sync::RwLock [INFO] [stdout] std::sync::nonpoison::RwLock [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] std::sync::mpsc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tari_comms` in this scope [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]: cannot find module or crate `tari_comms` in this scope [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]: cannot find `tari_comms` in the crate root [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]: cannot find module or crate `tari_comms` in this scope [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[E0603]: module `sync` is private [INFO] [stdout] --> tests/macro.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | sync::{RwLock, mpsc}, [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.47.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 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1d516174b53934deb62dd869aad7e0158d4e50ac4990ca537c954a9cd390bc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d516174b53934deb62dd869aad7e0158d4e50ac4990ca537c954a9cd390bc5c", kill_on_drop: false }` [INFO] [stdout] 1d516174b53934deb62dd869aad7e0158d4e50ac4990ca537c954a9cd390bc5c