[INFO] cloning repository https://github.com/U-C-S/rust-rpc-windows-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/U-C-S/rust-rpc-windows-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU-C-S%2Frust-rpc-windows-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU-C-S%2Frust-rpc-windows-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 984437c7330976e8b2a0469535550072b5727368 [INFO] checking U-C-S/rust-rpc-windows-sample against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU-C-S%2Frust-rpc-windows-sample" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/U-C-S/rust-rpc-windows-sample [INFO] finished tweaking git repo https://github.com/U-C-S/rust-rpc-windows-sample [INFO] tweaked toml for git repo https://github.com/U-C-S/rust-rpc-windows-sample written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/U-C-S/rust-rpc-windows-sample on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/U-C-S/rust-rpc-windows-sample 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45e49d6a031c04d6bdc7e9daafa84897ec40cd65a0a658a247d69c293f78ee88 [INFO] running `Command { std: "docker" "start" "-a" "45e49d6a031c04d6bdc7e9daafa84897ec40cd65a0a658a247d69c293f78ee88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45e49d6a031c04d6bdc7e9daafa84897ec40cd65a0a658a247d69c293f78ee88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e49d6a031c04d6bdc7e9daafa84897ec40cd65a0a658a247d69c293f78ee88", kill_on_drop: false }` [INFO] [stdout] 45e49d6a031c04d6bdc7e9daafa84897ec40cd65a0a658a247d69c293f78ee88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa8ec6dfb26a3ead8593103df3941dd0253c113a87567614c09ff16f49e79abe [INFO] running `Command { std: "docker" "start" "-a" "aa8ec6dfb26a3ead8593103df3941dd0253c113a87567614c09ff16f49e79abe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking jsonrpsee v0.15.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking rust-rpc-windows-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 20 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 20 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `jsonrpsee` [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use jsonrpsee::core::client::ClientT; [INFO] [stdout] | ^^^^ could not find `core` in `jsonrpsee` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 98 | / cfg_client_or_server! { [INFO] [stdout] 99 | | pub use jsonrpsee_core as core; [INFO] [stdout] | | ^^^^ [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `jsonrpsee` [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use jsonrpsee::core::client::ClientT; [INFO] [stdout] | ^^^^ could not find `core` in `jsonrpsee` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 98 | / cfg_client_or_server! { [INFO] [stdout] 99 | | pub use jsonrpsee_core as core; [INFO] [stdout] | | ^^^^ [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee::http_client` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use jsonrpsee::http_client::HttpClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ could not find `http_client` in `jsonrpsee` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 57 | / cfg_http_client! { [INFO] [stdout] 58 | | pub use jsonrpsee_http_client as http_client; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- the item is gated behind the `jsonrpsee-http-client` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee::http_client` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use jsonrpsee::http_client::HttpClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ could not find `http_client` in `jsonrpsee` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 57 | / cfg_http_client! { [INFO] [stdout] 58 | | pub use jsonrpsee_http_client as http_client; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- the item is gated behind the `jsonrpsee-http-client` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee::http_server` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use jsonrpsee::http_server::{HttpServerBuilder, HttpServerHandle, RpcModule}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `http_server` in `jsonrpsee` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 77 | / cfg_http_server! { [INFO] [stdout] 78 | | pub use jsonrpsee_http_server as http_server; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- the item is gated behind the `jsonrpsee-http-server` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee::http_server` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use jsonrpsee::http_server::{HttpServerBuilder, HttpServerHandle, RpcModule}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `http_server` in `jsonrpsee` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 77 | / cfg_http_server! { [INFO] [stdout] 78 | | pub use jsonrpsee_http_server as http_server; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- the item is gated behind the `jsonrpsee-http-server` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee::rpc_params` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use jsonrpsee::rpc_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `rpc_params` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 102 | / cfg_client! { [INFO] [stdout] 103 | | pub use jsonrpsee_core::rpc_params; [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee::rpc_params` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use jsonrpsee::rpc_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `rpc_params` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/jsonrpsee-0.15.1/src/lib.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 102 | / cfg_client! { [INFO] [stdout] 103 | | pub use jsonrpsee_core::rpc_params; [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> src/main.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | tracing::info!("r: {:?}", response); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> src/main.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | tracing::info!("r: {:?}", response); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | let server = HttpServerBuilder::default().build("127.0.0.1:0".parse::()?).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | let addr = server.local_addr()?; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let server: /* Type */ = HttpServerBuilder::default().build("127.0.0.1:0".parse::()?).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | let server = HttpServerBuilder::default().build("127.0.0.1:0".parse::()?).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | let addr = server.local_addr()?; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let server: /* Type */ = HttpServerBuilder::default().build("127.0.0.1:0".parse::()?).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/main.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | async fn run_server() -> anyhow::Result<(SocketAddr, HttpServerHandle)> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0428, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/main.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | async fn run_server() -> anyhow::Result<(SocketAddr, HttpServerHandle)> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0428, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-rpc-windows-sample` (bin "rust-rpc-windows-sample" test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-rpc-windows-sample` (bin "rust-rpc-windows-sample") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "aa8ec6dfb26a3ead8593103df3941dd0253c113a87567614c09ff16f49e79abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa8ec6dfb26a3ead8593103df3941dd0253c113a87567614c09ff16f49e79abe", kill_on_drop: false }` [INFO] [stdout] aa8ec6dfb26a3ead8593103df3941dd0253c113a87567614c09ff16f49e79abe