[INFO] fetching crate toy-rpc-macros-ha421 0.7.0-alpha.3... [INFO] testing toy-rpc-macros-ha421-0.7.0-alpha.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate toy-rpc-macros-ha421 0.7.0-alpha.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate toy-rpc-macros-ha421 0.7.0-alpha.3 [INFO] finished tweaking crates.io crate toy-rpc-macros-ha421 0.7.0-alpha.3 [INFO] tweaked toml for crates.io crate toy-rpc-macros-ha421 0.7.0-alpha.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate toy-rpc-macros-ha421 0.7.0-alpha.3 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.21.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 281bcff3c830e4f195a3e7d6ef90bcb034b4ca4ba4ad6f127d146afa2dafe37b [INFO] running `Command { std: "docker" "start" "-a" "281bcff3c830e4f195a3e7d6ef90bcb034b4ca4ba4ad6f127d146afa2dafe37b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "281bcff3c830e4f195a3e7d6ef90bcb034b4ca4ba4ad6f127d146afa2dafe37b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281bcff3c830e4f195a3e7d6ef90bcb034b4ca4ba4ad6f127d146afa2dafe37b", kill_on_drop: false }` [INFO] [stdout] 281bcff3c830e4f195a3e7d6ef90bcb034b4ca4ba4ad6f127d146afa2dafe37b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] de0c48fea197b5035cff9247c2e435e3baa1c64d859c862fa3818c7b807da9bb [INFO] running `Command { std: "docker" "start" "-a" "de0c48fea197b5035cff9247c2e435e3baa1c64d859c862fa3818c7b807da9bb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling toy-rpc-macros-ha421 v0.7.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MacroArgs` is never constructed [INFO] [stdout] --> src/lib.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | struct MacroArgs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.52s [INFO] running `Command { std: "docker" "inspect" "de0c48fea197b5035cff9247c2e435e3baa1c64d859c862fa3818c7b807da9bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0c48fea197b5035cff9247c2e435e3baa1c64d859c862fa3818c7b807da9bb", kill_on_drop: false }` [INFO] [stdout] de0c48fea197b5035cff9247c2e435e3baa1c64d859c862fa3818c7b807da9bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4b6e82f26401446a9f5dbd4593d6918b430d9dd1adfd3f78ead28a70f1f43114 [INFO] running `Command { std: "docker" "start" "-a" "4b6e82f26401446a9f5dbd4593d6918b430d9dd1adfd3f78ead28a70f1f43114", kill_on_drop: false }` [INFO] [stderr] Compiling toy-rpc-macros-ha421 v0.7.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MacroArgs` is never constructed [INFO] [stdout] --> src/lib.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | struct MacroArgs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacroArgs` is never constructed [INFO] [stdout] --> src/lib.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | struct MacroArgs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "4b6e82f26401446a9f5dbd4593d6918b430d9dd1adfd3f78ead28a70f1f43114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6e82f26401446a9f5dbd4593d6918b430d9dd1adfd3f78ead28a70f1f43114", kill_on_drop: false }` [INFO] [stdout] 4b6e82f26401446a9f5dbd4593d6918b430d9dd1adfd3f78ead28a70f1f43114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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", kill_on_drop: false }` [INFO] [stdout] fb2420e8fc0d2e68e9ad93e05cd18fb1a17206edec86fcdfdbdf5594553dd25a [INFO] running `Command { std: "docker" "start" "-a" "fb2420e8fc0d2e68e9ad93e05cd18fb1a17206edec86fcdfdbdf5594553dd25a", kill_on_drop: false }` [INFO] [stderr] warning: struct `MacroArgs` is never constructed [INFO] [stderr] --> src/lib.rs:361:8 [INFO] [stderr] | [INFO] [stderr] 361 | struct MacroArgs { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `toy-rpc-macros-ha421` (lib) generated 1 warning [INFO] [stderr] warning: `toy-rpc-macros-ha421` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toy_rpc_macros_ha421-2f811ac77cfe40df) [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_ha421 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - export_trait_impl (line 537) ... FAILED [INFO] [stdout] test src/lib.rs - export_impl (line 255) ... FAILED [INFO] [stdout] test src/lib.rs - export_trait (line 380) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - export_trait_impl (line 537) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:545:39 [INFO] [stdout] | [INFO] [stdout] 545 | async fn add(&self, args(i32, i32)) -> Result { [INFO] [stdout] | ^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:540:3 [INFO] [stdout] | [INFO] [stdout] 540 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_trait_impl` in this scope [INFO] [stdout] --> src/lib.rs:541:3 [INFO] [stdout] | [INFO] [stdout] 541 | #[export_trait_impl] // The default name will follow the name of the trait (ie. "Arith") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 537 + use toy_rpc_macros_ha421::export_trait_impl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Arith` in this scope [INFO] [stdout] --> src/lib.rs:542:6 [INFO] [stdout] | [INFO] [stdout] 542 | impl Arith for Abacus { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this 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] 261 | 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] 258 | #[export_impl] // This will give a default service name of "Abacus" [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 255 + use toy_rpc_macros_ha421::export_impl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_method` in this scope [INFO] [stdout] --> src/lib.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:261:69 [INFO] [stdout] | [INFO] [stdout] 261 | async fn subtract(&self, args(i32, i32)) -> Result { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 262 | | // ... [INFO] [stdout] 263 | | } [INFO] [stdout] | |_____^ expected `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] ---- src/lib.rs - export_trait (line 380) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:387:39 [INFO] [stdout] | [INFO] [stdout] 387 | async fn add(&self, args(i32, i32)) -> Result; [INFO] [stdout] | ^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:381:3 [INFO] [stdout] | [INFO] [stdout] 381 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_trait` in this scope [INFO] [stdout] --> src/lib.rs:382:3 [INFO] [stdout] | [INFO] [stdout] 382 | #[export_trait] // This will give a default service name of "Arith" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 382 - #[export_trait] // This will give a default service name of "Arith" [INFO] [stdout] 382 + #[export_name] // This will give a default service name of "Arith" [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 380 + use toy_rpc_macros_ha421::export_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_method` in this scope [INFO] [stdout] --> src/lib.rs:386:7 [INFO] [stdout] | [INFO] [stdout] 386 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [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 380) [INFO] [stdout] src/lib.rs - export_trait_impl (line 537) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fb2420e8fc0d2e68e9ad93e05cd18fb1a17206edec86fcdfdbdf5594553dd25a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2420e8fc0d2e68e9ad93e05cd18fb1a17206edec86fcdfdbdf5594553dd25a", kill_on_drop: false }` [INFO] [stdout] fb2420e8fc0d2e68e9ad93e05cd18fb1a17206edec86fcdfdbdf5594553dd25a