[INFO] fetching crate gitsync 0.1.9... [INFO] testing gitsync-0.1.9 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate gitsync 0.1.9 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate gitsync 0.1.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gitsync 0.1.9 [INFO] tweaked toml for crates.io crate gitsync 0.1.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gitsync 0.1.9 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 222 packages to latest compatible versions [INFO] [stderr] Adding cucumber v0.19.1 (available: v0.21.1) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding git2 v0.16.1 (available: v0.20.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad0ee847392295f940d1a9f3feeeec5151d0d66e43e922de445100e46d81de93 [INFO] running `Command { std: "docker" "start" "-a" "ad0ee847392295f940d1a9f3feeeec5151d0d66e43e922de445100e46d81de93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad0ee847392295f940d1a9f3feeeec5151d0d66e43e922de445100e46d81de93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0ee847392295f940d1a9f3feeeec5151d0d66e43e922de445100e46d81de93", kill_on_drop: false }` [INFO] [stdout] ad0ee847392295f940d1a9f3feeeec5151d0d66e43e922de445100e46d81de93 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 193db42e7bb32f8a5a7710a9b09f53abcb4a29de9a0e051407ad6a027a2d91c2 [INFO] running `Command { std: "docker" "start" "-a" "193db42e7bb32f8a5a7710a9b09f53abcb4a29de9a0e051407ad6a027a2d91c2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Compiling gitsync v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.36s [INFO] running `Command { std: "docker" "inspect" "193db42e7bb32f8a5a7710a9b09f53abcb4a29de9a0e051407ad6a027a2d91c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193db42e7bb32f8a5a7710a9b09f53abcb4a29de9a0e051407ad6a027a2d91c2", kill_on_drop: false }` [INFO] [stdout] 193db42e7bb32f8a5a7710a9b09f53abcb4a29de9a0e051407ad6a027a2d91c2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f666727cbd0cb6f04d93fb69ae1db0b4639bb8cf422ef86ad0fd173853f30af [INFO] running `Command { std: "docker" "start" "-a" "5f666727cbd0cb6f04d93fb69ae1db0b4639bb8cf422ef86ad0fd173853f30af", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling peg v0.6.3 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling cucumber-expressions v0.2.1 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling sealed v0.3.0 [INFO] [stderr] Compiling gherkin v0.13.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling sealed v0.4.0 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling synthez-core v0.2.0 [INFO] [stderr] Compiling synthez-codegen v0.2.0 [INFO] [stderr] Compiling synthez v0.2.0 [INFO] [stderr] Compiling cucumber-codegen v0.19.1 [INFO] [stderr] Compiling cucumber v0.19.1 [INFO] [stderr] Compiling gitsync v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 36.88s [INFO] running `Command { std: "docker" "inspect" "5f666727cbd0cb6f04d93fb69ae1db0b4639bb8cf422ef86ad0fd173853f30af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f666727cbd0cb6f04d93fb69ae1db0b4639bb8cf422ef86ad0fd173853f30af", kill_on_drop: false }` [INFO] [stdout] 5f666727cbd0cb6f04d93fb69ae1db0b4639bb8cf422ef86ad0fd173853f30af [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5b723fe2aed61f4216d2713d5526deb812b5d50b51ac31dc48b7759a3e0665d1 [INFO] running `Command { std: "docker" "start" "-a" "5b723fe2aed61f4216d2713d5526deb812b5d50b51ac31dc48b7759a3e0665d1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gitsync-565d733f16c2db1c) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/cucumber.rs (/opt/rustwide/target/debug/deps/cucumber-803c4dcac793fe6e) [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] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.MQJV5SWlHI9L/bare/ [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.iWimB67E30sF/bare/ [INFO] [stdout] Feature: Bootstrap [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.D5wG8xLMrcqt/bare/ [INFO] [stderr] Cloning into '/tmp/gitsync-test.D5wG8xLMrcqt/gitsync'... [INFO] [stderr] done. [INFO] [stdout] Rule: If we have a local clone the origin remote must be correct [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.BK4IMdMsG0Zr/bare/ [INFO] [stderr] Cloning into '/tmp/gitsync-test.BK4IMdMsG0Zr/gitsync'... [INFO] [stderr] done. [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.jQDFL2aeUdXt/bare/ [INFO] [stderr] Cloning into '/tmp/gitsync-test.jQDFL2aeUdXt/gitsync'... [INFO] [stderr] done. [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.5u3dSRJQ8gJl/bare/ [INFO] [stderr] Cloning into '/tmp/gitsync-test.5u3dSRJQ8gJl/gitsync'... [INFO] [stderr] done. [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.7PauwjFmu8E1/bare/ [INFO] [stderr] Cloning into '/tmp/gitsync-test.7PauwjFmu8E1/gitsync'... [INFO] [stderr] done. [INFO] [stdout] Bare Repository "/tmp/gitsync-test.7PauwjFmu8E1/bare" [INFO] [stdout] Clone Repository "/tmp/gitsync-test.7PauwjFmu8E1/gitsync" [INFO] [stdout] None [INFO] [stderr] hint: Using 'master' as the name for the initial branch. This default branch name [INFO] [stderr] hint: is subject to change. To configure the initial branch name to use in all [INFO] [stderr] hint: of your new repositories, which will suppress this warning, call: [INFO] [stderr] hint: [INFO] [stderr] hint: git config --global init.defaultBranch [INFO] [stderr] hint: [INFO] [stderr] hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and [INFO] [stderr] hint: 'development'. The just-created branch can be renamed via this command: [INFO] [stderr] hint: [INFO] [stderr] hint: git branch -m [INFO] [stdout] Initialized empty Git repository in /tmp/gitsync-test.oMF1cgilHv96/bare/ [INFO] [stderr] Cloning into '/tmp/gitsync-test.oMF1cgilHv96/gitsync'... [INFO] [stderr] done. [INFO] [stdout] Clone is "/tmp/gitsync-test.oMF1cgilHv96/bare" [INFO] [stdout] Example: Local clone has incorrect url for origin remote [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have a Git repository in a directory called "gitsync" [INFO] [stdout] ✔ But it has a remote called "origin" that points to "https://github.com/rawkode/gitsync" [INFO] [stdout] ✔ When I bootstrap [INFO] [stdout] ✔ Then the directory is left untouched [INFO] [stdout] ✔ And the bootstrap errors because "incorrect remote" [INFO] [stdout] Example: Local clone has no remote called "origin" [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have a Git repository in a directory called "gitsync" [INFO] [stdout] ✔ But it has no remote called "origin" [INFO] [stdout] ✔ When I bootstrap [INFO] [stdout] ✔ Then the directory is left untouched [INFO] [stdout] ✔ And the bootstrap errors because "incorrect remote" [INFO] [stdout] Example: Local clone has the correct origin remote [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have a Git repository in a directory called "gitsync" [INFO] [stdout] ✔ And it has a correctly configured remote called "origin" [INFO] [stdout] ✔ When I bootstrap [INFO] [stdout] ✔ Then the bootstrap completes [INFO] [stdout] Example: No local directory [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have no directory called "gitsync" [INFO] [stdout] ✔ When I bootstrap [INFO] [stdout] ✔ Then the repository is cloned [INFO] [stdout] ✔ And the bootstrap completes [INFO] [stdout] Example: Local directory isn't a Git repository [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have a directory called "gitsync" [INFO] [stdout] ✔ And it contains a file called "random.txt" [INFO] [stdout] ✔ When I bootstrap [INFO] [stdout] ✔ Then the directory is left untouched [INFO] [stdout] ✔ And the bootstrap errors because "local dir isn't git repository" [INFO] [stdout] Feature: Sync [INFO] [stdout] Example: Remote Changes [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have a Git repository in a directory called "gitsync" [INFO] [stdout] ✔ And there are remote changes [INFO] [stdout] ✔ When I sync [INFO] [stdout] ✔ Then there are changes [INFO] [stdout] Example: No Remote Changes [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have a Git repository in a directory called "gitsync" [INFO] [stdout] ✔ And there are no remote changes [INFO] [stdout] ✔ When I sync [INFO] [stdout] ✔ Then the sync completes [INFO] [stdout] ✔ And there is no change [INFO] [stdout] Example: Local Changes [INFO] [stdout] ✔> Given I have a remote Git repository available [INFO] [stdout] ✔ Given I have a Git repository in a directory called "gitsync" [INFO] [stdout] ✔ And there are local changes [INFO] [stdout] ✔ When I sync [INFO] [stdout] ✔ Then the sync errors [INFO] [stdout] ✔ And there is no change [INFO] [stdout] [Summary] [INFO] [stdout] 2 features [INFO] [stdout] 1 rule [INFO] [stdout] 8 scenarios (8 passed) [INFO] [stdout] 45 steps (45 passed) [INFO] [stderr] Doc-tests gitsync [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" "5b723fe2aed61f4216d2713d5526deb812b5d50b51ac31dc48b7759a3e0665d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b723fe2aed61f4216d2713d5526deb812b5d50b51ac31dc48b7759a3e0665d1", kill_on_drop: false }` [INFO] [stdout] 5b723fe2aed61f4216d2713d5526deb812b5d50b51ac31dc48b7759a3e0665d1