[INFO] cloning repository https://github.com/fwfurtado/rs-git [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fwfurtado/rs-git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwfurtado%2Frs-git", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwfurtado%2Frs-git'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 943c1631e13a65e3d77ddd40dee17a24add56589 [INFO] checking fwfurtado/rs-git against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffwfurtado%2Frs-git" "/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/fwfurtado/rs-git on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fwfurtado/rs-git [INFO] finished tweaking git repo https://github.com/fwfurtado/rs-git [INFO] tweaked toml for git repo https://github.com/fwfurtado/rs-git written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fwfurtado/rs-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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap-stdin v0.6.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbbb999db33d70a011d400bcf9718140cdc01d58eb963cb7a1c85b78897b23c9 [INFO] running `Command { std: "docker" "start" "-a" "cbbb999db33d70a011d400bcf9718140cdc01d58eb963cb7a1c85b78897b23c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbbb999db33d70a011d400bcf9718140cdc01d58eb963cb7a1c85b78897b23c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbb999db33d70a011d400bcf9718140cdc01d58eb963cb7a1c85b78897b23c9", kill_on_drop: false }` [INFO] [stdout] cbbb999db33d70a011d400bcf9718140cdc01d58eb963cb7a1c85b78897b23c9 [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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2947978d8fba33137ccfe13e6a4249f690bb6609df1f5db300dce864c44cd1b9 [INFO] running `Command { std: "docker" "start" "-a" "2947978d8fba33137ccfe13e6a4249f690bb6609df1f5db300dce864c44cd1b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking clap-stdin v0.6.0 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking rs-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/storage/object.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, Read, Write}, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/storage/object.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, Read, Write}, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let object = database.find_by_key(&key).ok_or(Error::ObjectNotFound)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `plain`, `kind`, `parse`, `checksum`, `compress`, and `decompress` are never used [INFO] [stdout] --> src/storage/object.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait GitObject: Sized { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 51 | fn plain(&self) -> String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | fn kind(&self) -> GitObjectType; [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | fn parse(raw: &str) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | [INFO] [stdout] 55 | fn checksum(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn compress(&self) -> Result, GitObjectPareError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn decompress(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content` and `header` are never used [INFO] [stdout] --> src/storage/blob.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl GitBlob { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn header(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitTree` is never constructed [INFO] [stdout] --> src/storage/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GitTree { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_tree`, `add_blob`, `trees`, and `blobs` are never used [INFO] [stdout] --> src/storage/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl GitTree { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add_tree(&mut self, tree: GitTree) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_blob(&mut self, blob: GitBlob) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn trees(&self) -> &Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn blobs(&self) -> &Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let object = database.find_by_key(&key).ok_or(Error::ObjectNotFound)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/storage/object.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait GitObject: Sized { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 51 | fn plain(&self) -> String; [INFO] [stdout] 52 | fn kind(&self) -> GitObjectType; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitTree` is never constructed [INFO] [stdout] --> src/storage/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GitTree { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_tree`, `add_blob`, `trees`, and `blobs` are never used [INFO] [stdout] --> src/storage/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl GitTree { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add_tree(&mut self, tree: GitTree) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_blob(&mut self, blob: GitBlob) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn trees(&self) -> &Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn blobs(&self) -> &Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "2947978d8fba33137ccfe13e6a4249f690bb6609df1f5db300dce864c44cd1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2947978d8fba33137ccfe13e6a4249f690bb6609df1f5db300dce864c44cd1b9", kill_on_drop: false }` [INFO] [stdout] 2947978d8fba33137ccfe13e6a4249f690bb6609df1f5db300dce864c44cd1b9