[INFO] cloning repository https://github.com/pegasusheavy/cargo-commitlint
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pegasusheavy/cargo-commitlint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpegasusheavy%2Fcargo-commitlint", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpegasusheavy%2Fcargo-commitlint'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b13420dd36820da62c9eef4839227822460948f3
[INFO] checking pegasusheavy/cargo-commitlint/b13420dd36820da62c9eef4839227822460948f3 against 3d50c25bc66853bf0ad205529d0f305a1d841b5e for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpegasusheavy%2Fcargo-commitlint" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pegasusheavy/cargo-commitlint
[INFO] finished tweaking git repo https://github.com/pegasusheavy/cargo-commitlint
[INFO] tweaked toml for git repo https://github.com/pegasusheavy/cargo-commitlint written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pegasusheavy/cargo-commitlint on toolchain 3d50c25bc66853bf0ad205529d0f305a1d841b5e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pegasusheavy/cargo-commitlint 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" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zmij v1.0.2
[INFO] [stderr]   Downloaded libgit2-sys v0.18.7+1.9.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716
[INFO] running `Command { std: "docker" "start" "fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling zmij v1.0.2
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]     Checking env_home v0.1.0
[INFO] [stderr]    Compiling cargo-commitlint v2.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking anyhow v1.0.100
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking colored v3.1.1
[INFO] [stderr]     Checking glob v0.3.4
[INFO] [stderr]     Checking unicode-segmentation v1.13.3
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking which v8.0.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]     Checking toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]     Checking toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]     Checking serde_spanned v1.0.4
[INFO] [stderr]     Checking toml v0.9.10+spec-1.1.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling libz-sys v1.1.23
[INFO] [stderr]    Compiling libgit2-sys v0.18.7+1.9.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking git2 v0.21.0
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/git.rs:87:20
[INFO] [stdout]    |
[INFO] [stdout] 87 |             if let Some(msg) = commit.message() {
[INFO] [stdout]    |                    ^^^^^^^^^   ---------------- this expression has type `Result<&str, git2::Error>`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected `Result<&str, Error>`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<&str, git2::Error>`
[INFO] [stdout]               found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/git.rs:105:20
[INFO] [stdout]     |
[INFO] [stdout] 105 |             if let Some(msg) = commit.message() {
[INFO] [stdout]     |                    ^^^^^^^^^   ---------------- this expression has type `Result<&str, git2::Error>`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    expected `Result<&str, Error>`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<&str, git2::Error>`
[INFO] [stdout]                found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::option::Option<&str>` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> src/git.rs:121:86
[INFO] [stdout]     |
[INFO] [stdout] 121 |             if let Ok(reference) = self.repo.find_reference(&format!("refs/tags/{}", tag_name)) {
[INFO] [stdout]     |                                                                                 --   ^^^^^^^^ `std::option::Option<&str>` cannot be formatted with the default formatter
[INFO] [stdout]     |                                                                                 |
[INFO] [stdout]     |                                                                                 required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<&str>`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_string` exists for enum `std::option::Option<&str>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/git.rs:123:46
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     tag_times.push((tag_name.to_string(), commit.time().seconds()));
[INFO] [stdout]     |                                              ^^^^^^^^^ method cannot be called on `std::option::Option<&str>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `std::option::Option<&str>: std::fmt::Display`
[INFO] [stdout]             which is required by `std::option::Option<&str>: ToString`
[INFO] [stdout] note: the method `to_string` exists on the type `&str`
[INFO] [stdout]    --> /rustc/3d50c25bc66853bf0ad205529d0f305a1d841b5e/library/alloc/src/string.rs:2904:4
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None`
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     tag_times.push((tag_name.expect("REASON").to_string(), commit.time().seconds()));
[INFO] [stdout]     |                                             +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/git.rs:87:20
[INFO] [stdout]    |
[INFO] [stdout] 87 |             if let Some(msg) = commit.message() {
[INFO] [stdout]    |                    ^^^^^^^^^   ---------------- this expression has type `Result<&str, git2::Error>`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected `Result<&str, Error>`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<&str, git2::Error>`
[INFO] [stdout]               found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/git.rs:105:20
[INFO] [stdout]     |
[INFO] [stdout] 105 |             if let Some(msg) = commit.message() {
[INFO] [stdout]     |                    ^^^^^^^^^   ---------------- this expression has type `Result<&str, git2::Error>`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    expected `Result<&str, Error>`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<&str, git2::Error>`
[INFO] [stdout]                found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::option::Option<&str>` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> src/git.rs:121:86
[INFO] [stdout]     |
[INFO] [stdout] 121 |             if let Ok(reference) = self.repo.find_reference(&format!("refs/tags/{}", tag_name)) {
[INFO] [stdout]     |                                                                                 --   ^^^^^^^^ `std::option::Option<&str>` cannot be formatted with the default formatter
[INFO] [stdout]     |                                                                                 |
[INFO] [stdout]     |                                                                                 required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<&str>`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_string` exists for enum `std::option::Option<&str>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/git.rs:123:46
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     tag_times.push((tag_name.to_string(), commit.time().seconds()));
[INFO] [stdout]     |                                              ^^^^^^^^^ method cannot be called on `std::option::Option<&str>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `std::option::Option<&str>: std::fmt::Display`
[INFO] [stdout]             which is required by `std::option::Option<&str>: ToString`
[INFO] [stdout] note: the method `to_string` exists on the type `&str`
[INFO] [stdout]    --> /rustc/3d50c25bc66853bf0ad205529d0f305a1d841b5e/library/alloc/src/string.rs:2904:4
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None`
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     tag_times.push((tag_name.expect("REASON").to_string(), commit.time().seconds()));
[INFO] [stdout]     |                                             +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo-commitlint` (bin "cargo-commitlint") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo-commitlint` (bin "cargo-commitlint" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716", kill_on_drop: false }`
[INFO] [stdout] fb211f783bed9543762beb3caf91de875941c69edc822dbfb131a91cbfae2716
