[INFO] cloning repository https://github.com/kurtbuilds/microsoft_mail [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kurtbuilds/microsoft_mail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Fmicrosoft_mail", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Fmicrosoft_mail'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4ffe6c2f7c906ca4c881095c3edab4473f02542 [INFO] checking kurtbuilds/microsoft_mail against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Fmicrosoft_mail" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kurtbuilds/microsoft_mail [INFO] finished tweaking git repo https://github.com/kurtbuilds/microsoft_mail [INFO] tweaked toml for git repo https://github.com/kurtbuilds/microsoft_mail written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kurtbuilds/microsoft_mail on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kurtbuilds/microsoft_mail 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.12.1 [INFO] [stderr] Downloaded syn v2.0.90 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded httpclient_oauth2 v0.4.0 [INFO] [stderr] Downloaded kurtbuilds_file v0.1.1 [INFO] [stderr] Downloaded kurtbuilds_email v0.1.0 [INFO] [stderr] Downloaded kurtbuilds_std_ext v0.1.11 [INFO] [stderr] Downloaded httpclient v0.23.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5173c40276f81e771271e5abb6a9a992c5da9feadc64a954e329e8a98c596be6 [INFO] running `Command { std: "docker" "start" "-a" "5173c40276f81e771271e5abb6a9a992c5da9feadc64a954e329e8a98c596be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5173c40276f81e771271e5abb6a9a992c5da9feadc64a954e329e8a98c596be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5173c40276f81e771271e5abb6a9a992c5da9feadc64a954e329e8a98c596be6", kill_on_drop: false }` [INFO] [stdout] 5173c40276f81e771271e5abb6a9a992c5da9feadc64a954e329e8a98c596be6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 710b852de1961b6047a81ebda9f089619243a357f16486f081e7b1fdd0f8c971 [INFO] running `Command { std: "docker" "start" "-a" "710b852de1961b6047a81ebda9f089619243a357f16486f081e7b1fdd0f8c971", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking kurtbuilds_std_ext v0.1.11 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking kurtbuilds_file v0.1.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [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] Checking tokio v1.42.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking kurtbuilds_email v0.1.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking httpclient v0.23.21 [INFO] [stderr] Checking httpclient_oauth2 v0.4.0 [INFO] [stderr] Checking 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)]` 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] [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)]` 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] [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[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[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[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: 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 "email") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 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: `#[warn(dependency_on_unit_never_type_fallback)]` 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] [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 2 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `microsoft_mail` (example "me") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "710b852de1961b6047a81ebda9f089619243a357f16486f081e7b1fdd0f8c971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710b852de1961b6047a81ebda9f089619243a357f16486f081e7b1fdd0f8c971", kill_on_drop: false }` [INFO] [stdout] 710b852de1961b6047a81ebda9f089619243a357f16486f081e7b1fdd0f8c971