[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#2fe50cd72c476ebacdedb14893e9632b4de961c2 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiseaidev%2Fnylas" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wiseaidev/nylas on toolchain 2fe50cd72c476ebacdedb14893e9632b4de961c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded percent-encoding v2.3.0 [INFO] [stderr] Downloaded core-foundation v0.9.3 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded itoa v1.0.9 [INFO] [stderr] Downloaded form_urlencoded v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded try-lock v0.2.4 [INFO] [stderr] Downloaded ryu v1.0.15 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded schannel v0.1.22 [INFO] [stderr] Downloaded unicode-bidi v0.3.13 [INFO] [stderr] Downloaded tracing v0.1.39 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded openssl v0.10.57 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] [stderr] Downloaded windows-sys v0.48.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded web-sys v0.3.64 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] [stderr] Downloaded idna v0.4.0 [INFO] [stderr] Downloaded rustix v0.38.19 [INFO] [stderr] Downloaded hyper v0.14.27 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded futures-util v0.3.28 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded socket2 v0.5.4 [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded http v0.2.9 [INFO] [stderr] Downloaded tokio-util v0.7.9 [INFO] [stderr] Downloaded openssl-sys v0.9.93 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded socket2 v0.4.9 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded tempfile v3.8.0 [INFO] [stderr] Downloaded http-body v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.37 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded backtrace v0.3.69 [INFO] [stderr] Downloaded bitflags v2.4.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.23 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded mio v0.8.8 [INFO] [stderr] Downloaded serde_json v1.0.107 [INFO] [stderr] Downloaded wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded ipnet v2.8.0 [INFO] [stderr] Downloaded redox_syscall v0.3.5 [INFO] [stderr] Downloaded futures-core v0.3.28 [INFO] [stderr] Downloaded httpdate v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded tokio-native-tls v0.3.1 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded core-foundation-sys v0.8.4 [INFO] [stderr] Downloaded addr2line v0.21.0 [INFO] [stderr] Downloaded futures-sink v0.3.28 [INFO] [stderr] Downloaded futures-channel v0.3.28 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded once_cell v1.18.0 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded futures-task v0.3.28 [INFO] [stderr] Downloaded pkg-config v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eb5b47d2e578897851aea7b115a567ed1546a1c65f8be4a9b0be57e28f129cf [INFO] running `Command { std: "docker" "start" "-a" "8eb5b47d2e578897851aea7b115a567ed1546a1c65f8be4a9b0be57e28f129cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eb5b47d2e578897851aea7b115a567ed1546a1c65f8be4a9b0be57e28f129cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb5b47d2e578897851aea7b115a567ed1546a1c65f8be4a9b0be57e28f129cf", kill_on_drop: false }` [INFO] [stdout] 8eb5b47d2e578897851aea7b115a567ed1546a1c65f8be4a9b0be57e28f129cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfa86a3c4f646ad723a48eb176803725c9dd45be62784d5b7e46094524abc808 [INFO] running `Command { std: "docker" "start" "-a" "bfa86a3c4f646ad723a48eb176803725c9dd45be62784d5b7e46094524abc808", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling autocfg v1.1.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 indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tracing v0.1.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling url v2.4.1 [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 hyper v0.14.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.12s [INFO] running `Command { std: "docker" "inspect" "bfa86a3c4f646ad723a48eb176803725c9dd45be62784d5b7e46094524abc808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa86a3c4f646ad723a48eb176803725c9dd45be62784d5b7e46094524abc808", kill_on_drop: false }` [INFO] [stdout] bfa86a3c4f646ad723a48eb176803725c9dd45be62784d5b7e46094524abc808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fdad5e8590c7818b9d95c454ce0091f165b573e8d1053eb620334d6dc944013 [INFO] running `Command { std: "docker" "start" "-a" "4fdad5e8590c7818b9d95c454ce0091f165b573e8d1053eb620334d6dc944013", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-core 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 foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.28 [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 http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.39 [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 indexmap v1.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 48.10s [INFO] running `Command { std: "docker" "inspect" "4fdad5e8590c7818b9d95c454ce0091f165b573e8d1053eb620334d6dc944013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fdad5e8590c7818b9d95c454ce0091f165b573e8d1053eb620334d6dc944013", kill_on_drop: false }` [INFO] [stdout] 4fdad5e8590c7818b9d95c454ce0091f165b573e8d1053eb620334d6dc944013 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f0994744a0cf73f3ce04414d3a7cb671107602953a1a9f7b92402f265797eff [INFO] running `Command { std: "docker" "start" "-a" "8f0994744a0cf73f3ce04414d3a7cb671107602953a1a9f7b92402f265797eff", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nylas-27085558716139ea) [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::account (line 272) ... FAILED [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/client.rs - client::Nylas::exchange_access_token (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::all (line 267) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::get (line 611) ... 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/messages.rs - messages::Messages<'a>::search (line 347) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::where_ (line 440) ... 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::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/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/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 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/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 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/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 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/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/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] ---- 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>::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] [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 3.57s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8f0994744a0cf73f3ce04414d3a7cb671107602953a1a9f7b92402f265797eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f0994744a0cf73f3ce04414d3a7cb671107602953a1a9f7b92402f265797eff", kill_on_drop: false }` [INFO] [stdout] 8f0994744a0cf73f3ce04414d3a7cb671107602953a1a9f7b92402f265797eff [INFO] testing wiseaidev/nylas against try#9c1665de5d324fe858dc15371578d6f928bfc123 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwiseaidev%2Fnylas" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wiseaidev/nylas on toolchain 9c1665de5d324fe858dc15371578d6f928bfc123 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+9c1665de5d324fe858dc15371578d6f928bfc123" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06e6c26a97658bf30f2c1d4d523f88208cf044f75a9b5e260edd8654c01016db [INFO] running `Command { std: "docker" "start" "-a" "06e6c26a97658bf30f2c1d4d523f88208cf044f75a9b5e260edd8654c01016db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06e6c26a97658bf30f2c1d4d523f88208cf044f75a9b5e260edd8654c01016db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e6c26a97658bf30f2c1d4d523f88208cf044f75a9b5e260edd8654c01016db", kill_on_drop: false }` [INFO] [stdout] 06e6c26a97658bf30f2c1d4d523f88208cf044f75a9b5e260edd8654c01016db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 872d5d771711deab8a898806534c19fee4a17ba8d1677747873ecd64207a7c75 [INFO] running `Command { std: "docker" "start" "-a" "872d5d771711deab8a898806534c19fee4a17ba8d1677747873ecd64207a7c75", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling autocfg v1.1.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 slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.39 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling url v2.4.1 [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 hyper v0.14.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling nylas v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.34s [INFO] running `Command { std: "docker" "inspect" "872d5d771711deab8a898806534c19fee4a17ba8d1677747873ecd64207a7c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "872d5d771711deab8a898806534c19fee4a17ba8d1677747873ecd64207a7c75", kill_on_drop: false }` [INFO] [stdout] 872d5d771711deab8a898806534c19fee4a17ba8d1677747873ecd64207a7c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64eec9010d9741f73da94c85cca68391735586e86805649c9b46c12e5ec8bee0 [INFO] running `Command { std: "docker" "start" "-a" "64eec9010d9741f73da94c85cca68391735586e86805649c9b46c12e5ec8bee0", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.39 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling indexmap v1.9.3 [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 unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 34.09s [INFO] running `Command { std: "docker" "inspect" "64eec9010d9741f73da94c85cca68391735586e86805649c9b46c12e5ec8bee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64eec9010d9741f73da94c85cca68391735586e86805649c9b46c12e5ec8bee0", kill_on_drop: false }` [INFO] [stdout] 64eec9010d9741f73da94c85cca68391735586e86805649c9b46c12e5ec8bee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0de18206faf7d7dbeb7f7c8fe25d5df75d0897690f45b3a0e82fc202829fd3de [INFO] running `Command { std: "docker" "start" "-a" "0de18206faf7d7dbeb7f7c8fe25d5df75d0897690f45b3a0e82fc202829fd3de", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nylas-27085558716139ea) [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::exchange_access_token (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] test src/client.rs - client::Nylas::authentication_url (line 101) ... FAILED [INFO] [stdout] test src/client.rs - client::Nylas::account (line 272) ... FAILED [INFO] [stdout] test src/client.rs - client::Nylas::messages (line 323) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::all (line 267) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... 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/messages.rs - messages::Messages<'a>::where_ (line 440) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::get (line 611) ... FAILED [INFO] [stdout] test src/messages.rs - messages::Messages<'a>::search (line 347) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/client.rs - client::Nylas (line 15) ... ok [INFO] [stdout] test src/client.rs - client::Nylas::new (line 42) ... 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 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 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::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/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/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/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 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 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 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/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] ---- 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/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>::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/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] [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.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0de18206faf7d7dbeb7f7c8fe25d5df75d0897690f45b3a0e82fc202829fd3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de18206faf7d7dbeb7f7c8fe25d5df75d0897690f45b3a0e82fc202829fd3de", kill_on_drop: false }` [INFO] [stdout] 0de18206faf7d7dbeb7f7c8fe25d5df75d0897690f45b3a0e82fc202829fd3de