[INFO] fetching crate gitwatch-rs 0.1.1... [INFO] testing gitwatch-rs-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gitwatch-rs 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gitwatch-rs 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 201eb15bdef04d1451a08e353dde69919d6c8b29d40b439fef4fad2995295062 [INFO] running `Command { std: "docker" "start" "-a" "201eb15bdef04d1451a08e353dde69919d6c8b29d40b439fef4fad2995295062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "201eb15bdef04d1451a08e353dde69919d6c8b29d40b439fef4fad2995295062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201eb15bdef04d1451a08e353dde69919d6c8b29d40b439fef4fad2995295062", kill_on_drop: false }` [INFO] [stdout] 201eb15bdef04d1451a08e353dde69919d6c8b29d40b439fef4fad2995295062 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c43acaab2dfd910cda0949b26737c67e29ccd4952f4da084f8e0136c32a35f65 [INFO] running `Command { std: "docker" "start" "-a" "c43acaab2dfd910cda0949b26737c67e29ccd4952f4da084f8e0136c32a35f65", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling file-id v0.2.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling paris v1.5.15 [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 inotify-sys v0.1.5 [INFO] [stderr] Compiling dirs-sys v0.5.0 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling notify v8.1.0 [INFO] [stderr] Compiling notify-debouncer-full v0.5.0 [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 ignore v0.4.23 [INFO] [stderr] Compiling synstructure v0.13.2 [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 pear_codegen v0.2.9 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 clap v4.5.42 [INFO] [stderr] Compiling clap_complete v4.5.55 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [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 serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling git2 v0.20.2 [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 56.21s [INFO] running `Command { std: "docker" "inspect" "c43acaab2dfd910cda0949b26737c67e29ccd4952f4da084f8e0136c32a35f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c43acaab2dfd910cda0949b26737c67e29ccd4952f4da084f8e0136c32a35f65", kill_on_drop: false }` [INFO] [stdout] c43acaab2dfd910cda0949b26737c67e29ccd4952f4da084f8e0136c32a35f65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b7d11e15aeaf1abd99954141e36449c293aa3a09e08c3b24b491895e3d82393 [INFO] running `Command { std: "docker" "start" "-a" "1b7d11e15aeaf1abd99954141e36449c293aa3a09e08c3b24b491895e3d82393", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.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 normalize-line-endings v0.3.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling testresult v0.4.1 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling notify v8.1.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling notify-debouncer-full v0.5.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling predicates v3.1.3 [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 19.56s [INFO] running `Command { std: "docker" "inspect" "1b7d11e15aeaf1abd99954141e36449c293aa3a09e08c3b24b491895e3d82393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7d11e15aeaf1abd99954141e36449c293aa3a09e08c3b24b491895e3d82393", kill_on_drop: false }` [INFO] [stdout] 1b7d11e15aeaf1abd99954141e36449c293aa3a09e08c3b24b491895e3d82393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ddcd70e5895cfa4c4fc7b4258bab3f5ee81a1307f1a7036ecf37881aa504ee07 [INFO] running `Command { std: "docker" "start" "-a" "ddcd70e5895cfa4c4fc7b4258bab3f5ee81a1307f1a7036ecf37881aa504ee07", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gitwatch_rs-e3af676664cbffba) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test cli::tests::test_loglevel_conversion ... ok [INFO] [stdout] test commit_message::tests::test_nonexistent_script ... ok [INFO] [stdout] test app_config::tests::test_config_from_cli_invalid ... ok [INFO] [stdout] test app_config::tests::test_relative_paths ... ok [INFO] [stdout] test app_config::tests::test_config_validation ... ok [INFO] [stdout] test app_config::tests::test_absolute_paths ... ok [INFO] [stdout] test config_file::tests::test_load_config_file ... ok [INFO] [stdout] test app_config::tests::test_config_partial_file ... ok [INFO] [stdout] test app_config::tests::test_config_precedence_cli_only ... ok [INFO] [stdout] test filter::tests::test_ignore_regex ... ok [INFO] [stdout] test filter::tests::test_strip_prefix_error ... ok [INFO] [stdout] test config_file::tests::test_load_empty_config ... ok [INFO] [stdout] test filter::tests::test_gitignore ... ok [INFO] [stderr] [debug] Using config file '/tmp/.tmp9T1gNV/gitwatch.yaml' [INFO] [stdout] test app_config::tests::test_config_from_cli ... ok [INFO] [stderr] [debug] Using config file '/tmp/.tmpUcrZXX/gitwatch.yaml' [INFO] [stdout] test config_file::tests::test_load_invalid_config ... ok [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: 147882, tv_nsec: 380345571 } }, DebouncedEvent { event: Event { kind: Any, paths: ["test1.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 380346541 } }, DebouncedEvent { event: Event { kind: Any, paths: ["test1.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 380346901 } }] } [INFO] [stdout] test app_config::tests::test_config_precedence_with_file ... ok [INFO] [stderr] [trace] registering event source with poller: token=Token(0), interests=READABLE [INFO] [stdout] test filter::tests::test_path_absolute_error ... ok [INFO] [stderr] [trace] adding inotify watch: /tmp/.tmpMKEZ6n [INFO] [stdout] test util::tests::test_normalize_path ... ok [INFO] [stderr] [trace] registering event source with poller: token=Token(0), interests=READABLE [INFO] [stdout] test watcher::tests::test_all_paths_ignored ... ok [INFO] [stderr] [trace] registering event source with poller: token=Token(0), interests=READABLE [INFO] [stdout] test watcher::tests::test_watcher_notify_error ... ok [INFO] [stderr] [trace] adding inotify watch: /tmp/.tmplyslXq [INFO] [stdout] Watching for changes... [INFO] [stdout] Watching for changes... [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] [stdout] test commit_message::tests::test_whitespace_only_output ... ok [INFO] [stdout] test commit_message::tests::test_script_execution_failure ... ok [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmps9PsFi/test_script.sh' [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmplMr1ZV/test_script.sh' [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmpckWVt6/test_script.sh' [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmpVaCPBv/test_script.sh' [INFO] [stderr] [debug] Generated commit message: '/tmp/.tmpVaCPBv' [INFO] [stderr] [debug] Generated commit message: 'Test commit message' [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmpfyQjIw/test_script.sh' [INFO] [stdout] test repo::tests::test_empty_repo ... 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/.tmpMKEZ6n/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/.tmpMKEZ6n/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/.tmpMKEZ6n/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/.tmpMKEZ6n/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(CREATE), cookie: 0, name: Some("test.txt") } [INFO] [stderr] [trace] raw event: Event { kind: Create(File), paths: ["/tmp/.tmplyslXq/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/.tmplyslXq/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/.tmplyslXq/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/.tmplyslXq/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [INFO] [stderr] [debug] Using git repository '/tmp/.tmpySFZxa' [INFO] [stderr] [debug] Repository has uncommitted changes) [INFO] [stderr] [debug] Modified files: [INFO] [stderr] [debug] foo.txt [INFO] [stderr] [warn] Watch is disabled [INFO] [stderr] [debug] Using git repository '/tmp/.tmpF3yBgN' [INFO] [stderr] [debug] Repository has uncommitted changes) [INFO] [stderr] [debug] Modified files: [INFO] [stderr] [debug] foo.txt [INFO] [stderr] [trace] Received notify events { events [DebouncedEvent { event: Event { kind: Create(File), paths: ["/tmp/.tmpMKEZ6n/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 480578550 } }, DebouncedEvent { event: Event { kind: Access(Open(Any)), paths: ["/tmp/.tmpMKEZ6n/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 480711070 } }, DebouncedEvent { event: Event { kind: Access(Close(Write)), paths: ["/tmp/.tmpMKEZ6n/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 480897560 } }] } [INFO] [stderr] [warn] Failed to commit changes. Retrying... (1/2). [INFO] [stdout] test app::tests::test_watch_false ... ok [INFO] [stderr] Error: Mock callback error [INFO] [stderr] [INFO] [stderr] Stack backtrace: [INFO] [stderr] 0: anyhow::error::::msg [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}}::{{closure}} [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:178:21 [INFO] [stderr] 3: core::ops::function::impls:: for &F>::call [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:266:22 [INFO] [stderr] 4: gitwatch_rs::watcher::FileWatcher::handle_events [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:96:23 [INFO] [stderr] 5: gitwatch_rs::watcher::FileWatcher::watch [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:60:46 [INFO] [stderr] 6: gitwatch_rs::watcher::tests::test_watcher_callback_error::{{closure}} [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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 8: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 10: std::panicking::catch_unwind::do_call [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 11: __rust_try [INFO] [stderr] 12: std::panicking::catch_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 13: std::panic::catch_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 14: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 15: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 16: as core::ops::function::FnOnce>::call_once [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 17: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] 18: [INFO] [stderr] 19: clone [INFO] [stderr] [debug] Using git repository '/tmp/.tmp5iuTUo' [INFO] [stdout] test repo::tests::test_invalid_remote ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpzAQND8' [INFO] [stdout] test repo::tests::test_invalid_commit_message_script ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpnrM7R3' [INFO] [stderr] [debug] Index is empty [INFO] [stdout] test app::tests::test_commit_on_start ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmprrwEDf' [INFO] [stdout] test repo::tests::test_ignore_regex ... ok [INFO] [stderr] [debug] Pushing to remote origin [INFO] [stdout] test repo::tests::test_commit_and_push ... ok [INFO] [stderr] [trace] Pushing refspec: HEAD:refs/heads/master [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: anyhow::error::::msg [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}}::{{closure}} [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:178:21 [INFO] [stderr] 3: core::ops::function::impls:: for &F>::call [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:266:22 [INFO] [stderr] 4: gitwatch_rs::watcher::FileWatcher::handle_events [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:96:23 [INFO] [stderr] 5: gitwatch_rs::watcher::FileWatcher::watch [INFO] [stderr] at /opt/rustwide/workdir/src/watcher.rs:60:46 [INFO] [stderr] 6: gitwatch_rs::watcher::tests::test_watcher_callback_error::{{closure}} [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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 8: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 10: std::panicking::catch_unwind::do_call [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 11: __rust_try [INFO] [stderr] 12: std::panicking::catch_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 13: std::panic::catch_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 14: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 15: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 16: as core::ops::function::FnOnce>::call_once [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 17: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] 18: [INFO] [stderr] 19: clone [INFO] [stderr] [trace] Received notify events { events [DebouncedEvent { event: Event { kind: Create(File), paths: ["/tmp/.tmplyslXq/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 481729380 } }, DebouncedEvent { event: Event { kind: Access(Open(Any)), paths: ["/tmp/.tmplyslXq/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 481847000 } }, DebouncedEvent { event: Event { kind: Access(Close(Write)), paths: ["/tmp/.tmplyslXq/test.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }, time: Instant { tv_sec: 147882, tv_nsec: 482093780 } }] } [INFO] [stderr] [error] All retry attempts failed: Mock callback error [INFO] [stdout] test watcher::tests::test_watcher_callback_error ... ok [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.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitwatch-bc13c6756f472371) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-36e8e259b848d3c4) [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.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test test_main_invalid_path ... ok [INFO] [stdout] test test_completion_command ... ok [INFO] [stdout] test test_invalid_command ... ok [INFO] [stderr] [debug] Using git repository '/tmp/.tmpRXMllR' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpN0Io7M' [INFO] [stdout] Opened repo '.tmpRXMllR' at commit '[98644a1] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpro72yI' [INFO] [stdout] Opened repo '.tmpN0Io7M' at commit '[98644a1] Initial commit' [INFO] [stdout] Opened repo '.tmpro72yI' at commit '[98644a1] Initial commit' [INFO] [stderr] [debug] Working tree clean [INFO] [stdout] Opened repo '.tmp0QL1IE' at commit '[98644a1] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmp0QL1IE' [INFO] [stderr] [debug] Repository has uncommitted changes) [INFO] [stderr] [debug] Modified files: [INFO] [stderr] [debug] commit-message-script.sh [INFO] [stdout] Opened repo '.tmpomE7Zm' at commit '[98644a1] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpomE7Zm' [INFO] [stdout] Created commit: 4dd721a 'test commit message' [INFO] [stderr] [debug] Pushing to remote origin [INFO] [stdout] Opened repo '.tmpvkN9dC' at commit '[98644a1] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpvkN9dC' [INFO] [stdout] test test_push_invalid_remote ... ok [INFO] [stderr] [debug] Executing commit message script '/tmp/.tmp0QL1IE/commit-message-script.sh' [INFO] [stderr] [debug] Using git repository '/tmp/.tmpIDSL0P' [INFO] [stderr] [warn] Changes will not be commited (dry-run enabled)! [INFO] [stdout] Opened repo '.tmpIDSL0P' at commit '[98644a1] Initial commit' [INFO] [stderr] [warn] Watch is disabled [INFO] [stdout] Watching for changes... [INFO] [stdout] Commit message: [INFO] [stdout] test commit message [INFO] [stdout] Staged files: [INFO] [stdout] foo.txt [INFO] [stdout]  [INFO] [stdout] Opened repo '.tmp8EFhEz' at commit '[98644a1] Initial commit' [INFO] [stderr] [debug] Using git repository '/tmp/.tmp8EFhEz' [INFO] [stdout] Created commit: 4dd721a 'test commit message' [INFO] [stderr] [debug] Generated commit message: 'generated commit message' [INFO] [stdout] Created commit: 821e983 'generated commit message' [INFO] [stderr] [warn] Watch is disabled [INFO] [stderr] [debug] Using git repository '/tmp/.tmp7YVcUP' [INFO] [stdout] Opened repo '.tmp7YVcUP' at commit '[98644a1] Initial commit' [INFO] [stderr] [debug] Pushing to remote origin [INFO] [stdout] Created commit: 4dd721a 'test commit message' [INFO] [stdout] Watching for changes... [INFO] [stderr] [warn] Watch is disabled [INFO] [stdout] Created commit: 4dd721a 'test commit message' [INFO] [stderr] [warn] Watch is disabled [INFO] [stdout] Pushed changes to origin [INFO] [stdout] test test_commit_message_script ... ok [INFO] [stdout] test test_dry_run ... ok [INFO] [stdout] test test_commit_on_start ... ok [INFO] [stderr] [debug] Working tree clean [INFO] [stdout] Watching for changes... [INFO] [stdout] Watching for changes... [INFO] [stdout] test test_push ... ok [INFO] [stdout] test test_main_valid_args ... ok [INFO] [stderr] [debug] Detected changes: [INFO] [stderr] foo.txt [INFO] [stdout] Created commit: 1a0e8c7 'test commit message' [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_gitignore ... ok [INFO] [stdout] test test_ignore_regex ... ok [INFO] [stderr] [debug] Detected changes: [INFO] [stdout] Created commit: 02858fa 'test commit message' [INFO] [stderr] foo.txt [INFO] [stderr] [debug] Received shutdown signal [INFO] [stderr] Doc-tests gitwatch_rs [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.70s [INFO] [stdout] [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" "ddcd70e5895cfa4c4fc7b4258bab3f5ee81a1307f1a7036ecf37881aa504ee07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddcd70e5895cfa4c4fc7b4258bab3f5ee81a1307f1a7036ecf37881aa504ee07", kill_on_drop: false }` [INFO] [stdout] ddcd70e5895cfa4c4fc7b4258bab3f5ee81a1307f1a7036ecf37881aa504ee07