[INFO] fetching crate pre-commit-rs 0.0.5... [INFO] testing pre-commit-rs-0.0.5 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate pre-commit-rs 0.0.5 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate pre-commit-rs 0.0.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pre-commit-rs 0.0.5 [INFO] tweaked toml for crates.io crate pre-commit-rs 0.0.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pre-commit-rs 0.0.5 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pre-commit-rs 0.0.5 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-core v1.0.8 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded itoa v1.0.13 [INFO] [stderr] Downloaded insta-cmd v0.6.0 [INFO] [stderr] Downloaded ctrlc v3.4.5 [INFO] [stderr] Downloaded predicates v3.1.2 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded predicates-tree v1.0.11 [INFO] [stderr] Downloaded symbolic-common v12.12.1 [INFO] [stderr] Downloaded ipnet v2.10.1 [INFO] [stderr] Downloaded homedir v0.3.4 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded globset v0.4.15 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded quinn v0.11.6 [INFO] [stderr] Downloaded axoasset v1.0.1 [INFO] [stderr] Downloaded clap_complete v4.5.38 [INFO] [stderr] Downloaded insta v1.41.1 [INFO] [stderr] Downloaded indicatif v0.17.9 [INFO] [stderr] Downloaded portable-atomic v1.9.0 [INFO] [stderr] Downloaded reqwest v0.12.9 [INFO] [stderr] Downloaded symbolic-demangle v12.12.1 [INFO] [stderr] Downloaded quinn-proto v0.11.9 [INFO] [stderr] Downloaded assert_fs v1.1.2 [INFO] [stderr] Downloaded camino v1.1.9 [INFO] [stderr] Downloaded webpki-roots v0.26.6 [INFO] [stderr] Downloaded axoupdater v0.8.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.91 [INFO] [stderr] Downloaded hyper-rustls v0.27.3 [INFO] [stderr] Downloaded bstr v1.11.0 [INFO] [stderr] Downloaded quinn-udp v0.5.7 [INFO] [stderr] Downloaded thiserror-impl v2.0.3 [INFO] [stderr] Downloaded thiserror v2.0.3 [INFO] [stderr] Downloaded indoc v2.0.5 [INFO] [stderr] Downloaded tempfile v3.14.0 [INFO] [stderr] Downloaded self-replace v1.5.0 [INFO] [stderr] Downloaded rustc-hash v2.0.0 [INFO] [stderr] Downloaded axoprocess v0.2.0 [INFO] [stderr] Downloaded axotag v0.2.0 [INFO] [stderr] Downloaded is-terminal v0.4.13 [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] [stderr] Downloaded which v6.0.3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ac33347352a193bc6a14eb7fbfe34452801a7dab0ce1ff77bbaed3a6e66efe [INFO] running `Command { std: "docker" "start" "-a" "52ac33347352a193bc6a14eb7fbfe34452801a7dab0ce1ff77bbaed3a6e66efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ac33347352a193bc6a14eb7fbfe34452801a7dab0ce1ff77bbaed3a6e66efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ac33347352a193bc6a14eb7fbfe34452801a7dab0ce1ff77bbaed3a6e66efe", kill_on_drop: false }` [INFO] [stdout] 52ac33347352a193bc6a14eb7fbfe34452801a7dab0ce1ff77bbaed3a6e66efe [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8443d66090a8e888a552cd226db4b771fceefe6032178ab80d9eff934ad9f88 [INFO] running `Command { std: "docker" "start" "-a" "e8443d66090a8e888a552cd226db4b771fceefe6032178ab80d9eff934ad9f88", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling rustls v0.23.17 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling homedir v0.3.4 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling bstr v1.11.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap_complete v4.5.38 [INFO] [stderr] Compiling axotag v0.2.0 [INFO] [stderr] Compiling axoprocess v0.2.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling axoasset v1.0.1 [INFO] [stderr] Compiling axoupdater v0.8.1 [INFO] [stderr] Compiling pre-commit-rs v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/hook.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "e8443d66090a8e888a552cd226db4b771fceefe6032178ab80d9eff934ad9f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8443d66090a8e888a552cd226db4b771fceefe6032178ab80d9eff934ad9f88", kill_on_drop: false }` [INFO] [stdout] e8443d66090a8e888a552cd226db4b771fceefe6032178ab80d9eff934ad9f88 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5122db7e26c004760daa1a53b8d877329e4ca73e21a696193a092ceecf7d00e8 [INFO] running `Command { std: "docker" "start" "-a" "5122db7e26c004760daa1a53b8d877329e4ca73e21a696193a092ceecf7d00e8", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling similar v2.6.0 [INFO] [stderr] Compiling etcetera v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.11.0 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling insta v1.41.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling insta-cmd v0.6.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.2 [INFO] [stderr] Compiling pre-commit-rs v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/hook.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/hook.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.86s [INFO] running `Command { std: "docker" "inspect" "5122db7e26c004760daa1a53b8d877329e4ca73e21a696193a092ceecf7d00e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5122db7e26c004760daa1a53b8d877329e4ca73e21a696193a092ceecf7d00e8", kill_on_drop: false }` [INFO] [stdout] 5122db7e26c004760daa1a53b8d877329e4ca73e21a696193a092ceecf7d00e8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eef944136d0fbe19c98353b10d4f2be4e5cab918a8ae79535d333612592d4dab [INFO] running `Command { std: "docker" "start" "-a" "eef944136d0fbe19c98353b10d4f2be4e5cab918a8ae79535d333612592d4dab", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/hook.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | use tracing::{debug, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pre-commit-rs` (bin "pre-commit") generated 1 warning (run `cargo fix --bin "pre-commit" -p pre-commit-rs` to apply 1 suggestion) [INFO] [stderr] warning: `pre-commit-rs` (bin "pre-commit" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pre_commit-5cbf8bcd5abf7c66) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test identify::tests::tags_from_filename ... ok [INFO] [stdout] test config::tests::test_read_manifest ... ok [INFO] [stdout] test config::tests::parse_hooks ... ok [INFO] [stdout] test config::tests::test_read_config ... ok [INFO] [stdout] test config::tests::parse_repos ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/clean.rs (/opt/rustwide/target/debug/deps/clean-4ac06cd93bb9a4b6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/hook_impl.rs (/opt/rustwide/target/debug/deps/hook_impl-6cc0edf13197ccca) [INFO] [stdout] test clean ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test hook_impl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] [stderr] Running tests/install.rs (/opt/rustwide/target/debug/deps/install-4eb2a82c8dacdbe2) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test install ... ok [INFO] [stdout] test uninstall ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] [stderr] Running tests/languages/main.rs (/opt/rustwide/target/debug/deps/languages-ac3a570b1326386d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test fail::fail ... ok [INFO] [stdout] test docker::docker ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- docker::docker stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: docker [INFO] [stdout] Source: tests/languages/docker.rs:21 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] program: pre-commit [INFO] [stdout] args: [INFO] [stdout] - run [INFO] [stdout] env: [INFO] [stdout] PRE_COMMIT_HOME: /root/.local/share/pre-commit-rs/tests/.tmpbQvK8J/home [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │-success: true [INFO] [stdout] 1 │-exit_code: 0 [INFO] [stdout] 0 │+success: false [INFO] [stdout] 1 │+exit_code: 2 [INFO] [stdout] 2 2 │ ----- stdout ----- [INFO] [stdout] 3 3 │ Cloning https://github.com/j178/pre-commit-docker-hooks@master [INFO] [stdout] 4 │-Installing environment for https://github.com/j178/pre-commit-docker-hooks@master [INFO] [stdout] 5 │-Hello World..............................................................Passed [INFO] [stdout] 6 4 │ [INFO] [stdout] 7 │------ stderr ----- [INFO] [stdout] 5 │+----- stderr ----- [INFO] [stdout] 6 │+error: failed to git full clone (status: exit status: 128) [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'docker::docker' (127) panicked at tests/languages/docker.rs:21:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c2930916bca - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c2930916bca - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c2930916bca - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5c2930916bca - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5c29309309ba - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5c29309309ba - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x5c293091db62 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c293091db62 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5c29308f262f - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5c29308f262f - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5c293090dda9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5c2930576bec - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5c2930576bec - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c293090df62 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5c293090df62 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5c29308f26e8 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5c29308e6fa9 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5c29308f358d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5c29309311fc - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5c2930930f72 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5c29304356bd - >>::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5c29304356bd - languages[926548a17afa38e0]::docker::docker::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-cmd-0.6.0/src/macros.rs:29:13 [INFO] [stdout] 22: 0x5c293043602b - languages[926548a17afa38e0]::docker::docker::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-cmd-0.6.0/src/macros.rs:11:13 [INFO] [stdout] 23: 0x5c2930439d04 - ::bind:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/settings.rs:510:9 [INFO] [stdout] 24: 0x5c2930438132 - languages[926548a17afa38e0]::docker::docker [INFO] [stdout] at /opt/rustwide/workdir/tests/languages/../common/mod.rs:258:9 [INFO] [stdout] 25: 0x5c2930435d77 - languages[926548a17afa38e0]::docker::docker::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/languages/docker.rs:5:12 [INFO] [stdout] 26: 0x5c293043e116 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x5c293056accb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x5c293056accb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x5c29305776bb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x5c29305776bb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 31: 0x5c29305776bb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 32: 0x5c29305776bb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 33: 0x5c29305776bb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5c29305776bb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x5c29305776bb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x5c2930571b14 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x5c2930571b14 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 38: 0x5c293057a2c2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 39: 0x5c293057a2c2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 40: 0x5c293057a2c2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 41: 0x5c293057a2c2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 42: 0x5c293057a2c2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x5c293057a2c2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 44: 0x5c293057a2c2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5c2930915c3f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 46: 0x5c2930915c3f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 47: 0x75e6dffe9aa4 - [INFO] [stdout] 48: 0x75e6e0076a64 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] docker::docker [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test languages` [INFO] running `Command { std: "docker" "inspect" "eef944136d0fbe19c98353b10d4f2be4e5cab918a8ae79535d333612592d4dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef944136d0fbe19c98353b10d4f2be4e5cab918a8ae79535d333612592d4dab", kill_on_drop: false }` [INFO] [stdout] eef944136d0fbe19c98353b10d4f2be4e5cab918a8ae79535d333612592d4dab