[INFO] cloning repository https://github.com/abderrahimAMZ/educational-git [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abderrahimAMZ/educational-git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FabderrahimAMZ%2Feducational-git", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FabderrahimAMZ%2Feducational-git'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0ac58ecbdf9de82f5c15b81552470586a8f548a [INFO] building abderrahimAMZ/educational-git against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FabderrahimAMZ%2Feducational-git" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abderrahimAMZ/educational-git [INFO] finished tweaking git repo https://github.com/abderrahimAMZ/educational-git [INFO] tweaked toml for git repo https://github.com/abderrahimAMZ/educational-git written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abderrahimAMZ/educational-git on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abderrahimAMZ/educational-git 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io-lifetimes v1.0.3 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded clap_derive v4.0.21 [INFO] [stderr] Downloaded clap_lex v0.3.0 [INFO] [stderr] Downloaded os_str_bytes v6.4.1 [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded core-foundation-sys v0.8.3 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded h2 v0.3.15 [INFO] [stderr] Downloaded rustix v0.36.6 [INFO] [stderr] Downloaded mio v0.8.5 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded reqwest v0.11.13 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded hyper v0.14.23 [INFO] [stderr] Downloaded lock_api v0.4.9 [INFO] [stderr] Downloaded digest v0.10.6 [INFO] [stderr] Downloaded hermit-abi v0.2.6 [INFO] [stderr] Downloaded clap v4.0.32 [INFO] [stderr] Downloaded openssl-macros v0.1.0 [INFO] [stderr] Downloaded tokio v1.24.1 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded fastrand v1.8.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded smallvec v1.10.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.6 [INFO] [stderr] Downloaded libc v0.2.139 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] [stderr] Downloaded socket2 v0.4.7 [INFO] [stderr] Downloaded is-terminal v0.4.2 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded block-buffer v0.10.3 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded tokio-macros v1.8.2 [INFO] [stderr] Downloaded linux-raw-sys v0.1.4 [INFO] [stderr] Downloaded windows-sys v0.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d7149c87233a81f90e7483783ea0c25f068cc27135a98e47d19ad85028456b8 [INFO] running `Command { std: "docker" "start" "-a" "7d7149c87233a81f90e7483783ea0c25f068cc27135a98e47d19ad85028456b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d7149c87233a81f90e7483783ea0c25f068cc27135a98e47d19ad85028456b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7149c87233a81f90e7483783ea0c25f068cc27135a98e47d19ad85028456b8", kill_on_drop: false }` [INFO] [stdout] 7d7149c87233a81f90e7483783ea0c25f068cc27135a98e47d19ad85028456b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06ac39aea45deba76eb0adef92fc14e0d6fbb84b9ac8145d892042ff6c979610 [INFO] running `Command { std: "docker" "start" "-a" "06ac39aea45deba76eb0adef92fc14e0d6fbb84b9ac8145d892042ff6c979610", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.24.1 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling clap v4.0.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blob.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/blob.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use flate2::read; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `arg`, `command`, and `value_parser` [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use clap::{arg, command, value_parser, Arg, ArgAction, Command}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blog` [INFO] [stdout] --> src/main.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let (blog, output) = out.split_at(index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blog` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hash_object` is never used [INFO] [stdout] --> src/blob.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Blob<'a> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn hash_object(filename : String, write_to_file: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | decoder.read_to_string(&mut out); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = decoder.read_to_string(&mut out); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime `'T` should have a snake case name [INFO] [stdout] --> src/blob.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Blob<'T> { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `'t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/blob.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(file_path : &'a String) -> Blob { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 16 | pub fn new(file_path : &'a String) -> Blob<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.85s [INFO] running `Command { std: "docker" "inspect" "06ac39aea45deba76eb0adef92fc14e0d6fbb84b9ac8145d892042ff6c979610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ac39aea45deba76eb0adef92fc14e0d6fbb84b9ac8145d892042ff6c979610", kill_on_drop: false }` [INFO] [stdout] 06ac39aea45deba76eb0adef92fc14e0d6fbb84b9ac8145d892042ff6c979610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6f31308d75732cf3681a29dadd6016d61c8995b10048980f2dd120bc9184de5 [INFO] running `Command { std: "docker" "start" "-a" "c6f31308d75732cf3681a29dadd6016d61c8995b10048980f2dd120bc9184de5", kill_on_drop: false }` [INFO] [stderr] Compiling git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/blob.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/blob.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use flate2::read; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `arg`, `command`, and `value_parser` [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use clap::{arg, command, value_parser, Arg, ArgAction, Command}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blog` [INFO] [stdout] --> src/main.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let (blog, output) = out.split_at(index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blog` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hash_object` is never used [INFO] [stdout] --> src/blob.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Blob<'a> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn hash_object(filename : String, write_to_file: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | decoder.read_to_string(&mut out); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = decoder.read_to_string(&mut out); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime `'T` should have a snake case name [INFO] [stdout] --> src/blob.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Blob<'T> { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `'t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/blob.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(file_path : &'a String) -> Blob { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 16 | pub fn new(file_path : &'a String) -> Blob<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "c6f31308d75732cf3681a29dadd6016d61c8995b10048980f2dd120bc9184de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6f31308d75732cf3681a29dadd6016d61c8995b10048980f2dd120bc9184de5", kill_on_drop: false }` [INFO] [stdout] c6f31308d75732cf3681a29dadd6016d61c8995b10048980f2dd120bc9184de5