[INFO] cloning repository https://github.com/yqmmm/git-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yqmmm/git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyqmmm%2Fgit-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyqmmm%2Fgit-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ded92f631032c9ee0b38650edb26a154dd876bd4 [INFO] checking yqmmm/git-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyqmmm%2Fgit-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yqmmm/git-rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yqmmm/git-rust [INFO] finished tweaking git repo https://github.com/yqmmm/git-rust [INFO] tweaked toml for git repo https://github.com/yqmmm/git-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yqmmm/git-rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded hermit-abi v0.1.10 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.2 [INFO] [stderr] Downloaded version_check v0.9.1 [INFO] [stderr] Downloaded indexmap v1.3.2 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded os_str_bytes v2.4.0 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded clap v3.0.0-beta.2 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded libc v0.2.68 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66c3849f487cd6f29d3251732758e40700568b2ed474d28ca714eef696adb2f7 [INFO] running `Command { std: "docker" "start" "-a" "66c3849f487cd6f29d3251732758e40700568b2ed474d28ca714eef696adb2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66c3849f487cd6f29d3251732758e40700568b2ed474d28ca714eef696adb2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c3849f487cd6f29d3251732758e40700568b2ed474d28ca714eef696adb2f7", kill_on_drop: false }` [INFO] [stdout] 66c3849f487cd6f29d3251732758e40700568b2ed474d28ca714eef696adb2f7 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4143d7be3078b01592610b15ed254e66c9f9a8f5b027962ff11a9c2a38ecf395 [INFO] running `Command { std: "docker" "start" "-a" "4143d7be3078b01592610b15ed254e66c9f9a8f5b027962ff11a9c2a38ecf395", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking git-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::object` [INFO] [stdout] --> src/repo.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::object; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read` [INFO] [stdout] --> src/object/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::ZlibDecoder` [INFO] [stdout] --> src/object/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flate2::read::ZlibDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/object/commit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/object/commit.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::object` [INFO] [stdout] --> src/repo.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::object; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/repo.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read` [INFO] [stdout] --> src/object/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::ZlibDecoder` [INFO] [stdout] --> src/object/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flate2::read::ZlibDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/object/commit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/object/commit.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/object/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/blob.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tree.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/commit.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/blob.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tag.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tree.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worktree` is never read [INFO] [stdout] --> src/repo.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GitRepository { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | worktree: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/object/commit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GitCommit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | parent: Option>>, // TODO: is Box in Rc the right thing to do? [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/commit.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tag.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | reader.read_until(0x20, &mut mode); [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] 41 | let _ = reader.read_until(0x20, &mut mode); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | reader.read_until(0, &mut filename); [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] 49 | let _ = reader.read_until(0, &mut filename); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worktree` is never read [INFO] [stdout] --> src/repo.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GitRepository { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | worktree: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | reader.read_exact(&mut sha); [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] 54 | let _ = reader.read_exact(&mut sha); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/object/commit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GitCommit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | parent: Option>>, // TODO: is Box in Rc the right thing to do? [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | reader.read_until(0x20, &mut mode); [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] 41 | let _ = reader.read_until(0x20, &mut mode); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | reader.read_until(0, &mut filename); [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] 49 | let _ = reader.read_until(0, &mut filename); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | reader.read_exact(&mut sha); [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] 54 | let _ = reader.read_exact(&mut sha); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut commit = repo.read_object(&master_sha).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut commit = repo.read_object(&master_sha).unwrap(); [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: 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 4.23s [INFO] running `Command { std: "docker" "inspect" "4143d7be3078b01592610b15ed254e66c9f9a8f5b027962ff11a9c2a38ecf395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4143d7be3078b01592610b15ed254e66c9f9a8f5b027962ff11a9c2a38ecf395", kill_on_drop: false }` [INFO] [stdout] 4143d7be3078b01592610b15ed254e66c9f9a8f5b027962ff11a9c2a38ecf395 [INFO] checking yqmmm/git-rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyqmmm%2Fgit-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yqmmm/git-rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yqmmm/git-rust [INFO] finished tweaking git repo https://github.com/yqmmm/git-rust [INFO] tweaked toml for git repo https://github.com/yqmmm/git-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yqmmm/git-rust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 580eb2993d0efd11403c668918f8a7c8c697ce166c4c2eb0a6fd136e9a7d42f4 [INFO] running `Command { std: "docker" "start" "-a" "580eb2993d0efd11403c668918f8a7c8c697ce166c4c2eb0a6fd136e9a7d42f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580eb2993d0efd11403c668918f8a7c8c697ce166c4c2eb0a6fd136e9a7d42f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580eb2993d0efd11403c668918f8a7c8c697ce166c4c2eb0a6fd136e9a7d42f4", kill_on_drop: false }` [INFO] [stdout] 580eb2993d0efd11403c668918f8a7c8c697ce166c4c2eb0a6fd136e9a7d42f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe5864aaf6dfea62e864c6dadb219dec973afeac6cb1ca63c5b3ab10992bbb94 [INFO] running `Command { std: "docker" "start" "-a" "fe5864aaf6dfea62e864c6dadb219dec973afeac6cb1ca63c5b3ab10992bbb94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking git-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::object` [INFO] [stdout] --> src/repo.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::object; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read` [INFO] [stdout] --> src/object/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::ZlibDecoder` [INFO] [stdout] --> src/object/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flate2::read::ZlibDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/object/commit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/object/commit.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::object` [INFO] [stdout] --> src/repo.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::object; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/repo.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read` [INFO] [stdout] --> src/object/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::read::ZlibDecoder` [INFO] [stdout] --> src/object/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flate2::read::ZlibDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/object/commit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/object/commit.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/object/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/blob.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tree.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/blob.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/commit.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tree.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/commit.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tag.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worktree` is never read [INFO] [stdout] --> src/repo.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GitRepository { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | worktree: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/object/commit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GitCommit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | parent: Option>>, // TODO: is Box in Rc the right thing to do? [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/object/tag.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(data: Vec, repo: &GitRepository) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repo.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | let file = File::open(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | BufReader::new(file).lines().next().unwrap().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worktree` is never read [INFO] [stdout] --> src/repo.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GitRepository { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | worktree: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/object/commit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GitCommit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | parent: Option>>, // TODO: is Box in Rc the right thing to do? [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repo.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | let file = File::open(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | BufReader::new(file).lines().next().unwrap().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | reader.read_until(0x20, &mut mode); [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] 41 | let _ = reader.read_until(0x20, &mut mode); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | reader.read_until(0, &mut filename); [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] 49 | let _ = reader.read_until(0, &mut filename); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | reader.read_exact(&mut sha); [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] 54 | let _ = reader.read_exact(&mut sha); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | reader.read_until(0x20, &mut mode); [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] 41 | let _ = reader.read_until(0x20, &mut mode); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | reader.read_until(0, &mut filename); [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] 49 | let _ = reader.read_until(0, &mut filename); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/object/tree.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | reader.read_exact(&mut sha); [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] 54 | let _ = reader.read_exact(&mut sha); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-rust` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `git-rust` (lib test) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fe5864aaf6dfea62e864c6dadb219dec973afeac6cb1ca63c5b3ab10992bbb94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe5864aaf6dfea62e864c6dadb219dec973afeac6cb1ca63c5b3ab10992bbb94", kill_on_drop: false }` [INFO] [stdout] fe5864aaf6dfea62e864c6dadb219dec973afeac6cb1ca63c5b3ab10992bbb94