[INFO] fetching crate microsoft_mail 0.1.0... [INFO] checking microsoft_mail-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate microsoft_mail 0.1.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate microsoft_mail 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kurtbuilds_email v0.1.0 [INFO] [stderr] Downloaded httpclient_oauth2 v0.4.0 [INFO] [stderr] Downloaded kurtbuilds_std_ext v0.1.11 [INFO] [stderr] Downloaded httpclient v0.23.21 [INFO] [stderr] Downloaded kurtbuilds_file v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89c6330e744719bae8cef1beef9da3146ad3b4b8ae7024083262727b3d1a298b [INFO] running `Command { std: "docker" "start" "-a" "89c6330e744719bae8cef1beef9da3146ad3b4b8ae7024083262727b3d1a298b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c6330e744719bae8cef1beef9da3146ad3b4b8ae7024083262727b3d1a298b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c6330e744719bae8cef1beef9da3146ad3b4b8ae7024083262727b3d1a298b", kill_on_drop: false }` [INFO] [stdout] 89c6330e744719bae8cef1beef9da3146ad3b4b8ae7024083262727b3d1a298b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ede1de35bbcdc33285d7c65c03fbc85f6aa93cca5dc11a95a324a3baa9b488 [INFO] running `Command { std: "docker" "start" "-a" "c1ede1de35bbcdc33285d7c65c03fbc85f6aa93cca5dc11a95a324a3baa9b488", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking kurtbuilds_std_ext v0.1.11 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [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] Checking parking_lot v0.12.3 [INFO] [stderr] Checking kurtbuilds_file v0.1.1 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling ring v0.17.8 [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] Checking tokio v1.42.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [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_json v1.0.133 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking kurtbuilds_email v0.1.0 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking chrono v0.4.39 [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[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] 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] 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] 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] [stderr] error: could not compile `microsoft_mail` (example "send_email") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] 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] [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 "me") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c1ede1de35bbcdc33285d7c65c03fbc85f6aa93cca5dc11a95a324a3baa9b488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ede1de35bbcdc33285d7c65c03fbc85f6aa93cca5dc11a95a324a3baa9b488", kill_on_drop: false }` [INFO] [stdout] c1ede1de35bbcdc33285d7c65c03fbc85f6aa93cca5dc11a95a324a3baa9b488