[INFO] fetching crate rename_imports 0.1.1...
[INFO] testing rename_imports-0.1.1 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate rename_imports 0.1.1 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate rename_imports 0.1.1
[INFO] finished tweaking crates.io crate rename_imports 0.1.1
[INFO] tweaked toml for crates.io crate rename_imports 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rename_imports 0.1.1 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate rename_imports 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded globset v0.4.10
[INFO] [stderr]   Downloaded ignore v0.4.20
[INFO] [stderr]   Downloaded is-terminal v0.4.2
[INFO] [stderr]   Downloaded io-lifetimes v1.0.4
[INFO] [stderr]   Downloaded clap_derive v4.1.0
[INFO] [stderr]   Downloaded cc v1.0.78
[INFO] [stderr]   Downloaded clap v4.1.1
[INFO] [stderr]   Downloaded rustix v0.36.6
[INFO] running `"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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5
[INFO] running `"docker" "start" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5"`
[INFO] running `"docker" "inspect" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5"`
[INFO] running `"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" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5"`
[INFO] running `"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" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling io-lifetimes v1.0.4
[INFO] [stderr]    Compiling rustix v0.36.6
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling os_str_bytes v6.4.1
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling bstr v1.2.0
[INFO] [stderr]    Compiling pathdiff v0.2.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling clap_lex v0.3.1
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling is-terminal v0.4.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v4.1.0
[INFO] [stderr]    Compiling globset v0.4.10
[INFO] [stderr]    Compiling ignore v0.4.20
[INFO] [stderr]    Compiling clap v4.1.1
[INFO] [stderr]    Compiling rename_imports v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:141:71
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stdout]     |                                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 141 -     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stdout] 141 +     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 25.06s
[INFO] running `"docker" "inspect" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5"`
[INFO] running `"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" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:141:71
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stdout]     |                                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 141 -     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stdout] 141 +     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling rename_imports v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:141:71
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stdout]     |                                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 141 -     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stdout] 141 +     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.80s
[INFO] running `"docker" "inspect" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5"`
[INFO] running `"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" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/lib.rs:141:71
[INFO] [stderr]     |
[INFO] [stderr] 141 |     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stderr]     |                                                                       ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 141 -     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath.clone())?;
[INFO] [stderr] 141 +     let original_path_diff = pathdiff::diff_paths(src.clone(), dirpath)?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `rename_imports` (lib) generated 1 warning (run `cargo fix --lib -p rename_imports` to apply 1 suggestion)
[INFO] [stderr] warning: `rename_imports` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/rename_imports/01da678985147222/out/rename_imports-01da678985147222)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::given_no_dot_slash_then_add_it ... ok
[INFO] [stdout] test tests::then_surround_in_double_quotes ... ok
[INFO] [stdout] test tests::then_remove_extension ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/rename_imports/fb006fec8a295d81/out/rename_imports-fb006fec8a295d81)
[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] [stderr]      Running tests/integration_tests.rs (/opt/rustwide/target/release/build/rename_imports/0ce604cb81effd68/out/integration_tests-0ce604cb81effd68)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test test_given_no_project_dir_then_use_current_dir ... ok
[INFO] [stdout] test test_given_typescript_files_then_renamed_file_imports_are_adjusted ... ok
[INFO] [stdout] test test_given_file_not_renamed_then_rename ... ok
[INFO] [stdout] test test_given_file_renaming_fails_then_panic ... ok
[INFO] [stdout] test test_given_typescript_files_then_other_files_imports_are_adjusted ... ok
[INFO] [stdout] test test_given_file_already_renamed_then_does_not_rename ... ok
[INFO] [stdout] test test_use_git_ignore ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_use_git_ignore stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_use_git_ignore' (862) panicked at tests/common/mod.rs:22:14:
[INFO] [stdout] Couldn't copy test data.: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6045e3fa6241 - <<std[f3a103f8b3fbc6]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x6045e3fbb7ca - core[a2c1a7cd948629ec]::fmt::write
[INFO] [stdout]    2:     0x6045e3faa7fc - <alloc[9de6908353064a78]::vec::Vec<u8> as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x6045e3f7efe6 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x6045e3f9c789 - std[f3a103f8b3fbc6]::panicking::default_hook
[INFO] [stdout]    5:     0x6045e3f349f0 - test[4d2796dde4b18a79]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x6045e3f9c942 - std[f3a103f8b3fbc6]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x6045e3f7f092 - std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x6045e3f78399 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace::<std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x6045e3f7fd8d - __rustc[72b30b8c63551d82]::rust_begin_unwind
[INFO] [stdout]   10:     0x6045e3fbbf2c - core[a2c1a7cd948629ec]::panicking::panic_fmt
[INFO] [stdout]   11:     0x6045e3fbbd02 - core[a2c1a7cd948629ec]::result::unwrap_failed
[INFO] [stdout]   12:     0x6045e3e6db7d - <integration_tests[b1ff6cd3a6fbc0be]::test_use_git_ignore::{closure#0} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x6045e3f27e3b - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::<core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>>
[INFO] [stdout]   14:     0x6045e3f35015 - test[4d2796dde4b18a79]::run_test::{closure#0}
[INFO] [stdout]   15:     0x6045e3f2e404 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace::<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x6045e3f380a2 - <std[f3a103f8b3fbc6]::thread::lifecycle::spawn_unchecked<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x6045e3fa546f - <std[f3a103f8b3fbc6]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x7f3a290c7dfa - <unknown>
[INFO] [stdout]   19:     0x7f3a2915b3d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_use_git_ignore
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test integration_tests`
[INFO] running `"docker" "inspect" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5"`
[INFO] running `"docker" "rm" "-f" "004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5"`
[INFO] [stdout] 004260c8ecd3684f519fe16b332564f9b5d462f4571795276961b806003a06c5
