[INFO] cloning repository https://github.com/nicosvg/gitteam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicosvg/gitteam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicosvg%2Fgitteam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicosvg%2Fgitteam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6571d74219ac4a6e42d79eb23a03b7505a1608e1 [INFO] testing nicosvg/gitteam against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicosvg%2Fgitteam" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nicosvg/gitteam [INFO] finished tweaking git repo https://github.com/nicosvg/gitteam [INFO] tweaked toml for git repo https://github.com/nicosvg/gitteam written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nicosvg/gitteam on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nicosvg/gitteam 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d626c4cf6978bd7b443d45edf3c19a00c29335482d182349157427bd400e266b [INFO] running `Command { std: "docker" "start" "-a" "d626c4cf6978bd7b443d45edf3c19a00c29335482d182349157427bd400e266b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d626c4cf6978bd7b443d45edf3c19a00c29335482d182349157427bd400e266b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d626c4cf6978bd7b443d45edf3c19a00c29335482d182349157427bd400e266b", kill_on_drop: false }` [INFO] [stdout] d626c4cf6978bd7b443d45edf3c19a00c29335482d182349157427bd400e266b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80b6ac79e946a1b7e1c0771518bec86073ff8dae1bd0e48b1a14cffc4b4e4d07 [INFO] running `Command { std: "docker" "start" "-a" "80b6ac79e946a1b7e1c0771518bec86073ff8dae1bd0e48b1a14cffc4b4e4d07", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling clap v4.5.3 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling gitteam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Path` and `cmp::max` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::max, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtimes` [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut mtimes: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mtimes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_authors` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut path_authors: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_authors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_tree` [INFO] [stdout] --> src/main.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let prev_tree = prev_commit.tree()?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut mtimes: HashMap = HashMap::new(); [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:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut path_authors: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_last_commit(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | fn find_last_commit(repo: &Repository) -> Result, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn find_all_commits(repo: &Repository) -> Result, git2::Error> { [INFO] [stdout] | ^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn find_all_commits(repo: &Repository) -> Result>, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / tree.walk(git2::TreeWalkMode::PreOrder, |_, entry| { [INFO] [stdout] 95 | | println!("name: {:?}", entry.name()); [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | TreeWalkResult::Ok [INFO] [stdout] 98 | | }); [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] 94 | let _ = tree.walk(git2::TreeWalkMode::PreOrder, |_, entry| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "80b6ac79e946a1b7e1c0771518bec86073ff8dae1bd0e48b1a14cffc4b4e4d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b6ac79e946a1b7e1c0771518bec86073ff8dae1bd0e48b1a14cffc4b4e4d07", kill_on_drop: false }` [INFO] [stdout] 80b6ac79e946a1b7e1c0771518bec86073ff8dae1bd0e48b1a14cffc4b4e4d07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaa027f37ea036eee344b6987a7064cd78c26e22ad438586108cc52828a38c6c [INFO] running `Command { std: "docker" "start" "-a" "eaa027f37ea036eee344b6987a7064cd78c26e22ad438586108cc52828a38c6c", kill_on_drop: false }` [INFO] [stderr] Compiling gitteam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Path` and `cmp::max` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::max, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtimes` [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut mtimes: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mtimes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_authors` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut path_authors: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_authors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_tree` [INFO] [stdout] --> src/main.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let prev_tree = prev_commit.tree()?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut mtimes: HashMap = HashMap::new(); [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:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut path_authors: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_last_commit(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | fn find_last_commit(repo: &Repository) -> Result, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn find_all_commits(repo: &Repository) -> Result, git2::Error> { [INFO] [stdout] | ^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn find_all_commits(repo: &Repository) -> Result>, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / tree.walk(git2::TreeWalkMode::PreOrder, |_, entry| { [INFO] [stdout] 95 | | println!("name: {:?}", entry.name()); [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | TreeWalkResult::Ok [INFO] [stdout] 98 | | }); [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] 94 | let _ = tree.walk(git2::TreeWalkMode::PreOrder, |_, entry| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "eaa027f37ea036eee344b6987a7064cd78c26e22ad438586108cc52828a38c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa027f37ea036eee344b6987a7064cd78c26e22ad438586108cc52828a38c6c", kill_on_drop: false }` [INFO] [stdout] eaa027f37ea036eee344b6987a7064cd78c26e22ad438586108cc52828a38c6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b5c8d6277c7e3b42940002cf493f3df0fcf1c78c282e7621e88538e2394fa488 [INFO] running `Command { std: "docker" "start" "-a" "b5c8d6277c7e3b42940002cf493f3df0fcf1c78c282e7621e88538e2394fa488", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Path` and `cmp::max` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | cmp::max, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 3 | collections::{HashMap, HashSet}, [INFO] [stderr] 4 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mtimes` [INFO] [stderr] --> src/main.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | let mut mtimes: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mtimes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path_authors` [INFO] [stderr] --> src/main.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | let mut path_authors: HashMap> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_authors` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prev_tree` [INFO] [stderr] --> src/main.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | let prev_tree = prev_commit.tree()?; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_tree` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | let mut mtimes: HashMap = HashMap::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | let mut path_authors: HashMap> = HashMap::new(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/main.rs:44:27 [INFO] [stderr] | [INFO] [stderr] 44 | fn find_last_commit(repo: &Repository) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 44 | fn find_last_commit(repo: &Repository) -> Result, git2::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/main.rs:76:27 [INFO] [stderr] | [INFO] [stderr] 76 | fn find_all_commits(repo: &Repository) -> Result, git2::Error> { [INFO] [stderr] | ^^^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 76 | fn find_all_commits(repo: &Repository) -> Result>, git2::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | / tree.walk(git2::TreeWalkMode::PreOrder, |_, entry| { [INFO] [stderr] 95 | | println!("name: {:?}", entry.name()); [INFO] [stderr] 96 | | [INFO] [stderr] 97 | | TreeWalkResult::Ok [INFO] [stderr] 98 | | }); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 94 | let _ = tree.walk(git2::TreeWalkMode::PreOrder, |_, entry| { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `gitteam` (bin "gitteam" test) generated 9 warnings (run `cargo fix --bin "gitteam" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitteam-9219824fa831ce61) [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" "b5c8d6277c7e3b42940002cf493f3df0fcf1c78c282e7621e88538e2394fa488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c8d6277c7e3b42940002cf493f3df0fcf1c78c282e7621e88538e2394fa488", kill_on_drop: false }` [INFO] [stdout] b5c8d6277c7e3b42940002cf493f3df0fcf1c78c282e7621e88538e2394fa488