[INFO] fetching crate tari_comms_rpc_macros 5.3.0-pre.8... [INFO] testing tari_comms_rpc_macros-5.3.0-pre.8 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate tari_comms_rpc_macros 5.3.0-pre.8 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tari_comms_rpc_macros 5.3.0-pre.8 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 920ac8c6cfa7dd48307586970e1c751ed93fdb8770fcc6fa61ae3389229620c2 [INFO] running `Command { std: "docker" "start" "-a" "920ac8c6cfa7dd48307586970e1c751ed93fdb8770fcc6fa61ae3389229620c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "920ac8c6cfa7dd48307586970e1c751ed93fdb8770fcc6fa61ae3389229620c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920ac8c6cfa7dd48307586970e1c751ed93fdb8770fcc6fa61ae3389229620c2", kill_on_drop: false }` [INFO] [stdout] 920ac8c6cfa7dd48307586970e1c751ed93fdb8770fcc6fa61ae3389229620c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2a67e2e02ec009fdb705c36d558b6936689f90cda8a39cbbe58382c09633ac [INFO] running `Command { std: "docker" "start" "-a" "5b2a67e2e02ec009fdb705c36d558b6936689f90cda8a39cbbe58382c09633ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.14 [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 9.06s [INFO] running `Command { std: "docker" "inspect" "5b2a67e2e02ec009fdb705c36d558b6936689f90cda8a39cbbe58382c09633ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2a67e2e02ec009fdb705c36d558b6936689f90cda8a39cbbe58382c09633ac", kill_on_drop: false }` [INFO] [stdout] 5b2a67e2e02ec009fdb705c36d558b6936689f90cda8a39cbbe58382c09633ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c6a2fa389e76106c3efaffb09d3e5e21f7f8e4dee14cffa3b8adc7968f5ea51 [INFO] running `Command { std: "docker" "start" "-a" "8c6a2fa389e76106c3efaffb09d3e5e21f7f8e4dee14cffa3b8adc7968f5ea51", 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" "8c6a2fa389e76106c3efaffb09d3e5e21f7f8e4dee14cffa3b8adc7968f5ea51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6a2fa389e76106c3efaffb09d3e5e21f7f8e4dee14cffa3b8adc7968f5ea51", kill_on_drop: false }` [INFO] [stdout] 8c6a2fa389e76106c3efaffb09d3e5e21f7f8e4dee14cffa3b8adc7968f5ea51