[INFO] fetching crate toy-rpc-macros 0.7.0-alpha.3... [INFO] testing toy-rpc-macros-0.7.0-alpha.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate toy-rpc-macros 0.7.0-alpha.3 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate toy-rpc-macros 0.7.0-alpha.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate toy-rpc-macros 0.7.0-alpha.3 [INFO] finished tweaking crates.io crate toy-rpc-macros 0.7.0-alpha.3 [INFO] tweaked toml for crates.io crate toy-rpc-macros 0.7.0-alpha.3 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 327ebe5f8d0c410555d6caf41d6260d8bbe4de051e2f3ba8e39362f59d8f51df [INFO] running `Command { std: "docker" "start" "-a" "327ebe5f8d0c410555d6caf41d6260d8bbe4de051e2f3ba8e39362f59d8f51df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "327ebe5f8d0c410555d6caf41d6260d8bbe4de051e2f3ba8e39362f59d8f51df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327ebe5f8d0c410555d6caf41d6260d8bbe4de051e2f3ba8e39362f59d8f51df", kill_on_drop: false }` [INFO] [stdout] 327ebe5f8d0c410555d6caf41d6260d8bbe4de051e2f3ba8e39362f59d8f51df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb0d125e094317c47e6daa00ab3d4958e7c16e881e03961a900007316c180e7 [INFO] running `Command { std: "docker" "start" "-a" "7eb0d125e094317c47e6daa00ab3d4958e7c16e881e03961a900007316c180e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling toy-rpc-macros v0.7.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `impl_for_client` [INFO] [stdout] --> src/lib.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | impl_for_client: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MacroArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[derive(Debug, darling::FromMeta)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.51s [INFO] running `Command { std: "docker" "inspect" "7eb0d125e094317c47e6daa00ab3d4958e7c16e881e03961a900007316c180e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb0d125e094317c47e6daa00ab3d4958e7c16e881e03961a900007316c180e7", kill_on_drop: false }` [INFO] [stdout] 7eb0d125e094317c47e6daa00ab3d4958e7c16e881e03961a900007316c180e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f18a748265ccf4cb5e3a1738baef15854eef2eb44ee2d82955c3ddbcdcf71c31 [INFO] running `Command { std: "docker" "start" "-a" "f18a748265ccf4cb5e3a1738baef15854eef2eb44ee2d82955c3ddbcdcf71c31", kill_on_drop: false }` [INFO] [stderr] Compiling toy-rpc-macros v0.7.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `impl_for_client` [INFO] [stdout] --> src/lib.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | impl_for_client: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MacroArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[derive(Debug, darling::FromMeta)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `impl_for_client` [INFO] [stdout] --> src/lib.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | impl_for_client: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MacroArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[derive(Debug, darling::FromMeta)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/toy_rpc_macros-507771aba8e8d600) [INFO] running `Command { std: "docker" "inspect" "f18a748265ccf4cb5e3a1738baef15854eef2eb44ee2d82955c3ddbcdcf71c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18a748265ccf4cb5e3a1738baef15854eef2eb44ee2d82955c3ddbcdcf71c31", kill_on_drop: false }` [INFO] [stdout] f18a748265ccf4cb5e3a1738baef15854eef2eb44ee2d82955c3ddbcdcf71c31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aabe8abf7bd4479da231db7372b7f258e945141d9f38120f76f3193118b9ad91 [INFO] running `Command { std: "docker" "start" "-a" "aabe8abf7bd4479da231db7372b7f258e945141d9f38120f76f3193118b9ad91", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `impl_for_client` [INFO] [stderr] --> src/lib.rs:362:5 [INFO] [stderr] | [INFO] [stderr] 362 | impl_for_client: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `MacroArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:359:10 [INFO] [stderr] | [INFO] [stderr] 359 | #[derive(Debug, darling::FromMeta)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `toy-rpc-macros` (lib) generated 1 warning [INFO] [stderr] warning: `toy-rpc-macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toy_rpc_macros-507771aba8e8d600) [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] [stderr] Doc-tests toy-rpc-macros [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - export_trait (line 379) ... FAILED [INFO] [stdout] test src/lib.rs - export_trait_impl (line 536) ... FAILED [INFO] [stdout] test src/lib.rs - export_impl (line 255) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - export_trait (line 379) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 9 | async fn add(&self, args(i32, i32)) -> Result; [INFO] [stdout] | ^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn add(&self, args(i32, 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: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:380:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_trait` in this scope [INFO] [stdout] --> src/lib.rs:381:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[export_trait] // This will give a default service name of "Arith" [INFO] [stdout] | ^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `export_name` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] toy_rpc_macros::export_trait [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_method` in this scope [INFO] [stdout] --> src/lib.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0706`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - export_trait_impl (line 536) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:544:39 [INFO] [stdout] | [INFO] [stdout] 10 | async fn add(&self, args(i32, i32)) -> Result { [INFO] [stdout] | ^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn add(&self, args(i32, i32)) -> Result { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 11 | | // ... [INFO] [stdout] 12 | | } [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: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:539:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_trait_impl` in this scope [INFO] [stdout] --> src/lib.rs:540:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[export_trait_impl] // The default name will follow the name of the trait (ie. "Arith") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] toy_rpc_macros::export_trait_impl [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Arith` in this scope [INFO] [stdout] --> src/lib.rs:541:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Arith for Abacus { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - export_impl (line 255) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 8 | async fn subtract(&self, args(i32, i32)) -> Result { [INFO] [stdout] | ^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_impl` in this scope [INFO] [stdout] --> src/lib.rs:258:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[export_impl] // This will give a default service name of "Abacus" [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] toy_rpc_macros::export_impl [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_method` in this scope [INFO] [stdout] --> src/lib.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:261:69 [INFO] [stdout] | [INFO] [stdout] 8 | async fn subtract(&self, args(i32, i32)) -> Result { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 9 | | // ... [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - export_impl (line 255) [INFO] [stdout] src/lib.rs - export_trait (line 379) [INFO] [stdout] src/lib.rs - export_trait_impl (line 536) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "aabe8abf7bd4479da231db7372b7f258e945141d9f38120f76f3193118b9ad91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aabe8abf7bd4479da231db7372b7f258e945141d9f38120f76f3193118b9ad91", kill_on_drop: false }` [INFO] [stdout] aabe8abf7bd4479da231db7372b7f258e945141d9f38120f76f3193118b9ad91