[INFO] cloning repository https://github.com/Gerschtli/git-hooks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gerschtli/git-hooks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGerschtli%2Fgit-hooks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGerschtli%2Fgit-hooks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d1f4c5bac2e6d5ce614fa0bee6c129505ed1d531
[INFO] building Gerschtli/git-hooks against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGerschtli%2Fgit-hooks" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Gerschtli/git-hooks on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Gerschtli/git-hooks
[INFO] finished tweaking git repo https://github.com/Gerschtli/git-hooks
[INFO] tweaked toml for git repo https://github.com/Gerschtli/git-hooks written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Gerschtli/git-hooks 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d4c5d75f57e88dc6868f6938c55ab9bc9364f5c069a92fd4669570e276c0d21
[INFO] running `Command { std: "docker" "start" "-a" "8d4c5d75f57e88dc6868f6938c55ab9bc9364f5c069a92fd4669570e276c0d21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d4c5d75f57e88dc6868f6938c55ab9bc9364f5c069a92fd4669570e276c0d21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d4c5d75f57e88dc6868f6938c55ab9bc9364f5c069a92fd4669570e276c0d21", kill_on_drop: false }`
[INFO] [stdout] 8d4c5d75f57e88dc6868f6938c55ab9bc9364f5c069a92fd4669570e276c0d21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8197a63cabe234791b67098bc256a272e567f21967756081a2f802886d00b710
[INFO] running `Command { std: "docker" "start" "-a" "8197a63cabe234791b67098bc256a272e567f21967756081a2f802886d00b710", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling serde v1.0.88
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling regex v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling serde v0.8.23
[INFO] [stderr]    Compiling ucd-util v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.6.5
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling utf8-ranges v1.0.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.1
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]    Compiling yaml-rust v0.4.2
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling nom v4.2.0
[INFO] [stderr]    Compiling rust-ini v0.13.0
[INFO] [stderr]    Compiling serde_test v0.8.23
[INFO] [stderr]    Compiling linked-hash-map v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.88
[INFO] [stderr]    Compiling serde-hjson v0.8.2
[INFO] [stderr]    Compiling serde_json v1.0.38
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling config v0.9.2
[INFO] [stderr]    Compiling git-hooks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/hooks/command/config.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, Deserialize)]
[INFO] [stdout]   |                        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `mocking`, `mocktopus`, and `rust-1-31`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/settings.rs:12:32
[INFO] [stdout]    |
[INFO] [stdout] 12 |         #[derive(Clone, Debug, Deserialize)]
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 | settings!(command);
[INFO] [stdout]    | ------------------ in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `mocking`, `mocktopus`, and `rust-1-31`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `settings` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/error.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     General(String),
[INFO] [stdout]   |     ------- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |     General(()),
[INFO] [stdout]   |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/error.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     InvalidConfig(String, Box<config::ConfigError>),
[INFO] [stdout]    |     ------------- ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 10 |     InvalidConfig((), ()),
[INFO] [stdout]    |                   ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/error.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     IoConfig(String, io::Error),
[INFO] [stdout]    |     -------- ^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 11 |     IoConfig((), ()),
[INFO] [stdout]    |              ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/hooks/command/config.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, Deserialize)]
[INFO] [stdout]   |                        ^----------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `Deserialize` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ConfigEntry`
[INFO] [stdout] 6 | pub(crate) struct ConfigEntry {
[INFO] [stdout]   |                   ----------- `ConfigEntry` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/settings.rs:12:32
[INFO] [stdout]    |
[INFO] [stdout] 12 |         #[derive(Clone, Debug, Deserialize)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `Deserialize` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Settings`
[INFO] [stdout] 13 |         pub(crate) struct Settings {
[INFO] [stdout]    |                           -------- `Settings` is not local
[INFO] [stdout] ...
[INFO] [stdout] 36 | settings!(command);
[INFO] [stdout]    | ------------------ in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `settings` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused extern crate
[INFO] [stdout]   --> src/bin/pre-push.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | extern crate git_hooks;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/bin/pre-push.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     unused_extern_crates,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-hooks` (bin "git-hooks-pre-push") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "8197a63cabe234791b67098bc256a272e567f21967756081a2f802886d00b710", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8197a63cabe234791b67098bc256a272e567f21967756081a2f802886d00b710", kill_on_drop: false }`
[INFO] [stdout] 8197a63cabe234791b67098bc256a272e567f21967756081a2f802886d00b710
