[INFO] fetching crate jsonrpc-stdio-server 18.0.0... [INFO] checking jsonrpc-stdio-server-18.0.0 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] extracting crate jsonrpc-stdio-server 18.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate jsonrpc-stdio-server 18.0.0 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpc-stdio-server 18.0.0 [INFO] finished tweaking crates.io crate jsonrpc-stdio-server 18.0.0 [INFO] tweaked toml for crates.io crate jsonrpc-stdio-server 18.0.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate jsonrpc-stdio-server 18.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0901a60e132b4785fdf3d1d876defa38f0fa0f43b63555384d0139109d5f0906 [INFO] running `Command { std: "docker" "start" "-a" "0901a60e132b4785fdf3d1d876defa38f0fa0f43b63555384d0139109d5f0906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0901a60e132b4785fdf3d1d876defa38f0fa0f43b63555384d0139109d5f0906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0901a60e132b4785fdf3d1d876defa38f0fa0f43b63555384d0139109d5f0906", kill_on_drop: false }` [INFO] [stdout] 0901a60e132b4785fdf3d1d876defa38f0fa0f43b63555384d0139109d5f0906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2728ef0eee316d89f4af5f547641117e0535779d6d9b2f583a59ff47c417729b [INFO] running `Command { std: "docker" "start" "-a" "2728ef0eee316d89f4af5f547641117e0535779d6d9b2f583a59ff47c417729b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking jsonrpc-stdio-server v18.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> examples/stdio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_stdio_server::jsonrpc_core::*` [INFO] [stdout] --> examples/stdio.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpc_stdio_server::jsonrpc_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_stdio_server::ServerBuilder` [INFO] [stdout] --> examples/stdio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonrpc_stdio_server::ServerBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `stdio` [INFO] [stdout] --> examples/stdio.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use jsonrpc_stdio_server::jsonrpc_core::*; [INFO] [stdout] 2 | | use jsonrpc_stdio_server::ServerBuilder; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | #[tokio::main] [INFO] [stdout] ... | [INFO] [stdout] 10 | | server.await; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/stdio.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-stdio-server` due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2728ef0eee316d89f4af5f547641117e0535779d6d9b2f583a59ff47c417729b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2728ef0eee316d89f4af5f547641117e0535779d6d9b2f583a59ff47c417729b", kill_on_drop: false }` [INFO] [stdout] 2728ef0eee316d89f4af5f547641117e0535779d6d9b2f583a59ff47c417729b