[INFO] fetching crate toy-rpc-macros 0.6.1... [INFO] testing toy-rpc-macros-0.6.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate toy-rpc-macros 0.6.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate toy-rpc-macros 0.6.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate toy-rpc-macros 0.6.1 [INFO] finished tweaking crates.io crate toy-rpc-macros 0.6.1 [INFO] tweaked toml for crates.io crate toy-rpc-macros 0.6.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6abd703b336a20582d7d95e4a4435191e2a88800d2bbd2d89ea0ec2edfffe024 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6abd703b336a20582d7d95e4a4435191e2a88800d2bbd2d89ea0ec2edfffe024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6abd703b336a20582d7d95e4a4435191e2a88800d2bbd2d89ea0ec2edfffe024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abd703b336a20582d7d95e4a4435191e2a88800d2bbd2d89ea0ec2edfffe024", kill_on_drop: false }` [INFO] [stdout] 6abd703b336a20582d7d95e4a4435191e2a88800d2bbd2d89ea0ec2edfffe024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b6568234334201fb246c8ead350291660d077606ff9127ce8df27ff7d58e49c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b6568234334201fb246c8ead350291660d077606ff9127ce8df27ff7d58e49c", kill_on_drop: false }` [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling toy-rpc-macros v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.87s [INFO] running `Command { std: "docker" "inspect" "0b6568234334201fb246c8ead350291660d077606ff9127ce8df27ff7d58e49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6568234334201fb246c8ead350291660d077606ff9127ce8df27ff7d58e49c", kill_on_drop: false }` [INFO] [stdout] 0b6568234334201fb246c8ead350291660d077606ff9127ce8df27ff7d58e49c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d952d01ee5dfa97b4a65f23d0b5ea73e25bed37c71fef38e30b484cc9ef4be0 [INFO] running `Command { std: "docker" "start" "-a" "3d952d01ee5dfa97b4a65f23d0b5ea73e25bed37c71fef38e30b484cc9ef4be0", kill_on_drop: false }` [INFO] [stderr] Compiling toy-rpc-macros v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "3d952d01ee5dfa97b4a65f23d0b5ea73e25bed37c71fef38e30b484cc9ef4be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d952d01ee5dfa97b4a65f23d0b5ea73e25bed37c71fef38e30b484cc9ef4be0", kill_on_drop: false }` [INFO] [stdout] 3d952d01ee5dfa97b4a65f23d0b5ea73e25bed37c71fef38e30b484cc9ef4be0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 90d9018293e7eadb860f515826995517c6be1642acff73a4e6be41f02059fb86 [INFO] running `Command { std: "docker" "start" "-a" "90d9018293e7eadb860f515826995517c6be1642acff73a4e6be41f02059fb86", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/toy_rpc_macros-de026edd4adbde1b) [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 355) ... FAILED [INFO] [stdout] test src/lib.rs - export_trait_impl (line 485) ... FAILED [INFO] [stdout] test src/lib.rs - export_impl (line 249) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - export_trait (line 355) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:362: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:362: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:356: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:357: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:361: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 485) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:493: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:493: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:488: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:489: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:490: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 249) stdout ---- [INFO] [stdout] error: expected one of `:` or `|`, found `)` [INFO] [stdout] --> src/lib.rs:255: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:252: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:254:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export_method] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:255: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 249) [INFO] [stdout] src/lib.rs - export_trait (line 355) [INFO] [stdout] src/lib.rs - export_trait_impl (line 485) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "90d9018293e7eadb860f515826995517c6be1642acff73a4e6be41f02059fb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d9018293e7eadb860f515826995517c6be1642acff73a4e6be41f02059fb86", kill_on_drop: false }` [INFO] [stdout] 90d9018293e7eadb860f515826995517c6be1642acff73a4e6be41f02059fb86