[INFO] fetching crate misskey 0.2.0... [INFO] testing misskey-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate misskey 0.2.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate misskey 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate misskey 0.2.0 [INFO] finished tweaking crates.io crate misskey 0.2.0 [INFO] tweaked toml for crates.io crate misskey 0.2.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded misskey-util v0.1.0 [INFO] [stderr] Downloaded misskey-http v0.2.0 [INFO] [stderr] Downloaded misskey-websocket v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1685f448443bffcb5f888993eb59c185f5c5836e5079eaf3ff1a87940f689c [INFO] running `Command { std: "docker" "start" "-a" "8c1685f448443bffcb5f888993eb59c185f5c5836e5079eaf3ff1a87940f689c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1685f448443bffcb5f888993eb59c185f5c5836e5079eaf3ff1a87940f689c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1685f448443bffcb5f888993eb59c185f5c5836e5079eaf3ff1a87940f689c", kill_on_drop: false }` [INFO] [stdout] 8c1685f448443bffcb5f888993eb59c185f5c5836e5079eaf3ff1a87940f689c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d1932bc5fc72e31ae82516e717e49cc8f7ec6dfee089ef8bcf18a90eb2096ba [INFO] running `Command { std: "docker" "start" "-a" "2d1932bc5fc72e31ae82516e717e49cc8f7ec6dfee089ef8bcf18a90eb2096ba", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling curl-sys v0.4.53+curl-7.82.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling async-rwlock v1.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling strum_macros v0.12.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Compiling typed-builder v0.6.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-tls v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling common-multipart-rfc7578 v0.2.0-rc [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling misskey-core v0.2.0 [INFO] [stderr] Compiling ulid v0.4.1 [INFO] [stderr] Compiling misskey-api v0.2.0 [INFO] [stderr] Compiling async-tungstenite v0.10.0 [INFO] [stderr] Compiling misskey-websocket v0.2.0 [INFO] [stderr] Compiling misskey-http v0.2.0 [INFO] [stderr] Compiling misskey-util v0.1.0 [INFO] [stderr] Compiling misskey v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.97s [INFO] running `Command { std: "docker" "inspect" "2d1932bc5fc72e31ae82516e717e49cc8f7ec6dfee089ef8bcf18a90eb2096ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1932bc5fc72e31ae82516e717e49cc8f7ec6dfee089ef8bcf18a90eb2096ba", kill_on_drop: false }` [INFO] [stdout] 2d1932bc5fc72e31ae82516e717e49cc8f7ec6dfee089ef8bcf18a90eb2096ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4897a0acaf58bd90614dc57e3c5788cf8755ad736ff3a4d353f8e30627a0f128 [INFO] running `Command { std: "docker" "start" "-a" "4897a0acaf58bd90614dc57e3c5788cf8755ad736ff3a4d353f8e30627a0f128", kill_on_drop: false }` [INFO] [stderr] Compiling misskey v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "4897a0acaf58bd90614dc57e3c5788cf8755ad736ff3a4d353f8e30627a0f128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4897a0acaf58bd90614dc57e3c5788cf8755ad736ff3a4d353f8e30627a0f128", kill_on_drop: false }` [INFO] [stdout] 4897a0acaf58bd90614dc57e3c5788cf8755ad736ff3a4d353f8e30627a0f128 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 607a63f9a121e65a8481a18449c5b5bb394ce5f51c16bb2703ff43f48a03be09 [INFO] running `Command { std: "docker" "start" "-a" "607a63f9a121e65a8481a18449c5b5bb394ce5f51c16bb2703ff43f48a03be09", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/misskey-454c0a5398c90179) [INFO] [stderr] Doc-tests misskey [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 8 tests [INFO] [stdout] test src/lib.rs - endpoint (line 181) - compile ... FAILED [INFO] [stdout] test src/lib.rs - streaming (line 274) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) - compile ... FAILED [INFO] [stdout] test src/lib.rs - streaming (line 210) - compile ... FAILED [INFO] [stdout] test src/lib.rs - streaming (line 235) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) - compile ... FAILED [INFO] [stdout] test src/lib.rs - endpoint (line 153) - compile ... FAILED [INFO] [stdout] test src/lib.rs - prelude (line 349) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - endpoint (line 181) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:183: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] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#misskey; [INFO] [stdout] 3 | | use misskey::{Client, HttpClient}; [INFO] [stdout] 4 | | #[tokio::main] [INFO] [stdout] ... | [INFO] [stdout] 12 | | Ok(()) [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - streaming (line 274) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#misskey; [INFO] [stdout] 3 | | use futures::stream::StreamExt; [INFO] [stdout] 4 | | use misskey::streaming::emoji::EmojiAddedEvent; [INFO] [stdout] ... | [INFO] [stdout] 20 | | Ok(()) [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#misskey; [INFO] [stdout] 3 | | use misskey::prelude::*; [INFO] [stdout] 4 | | use misskey::HttpClient; [INFO] [stdout] ... | [INFO] [stdout] 13 | | Ok(()) [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - streaming (line 210) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#misskey; [INFO] [stdout] 3 | | use futures::stream::StreamExt; [INFO] [stdout] 4 | | use misskey::streaming::channel::local_timeline::{self, LocalTimelineEvent}; [INFO] [stdout] ... | [INFO] [stdout] 21 | | Ok(()) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - streaming (line 235) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[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] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#misskey; [INFO] [stdout] 3 | | use futures::stream::StreamExt; [INFO] [stdout] 4 | | use misskey::model::{note::Note, id::Id}; [INFO] [stdout] ... | [INFO] [stdout] 35 | | Ok(()) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[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] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#misskey; [INFO] [stdout] 3 | | use futures::stream::TryStreamExt; [INFO] [stdout] 4 | | use misskey::prelude::*; [INFO] [stdout] ... | [INFO] [stdout] 35 | | Ok(()) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - endpoint (line 153) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:155: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] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#misskey; [INFO] [stdout] 3 | | use misskey::{Client, HttpClient}; [INFO] [stdout] 4 | | #[tokio::main] [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(()) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - endpoint (line 153) [INFO] [stdout] src/lib.rs - endpoint (line 181) [INFO] [stdout] src/lib.rs - streaming (line 210) [INFO] [stdout] src/lib.rs - streaming (line 235) [INFO] [stdout] src/lib.rs - streaming (line 274) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "607a63f9a121e65a8481a18449c5b5bb394ce5f51c16bb2703ff43f48a03be09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607a63f9a121e65a8481a18449c5b5bb394ce5f51c16bb2703ff43f48a03be09", kill_on_drop: false }` [INFO] [stdout] 607a63f9a121e65a8481a18449c5b5bb394ce5f51c16bb2703ff43f48a03be09