[INFO] fetching crate text_manipulation_rs 0.1.3... [INFO] building text_manipulation_rs-0.1.3 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [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 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 063c2ad374c1199e60e9696fb9af261057bd4c31af93f1faf08b1ef7912ee840 [INFO] running `Command { std: "docker" "start" "-a" "063c2ad374c1199e60e9696fb9af261057bd4c31af93f1faf08b1ef7912ee840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "063c2ad374c1199e60e9696fb9af261057bd4c31af93f1faf08b1ef7912ee840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063c2ad374c1199e60e9696fb9af261057bd4c31af93f1faf08b1ef7912ee840", kill_on_drop: false }` [INFO] [stdout] 063c2ad374c1199e60e9696fb9af261057bd4c31af93f1faf08b1ef7912ee840 [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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 918fd1f2a7297dd6a36e50441536e3a08b64f1d2e26720ba622ff3402603c53b [INFO] running `Command { std: "docker" "start" "-a" "918fd1f2a7297dd6a36e50441536e3a08b64f1d2e26720ba622ff3402603c53b", 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 serde_core v1.0.228 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.98s [INFO] running `Command { std: "docker" "inspect" "918fd1f2a7297dd6a36e50441536e3a08b64f1d2e26720ba622ff3402603c53b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918fd1f2a7297dd6a36e50441536e3a08b64f1d2e26720ba622ff3402603c53b", kill_on_drop: false }` [INFO] [stdout] 918fd1f2a7297dd6a36e50441536e3a08b64f1d2e26720ba622ff3402603c53b [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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f593bdddf4b3092ae92f18b51f63d14a1a8249f2a803724968570c62cc1cea04 [INFO] running `Command { std: "docker" "start" "-a" "f593bdddf4b3092ae92f18b51f63d14a1a8249f2a803724968570c62cc1cea04", 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] [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: 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] Compiling text_manipulation_rs v0.1.3 (/opt/rustwide/workdir) [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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "f593bdddf4b3092ae92f18b51f63d14a1a8249f2a803724968570c62cc1cea04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f593bdddf4b3092ae92f18b51f63d14a1a8249f2a803724968570c62cc1cea04", kill_on_drop: false }` [INFO] [stdout] f593bdddf4b3092ae92f18b51f63d14a1a8249f2a803724968570c62cc1cea04