[INFO] cloning repository https://github.com/wiseaidev/nylas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wiseaidev/nylas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiseaidev%2Fnylas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiseaidev%2Fnylas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71b55bc557563d594e592b62e20f17278ea1740e [INFO] testing wiseaidev/nylas against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiseaidev%2Fnylas" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wiseaidev/nylas [INFO] finished tweaking git repo https://github.com/wiseaidev/nylas [INFO] tweaked toml for git repo https://github.com/wiseaidev/nylas written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wiseaidev/nylas on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wiseaidev/nylas 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.5.4 [INFO] [stderr] Downloaded tempfile v3.8.0 [INFO] [stderr] Downloaded bitflags v2.4.0 [INFO] [stderr] Downloaded openssl-sys v0.9.93 [INFO] [stderr] Downloaded tracing v0.1.39 [INFO] [stderr] Downloaded openssl v0.10.57 [INFO] [stderr] Downloaded rustix v0.38.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba6cd82e22c5a84988a1c8268cbda7ec8dfddaa588eefd03f056970a83c2f94a [INFO] running `Command { std: "docker" "start" "-a" "ba6cd82e22c5a84988a1c8268cbda7ec8dfddaa588eefd03f056970a83c2f94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba6cd82e22c5a84988a1c8268cbda7ec8dfddaa588eefd03f056970a83c2f94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba6cd82e22c5a84988a1c8268cbda7ec8dfddaa588eefd03f056970a83c2f94a", kill_on_drop: false }` [INFO] [stdout] ba6cd82e22c5a84988a1c8268cbda7ec8dfddaa588eefd03f056970a83c2f94a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 334ff2919872dd2e8799687acabc52ce80144db252b1d1b1ebdce67fedc3c42b [INFO] running `Command { std: "docker" "start" "-a" "334ff2919872dd2e8799687acabc52ce80144db252b1d1b1ebdce67fedc3c42b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tracing v0.1.39 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling nylas v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn messages(&mut self) -> Messages { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 337 | pub fn messages(&mut self) -> Messages<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.47s [INFO] running `Command { std: "docker" "inspect" "334ff2919872dd2e8799687acabc52ce80144db252b1d1b1ebdce67fedc3c42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334ff2919872dd2e8799687acabc52ce80144db252b1d1b1ebdce67fedc3c42b", kill_on_drop: false }` [INFO] [stdout] 334ff2919872dd2e8799687acabc52ce80144db252b1d1b1ebdce67fedc3c42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1de58bb2ad60dbf0bebfce5e63ee2f733c2194ffc210760fec39dc4cefd3681e [INFO] running `Command { std: "docker" "start" "-a" "1de58bb2ad60dbf0bebfce5e63ee2f733c2194ffc210760fec39dc4cefd3681e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tracing v0.1.39 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling nylas v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn messages(&mut self) -> Messages { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 337 | pub fn messages(&mut self) -> Messages<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn messages(&mut self) -> Messages { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 337 | pub fn messages(&mut self) -> Messages<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.97s [INFO] running `Command { std: "docker" "inspect" "1de58bb2ad60dbf0bebfce5e63ee2f733c2194ffc210760fec39dc4cefd3681e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de58bb2ad60dbf0bebfce5e63ee2f733c2194ffc210760fec39dc4cefd3681e", kill_on_drop: false }` [INFO] [stdout] 1de58bb2ad60dbf0bebfce5e63ee2f733c2194ffc210760fec39dc4cefd3681e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89d537879b35504443742429117e7446c20be21bd951a0483e9f78475a33370d [INFO] running `Command { std: "docker" "start" "-a" "89d537879b35504443742429117e7446c20be21bd951a0483e9f78475a33370d", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/client.rs:337:21 [INFO] [stderr] | [INFO] [stderr] 337 | pub fn messages(&mut self) -> Messages { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 337 | pub fn messages(&mut self) -> Messages<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `nylas` (lib) generated 1 warning (run `cargo fix --lib -p nylas` to apply 1 suggestion) [INFO] [stderr] warning: `nylas` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nylas-82b5650b7624856b) [INFO] [stderr] Doc-tests nylas [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 16 tests [INFO] [stdout] test src/client.rs - client::Nylas::exchange_access_token (line 192) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::search (line 347) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::first (line 551) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::all (line 267) ... FAILED [INFO] [stdout] test src/client.rs - client::Nylas::messages (line 323) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/client.rs - client::Nylas::account (line 272) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::where_ (line 440) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::get (line 611) ... FAILED [INFO] [stdout] test src/client.rs - client::Nylas::authentication_url (line 101) ... FAILED [INFO] [stdout] test src/client.rs - client::Nylas::new (line 42) ... ok [INFO] [stdout] test src/client.rs - client::Nylas (line 15) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::Nylas::exchange_access_token (line 192) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/client.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/messages.rs - messages::Messages<'a>::search (line 347) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/messages.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | Call the `search` method to search for messages with a limit and offset [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 358 - Call the `search` method to search for messages with a limit and offset [INFO] [stdout] 358 + Call the 'search` method to search for messages with a limit and offset [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/messages.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | Call the `search` method to search for messages with a limit and offset [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 358 - Call the `search` method to search for messages with a limit and offset [INFO] [stdout] 358 + Call the `search' method to search for messages with a limit and offset [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `the` [INFO] [stdout] --> src/messages.rs:358:10 [INFO] [stdout] | [INFO] [stdout] 358 | Call the `search` method to search for messages with a limit and offset [INFO] [stdout] | ^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/messages.rs:350:3 [INFO] [stdout] | [INFO] [stdout] 350 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/messages.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 351 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 70) stdout ---- [INFO] [stdout] error: cannot find macro `hashmap` in this scope [INFO] [stdout] --> src/lib.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let filter = Some(hashmap!{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | let messages = nylas.messages().all().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 73 - let messages = nylas.messages().all().await; [INFO] [stdout] 73 + let messages = nylas::messages().all().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | let result = nylas.messages().search("example@example.com", Some(1), Some(0)).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 76 - let result = nylas.messages().search("example@example.com", Some(1), Some(0)).await; [INFO] [stdout] 76 + let result = nylas::messages().search("example@example.com", Some(1), Some(0)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | let messages = nylas.messages().where_(filter, Some(View::Expanded)).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 82 - let messages = nylas.messages().where_(filter, Some(View::Expanded)).await; [INFO] [stdout] 82 + let messages = nylas::messages().where_(filter, Some(View::Expanded)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/lib.rs:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | let messages = nylas.messages().where_(filter, Some(View::Expanded)).await; [INFO] [stdout] | ^^^^ use of undeclared type `View` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 69 + use nylas::messages::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let message_result = nylas.messages().first().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 85 - let message_result = nylas.messages().first().await; [INFO] [stdout] 85 + let message_result = nylas::messages().first().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let message_result = nylas.messages().get(message_id, Some(View::Expanded)).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 89 - let message_result = nylas.messages().get(message_id, Some(View::Expanded)).await; [INFO] [stdout] 89 + let message_result = nylas::messages().get(message_id, Some(View::Expanded)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `View` [INFO] [stdout] --> src/lib.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | let message_result = nylas.messages().get(message_id, Some(View::Expanded)).await; [INFO] [stdout] | ^^^^ use of undeclared type `View` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 69 + use nylas::messages::View; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 71 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 72 | // Retrieve all messages [INFO] [stdout] 73 | let messages = nylas.messages().all().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:76:79 [INFO] [stdout] | [INFO] [stdout] 71 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 76 | let result = nylas.messages().search("example@example.com", Some(1), Some(0)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:82:70 [INFO] [stdout] | [INFO] [stdout] 71 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 82 | let messages = nylas.messages().where_(filter, Some(View::Expanded)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 71 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 85 | let message_result = nylas.messages().first().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:89:77 [INFO] [stdout] | [INFO] [stdout] 71 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 89 | let message_result = nylas.messages().get(message_id, Some(View::Expanded)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/messages.rs - messages::Messages<'a>::first (line 551) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/messages.rs:554:3 [INFO] [stdout] | [INFO] [stdout] 554 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/messages.rs:555:1 [INFO] [stdout] | [INFO] [stdout] 555 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let auth_url = nylas.authentication_url(redirect_uri, login_hint, state, scopes); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 55 - let auth_url = nylas.authentication_url(redirect_uri, login_hint, state, scopes); [INFO] [stdout] 55 + let auth_url = nylas::authentication_url(redirect_uri, login_hint, state, scopes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `redirect_uri` in this scope [INFO] [stdout] --> src/lib.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | let auth_url = nylas.authentication_url(redirect_uri, login_hint, state, scopes); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `login_hint` in this scope [INFO] [stdout] --> src/lib.rs:55:55 [INFO] [stdout] | [INFO] [stdout] 55 | let auth_url = nylas.authentication_url(redirect_uri, login_hint, state, scopes); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/lib.rs:55:67 [INFO] [stdout] | [INFO] [stdout] 55 | let auth_url = nylas.authentication_url(redirect_uri, login_hint, state, scopes); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `scopes` in this scope [INFO] [stdout] --> src/lib.rs:55:74 [INFO] [stdout] | [INFO] [stdout] 55 | let auth_url = nylas.authentication_url(redirect_uri, login_hint, state, scopes); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | nylas = Nylas::new(client_id, client_secret, Some(access_token)).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 59 | let nylas = Nylas::new(client_id, client_secret, Some(access_token)).await.unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nylas` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | nylas = Nylas::new(client_id, client_secret, Some(access_token)).await.unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Nylas` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 51 + use nylas::client::Nylas; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_id` in this scope [INFO] [stdout] --> src/lib.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | nylas = Nylas::new(client_id, client_secret, Some(access_token)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_secret` in this scope [INFO] [stdout] --> src/lib.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | nylas = Nylas::new(client_id, client_secret, Some(access_token)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:59:66 [INFO] [stdout] | [INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_52_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 59 | nylas = Nylas::new(client_id, client_secret, Some(access_token)).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/messages.rs - messages::Messages<'a>::all (line 267) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/messages.rs:270:3 [INFO] [stdout] | [INFO] [stdout] 270 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/messages.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Nylas::messages (line 323) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 327 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/client.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Nylas::account (line 272) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/client.rs:277:1 [INFO] [stdout] | [INFO] [stdout] 277 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/messages.rs - messages::Messages<'a>::where_ (line 440) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/messages.rs:456:14 [INFO] [stdout] | [INFO] [stdout] 456 | Call the `where_` method with filter and view parameters [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 456 - Call the `where_` method with filter and view parameters [INFO] [stdout] 456 + Call the 'where_` method with filter and view parameters [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/messages.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | Call the `where_` method with filter and view parameters [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 456 - Call the `where_` method with filter and view parameters [INFO] [stdout] 456 + Call the `where_' method with filter and view parameters [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `filter` [INFO] [stdout] --> src/messages.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | Define filter parameters as a HashMap [INFO] [stdout] | ^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/messages.rs:444:3 [INFO] [stdout] | [INFO] [stdout] 444 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/messages.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 63) stdout ---- [INFO] [stdout] error[E0423]: expected value, found crate `nylas` [INFO] [stdout] --> src/lib.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | println!("{:?}", nylas.account); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 66 - println!("{:?}", nylas.account); [INFO] [stdout] 66 + println!("{:?}", nylas::account); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/messages.rs - messages::Messages<'a>::get (line 611) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `a` [INFO] [stdout] --> src/messages.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | Retrieve a specific message by ID with a view parameter [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/messages.rs:615:3 [INFO] [stdout] | [INFO] [stdout] 615 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/messages.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Nylas::authentication_url (line 101) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/client.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::Nylas::account (line 272) [INFO] [stdout] src/client.rs - client::Nylas::authentication_url (line 101) [INFO] [stdout] src/client.rs - client::Nylas::exchange_access_token (line 192) [INFO] [stdout] src/client.rs - client::Nylas::messages (line 323) [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] src/lib.rs - (line 63) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] src/messages.rs - messages::Messages<'a>::all (line 267) [INFO] [stdout] src/messages.rs - messages::Messages<'a>::first (line 551) [INFO] [stdout] src/messages.rs - messages::Messages<'a>::get (line 611) [INFO] [stdout] src/messages.rs - messages::Messages<'a>::search (line 347) [INFO] [stdout] src/messages.rs - messages::Messages<'a>::where_ (line 440) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "89d537879b35504443742429117e7446c20be21bd951a0483e9f78475a33370d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d537879b35504443742429117e7446c20be21bd951a0483e9f78475a33370d", kill_on_drop: false }` [INFO] [stdout] 89d537879b35504443742429117e7446c20be21bd951a0483e9f78475a33370d