[INFO] fetching crate text_manipulation_rs 0.1.3... [INFO] building text_manipulation_rs-0.1.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate text_manipulation_rs 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate text_manipulation_rs 0.1.3 [INFO] finished tweaking crates.io crate text_manipulation_rs 0.1.3 [INFO] tweaked toml for crates.io crate text_manipulation_rs 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate text_manipulation_rs 0.1.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 packages to latest compatible versions [INFO] [stderr] Adding cargo-fuzz v0.11.4 (available: v0.13.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dd3b647721b0edb65dc62b757274afd8c9ea23707d6c6ad12affa8badbfcdd3 [INFO] running `Command { std: "docker" "start" "-a" "6dd3b647721b0edb65dc62b757274afd8c9ea23707d6c6ad12affa8badbfcdd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dd3b647721b0edb65dc62b757274afd8c9ea23707d6c6ad12affa8badbfcdd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd3b647721b0edb65dc62b757274afd8c9ea23707d6c6ad12affa8badbfcdd3", kill_on_drop: false }` [INFO] [stdout] 6dd3b647721b0edb65dc62b757274afd8c9ea23707d6c6ad12affa8badbfcdd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55ae70796f5360ab0ea1d4e3320d33d7bad9a5faa4e99d541233cf425943163f [INFO] running `Command { std: "docker" "start" "-a" "55ae70796f5360ab0ea1d4e3320d33d7bad9a5faa4e99d541233cf425943163f", kill_on_drop: false }` [INFO] [stderr] warning: text_manipulation_rs v0.1.3 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-fuzz` which is missing a lib target [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling text_manipulation_rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/dictionary/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/request/http_request.rs:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | let bytes = body.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/translation_request.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(text: &'a str, target_lang: TargetLang) -> TranslationRequest { [INFO] [stdout] | -- the lifetime is named 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(text: &'a str, target_lang: TargetLang) -> TranslationRequest<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/translation_request.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_request(&self, auth : &'a DeepLKey) -> HttpRequest { [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] 56 | pub fn create_request(&self, auth : &'a DeepLKey) -> HttpRequest<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "55ae70796f5360ab0ea1d4e3320d33d7bad9a5faa4e99d541233cf425943163f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55ae70796f5360ab0ea1d4e3320d33d7bad9a5faa4e99d541233cf425943163f", kill_on_drop: false }` [INFO] [stdout] 55ae70796f5360ab0ea1d4e3320d33d7bad9a5faa4e99d541233cf425943163f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d408f9c3c19b4a8c03520e1837220150252c9e6a266e82759153e27b7a9fe3fe [INFO] running `Command { std: "docker" "start" "-a" "d408f9c3c19b4a8c03520e1837220150252c9e6a266e82759153e27b7a9fe3fe", kill_on_drop: false }` [INFO] [stderr] warning: text_manipulation_rs v0.1.3 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-fuzz` which is missing a lib target [INFO] [stderr] Compiling text_manipulation_rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/dictionary/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/request/http_request.rs:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | let bytes = body.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/translation_request.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(text: &'a str, target_lang: TargetLang) -> TranslationRequest { [INFO] [stdout] | -- the lifetime is named 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(text: &'a str, target_lang: TargetLang) -> TranslationRequest<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/translation_request.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_request(&self, auth : &'a DeepLKey) -> HttpRequest { [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] 56 | pub fn create_request(&self, auth : &'a DeepLKey) -> HttpRequest<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/dictionary/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/translation_request.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(text: &'a str, target_lang: TargetLang) -> TranslationRequest { [INFO] [stdout] | -- the lifetime is named 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(text: &'a str, target_lang: TargetLang) -> TranslationRequest<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/request/http_request.rs:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | let bytes = body.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/translation_request.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_request(&self, auth : &'a DeepLKey) -> HttpRequest { [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] 56 | pub fn create_request(&self, auth : &'a DeepLKey) -> HttpRequest<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "d408f9c3c19b4a8c03520e1837220150252c9e6a266e82759153e27b7a9fe3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d408f9c3c19b4a8c03520e1837220150252c9e6a266e82759153e27b7a9fe3fe", kill_on_drop: false }` [INFO] [stdout] d408f9c3c19b4a8c03520e1837220150252c9e6a266e82759153e27b7a9fe3fe