[INFO] cloning repository https://github.com/cthompson527/dot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cthompson527/dot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcthompson527%2Fdot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcthompson527%2Fdot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d017fcc59b519da3c841df79010bfe3c09c1d158
[INFO] testing cthompson527/dot against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcthompson527%2Fdot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cthompson527/dot
[INFO] finished tweaking git repo https://github.com/cthompson527/dot
[INFO] tweaked toml for git repo https://github.com/cthompson527/dot written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cthompson527/dot on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cthompson527/dot 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58
[INFO] running `Command { std: "docker" "start" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]    Compiling clap v4.5.4
[INFO] [stderr]    Compiling dot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.13s
[INFO] running `Command { std: "docker" "inspect" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling pretty_assertions v1.4.0
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling dot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.83s
[INFO] running `Command { std: "docker" "inspect" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib/lib.rs (/opt/rustwide/target/debug/deps/dot-faf76de11288a763)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test path::tests::test_add_file_will_error_if_path_is_not_absolute ... ok
[INFO] [stdout] test git::tests::test_dotfiles_dir_when_home_env_var_is_set ... ok
[INFO] [stdout] test path::tests::test_add_file_will_move_into_dotfiles_and_create_symlink ... ok
[INFO] [stdout] test path::tests::test_resolve_path_will_resolve_home_and_root_in_paths ... ok
[INFO] [stdout] test path::tests::test_create_symlinks_will_create_symlinks_where_required ... FAILED
[INFO] [stdout] test path::tests::test_walkdir_walks_through_all_the_files ... ok
[INFO] [stdout] test git::tests::test_dotfiles_dir_when_home_env_var_is_not_set ... ok
[INFO] [stdout] test path::tests::test_create_symlinks_will_error_if_current_symlink_is_wrong ... FAILED
[INFO] [stdout] test path::tests::test_throws_error_if_a_file_already_exists ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- path::tests::test_create_symlinks_will_create_symlinks_where_required stdout ----
[INFO] [stdout] Making link /tmp/.tmpJ2kmCC/error_if_file_already_exists/home/.config/fish/config.fish -> /tmp/.tmpJ2kmCC/error_if_file_already_exists/home/dotfiles/HOME/.config/fish/config.fish
[INFO] [stdout] Error: Custom { kind: AlreadyExists, error: "/tmp/.tmpJ2kmCC/error_if_file_already_exists/home/.gitconfig already exists" }
[INFO] [stdout] 
[INFO] [stdout] ---- path::tests::test_create_symlinks_will_error_if_current_symlink_is_wrong stdout ----
[INFO] [stdout] Making link /tmp/.tmpDToi5A/error_if_current_symlink_is_wrong/home/.config/fish/config.fish -> /tmp/.tmpDToi5A/error_if_current_symlink_is_wrong/home/dotfiles/HOME/.config/fish/config.fish
[INFO] [stdout] Making link /home/apollo/.gitconfig -> /home/apollo/dotfiles/HOME/.gitconfig
[INFO] [stdout] Error: Custom { kind: Other, error: "Expected to throw error since .gitconfig points to wrong location" }
[INFO] [stdout] 
[INFO] [stdout] ---- path::tests::test_throws_error_if_a_file_already_exists stdout ----
[INFO] [stdout] Making link /home/apollo/.config/fish/config.fish -> /home/apollo/dotfiles/HOME/.config/fish/config.fish
[INFO] [stdout] Making link /.gitconfig -> /dotfiles/HOME/.gitconfig
[INFO] [stdout] Error: Custom { kind: Other, error: "Expected to throw error since .gitconfig should already exist" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     path::tests::test_create_symlinks_will_create_symlinks_where_required
[INFO] [stdout]     path::tests::test_create_symlinks_will_error_if_current_symlink_is_wrong
[INFO] [stdout]     path::tests::test_throws_error_if_a_file_already_exists
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58", kill_on_drop: false }`
[INFO] [stdout] e283035968a09192de76c8912caa6da3285c6336e576985bdfcbf2eb75f57c58
