[INFO] fetching crate gitwatch-rs 0.1.1... [INFO] testing gitwatch-rs-0.1.1 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] extracting crate gitwatch-rs 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate gitwatch-rs 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gitwatch-rs 0.1.1 [INFO] tweaked toml for crates.io crate gitwatch-rs 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gitwatch-rs 0.1.1 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gitwatch-rs 0.1.1 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded testresult v0.4.1 [INFO] [stderr] Downloaded notify-debouncer-full v0.5.0 [INFO] [stderr] Downloaded notify-types v2.0.0 [INFO] [stderr] Downloaded shellexpand v3.1.1 [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded terminal-prompt v0.2.3 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded kqueue-sys v1.0.4 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Downloaded auth-git2 v0.5.8 [INFO] [stderr] Downloaded inlinable_string v0.1.15 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded inotify v0.11.0 [INFO] [stderr] Downloaded notify v8.1.0 [INFO] [stderr] Downloaded kqueue v1.1.1 [INFO] [stderr] Downloaded git2 v0.20.2 [INFO] [stderr] Downloaded paris v1.5.15 [INFO] [stderr] Downloaded inotify-sys v0.1.5 [INFO] [stderr] Downloaded file-id v0.2.2 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] [stderr] Downloaded fsevent-sys v4.1.0 [INFO] [stderr] Downloaded redox_users v0.5.0 [INFO] [stderr] Downloaded libgit2-sys v0.18.2+1.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14629f49d8f08a3fd6c246f9e410ff3323b3487ba1cb8bb78c6ae348755336b2 [INFO] running `Command { std: "docker" "start" "-a" "14629f49d8f08a3fd6c246f9e410ff3323b3487ba1cb8bb78c6ae348755336b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14629f49d8f08a3fd6c246f9e410ff3323b3487ba1cb8bb78c6ae348755336b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14629f49d8f08a3fd6c246f9e410ff3323b3487ba1cb8bb78c6ae348755336b2", kill_on_drop: false }` [INFO] [stdout] 14629f49d8f08a3fd6c246f9e410ff3323b3487ba1cb8bb78c6ae348755336b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31083b6acc89d85afd62c412ffe8dfdc12237c85e7c961403669232758f31e36 [INFO] running `Command { std: "docker" "start" "-a" "31083b6acc89d85afd62c412ffe8dfdc12237c85e7c961403669232758f31e36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling file-id v0.2.2 [INFO] [stderr] Compiling paris v1.5.15 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling terminal-prompt v0.2.3 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling notify v8.1.0 [INFO] [stderr] Compiling notify-debouncer-full v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling clap_complete v4.5.55 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling auth-git2 v0.5.8 [INFO] [stderr] Compiling gitwatch-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.98s [INFO] running `Command { std: "docker" "inspect" "31083b6acc89d85afd62c412ffe8dfdc12237c85e7c961403669232758f31e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31083b6acc89d85afd62c412ffe8dfdc12237c85e7c961403669232758f31e36", kill_on_drop: false }` [INFO] [stdout] 31083b6acc89d85afd62c412ffe8dfdc12237c85e7c961403669232758f31e36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 328c42c07909235f8f47de13ee85212777facd840363355de6dc6f47316d0816 [INFO] running `Command { std: "docker" "start" "-a" "328c42c07909235f8f47de13ee85212777facd840363355de6dc6f47316d0816", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling testresult v0.4.1 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling notify v8.1.0 [INFO] [stderr] Compiling notify-debouncer-full v0.5.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling auth-git2 v0.5.8 [INFO] [stderr] Compiling gitwatch-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.00s [INFO] running `Command { std: "docker" "inspect" "328c42c07909235f8f47de13ee85212777facd840363355de6dc6f47316d0816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328c42c07909235f8f47de13ee85212777facd840363355de6dc6f47316d0816", kill_on_drop: false }` [INFO] [stdout] 328c42c07909235f8f47de13ee85212777facd840363355de6dc6f47316d0816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d5c64beb320f6a728faee628ee720852676a8c1a2d25b8ab17783dbf1d2e5c9 [INFO] running `Command { std: "docker" "start" "-a" "2d5c64beb320f6a728faee628ee720852676a8c1a2d25b8ab17783dbf1d2e5c9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gitwatch_rs-ef20672bb2a9db21) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test app_config::tests::test_absolute_paths ... ok [INFO] [stdout] test app_config::tests::test_config_from_cli_invalid ... ok [INFO] [stdout] test app_config::tests::test_config_validation ... ok [INFO] [stdout] test cli::tests::test_loglevel_conversion ... ok [INFO] [stdout] test app_config::tests::test_config_from_cli ... ok [INFO] [stdout] test app_config::tests::test_config_precedence_cli_only ... ok [INFO] [stdout] test config_file::tests::test_load_invalid_config ... ok [INFO] [stdout] test app_config::tests::test_config_partial_file ... ok [INFO] [stdout] test filter::tests::test_path_absolute_error ... ok [INFO] [stdout] test filter::tests::test_strip_prefix_error ... ok [INFO] [stdout] test filter::tests::test_gitignore ... ok [INFO] [stdout] test config_file::tests::test_load_empty_config ... ok [INFO] [stdout] test config_file::tests::test_load_config_file ... ok [INFO] [stdout] test app_config::tests::test_config_precedence_with_file ... ok [INFO] [stdout] test app_config::tests::test_relative_paths ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpd80QNj' [INFO] [stderr] [debug] Using config file '/tmp/.tmpzs2WA5/gitwatch.yaml' [INFO] [stderr] [debug] Executing commit message script '/nonexistent/script/path' [INFO] [stderr] [trace] Received notify events { events [DebouncedEvent { event: Event { kind: Any, paths: ["test1.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 24634, tv_nsec: 604395374 } }, DebouncedEvent { event: Event { kind: Any, paths: ["test1.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 24634, tv_nsec: 604395864 } }, DebouncedEvent { event: Event { kind: Any, paths: ["test1.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 24634, tv_nsec: 604396164 } }] } [INFO] [stdout] test watcher::tests::test_all_paths_ignored ... ok [INFO] [stdout] test filter::tests::test_ignore_regex ... ok [INFO] [stderr] [debug] Path test.temp ignored via --ignore-regex [INFO] [stderr] [debug] Path subdir/another.temp ignored via --ignore-regex [INFO] [stdout] test commit_message::tests::test_nonexistent_script ... ok [INFO] [stdout] test util::tests::test_normalize_path ... ok [INFO] [stdout] Watching for changes... [INFO] [stderr] [trace] registering event source with poller: token=Token(0), interests=READABLE [INFO] [stderr] [trace] adding inotify watch: /tmp/.tmpKpt86A [INFO] [stdout] Watching for changes... [INFO] [stderr] [trace] registering event source with poller: token=Token(0), interests=READABLE [INFO] [stderr] [trace] adding inotify watch: /tmp/.tmptZnmPC [INFO] [stderr] [trace] registering event source with poller: token=Token(0), interests=READABLE [INFO] [stdout] test watcher::tests::test_watcher_notify_error ... ok [INFO] [stdout] test repo::tests::test_empty_repo ... ok [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmphWsWIP/test_script.sh' [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmpTnGXxa/test_script.sh' [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmpWlMNpJ/test_script.sh' [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmpWEJxoy/test_script.sh' [INFO] [stdout] test commit_message::tests::test_script_execution_failure ... ok [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmpnNVT7v/test_script.sh' [INFO] [stdout] test commit_message::tests::test_whitespace_only_output ... ok [INFO] [stderr] [debug] Generated commit message: '/tmp/.tmpWlMNpJ' [INFO] [stdout] test commit_message::tests::test_empty_output ... ok [INFO] [stdout] test commit_message::tests::test_working_directory ... ok [INFO] [stdout] test commit_message::tests::test_successful_script_execution ... ok [INFO] [stderr] [debug] Generated commit message: 'Test commit message' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpXdszZc' [INFO] [stderr] [debug] Repository has uncommitted changes) [INFO] [stderr] [debug] Modified files: [INFO] [stderr] [debug] foo.txt [INFO] [stderr] [debug] Using git repository '/tmp/.tmp1q3Gay' [INFO] [stderr] [debug] Repository has uncommitted changes) [INFO] [stderr] [debug] Modified files: [INFO] [stderr] [debug] foo.txt [INFO] [stderr] [warn] Watch is disabled [INFO] [stdout] test app::tests::test_watch_false ... ok [INFO] [stdout] test app::tests::test_commit_on_start ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmppZmUyQ' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpEKz2qf' [INFO] [stderr] [debug] Index is empty [INFO] [stdout] test repo::tests::test_invalid_remote ... ok [INFO] [stderr] [debug] Pushing to remote origin [INFO] [stderr] [trace] Pushing refspec: HEAD:refs/heads/master [INFO] [stdout] test repo::tests::test_commit_and_push ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpV26DN2' [INFO] [stdout] test repo::tests::test_invalid_commit_message_script ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmp65OBJc' [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(CREATE), cookie: 0, name: Some("test.txt") } [INFO] [stdout] test repo::tests::test_ignore_regex ... ok [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(CREATE), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Create(File), paths: ["/tmp/.tmpKpt86A/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(OPEN), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Access(Open(Any)), paths: ["/tmp/.tmpKpt86A/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(MODIFY), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Modify(Data(Any)), paths: ["/tmp/.tmpKpt86A/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(CLOSE_WRITE), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Access(Close(Write)), paths: ["/tmp/.tmpKpt86A/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] raw event: Event { kind: Create(File), paths: ["/tmp/.tmptZnmPC/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(OPEN), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Access(Open(Any)), paths: ["/tmp/.tmptZnmPC/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] Received notify events { events [DebouncedEvent { event: Event { kind: Create(File), paths: ["/tmp/.tmptZnmPC/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 24634, tv_nsec: 887109039 } }] } [INFO] [stderr] [warn] Failed to commit changes. Retrying... (1/2). [INFO] [stderr] Error: Mock callback error [INFO] [stderr] [INFO] [stderr] Stack backtrace: [INFO] [stderr] 0: ::msg::<&str> [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stderr] 1: anyhow::__private::format_err [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/lib.rs:694:13 [INFO] [stderr] 2: gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#0} [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:178:21 [INFO] [stderr] 3: <&gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#0} as core::ops::function::Fn<(&alloc::vec::Vec,)>>::call [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:263:22 [INFO] [stderr] 4: ::handle_events::<&gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#0}, &gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#1}> [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:96:23 [INFO] [stderr] 5: ::watch:: [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:60:46 [INFO] [stderr] 6: gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0} [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:174:21 [INFO] [stderr] 7: std::sys::backtrace::__rust_begin_short_backtrace::> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18 [INFO] [stderr] 8: std::thread::lifecycle::spawn_unchecked::>::{closure#1}::{closure#0} [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stderr] 9: >::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 10: std::panicking::catch_unwind::do_call::>::{closure#1}::{closure#0}>, core::result::Result<(), anyhow::Error>> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stderr] 11: __rust_try [INFO] [stderr] 12: std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe>::{closure#1}::{closure#0}>> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stderr] 13: std::panic::catch_unwind::>::{closure#1}::{closure#0}>, core::result::Result<(), anyhow::Error>> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stderr] 14: std::thread::lifecycle::spawn_unchecked::>::{closure#1} [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stderr] 15: >::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 16: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9 [INFO] [stderr] 17: ::new::thread_start [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stderr] 18: [INFO] [stderr] 19: clone [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(MODIFY), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Modify(Data(Any)), paths: ["/tmp/.tmptZnmPC/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] inotify event: Event { wd: WatchDescriptor { id: 1, fd: (Weak) }, mask: EventMask(CLOSE_WRITE), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Access(Close(Write)), paths: ["/tmp/.tmptZnmPC/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [trace] Received notify events { events [DebouncedEvent { event: Event { kind: Create(File), paths: ["/tmp/.tmpKpt86A/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 24634, tv_nsec: 729957677 } }, DebouncedEvent { event: Event { kind: Access(Open(Any)), paths: ["/tmp/.tmpKpt86A/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 24634, tv_nsec: 730086197 } }, DebouncedEvent { event: Event { kind: Access(Close(Write)), paths: ["/tmp/.tmpKpt86A/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 24634, tv_nsec: 730273767 } }] } [INFO] [stderr] [warn] Failed to commit changes. Retrying... (2/2). [INFO] [stderr] Error: Mock callback error [INFO] [stderr] [INFO] [stderr] Stack backtrace: [INFO] [stderr] 0: ::msg::<&str> [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stderr] 1: anyhow::__private::format_err [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/lib.rs:694:13 [INFO] [stderr] 2: gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#0} [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:178:21 [INFO] [stderr] 3: <&gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#0} as core::ops::function::Fn<(&alloc::vec::Vec,)>>::call [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:263:22 [INFO] [stderr] 4: ::handle_events::<&gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#0}, &gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0}::{closure#1}> [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:96:23 [INFO] [stderr] 5: ::watch:: [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:60:46 [INFO] [stderr] 6: gitwatch_rs::watcher::tests::test_watcher_callback_error::{closure#0} [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:174:21 [INFO] [stderr] 7: std::sys::backtrace::__rust_begin_short_backtrace::> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18 [INFO] [stderr] 8: std::thread::lifecycle::spawn_unchecked::>::{closure#1}::{closure#0} [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stderr] 9: >::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 10: std::panicking::catch_unwind::do_call::>::{closure#1}::{closure#0}>, core::result::Result<(), anyhow::Error>> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stderr] 11: __rust_try [INFO] [stderr] 12: std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe>::{closure#1}::{closure#0}>> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stderr] 13: std::panic::catch_unwind::>::{closure#1}::{closure#0}>, core::result::Result<(), anyhow::Error>> [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stderr] 14: std::thread::lifecycle::spawn_unchecked::>::{closure#1} [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stderr] 15: >::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 16: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9 [INFO] [stderr] 17: ::new::thread_start [INFO] [stderr] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stderr] 18: [INFO] [stderr] 19: clone [INFO] [stdout] test watcher::tests::test_watcher_callback_error ... ok [INFO] [stderr] [error] All retry attempts failed: Mock callback error [INFO] [stderr] [debug] Received shutdown signal [INFO] [stdout] test watcher::tests::test_watcher_shutdown ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.17s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitwatch-afa058d0393dd211) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-c7fa4e95c00cfe20) [INFO] [stdout] test tests::test_main_error_handling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test test_completion_command ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpb5FOoA' [INFO] [stdout] test test_main_invalid_path ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmp3fnN8B' [INFO] [stdout] test test_invalid_command ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpebeWe4' [INFO] [stdout] Opened repo '.tmpb5FOoA' at commit '[a1bb628] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpoO5TG4' [INFO] [stdout] Opened repo '.tmpebeWe4' at commit '[a1bb628] Initial commit' [INFO] [stderr] [debug] Working tree clean [INFO] [stdout] Opened repo '.tmpoO5TG4' at commit '[a1bb628] Initial commit' [INFO] [stderr] [debug] Repository has uncommitted changes) [INFO] [stdout] Opened repo '.tmp3fnN8B' at commit '[a1bb628] Initial commit' [INFO] [stderr] [debug] Modified files: [INFO] [stdout] Watching for changes... [INFO] [stderr] [debug] commit-message-script.sh [INFO] [stdout] Created commit: 0f15511 'test commit message' [INFO] [stderr] [debug] Working tree clean [INFO] [stdout] Watching for changes... [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmp3fnN8B/commit-message-script.sh' [INFO] [stdout] Created commit: 736cf2d 'generated commit message' [INFO] [stderr] [debug] Pushing to remote origin [INFO] [stderr] [debug] Generated commit message: 'generated commit message' [INFO] [stderr] [warn] Watch is disabled [INFO] [stdout] test test_commit_message_script ... ok [INFO] [stdout] test test_push_invalid_remote ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpNl0Vf2' [INFO] [stdout] Opened repo '.tmpNl0Vf2' at commit '[a1bb628] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmp1JGyZP' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpwo34QP' [INFO] [stdout] Opened repo '.tmp1JGyZP' at commit '[a1bb628] Initial commit' [INFO] [stdout] Opened repo '.tmpwo34QP' at commit '[a1bb628] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpxsaI30' [INFO] [stdout] Opened repo '.tmpnH486U' at commit '[a1bb628] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpnH486U' [INFO] [stderr] [debug] Pushing to remote origin [INFO] [stdout] Opened repo '.tmpxsaI30' at commit '[a1bb628] Initial commit' [INFO] [stderr] [warn] Watch is disabled [INFO] [stdout] Created commit: 0f15511 'test commit message' [INFO] [stderr] [warn] Watch is disabled [INFO] [stdout] Watching for changes... [INFO] [stdout] Created commit: 0f15511 'test commit message' [INFO] [stdout] Created commit: 0f15511 'test commit message' [INFO] [stdout] Pushed changes to origin [INFO] [stdout] Commit message: [INFO] [stdout] test commit message [INFO] [stdout] Staged files: [INFO] [stdout] foo.txt [INFO] [stdout]  [INFO] [stderr] [warn] Changes will not be commited (dry-run enabled)! [INFO] [stderr] [warn] Watch is disabled [INFO] [stderr] [debug] Detected changes: [INFO] [stderr] foo.txt [INFO] [stdout] Created commit: 9ea1e31 'test commit message' [INFO] [stdout] test test_commit_on_start ... ok [INFO] [stdout] test test_push ... ok [INFO] [stdout] test test_dry_run ... ok [INFO] [stdout] test test_main_valid_args ... ok [INFO] [stdout] Watching for changes... [INFO] [stderr] [debug] Received shutdown signal [INFO] [stderr] [debug] Received shutdown signal [INFO] [stderr] [debug] Received shutdown signal [INFO] [stdout] test test_watch ... ok [INFO] [stdout] test test_ignore_regex ... ok [INFO] [stdout] test test_gitignore ... ok [INFO] [stderr] [debug] Detected changes: [INFO] [stderr] foo.txt [INFO] [stdout] Created commit: c79c950 'test commit message' [INFO] [stderr] [debug] Received shutdown signal [INFO] [stdout] test test_debounce ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.64s [INFO] [stdout] [INFO] [stderr] Doc-tests gitwatch_rs [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" "2d5c64beb320f6a728faee628ee720852676a8c1a2d25b8ab17783dbf1d2e5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5c64beb320f6a728faee628ee720852676a8c1a2d25b8ab17783dbf1d2e5c9", kill_on_drop: false }` [INFO] [stdout] 2d5c64beb320f6a728faee628ee720852676a8c1a2d25b8ab17783dbf1d2e5c9