[INFO] cloning repository https://github.com/forfd8960/git-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/forfd8960/git-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforfd8960%2Fgit-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforfd8960%2Fgit-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2031906b502d8fba26bb65f3a0e4115724cb122 [INFO] testing forfd8960/git-rs against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforfd8960%2Fgit-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/forfd8960/git-rs on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/forfd8960/git-rs [INFO] finished tweaking git repo https://github.com/forfd8960/git-rs [INFO] tweaked toml for git repo https://github.com/forfd8960/git-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/forfd8960/git-rs 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha1-checked v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f779b59cbc0b1b434611d870d1eb66cda4ded98db994be167eb71bbb8b21c35 [INFO] running `Command { std: "docker" "start" "-a" "1f779b59cbc0b1b434611d870d1eb66cda4ded98db994be167eb71bbb8b21c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f779b59cbc0b1b434611d870d1eb66cda4ded98db994be167eb71bbb8b21c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f779b59cbc0b1b434611d870d1eb66cda4ded98db994be167eb71bbb8b21c35", kill_on_drop: false }` [INFO] [stdout] 1f779b59cbc0b1b434611d870d1eb66cda4ded98db994be167eb71bbb8b21c35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcb3d6f5099b98a14723448526894464706bdcbd36447973df46b9222f405821 [INFO] running `Command { std: "docker" "start" "-a" "bcb3d6f5099b98a14723448526894464706bdcbd36447973df46b9222f405821", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha1-checked v0.10.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling git-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/command/handler.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Core`, `User`, and `plumbing::MAIN` [INFO] [stdout] --> src/command/handler.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | config::{Config, Core, User}, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 5 | plumbing::MAIN, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | GitSubCommand::Commit(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | GitSubCommand::Log(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | GitSubCommand::Branch(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | GitSubCommand::UpdateIndex(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/config.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn decode(&mut self, content: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/plumbing/reference.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_name` [INFO] [stdout] --> src/plumbing/reference.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/storage/filesys/dotgit/mod.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_ref(&self, r: &Reference, old: Option) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commit_path` [INFO] [stdout] --> src/worktree/commit.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn write_commit(&self, commit_path: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConfigSubCommands` is more private than the item `ConfigOpts::list` [INFO] [stdout] --> src/command/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub list: ConfigSubCommands, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConfigOpts::list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConfigSubCommands` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/command/mod.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | enum ConfigSubCommands { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENTRY_VALID` is never used [INFO] [stdout] --> src/plumbing/index/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const ENTRY_VALID: u32 = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.82s [INFO] running `Command { std: "docker" "inspect" "bcb3d6f5099b98a14723448526894464706bdcbd36447973df46b9222f405821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb3d6f5099b98a14723448526894464706bdcbd36447973df46b9222f405821", kill_on_drop: false }` [INFO] [stdout] bcb3d6f5099b98a14723448526894464706bdcbd36447973df46b9222f405821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9470c03eda0e76578852d92ad69f11924e40d605ba2d5ffa09a86d9817fffd1e [INFO] running `Command { std: "docker" "start" "-a" "9470c03eda0e76578852d92ad69f11924e40d605ba2d5ffa09a86d9817fffd1e", kill_on_drop: false }` [INFO] [stderr] Compiling git-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/command/handler.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Core`, `User`, and `plumbing::MAIN` [INFO] [stdout] --> src/command/handler.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | config::{Config, Core, User}, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 5 | plumbing::MAIN, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | GitSubCommand::Commit(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | GitSubCommand::Log(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | GitSubCommand::Branch(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | GitSubCommand::UpdateIndex(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/config.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn decode(&mut self, content: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/plumbing/reference.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_name` [INFO] [stdout] --> src/plumbing/reference.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/storage/filesys/dotgit/mod.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_ref(&self, r: &Reference, old: Option) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commit_path` [INFO] [stdout] --> src/worktree/commit.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn write_commit(&self, commit_path: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConfigSubCommands` is more private than the item `ConfigOpts::list` [INFO] [stdout] --> src/command/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub list: ConfigSubCommands, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConfigOpts::list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConfigSubCommands` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/command/mod.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | enum ConfigSubCommands { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENTRY_VALID` is never used [INFO] [stdout] --> src/plumbing/index/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const ENTRY_VALID: u32 = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/command/handler.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Core`, `User`, and `plumbing::MAIN` [INFO] [stdout] --> src/command/handler.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | config::{Config, Core, User}, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 5 | plumbing::MAIN, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | GitSubCommand::Commit(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | GitSubCommand::Log(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | GitSubCommand::Branch(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/command/handler.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | GitSubCommand::UpdateIndex(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/config.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn decode(&mut self, content: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/plumbing/reference.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_name` [INFO] [stdout] --> src/plumbing/reference.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/storage/filesys/dotgit/mod.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_ref(&self, r: &Reference, old: Option) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commit_path` [INFO] [stdout] --> src/worktree/commit.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn write_commit(&self, commit_path: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConfigSubCommands` is more private than the item `ConfigOpts::list` [INFO] [stdout] --> src/command/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub list: ConfigSubCommands, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConfigOpts::list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConfigSubCommands` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/command/mod.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | enum ConfigSubCommands { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENTRY_VALID` is never used [INFO] [stdout] --> src/plumbing/index/mod.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const ENTRY_VALID: u32 = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "9470c03eda0e76578852d92ad69f11924e40d605ba2d5ffa09a86d9817fffd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9470c03eda0e76578852d92ad69f11924e40d605ba2d5ffa09a86d9817fffd1e", kill_on_drop: false }` [INFO] [stdout] 9470c03eda0e76578852d92ad69f11924e40d605ba2d5ffa09a86d9817fffd1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60de0b01f54a43c1f7ffa4586791f78e9e0e91dd562fe7d6146599197d95af8a [INFO] running `Command { std: "docker" "start" "-a" "60de0b01f54a43c1f7ffa4586791f78e9e0e91dd562fe7d6146599197d95af8a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `collections::HashMap` [INFO] [stderr] --> src/command/handler.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, env}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Config`, `Core`, `User`, and `plumbing::MAIN` [INFO] [stderr] --> src/command/handler.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | config::{Config, Core, User}, [INFO] [stderr] | ^^^^^^ ^^^^ ^^^^ [INFO] [stderr] 5 | plumbing::MAIN, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/command/handler.rs:31:31 [INFO] [stderr] | [INFO] [stderr] 31 | GitSubCommand::Commit(opts) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/command/handler.rs:34:28 [INFO] [stderr] | [INFO] [stderr] 34 | GitSubCommand::Log(opts) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/command/handler.rs:37:31 [INFO] [stderr] | [INFO] [stderr] 37 | GitSubCommand::Branch(opts) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/command/handler.rs:40:36 [INFO] [stderr] | [INFO] [stderr] 40 | GitSubCommand::UpdateIndex(opts) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content` [INFO] [stderr] --> src/config.rs:81:30 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn decode(&mut self, content: String) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/plumbing/reference.rs:85:26 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ref_name` [INFO] [stderr] --> src/plumbing/reference.rs:85:46 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn resolve_reference(s: &ReferenceStore, ref_name: &ReferenceName) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `old` [INFO] [stderr] --> src/storage/filesys/dotgit/mod.rs:60:42 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn set_ref(&self, r: &Reference, old: Option) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `commit_path` [INFO] [stderr] --> src/worktree/commit.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn write_commit(&self, commit_path: &str) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit_path` [INFO] [stderr] [INFO] [stderr] warning: type `ConfigSubCommands` is more private than the item `ConfigOpts::list` [INFO] [stderr] --> src/command/mod.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | pub list: ConfigSubCommands, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConfigOpts::list` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ConfigSubCommands` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/command/mod.rs:177:1 [INFO] [stderr] | [INFO] [stderr] 177 | enum ConfigSubCommands { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `ENTRY_VALID` is never used [INFO] [stderr] --> src/plumbing/index/mod.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 35 | const ENTRY_VALID: u32 = 0x8000; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `git-rs` (lib) generated 13 warnings (run `cargo fix --lib -p git-rs` to apply 2 suggestions) [INFO] [stderr] warning: `git-rs` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_rs-59dd70d98377f177) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_rs-3253a8d6c3b5fae6) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests git_rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "60de0b01f54a43c1f7ffa4586791f78e9e0e91dd562fe7d6146599197d95af8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60de0b01f54a43c1f7ffa4586791f78e9e0e91dd562fe7d6146599197d95af8a", kill_on_drop: false }` [INFO] [stdout] 60de0b01f54a43c1f7ffa4586791f78e9e0e91dd562fe7d6146599197d95af8a