[INFO] fetching crate nylas 0.0.8...
[INFO] testing nylas-0.0.8 against 1.75.0 for beta-1.76-1
[INFO] extracting crate nylas 0.0.8 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate nylas 0.0.8 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nylas 0.0.8
[INFO] finished tweaking crates.io crate nylas 0.0.8
[INFO] tweaked toml for crates.io crate nylas 0.0.8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e97ec20b4db0938cdd17d760910f2a2f868fe49ad7cbeb4b8a327f48304b913
[INFO] running `Command { std: "docker" "start" "-a" "0e97ec20b4db0938cdd17d760910f2a2f868fe49ad7cbeb4b8a327f48304b913", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e97ec20b4db0938cdd17d760910f2a2f868fe49ad7cbeb4b8a327f48304b913", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e97ec20b4db0938cdd17d760910f2a2f868fe49ad7cbeb4b8a327f48304b913", kill_on_drop: false }`
[INFO] [stdout] 0e97ec20b4db0938cdd17d760910f2a2f868fe49ad7cbeb4b8a327f48304b913
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4668d7739b0247d4094561ee8327c5b759fbcc5ed0e397192ee1d669287e60f8
[INFO] running `Command { std: "docker" "start" "-a" "4668d7739b0247d4094561ee8327c5b759fbcc5ed0e397192ee1d669287e60f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[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.9.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.23
[INFO] [stderr]    Compiling nylas v0.0.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.09s
[INFO] running `Command { std: "docker" "inspect" "4668d7739b0247d4094561ee8327c5b759fbcc5ed0e397192ee1d669287e60f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4668d7739b0247d4094561ee8327c5b759fbcc5ed0e397192ee1d669287e60f8", kill_on_drop: false }`
[INFO] [stdout] 4668d7739b0247d4094561ee8327c5b759fbcc5ed0e397192ee1d669287e60f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31b290f7fdbfe83980e27e87858a09462754667a17331cde77fdc0dd4b54c3aa
[INFO] running `Command { std: "docker" "start" "-a" "31b290f7fdbfe83980e27e87858a09462754667a17331cde77fdc0dd4b54c3aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.23
[INFO] [stderr]    Compiling nylas v0.0.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 12.93s
[INFO] running `Command { std: "docker" "inspect" "31b290f7fdbfe83980e27e87858a09462754667a17331cde77fdc0dd4b54c3aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31b290f7fdbfe83980e27e87858a09462754667a17331cde77fdc0dd4b54c3aa", kill_on_drop: false }`
[INFO] [stdout] 31b290f7fdbfe83980e27e87858a09462754667a17331cde77fdc0dd4b54c3aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 712d2ce1fbd834caf76dc5d9937c4d53fd07988ce1ebd594da4b51a8af8e399f
[INFO] running `Command { std: "docker" "start" "-a" "712d2ce1fbd834caf76dc5d9937c4d53fd07988ce1ebd594da4b51a8af8e399f", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nylas-972a54722ad58af5)
[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 nylas
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test src/client.rs - client::Nylas::messages (line 323) ... FAILED
[INFO] [stdout] test src/client.rs - client::Nylas::authentication_url (line 101) ... FAILED
[INFO] [stdout] test src/messages.rs - messages::Messages<'a>::all (line 267) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 25) ... FAILED
[INFO] [stdout] test src/client.rs - client::Nylas::exchange_access_token (line 192) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 63) ... FAILED
[INFO] [stdout] test src/messages.rs - messages::Messages<'a>::search (line 347) ... FAILED
[INFO] [stdout] test src/messages.rs - messages::Messages<'a>::get (line 611) ... FAILED
[INFO] [stdout] test src/client.rs - client::Nylas::account (line 272) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... FAILED
[INFO] [stdout] test src/messages.rs - messages::Messages<'a>::where_ (line 440) ... FAILED
[INFO] [stdout] test src/messages.rs - messages::Messages<'a>::first (line 551) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 70) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 19) ... ok
[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::messages (line 323) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:327:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 7 | 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::authentication_url (line 101) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:105:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 7 | 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>::all (line 267) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/messages.rs:270:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 6 | 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 25) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:29:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 7 | 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::exchange_access_token (line 192) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:196:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 7 | 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 63) stdout ----
[INFO] [stdout] error[E0423]: expected value, found crate `nylas`
[INFO] [stdout]  --> src/lib.rs:66:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | println!("{:?}", nylas.account);
[INFO] [stdout]   |                  ^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/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] 13 |     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] 13 |     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] 13 |     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] 13 |     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] 13 |     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 undeclared crate or module `tokio`
[INFO] [stdout]  --> src/messages.rs:350:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 6 | 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/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] 14 |     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 undeclared crate or module `tokio`
[INFO] [stdout]  --> src/messages.rs:615:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 7 | 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::account (line 272) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:276:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 7 | 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] 6 | let auth_url = nylas.authentication_url(redirect_uri, login_hint, state, scopes);
[INFO] [stdout]   |                ^^^^^- help: use the path separator to refer to an item: `::`
[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] 6 | 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] 6 | 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] 6 | 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] 6 | 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] 10 | 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] 10 | 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] 10 | 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] 3  + 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] 10 | 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] 10 | 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] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_52_0() {
[INFO] [stdout]    |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | 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>::where_ (line 440) stdout ----
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]   --> src/messages.rs:456:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     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] 18 |     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] 18 |     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] 18 |     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] 14 |     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 undeclared crate or module `tokio`
[INFO] [stdout]  --> src/messages.rs:444:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 7 | 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/messages.rs - messages::Messages<'a>::first (line 551) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/messages.rs:554:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `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] 6 | 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 70) stdout ----
[INFO] [stdout] error: cannot find macro `hashmap` in this scope
[INFO] [stdout]   --> src/lib.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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] 6 | let messages = nylas.messages().all().await;
[INFO] [stdout]   |                ^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `nylas`
[INFO] [stdout]  --> src/lib.rs:76:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let result = nylas.messages().search("example@example.com", Some(1), Some(0)).await;
[INFO] [stdout]   |              ^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `nylas`
[INFO] [stdout]   --> src/lib.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | let messages = nylas.messages().where_(filter, Some(View::Expanded)).await;
[INFO] [stdout]    |                ^^^^^- help: use the path separator to refer to an item: `::`
[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] 15 | 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] 3  + 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] 18 | let message_result = nylas.messages().first().await;
[INFO] [stdout]    |                      ^^^^^- help: use the path separator to refer to an item: `::`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `nylas`
[INFO] [stdout]   --> src/lib.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | let message_result = nylas.messages().get(message_id, Some(View::Expanded)).await;
[INFO] [stdout]    |                      ^^^^^- help: use the path separator to refer to an item: `::`
[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] 22 | 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] 3  + 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] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] 6 | 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] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | 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] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() {
[INFO] [stdout]    |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | 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] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() {
[INFO] [stdout]    |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | 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] 5  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_70_0() {
[INFO] [stdout]    |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 | 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] 
[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 2.23s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "712d2ce1fbd834caf76dc5d9937c4d53fd07988ce1ebd594da4b51a8af8e399f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "712d2ce1fbd834caf76dc5d9937c4d53fd07988ce1ebd594da4b51a8af8e399f", kill_on_drop: false }`
[INFO] [stdout] 712d2ce1fbd834caf76dc5d9937c4d53fd07988ce1ebd594da4b51a8af8e399f
