[INFO] fetching crate microsoft_mail 0.1.0... [INFO] testing microsoft_mail-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate microsoft_mail 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate microsoft_mail 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate microsoft_mail 0.1.0 [INFO] tweaked toml for crates.io crate microsoft_mail 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate microsoft_mail 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate microsoft_mail 0.1.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bd4736f310b8daeca2286476456ee7ff7aff4bd89213825db2df2905a199f4e [INFO] running `Command { std: "docker" "start" "-a" "6bd4736f310b8daeca2286476456ee7ff7aff4bd89213825db2df2905a199f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bd4736f310b8daeca2286476456ee7ff7aff4bd89213825db2df2905a199f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd4736f310b8daeca2286476456ee7ff7aff4bd89213825db2df2905a199f4e", kill_on_drop: false }` [INFO] [stdout] 6bd4736f310b8daeca2286476456ee7ff7aff4bd89213825db2df2905a199f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d96750f8d5619f685add0ae159222c8191799733dba7423617dc74af8507511c [INFO] running `Command { std: "docker" "start" "-a" "d96750f8d5619f685add0ae159222c8191799733dba7423617dc74af8507511c", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling kurtbuilds_std_ext v0.1.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling kurtbuilds_file v0.1.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling kurtbuilds_email v0.1.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling httpclient v0.23.21 [INFO] [stderr] Compiling httpclient_oauth2 v0.4.0 [INFO] [stderr] Compiling microsoft_mail v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Bool` is never used [INFO] [stdout] --> src/request/send_email.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendEmailRequestBody` is never constructed [INFO] [stdout] --> src/request/send_email.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct SendEmailRequestBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/list_attachments.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn list_attachments(&self, message_id: &str) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn list_attachments(&self, message_id: &str) -> FluentRequest<'_, ListAttachmentsRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/list_messages.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list_messages(&self) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list_messages(&self) -> FluentRequest<'_, ListMessagesRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/send_email.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_email(&self, email: Email) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_email(&self, email: Email) -> FluentRequest<'_, Email> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.70s [INFO] running `Command { std: "docker" "inspect" "d96750f8d5619f685add0ae159222c8191799733dba7423617dc74af8507511c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96750f8d5619f685add0ae159222c8191799733dba7423617dc74af8507511c", kill_on_drop: false }` [INFO] [stdout] d96750f8d5619f685add0ae159222c8191799733dba7423617dc74af8507511c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6640cbae8248b76ab3a34c723164e81ef47f326f828facd2c3c64e8d728cce05 [INFO] running `Command { std: "docker" "start" "-a" "6640cbae8248b76ab3a34c723164e81ef47f326f828facd2c3c64e8d728cce05", kill_on_drop: false }` [INFO] [stdout] warning: enum `Bool` is never used [INFO] [stdout] --> src/request/send_email.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendEmailRequestBody` is never constructed [INFO] [stdout] --> src/request/send_email.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct SendEmailRequestBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/list_attachments.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn list_attachments(&self, message_id: &str) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn list_attachments(&self, message_id: &str) -> FluentRequest<'_, ListAttachmentsRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/list_messages.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list_messages(&self) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list_messages(&self) -> FluentRequest<'_, ListMessagesRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/send_email.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_email(&self, email: Email) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_email(&self, email: Email) -> FluentRequest<'_, Email> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling microsoft_mail v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] --> examples/send_email.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use microsoft::model::{Attachment, Page}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microsoft`, use `cargo add microsoft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `microsoft` [INFO] [stdout] --> examples/send_email.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use microsoft::{MicrosoftAuth, MicrosoftClient}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microsoft`, use `cargo add microsoft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `microsoft` [INFO] [stdout] --> examples/me.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use microsoft::MicrosoftAuth; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microsoft`, use `cargo add microsoft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] --> examples/email.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use microsoft::model::{Attachment, Page}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microsoft`, use `cargo add microsoft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> examples/send_email.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: serde::ser::Serialize` will fail [INFO] [stdout] --> examples/send_email.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let s = serde_json::to_string(&res).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 57 | let res: () = client.send_email(email).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] --> examples/me.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let client = microsoft::MicrosoftClient::with_auth(auth); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microsoft`, use `cargo add microsoft` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use microsoft_mail::MicrosoftClient; [INFO] [stdout] | [INFO] [stdout] help: if you import `MicrosoftClient`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let client = microsoft::MicrosoftClient::with_auth(auth); [INFO] [stdout] 8 + let client = MicrosoftClient::with_auth(auth); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `microsoft_mail` (example "send_email") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/me.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let me = client.me().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `microsoft` [INFO] [stdout] --> examples/email.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use microsoft::{MicrosoftAuth, MicrosoftClient}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `microsoft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `microsoft`, use `cargo add microsoft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/email.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut res = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | .list_messages() [INFO] [stdout] 29 | | .filter(filter) [INFO] [stdout] 30 | | // .order_by("sentDateTime asc") [INFO] [stdout] 31 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/email.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | res = client.list_messages().next(next_link).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `microsoft_mail` (example "me") due to 3 previous errors [INFO] [stderr] error: could not compile `microsoft_mail` (example "email") due to 4 previous errors [INFO] [stdout] warning: enum `Bool` is never used [INFO] [stdout] --> src/request/send_email.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendEmailRequestBody` is never constructed [INFO] [stdout] --> src/request/send_email.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct SendEmailRequestBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/list_attachments.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn list_attachments(&self, message_id: &str) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn list_attachments(&self, message_id: &str) -> FluentRequest<'_, ListAttachmentsRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/list_messages.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list_messages(&self) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list_messages(&self) -> FluentRequest<'_, ListMessagesRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/send_email.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_email(&self, email: Email) -> FluentRequest { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn send_email(&self, email: Email) -> FluentRequest<'_, Email> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6640cbae8248b76ab3a34c723164e81ef47f326f828facd2c3c64e8d728cce05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6640cbae8248b76ab3a34c723164e81ef47f326f828facd2c3c64e8d728cce05", kill_on_drop: false }` [INFO] [stdout] 6640cbae8248b76ab3a34c723164e81ef47f326f828facd2c3c64e8d728cce05