[INFO] cloning repository https://github.com/zoni/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/zoni/obsidian-export" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoni%2Fobsidian-export", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoni%2Fobsidian-export'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80130260e905909eb660bf7533528f8953e7b6ec [INFO] checking zoni/obsidian-export against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoni%2Fobsidian-export" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zoni/obsidian-export on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zoni/obsidian-export [INFO] finished tweaking git repo https://github.com/zoni/obsidian-export [INFO] tweaked toml for git repo https://github.com/zoni/obsidian-export written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zoni/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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acba732b6e34c2563133ef10f6a9f7a254b8e76be27b1447bae20361616b4682 [INFO] running `Command { std: "docker" "start" "-a" "acba732b6e34c2563133ef10f6a9f7a254b8e76be27b1447bae20361616b4682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acba732b6e34c2563133ef10f6a9f7a254b8e76be27b1447bae20361616b4682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acba732b6e34c2563133ef10f6a9f7a254b8e76be27b1447bae20361616b4682", kill_on_drop: false }` [INFO] [stdout] acba732b6e34c2563133ef10f6a9f7a254b8e76be27b1447bae20361616b4682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1becc127803c4b1bc0b03f4f63fdd8432427117cc4355e42d48d573ec6f5586 [INFO] running `Command { std: "docker" "start" "-a" "b1becc127803c4b1bc0b03f4f63fdd8432427117cc4355e42d48d573ec6f5586", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [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 bstr v0.2.17 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rstest_macros v0.16.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.4 [INFO] [stderr] Checking rayon v1.6.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking pretty_assertions v1.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] 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 serde_yaml v0.9.14 [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.16.0 [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | |____________________^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | |____________________^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | |____________________^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | |____________________^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | |________________^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `obsidian-export` (test "postprocessors_test") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `obsidian-export` (test "export_test") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "b1becc127803c4b1bc0b03f4f63fdd8432427117cc4355e42d48d573ec6f5586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1becc127803c4b1bc0b03f4f63fdd8432427117cc4355e42d48d573ec6f5586", kill_on_drop: false }` [INFO] [stdout] b1becc127803c4b1bc0b03f4f63fdd8432427117cc4355e42d48d573ec6f5586