[INFO] cloning repository https://github.com/nastymagnus/obsidian-export
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nastymagnus/obsidian-export" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastymagnus%2Fobsidian-export", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastymagnus%2Fobsidian-export'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed4a568041a94118547ac148f16c459ed8db4b1d
[INFO] checking nastymagnus/obsidian-export against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastymagnus%2Fobsidian-export" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nastymagnus/obsidian-export
[INFO] finished tweaking git repo https://github.com/nastymagnus/obsidian-export
[INFO] tweaked toml for git repo https://github.com/nastymagnus/obsidian-export written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nastymagnus/obsidian-export on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nastymagnus/obsidian-export 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cee7d56c7b0c792b20b1aabbe2f74c0f21e466b0e297346f5c0d8f6c1bb4e2e9
[INFO] running `Command { std: "docker" "start" "-a" "cee7d56c7b0c792b20b1aabbe2f74c0f21e466b0e297346f5c0d8f6c1bb4e2e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cee7d56c7b0c792b20b1aabbe2f74c0f21e466b0e297346f5c0d8f6c1bb4e2e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cee7d56c7b0c792b20b1aabbe2f74c0f21e466b0e297346f5c0d8f6c1bb4e2e9", kill_on_drop: false }`
[INFO] [stdout] cee7d56c7b0c792b20b1aabbe2f74c0f21e466b0e297346f5c0d8f6c1bb4e2e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98c0d65f30753d99ff958461137b29b74d1ca4a40176ea44d3139a1616a95c33
[INFO] running `Command { std: "docker" "start" "-a" "98c0d65f30753d99ff958461137b29b74d1ca4a40176ea44d3139a1616a95c33", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling pulldown-cmark v0.9.0
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling eyre v0.6.5
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking rayon-core v1.9.1
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking deunicode v0.4.3
[INFO] [stderr]     Checking slug v0.1.4
[INFO] [stderr]     Checking pathdiff v0.2.1
[INFO] [stderr]     Checking fastrand v1.6.0
[INFO] [stderr]     Checking diff v0.1.12
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking pretty_assertions v1.0.0
[INFO] [stderr]     Checking pulldown-cmark-to-cmark v9.0.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking globset v0.4.8
[INFO] [stderr]     Checking matter v0.1.0-alpha4
[INFO] [stderr]     Checking ignore v0.4.18
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling gumdrop_derive v0.8.0
[INFO] [stderr]     Checking serde_yaml v0.8.23
[INFO] [stderr]     Checking snafu v0.6.10
[INFO] [stderr]     Checking gumdrop v0.8.0
[INFO] [stderr]     Checking obsidian-export v22.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:763:37
[INFO] [stdout]     |
[INFO] [stdout] 763 | fn infer_note_title_from_path(path: &Path) -> CowStr {
[INFO] [stdout]     |                                     ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 763 | fn infer_note_title_from_path(path: &Path) -> CowStr<'_> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/references.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn from_str(text: &str) -> ObsidianNoteReference {
[INFO] [stdout]    |                           ^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn from_str(text: &str) -> ObsidianNoteReference<'_> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:763:37
[INFO] [stdout]     |
[INFO] [stdout] 763 | fn infer_note_title_from_path(path: &Path) -> CowStr {
[INFO] [stdout]     |                                     ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 763 | fn infer_note_title_from_path(path: &Path) -> CowStr<'_> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/references.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn from_str(text: &str) -> ObsidianNoteReference {
[INFO] [stdout]    |                           ^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn from_str(text: &str) -> ObsidianNoteReference<'_> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]  --> src/main.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Options)]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout]   = note: this error originates in the derive macro `Options` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]  --> src/main.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Options)]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `Options` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `obsidian-export` (bin "obsidian-export") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/postprocessors_test.rs:45:47
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[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] 45 -     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout] 45 +     let actual = read_to_string(tmp_dir.path().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/postprocessors_test.rs:67:35
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let note_path = tmp_dir.path().clone().join(PathBuf::from("Note.md"));
[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] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 67 -     let note_path = tmp_dir.path().clone().join(PathBuf::from("Note.md"));
[INFO] [stdout] 67 +     let note_path = tmp_dir.path().join(PathBuf::from("Note.md"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/postprocessors_test.rs:87:44
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let original_note_path = tmp_dir.path().clone().join(PathBuf::from("Note.md"));
[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] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 87 -     let original_note_path = tmp_dir.path().clone().join(PathBuf::from("Note.md"));
[INFO] [stdout] 87 +     let original_note_path = tmp_dir.path().join(PathBuf::from("Note.md"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/postprocessors_test.rs:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let new_note_path = tmp_dir.path().clone().join(PathBuf::from("MovedNote.md"));
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 103 -     let new_note_path = tmp_dir.path().clone().join(PathBuf::from("MovedNote.md"));
[INFO] [stdout] 103 +     let new_note_path = tmp_dir.path().join(PathBuf::from("MovedNote.md"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/postprocessors_test.rs:127:47
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 127 -     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout] 127 +     let actual = read_to_string(tmp_dir.path().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/postprocessors_test.rs:147:47
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout] 147 +     let actual = read_to_string(tmp_dir.path().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/postprocessors_test.rs:215:20
[INFO] [stdout]     |
[INFO] [stdout] 215 |               .path()
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 216 | |             .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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 215 -             .path()
[INFO] [stdout] 216 -             .clone()
[INFO] [stdout] 215 +             .path()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]  --> src/main.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Options)]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout]   = note: this error originates in the derive macro `Options` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]  --> src/main.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Options)]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `Options` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/export_test.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))).expect(
[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] 38 -         let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))).expect(
[INFO] [stdout] 38 +         let actual = read_to_string(tmp_dir.path().join(PathBuf::from(&filename))).expect(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/export_test.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |               .path()
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 64 | |             .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] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 63 -             .path()
[INFO] [stdout] 64 -             .clone()
[INFO] [stdout] 63 +             .path()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/export_test.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |               .path()
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 87 | |             .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] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 86 -             .path()
[INFO] [stdout] 87 -             .clone()
[INFO] [stdout] 86 +             .path()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/export_test.rs:97:20
[INFO] [stdout]    |
[INFO] [stdout] 97 |               .path()
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 98 | |             .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] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 97 -             .path()
[INFO] [stdout] 98 -             .clone()
[INFO] [stdout] 97 +             .path()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:117:16
[INFO] [stdout]     |
[INFO] [stdout] 117 |           .path()
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 118 | |         .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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 117 -         .path()
[INFO] [stdout] 118 -         .clone()
[INFO] [stdout] 117 +         .path()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:138:38
[INFO] [stdout]     |
[INFO] [stdout] 138 |         read_to_string(tmp_dir.path().clone().join(PathBuf::from("note.md"))).unwrap(),
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 138 -         read_to_string(tmp_dir.path().clone().join(PathBuf::from("note.md"))).unwrap(),
[INFO] [stdout] 138 +         read_to_string(tmp_dir.path().join(PathBuf::from("note.md"))).unwrap(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:145:30
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let dest = tmp_dir.path().clone().join(PathBuf::from("export.md"));
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 145 -     let dest = tmp_dir.path().clone().join(PathBuf::from("export.md"));
[INFO] [stdout] 145 +     let dest = tmp_dir.path().join(PathBuf::from("export.md"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:180:38
[INFO] [stdout]     |
[INFO] [stdout] 180 |         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note B.md"))).unwrap(),
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 180 -         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note B.md"))).unwrap(),
[INFO] [stdout] 180 +         read_to_string(tmp_dir.path().join(PathBuf::from("Note B.md"))).unwrap(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:206:38
[INFO] [stdout]     |
[INFO] [stdout] 206 |         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note B.md"))).unwrap(),
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 206 -         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note B.md"))).unwrap(),
[INFO] [stdout] 206 +         read_to_string(tmp_dir.path().join(PathBuf::from("Note B.md"))).unwrap(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:213:30
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let dest = tmp_dir.path().clone().join(PathBuf::from("note.md"));
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 213 -     let dest = tmp_dir.path().clone().join(PathBuf::from("note.md"));
[INFO] [stdout] 213 +     let dest = tmp_dir.path().join(PathBuf::from("note.md"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:362:38
[INFO] [stdout]     |
[INFO] [stdout] 362 |         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note A.md"))).unwrap(),
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 362 -         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note A.md"))).unwrap(),
[INFO] [stdout] 362 +         read_to_string(tmp_dir.path().join(PathBuf::from("Note A.md"))).unwrap(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:381:38
[INFO] [stdout]     |
[INFO] [stdout] 381 |         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Main note.md"))).unwrap(),
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 381 -         read_to_string(tmp_dir.path().clone().join(PathBuf::from("Main note.md"))).unwrap(),
[INFO] [stdout] 381 +         read_to_string(tmp_dir.path().join(PathBuf::from("Main note.md"))).unwrap(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:411:51
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))).expect(
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 411 -         let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))).expect(
[INFO] [stdout] 411 +         let actual = read_to_string(tmp_dir.path().join(PathBuf::from(&filename))).expect(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/export_test.rs:442:47
[INFO] [stdout]     |
[INFO] [stdout] 442 |     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 442 -     let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout] 442 +     let actual = read_to_string(tmp_dir.path().join(PathBuf::from("Note.md"))).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `obsidian-export` (bin "obsidian-export" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "98c0d65f30753d99ff958461137b29b74d1ca4a40176ea44d3139a1616a95c33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98c0d65f30753d99ff958461137b29b74d1ca4a40176ea44d3139a1616a95c33", kill_on_drop: false }`
[INFO] [stdout] 98c0d65f30753d99ff958461137b29b74d1ca4a40176ea44d3139a1616a95c33
