[INFO] fetching crate deepl-rustls 0.6.3... [INFO] testing deepl-rustls-0.6.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate deepl-rustls 0.6.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate deepl-rustls 0.6.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate deepl-rustls 0.6.3 [INFO] tweaked toml for crates.io crate deepl-rustls 0.6.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate deepl-rustls 0.6.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate deepl-rustls 0.6.3 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.204 [INFO] [stderr] Downloaded tower-layer v0.3.2 [INFO] [stderr] Downloaded typed-builder v0.18.2 [INFO] [stderr] Downloaded typed-builder-macro v0.18.2 [INFO] [stderr] Downloaded tower-service v0.3.2 [INFO] [stderr] Downloaded sync_wrapper v1.0.1 [INFO] [stderr] Downloaded schannel v0.1.23 [INFO] [stderr] Downloaded http-body-util v0.1.2 [INFO] [stderr] Downloaded security-framework-sys v2.11.1 [INFO] [stderr] Downloaded mime_guess v2.0.5 [INFO] [stderr] Downloaded httparse v1.9.4 [INFO] [stderr] Downloaded quinn-udp v0.5.2 [INFO] [stderr] Downloaded core-foundation-sys v0.8.6 [INFO] [stderr] Downloaded pin-project-internal v1.1.5 [INFO] [stderr] Downloaded tokio-rustls v0.26.0 [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.2 [INFO] [stderr] Downloaded ipnet v2.9.0 [INFO] [stderr] Downloaded tempfile v3.11.0 [INFO] [stderr] Downloaded native-tls v0.2.12 [INFO] [stderr] Downloaded pin-project v1.1.5 [INFO] [stderr] Downloaded bytemuck v1.16.3 [INFO] [stderr] Downloaded openssl-sys v0.9.103 [INFO] [stderr] Downloaded cc v1.1.7 [INFO] [stderr] Downloaded winreg v0.52.0 [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded quinn v0.11.2 [INFO] [stderr] Downloaded serde v1.0.204 [INFO] [stderr] Downloaded http v1.1.0 [INFO] [stderr] Downloaded tokio-util v0.7.11 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded hyper v1.4.1 [INFO] [stderr] Downloaded rustls-webpki v0.102.6 [INFO] [stderr] Downloaded docx-rs v0.4.17 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded openssl v0.10.66 [INFO] [stderr] Downloaded webpki-roots v0.26.3 [INFO] [stderr] Downloaded syn v2.0.72 [INFO] [stderr] Downloaded object v0.36.2 [INFO] [stderr] Downloaded quinn-proto v0.11.3 [INFO] [stderr] Downloaded rustls v0.23.12 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded encoding_rs v0.8.34 [INFO] [stderr] Downloaded ring v0.17.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f36d347c16ef4337394939c8dabc041151a319e50a10e9fed1220070a25115c2 [INFO] running `Command { std: "docker" "start" "-a" "f36d347c16ef4337394939c8dabc041151a319e50a10e9fed1220070a25115c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f36d347c16ef4337394939c8dabc041151a319e50a10e9fed1220070a25115c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36d347c16ef4337394939c8dabc041151a319e50a10e9fed1220070a25115c2", kill_on_drop: false }` [INFO] [stdout] f36d347c16ef4337394939c8dabc041151a319e50a10e9fed1220070a25115c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84eecc5fd9dd3efa2d25a0878f1fe31e29f2b0079c14599d64923101108b7f1d [INFO] running `Command { std: "docker" "start" "-a" "84eecc5fd9dd3efa2d25a0878f1fe31e29f2b0079c14599d64923101108b7f1d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling typed-builder v0.18.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-rustls v0.27.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling deepl-rustls v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/document.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 202 | ) -> UploadDocumentRequester { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 202 | ) -> UploadDocumentRequester<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/glossary.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create_glossary(&self, name: impl ToString) -> CreateGlossaryBuilderStart { [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] 241 | pub fn create_glossary(&self, name: impl ToString) -> CreateGlossaryBuilderStart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/translate.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn translate_text(&self, text: impl ToString, target_lang: Lang) -> TranslateRequester { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 264 | pub fn translate_text(&self, text: impl ToString, target_lang: Lang) -> TranslateRequester<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.39s [INFO] running `Command { std: "docker" "inspect" "84eecc5fd9dd3efa2d25a0878f1fe31e29f2b0079c14599d64923101108b7f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84eecc5fd9dd3efa2d25a0878f1fe31e29f2b0079c14599d64923101108b7f1d", kill_on_drop: false }` [INFO] [stdout] 84eecc5fd9dd3efa2d25a0878f1fe31e29f2b0079c14599d64923101108b7f1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 117013c7b043ede5e228becfa63ecf50cc6e3f6633502e463ab853c54a15a23d [INFO] running `Command { std: "docker" "start" "-a" "117013c7b043ede5e228becfa63ecf50cc6e3f6633502e463ab853c54a15a23d", kill_on_drop: false }` [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/document.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 202 | ) -> UploadDocumentRequester { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 202 | ) -> UploadDocumentRequester<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/glossary.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create_glossary(&self, name: impl ToString) -> CreateGlossaryBuilderStart { [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] 241 | pub fn create_glossary(&self, name: impl ToString) -> CreateGlossaryBuilderStart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/translate.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn translate_text(&self, text: impl ToString, target_lang: Lang) -> TranslateRequester { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 264 | pub fn translate_text(&self, text: impl ToString, target_lang: Lang) -> TranslateRequester<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling docx-rs v0.4.17 [INFO] [stderr] Compiling deepl-rustls v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `deepl` [INFO] [stdout] --> examples/basic_translation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use deepl::TagHandling; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `deepl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepl`, use `cargo add deepl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `deepl` [INFO] [stdout] --> examples/basic_translation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use deepl::{DeepLApi, Lang}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `deepl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepl`, use `cargo add deepl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `deepl` [INFO] [stdout] --> examples/upload_document.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use deepl::{DeepLApi, Lang}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `deepl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deepl`, use `cargo add deepl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/basic_translation.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let translated = deepl.translate_text("Hello World", Lang::DE).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/basic_translation.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let response = api [INFO] [stdout] | ____________________^ [INFO] [stdout] 16 | | .translate_text(str, Lang::DE) [INFO] [stdout] 17 | | .source_lang(Lang::EN) [INFO] [stdout] 18 | | .ignore_tags(vec!["keep".to_owned()]) [INFO] [stdout] 19 | | .tag_handling(TagHandling::Xml) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/upload_document.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let response = api.upload_document(&test_file, Lang::ZH).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/upload_document.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let mut status = api.check_document_status(&response).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/upload_document.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | status = api.check_document_status(&response).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/upload_document.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let path = api [INFO] [stdout] | ________________^ [INFO] [stdout] 30 | | .download_document(&response, "test_translated.txt") [INFO] [stdout] 31 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/upload_document.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let content = tokio::fs::read_to_string(path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deepl-rustls` (example "basic_translation") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `deepl-rustls` (example "upload_document") due to 6 previous errors [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/document.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 202 | ) -> UploadDocumentRequester { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 202 | ) -> UploadDocumentRequester<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/glossary.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create_glossary(&self, name: impl ToString) -> CreateGlossaryBuilderStart { [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] 241 | pub fn create_glossary(&self, name: impl ToString) -> CreateGlossaryBuilderStart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint/translate.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn translate_text(&self, text: impl ToString, target_lang: Lang) -> TranslateRequester { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 264 | pub fn translate_text(&self, text: impl ToString, target_lang: Lang) -> TranslateRequester<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "117013c7b043ede5e228becfa63ecf50cc6e3f6633502e463ab853c54a15a23d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117013c7b043ede5e228becfa63ecf50cc6e3f6633502e463ab853c54a15a23d", kill_on_drop: false }` [INFO] [stdout] 117013c7b043ede5e228becfa63ecf50cc6e3f6633502e463ab853c54a15a23d