[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 master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastymagnus%2Fobsidian-export" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nastymagnus/obsidian-export on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.14
[INFO] [stderr]   Downloaded proc-macro2 v1.0.36
[INFO] [stderr]   Downloaded snafu v0.6.10
[INFO] [stderr]   Downloaded gumdrop_derive v0.8.0
[INFO] [stderr]   Downloaded serde v1.0.132
[INFO] [stderr]   Downloaded gumdrop v0.8.0
[INFO] [stderr]   Downloaded once_cell v1.9.0
[INFO] [stderr]   Downloaded serde_yaml v0.8.23
[INFO] [stderr]   Downloaded snafu-derive v0.6.10
[INFO] [stderr]   Downloaded fastrand v1.6.0
[INFO] [stderr]   Downloaded matter v0.1.0-alpha4
[INFO] [stderr]   Downloaded pathdiff v0.2.1
[INFO] [stderr]   Downloaded syn v1.0.84
[INFO] [stderr]   Downloaded ctor v0.1.21
[INFO] [stderr]   Downloaded output_vt100 v0.1.2
[INFO] [stderr]   Downloaded pulldown-cmark-to-cmark v9.0.0
[INFO] [stderr]   Downloaded memoffset v0.6.5
[INFO] [stderr]   Downloaded pretty_assertions v1.0.0
[INFO] [stderr]   Downloaded libc v0.2.112
[INFO] [stderr]   Downloaded pulldown-cmark v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e0c9da34de89c984e75e7e78c78a794cb07d6479e39f96723e6580d07635f046
[INFO] running `Command { std: "docker" "start" "-a" "e0c9da34de89c984e75e7e78c78a794cb07d6479e39f96723e6580d07635f046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0c9da34de89c984e75e7e78c78a794cb07d6479e39f96723e6580d07635f046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0c9da34de89c984e75e7e78c78a794cb07d6479e39f96723e6580d07635f046", kill_on_drop: false }`
[INFO] [stdout] e0c9da34de89c984e75e7e78c78a794cb07d6479e39f96723e6580d07635f046
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba954d590cc2a213e3751a2ad818281e2568564c4035f2c210784fc38b037463
[INFO] running `Command { std: "docker" "start" "-a" "ba954d590cc2a213e3751a2ad818281e2568564c4035f2c210784fc38b037463", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[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 unicode-width v0.1.9
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling eyre v0.6.5
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking deunicode v0.4.3
[INFO] [stderr]     Checking pathdiff v0.2.1
[INFO] [stderr]     Checking diff v0.1.12
[INFO] [stderr]     Checking fastrand v1.6.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking slug v0.1.4
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking pretty_assertions v1.0.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking globset v0.4.8
[INFO] [stderr]     Checking matter v0.1.0-alpha4
[INFO] [stderr]     Checking ignore v0.4.18
[INFO] [stderr]     Checking pulldown-cmark-to-cmark v9.0.0
[INFO] [stderr]     Checking serde_yaml v0.8.23
[INFO] [stderr]    Compiling gumdrop_derive v0.8.0
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]     Checking gumdrop v0.8.0
[INFO] [stderr]     Checking snafu v0.6.10
[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] 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] 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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.95s
[INFO] running `Command { std: "docker" "inspect" "ba954d590cc2a213e3751a2ad818281e2568564c4035f2c210784fc38b037463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba954d590cc2a213e3751a2ad818281e2568564c4035f2c210784fc38b037463", kill_on_drop: false }`
[INFO] [stdout] ba954d590cc2a213e3751a2ad818281e2568564c4035f2c210784fc38b037463
