[INFO] fetching crate text_manipulation_rs 0.1.3... [INFO] building text_manipulation_rs-0.1.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate text_manipulation_rs 0.1.3 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate text_manipulation_rs 0.1.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded current_platform v0.2.0 [INFO] [stderr] Downloaded cargo-fuzz v0.11.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ce11fea19fc38c19d71279714b2e5e85000982ecf2f50ede88bbfabd9f0369e [INFO] running `Command { std: "docker" "start" "-a" "8ce11fea19fc38c19d71279714b2e5e85000982ecf2f50ede88bbfabd9f0369e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ce11fea19fc38c19d71279714b2e5e85000982ecf2f50ede88bbfabd9f0369e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce11fea19fc38c19d71279714b2e5e85000982ecf2f50ede88bbfabd9f0369e", kill_on_drop: false }` [INFO] [stdout] 8ce11fea19fc38c19d71279714b2e5e85000982ecf2f50ede88bbfabd9f0369e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66596012dd07dd8ec7d471b4b0dbe21d2f443266801f7db398e96184f8788b23 [INFO] running `Command { std: "docker" "start" "-a" "66596012dd07dd8ec7d471b4b0dbe21d2f443266801f7db398e96184f8788b23", 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 curl v0.4.49 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [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: 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 16.63s [INFO] running `Command { std: "docker" "inspect" "66596012dd07dd8ec7d471b4b0dbe21d2f443266801f7db398e96184f8788b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66596012dd07dd8ec7d471b4b0dbe21d2f443266801f7db398e96184f8788b23", kill_on_drop: false }` [INFO] [stdout] 66596012dd07dd8ec7d471b4b0dbe21d2f443266801f7db398e96184f8788b23 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f9a5c33a634c3198738407eeb3394d6df1f21754ac0c0008487bb66a2f1143 [INFO] running `Command { std: "docker" "start" "-a" "71f9a5c33a634c3198738407eeb3394d6df1f21754ac0c0008487bb66a2f1143", 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: 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] 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 `test` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "71f9a5c33a634c3198738407eeb3394d6df1f21754ac0c0008487bb66a2f1143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f9a5c33a634c3198738407eeb3394d6df1f21754ac0c0008487bb66a2f1143", kill_on_drop: false }` [INFO] [stdout] 71f9a5c33a634c3198738407eeb3394d6df1f21754ac0c0008487bb66a2f1143