[INFO] cloning repository https://github.com/minghuaw/toy-rpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minghuaw/toy-rpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminghuaw%2Ftoy-rpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminghuaw%2Ftoy-rpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa146c3f9d3cb62dddd50ee1ffdc163fa126447b [INFO] testing minghuaw/toy-rpc against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminghuaw%2Ftoy-rpc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minghuaw/toy-rpc on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/minghuaw/toy-rpc [INFO] finished tweaking git repo https://github.com/minghuaw/toy-rpc [INFO] tweaked toml for git repo https://github.com/minghuaw/toy-rpc written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/minghuaw/tide-websockets` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31d9fe3fece271e405833952f8fe43eacab3c447b0f257537b55d8beb6abf945 [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" "31d9fe3fece271e405833952f8fe43eacab3c447b0f257537b55d8beb6abf945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31d9fe3fece271e405833952f8fe43eacab3c447b0f257537b55d8beb6abf945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d9fe3fece271e405833952f8fe43eacab3c447b0f257537b55d8beb6abf945", kill_on_drop: false }` [INFO] [stdout] 31d9fe3fece271e405833952f8fe43eacab3c447b0f257537b55d8beb6abf945 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--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] 0ed73ea12866458cd9b20dea98e8d27a4020acaa8f4c995a1f28b191984d7fb3 [INFO] running `Command { std: "docker" "start" "-a" "0ed73ea12866458cd9b20dea98e8d27a4020acaa8f4c995a1f28b191984d7fb3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nanorand v0.6.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling flume v0.10.11 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling toy-rpc-macros v0.6.3 [INFO] [stderr] Compiling toy-rpc-macros v0.6.3 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: field is never read: `impl_for_client` [INFO] [stdout] --> macros/src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | impl_for_client: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling brw v0.1.7 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toy-rpc v0.8.4 (/opt/rustwide/workdir/toy-rpc) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.39s [INFO] running `Command { std: "docker" "inspect" "0ed73ea12866458cd9b20dea98e8d27a4020acaa8f4c995a1f28b191984d7fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed73ea12866458cd9b20dea98e8d27a4020acaa8f4c995a1f28b191984d7fb3", kill_on_drop: false }` [INFO] [stdout] 0ed73ea12866458cd9b20dea98e8d27a4020acaa8f4c995a1f28b191984d7fb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 4d2bcb4c0e969028ac0b65d83343913f4e4a6e532f6d758aba1ebeda99832f2d [INFO] running `Command { std: "docker" "start" "-a" "4d2bcb4c0e969028ac0b65d83343913f4e4a6e532f6d758aba1ebeda99832f2d", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling toy-rpc-macros v0.6.3 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: field is never read: `impl_for_client` [INFO] [stdout] --> macros/src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | impl_for_client: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stdout] warning: field is never read: `impl_for_client` [INFO] [stdout] --> macros/src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | impl_for_client: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling toy-rpc v0.8.4 (/opt/rustwide/workdir/toy-rpc) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 10s [INFO] running `Command { std: "docker" "inspect" "4d2bcb4c0e969028ac0b65d83343913f4e4a6e532f6d758aba1ebeda99832f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d2bcb4c0e969028ac0b65d83343913f4e4a6e532f6d758aba1ebeda99832f2d", kill_on_drop: false }` [INFO] [stdout] 4d2bcb4c0e969028ac0b65d83343913f4e4a6e532f6d758aba1ebeda99832f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5fad5ce6ed790e5da9c379e7fa102ff49e33c8c30447e6b1b9352451d0d279ea [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" "5fad5ce6ed790e5da9c379e7fa102ff49e33c8c30447e6b1b9352451d0d279ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `impl_for_client` [INFO] [stderr] --> macros/src/lib.rs:338:5 [INFO] [stderr] | [INFO] [stderr] 338 | impl_for_client: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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 1.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/toy_rpc-560b3385ebe962ac) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/rpc.rs (/opt/rustwide/target/debug/deps/rpc-dd16c7f3ff78b094) [INFO] [stdout] test error::tests::test_conversion_to_anyhow ... ok [INFO] [stdout] test protocol::tests::size_of_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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] Running tests/sample_test.rs (/opt/rustwide/target/debug/deps/sample_test-7c35cc553c26b110) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/toy_rpc_macros-24ad6baa821f97e1) [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 [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] [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.82s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5fad5ce6ed790e5da9c379e7fa102ff49e33c8c30447e6b1b9352451d0d279ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fad5ce6ed790e5da9c379e7fa102ff49e33c8c30447e6b1b9352451d0d279ea", kill_on_drop: false }` [INFO] [stdout] 5fad5ce6ed790e5da9c379e7fa102ff49e33c8c30447e6b1b9352451d0d279ea