[INFO] fetching crate git_rs 0.1.0... [INFO] checking git_rs-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate git_rs 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate git_rs 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate git_rs 0.1.0 [INFO] finished tweaking crates.io crate git_rs 0.1.0 [INFO] tweaked toml for crates.io crate git_rs 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding crc v1.8.1 (latest: v3.2.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.5.0 (latest: v0.14.5) [INFO] [stderr] Adding hex v0.3.2 (latest: v0.4.3) [INFO] [stderr] Adding lru v0.1.17 (latest: v0.12.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hashbrown v0.5.0 [INFO] [stderr] Downloaded lru v0.1.17 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a30cb6bd9ec59784ec9bf8c4611c6b0f1c8e015bb8343d6ed696461aed9b851a [INFO] running `Command { std: "docker" "start" "-a" "a30cb6bd9ec59784ec9bf8c4611c6b0f1c8e015bb8343d6ed696461aed9b851a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a30cb6bd9ec59784ec9bf8c4611c6b0f1c8e015bb8343d6ed696461aed9b851a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30cb6bd9ec59784ec9bf8c4611c6b0f1c8e015bb8343d6ed696461aed9b851a", kill_on_drop: false }` [INFO] [stdout] a30cb6bd9ec59784ec9bf8c4611c6b0f1c8e015bb8343d6ed696461aed9b851a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3700a8eaf32919dc5c51cc2341ba31476cd8f98ecc2f3cbaed9fc52e6f21fd05 [INFO] running `Command { std: "docker" "start" "-a" "3700a8eaf32919dc5c51cc2341ba31476cd8f98ecc2f3cbaed9fc52e6f21fd05", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking lru v0.1.17 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking git_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | 0...9 => (inp + 48) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | 10...16 => (inp + 87) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | 48 ... 57 => xs - 48, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 97 ... 102 => xs - 97 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | 65 ... 70 => xs - 65 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/stores/loose.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/objects/commit.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/pack/index.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{ Cursor, SeekFrom }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pack/index.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | if (&magic != b"\xfftOc") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - if (&magic != b"\xfftOc") { [INFO] [stdout] 168 + if &magic != b"\xfftOc" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pack/index.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | if (version != unsafe { std::mem::transmute::(2u32.to_be()) }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (version != unsafe { std::mem::transmute::(2u32.to_be()) }) { [INFO] [stdout] 172 + if version != unsafe { std::mem::transmute::(2u32.to_be()) } { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pack/read.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | 0...4 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stores/loose.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = dyn Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stores/loose.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | 0...9 => (inp + 48) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | 10...16 => (inp + 87) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | 48 ... 57 => xs - 48, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 97 ... 102 => xs - 97 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/id.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | 65 ... 70 => xs - 65 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/stores/loose.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/objects/commit.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/pack/index.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{ Cursor, SeekFrom }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/any.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | read: Box Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | read: Box Result>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pack/index.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | if (&magic != b"\xfftOc") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - if (&magic != b"\xfftOc") { [INFO] [stdout] 168 + if &magic != b"\xfftOc" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pack/index.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | if (version != unsafe { std::mem::transmute::(2u32.to_be()) }) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (version != unsafe { std::mem::transmute::(2u32.to_be()) }) { [INFO] [stdout] 172 + if version != unsafe { std::mem::transmute::(2u32.to_be()) } { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/pack/iter.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | use std::io::{ Read, Cursor }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pack/read.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | 0...4 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stores/loose.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = dyn Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stores/loose.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result>> + Send + Sync; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/any.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | read: Box Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | read: Box Result>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stores/loose.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | where C: Fn(&Id) -> Result>> + 'static + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | where C: Fn(&Id) -> Result>> + 'static + Send + Sync { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/any.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = dyn Fn(&Id) -> Result)>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/any.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result)>>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result)>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stores/loose.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | where C: Fn(&Id) -> Result>> + 'static + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | where C: Fn(&Id) -> Result>> + 'static + Send + Sync { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/any.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = dyn Fn(&Id) -> Result)>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/any.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result)>>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result)>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/identity.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | let naive = match NaiveDateTime::from_timestamp_opt(timestamp, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/identity.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | let dt = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/stores/loose.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut mode = Mode::FindSpace; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stores/loose.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut mode = Mode::FindSpace; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/stores/mod.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | fn get(&self, id: &Id, _output: &mut W, _backends: &StorageSet) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/identity.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | let naive = match NaiveDateTime::from_timestamp_opt(timestamp, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/identity.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | let dt = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/pack/any.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | end: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size` is assigned to, but never used [INFO] [stdout] --> src/pack/read.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut size = (byte[0] & 0xf) as u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_size` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/stores/loose.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut mode = Mode::FindSpace; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stores/loose.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut mode = Mode::FindSpace; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FindNull` is never constructed [INFO] [stdout] --> src/stores/loose.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 50 | FindSpace, [INFO] [stdout] 51 | FindNull [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/objects/commit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Commit { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next` is never read [INFO] [stdout] --> src/pack/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct IndexEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | next: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pack/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Fanout ([u32; 256]); [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crcs` is never read [INFO] [stdout] --> src/pack/index.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 237 | crcs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_set` is never read [INFO] [stdout] --> src/pack/iter.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PackfileIterator<'a, R: BufRead + Seek + std::fmt::Debug, S: Queryable> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | storage_set: Option<&'a StorageSet> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/refs.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Ref { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | kind: Kind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ref` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `email`, and `offset` are never read [INFO] [stdout] --> src/identity.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Identity { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | name: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | email: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | at: DateTime, [INFO] [stdout] 8 | offset: FixedOffset [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Identity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/stores/mod.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | fn get(&self, id: &Id, _output: &mut W, _backends: &StorageSet) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/stores/loose.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | reader.read_until(0x20, &mut type_vec); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = reader.read_until(0x20, &mut type_vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/stores/loose.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | reader.read_until(0, &mut size_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = reader.read_until(0, &mut size_vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/pack/any.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | end: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size` is assigned to, but never used [INFO] [stdout] --> src/pack/read.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut size = (byte[0] & 0xf) as u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_size` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FindNull` is never constructed [INFO] [stdout] --> src/stores/loose.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 50 | FindSpace, [INFO] [stdout] 51 | FindNull [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/objects/commit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Commit { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next` is never read [INFO] [stdout] --> src/pack/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct IndexEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | next: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pack/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Fanout ([u32; 256]); [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crcs` is never read [INFO] [stdout] --> src/pack/index.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 237 | crcs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_set` is never read [INFO] [stdout] --> src/pack/iter.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PackfileIterator<'a, R: BufRead + Seek + std::fmt::Debug, S: Queryable> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | storage_set: Option<&'a StorageSet> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/refs.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Ref { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | kind: Kind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ref` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `email`, and `offset` are never read [INFO] [stdout] --> src/identity.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Identity { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | name: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | email: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | at: DateTime, [INFO] [stdout] 8 | offset: FixedOffset [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Identity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/stores/loose.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | reader.read_until(0x20, &mut type_vec); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = reader.read_until(0x20, &mut type_vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/stores/loose.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | reader.read_until(0, &mut size_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = reader.read_until(0, &mut size_vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/index_pack.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | write(cursor, &mut io::stdout(), Some(&storage_set)); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = write(cursor, &mut io::stdout(), Some(&storage_set)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/index_pack.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | write(cursor, &mut io::stdout(), Some(&storage_set)); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = write(cursor, &mut io::stdout(), Some(&storage_set)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.54s [INFO] running `Command { std: "docker" "inspect" "3700a8eaf32919dc5c51cc2341ba31476cd8f98ecc2f3cbaed9fc52e6f21fd05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3700a8eaf32919dc5c51cc2341ba31476cd8f98ecc2f3cbaed9fc52e6f21fd05", kill_on_drop: false }` [INFO] [stdout] 3700a8eaf32919dc5c51cc2341ba31476cd8f98ecc2f3cbaed9fc52e6f21fd05