[INFO] cloning repository https://github.com/fjson/code-statistics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fjson/code-statistics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjson%2Fcode-statistics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjson%2Fcode-statistics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05c022ee86934b395ffc88e39b27a0b71592fe12 [INFO] testing fjson/code-statistics against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffjson%2Fcode-statistics" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fjson/code-statistics [INFO] finished tweaking git repo https://github.com/fjson/code-statistics [INFO] tweaked toml for git repo https://github.com/fjson/code-statistics written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fjson/code-statistics 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/fjson/code-statistics 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5f0a702884226b111cebcfd96af8001100a6cd4379acf60f90cbebbbb1cd9fa9 [INFO] running `Command { std: "docker" "start" "-a" "5f0a702884226b111cebcfd96af8001100a6cd4379acf60f90cbebbbb1cd9fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f0a702884226b111cebcfd96af8001100a6cd4379acf60f90cbebbbb1cd9fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0a702884226b111cebcfd96af8001100a6cd4379acf60f90cbebbbb1cd9fa9", kill_on_drop: false }` [INFO] [stdout] 5f0a702884226b111cebcfd96af8001100a6cd4379acf60f90cbebbbb1cd9fa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3b7f4716f3ccdaf9df6a577eee0c0e516dae503c4ad5555d084db9242c70c721 [INFO] running `Command { std: "docker" "start" "-a" "3b7f4716f3ccdaf9df6a577eee0c0e516dae503c4ad5555d084db9242c70c721", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling code-statistics v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:540:47 [INFO] [stdout] | [INFO] [stdout] 540 | fn flatten_commit_tree_node<'a>(commit_tree: &'a CommitTreeNode<'a>) -> Vec<&Commit> { [INFO] [stdout] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 540 | fn flatten_commit_tree_node<'a>(commit_tree: &'a CommitTreeNode<'a>) -> Vec<&'a Commit> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.00s [INFO] running `Command { std: "docker" "inspect" "3b7f4716f3ccdaf9df6a577eee0c0e516dae503c4ad5555d084db9242c70c721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7f4716f3ccdaf9df6a577eee0c0e516dae503c4ad5555d084db9242c70c721", kill_on_drop: false }` [INFO] [stdout] 3b7f4716f3ccdaf9df6a577eee0c0e516dae503c4ad5555d084db9242c70c721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 04e030b5368e619975114cd41cea6675dd815cb137ad2b70d315c4e0c50e052c [INFO] running `Command { std: "docker" "start" "-a" "04e030b5368e619975114cd41cea6675dd815cb137ad2b70d315c4e0c50e052c", kill_on_drop: false }` [INFO] [stderr] Compiling code-statistics v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:540:47 [INFO] [stdout] | [INFO] [stdout] 540 | fn flatten_commit_tree_node<'a>(commit_tree: &'a CommitTreeNode<'a>) -> Vec<&Commit> { [INFO] [stdout] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 540 | fn flatten_commit_tree_node<'a>(commit_tree: &'a CommitTreeNode<'a>) -> Vec<&'a Commit> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "04e030b5368e619975114cd41cea6675dd815cb137ad2b70d315c4e0c50e052c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e030b5368e619975114cd41cea6675dd815cb137ad2b70d315c4e0c50e052c", kill_on_drop: false }` [INFO] [stdout] 04e030b5368e619975114cd41cea6675dd815cb137ad2b70d315c4e0c50e052c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6d4d251c78ac2c2e9582ef1a16460f3d09f7c061746887df8709c87adb8d31d0 [INFO] running `Command { std: "docker" "start" "-a" "6d4d251c78ac2c2e9582ef1a16460f3d09f7c061746887df8709c87adb8d31d0", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/main.rs:540:47 [INFO] [stderr] | [INFO] [stderr] 540 | fn flatten_commit_tree_node<'a>(commit_tree: &'a CommitTreeNode<'a>) -> Vec<&Commit> { [INFO] [stderr] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 540 | fn flatten_commit_tree_node<'a>(commit_tree: &'a CommitTreeNode<'a>) -> Vec<&'a Commit> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `code-statistics` (bin "code-statistics" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/code_statistics-aa9eed57d722a688) [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" "6d4d251c78ac2c2e9582ef1a16460f3d09f7c061746887df8709c87adb8d31d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d4d251c78ac2c2e9582ef1a16460f3d09f7c061746887df8709c87adb8d31d0", kill_on_drop: false }` [INFO] [stdout] 6d4d251c78ac2c2e9582ef1a16460f3d09f7c061746887df8709c87adb8d31d0