[INFO] fetching crate obsidian-export 22.11.0... [INFO] checking obsidian-export-22.11.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate obsidian-export 22.11.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate obsidian-export 22.11.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate obsidian-export 22.11.0 [INFO] finished tweaking crates.io crate obsidian-export 22.11.0 [INFO] tweaked toml for crates.io crate obsidian-export 22.11.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate obsidian-export 22.11.0 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastrand v1.6.0 [INFO] [stderr] Downloaded serde_yaml v0.9.14 [INFO] [stderr] Downloaded itoa v1.0.4 [INFO] [stderr] Downloaded snafu-derive v0.7.3 [INFO] [stderr] Downloaded matter v0.1.0-alpha4 [INFO] [stderr] Downloaded pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Downloaded futures-sink v0.3.25 [INFO] [stderr] Downloaded futures v0.3.25 [INFO] [stderr] Downloaded gumdrop v0.8.1 [INFO] [stderr] Downloaded gumdrop_derive v0.8.1 [INFO] [stderr] Downloaded regex v1.7.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.12 [INFO] [stderr] Downloaded futures-channel v0.3.25 [INFO] [stderr] Downloaded futures-util v0.3.25 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.4 [INFO] [stderr] Downloaded snafu v0.7.3 [INFO] [stderr] Downloaded futures-executor v0.3.25 [INFO] [stderr] Downloaded futures-core v0.3.25 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded futures-macro v0.3.25 [INFO] [stderr] Downloaded futures-task v0.3.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78a2fd8141cb868bc2b724b75678d6e0f753a0129f9f0579de883306cc8ff0f5 [INFO] running `Command { std: "docker" "start" "-a" "78a2fd8141cb868bc2b724b75678d6e0f753a0129f9f0579de883306cc8ff0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78a2fd8141cb868bc2b724b75678d6e0f753a0129f9f0579de883306cc8ff0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a2fd8141cb868bc2b724b75678d6e0f753a0129f9f0579de883306cc8ff0f5", kill_on_drop: false }` [INFO] [stdout] 78a2fd8141cb868bc2b724b75678d6e0f753a0129f9f0579de883306cc8ff0f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65725110bbaf28050eb219c4d76c87de5f83caa1e09c61b397b316d56e571d8b [INFO] running `Command { std: "docker" "start" "-a" "65725110bbaf28050eb219c4d76c87de5f83caa1e09c61b397b316d56e571d8b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking unsafe-libyaml v0.2.4 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling rstest_macros v0.14.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Checking regex v1.7.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 serde_yaml v0.9.14 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling snafu-derive v0.7.3 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Checking gumdrop v0.8.1 [INFO] [stderr] Checking snafu v0.7.3 [INFO] [stderr] Checking obsidian-export v22.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking rstest v0.15.0 [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:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))) [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] 40 - let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))) [INFO] [stdout] 40 + let actual = read_to_string(tmp_dir.path().join(PathBuf::from(&filename))) [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:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | .path() [INFO] [stdout] | ____________________^ [INFO] [stdout] 65 | | .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] 64 - .path() [INFO] [stdout] 65 - .clone() [INFO] [stdout] 64 + .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:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | .path() [INFO] [stdout] | ____________________^ [INFO] [stdout] 88 | | .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] 87 - .path() [INFO] [stdout] 88 - .clone() [INFO] [stdout] 87 + .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:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | .path() [INFO] [stdout] | ____________________^ [INFO] [stdout] 99 | | .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] 98 - .path() [INFO] [stdout] 99 - .clone() [INFO] [stdout] 98 + .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:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | .path() [INFO] [stdout] | ________________^ [INFO] [stdout] 119 | | .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] 118 - .path() [INFO] [stdout] 119 - .clone() [INFO] [stdout] 118 + .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:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | 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] 139 - read_to_string(tmp_dir.path().clone().join(PathBuf::from("note.md"))).unwrap(), [INFO] [stdout] 139 + 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:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 146 - let dest = tmp_dir.path().clone().join(PathBuf::from("export.md")); [INFO] [stdout] 146 + 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:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | 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] 181 - read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note B.md"))).unwrap(), [INFO] [stdout] 181 + 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:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 207 - read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note B.md"))).unwrap(), [INFO] [stdout] 207 + 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:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | 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] 214 - let dest = tmp_dir.path().clone().join(PathBuf::from("note.md")); [INFO] [stdout] 214 + 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:363:38 [INFO] [stdout] | [INFO] [stdout] 363 | 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] 363 - read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note A.md"))).unwrap(), [INFO] [stdout] 363 + 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:395:51 [INFO] [stdout] | [INFO] [stdout] 395 | let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))) [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] 395 - let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from(&filename))) [INFO] [stdout] 395 + let actual = read_to_string(tmp_dir.path().join(PathBuf::from(&filename))) [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:425:47 [INFO] [stdout] | [INFO] [stdout] 425 | 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] 425 - let actual = read_to_string(tmp_dir.path().clone().join(PathBuf::from("Note.md"))).unwrap(); [INFO] [stdout] 425 + let actual = read_to_string(tmp_dir.path().join(PathBuf::from("Note.md"))).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.36s [INFO] running `Command { std: "docker" "inspect" "65725110bbaf28050eb219c4d76c87de5f83caa1e09c61b397b316d56e571d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65725110bbaf28050eb219c4d76c87de5f83caa1e09c61b397b316d56e571d8b", kill_on_drop: false }` [INFO] [stdout] 65725110bbaf28050eb219c4d76c87de5f83caa1e09c61b397b316d56e571d8b