[INFO] cloning repository https://github.com/kaz/ruki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaz/ruki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaz%2Fruki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaz%2Fruki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00a9cffd2b885a068e823a7d6eaae3ff362e3dae [INFO] checking kaz/ruki against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaz%2Fruki" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaz/ruki on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaz/ruki [INFO] finished tweaking git repo https://github.com/kaz/ruki [INFO] tweaked toml for git repo https://github.com/kaz/ruki written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kaz/ruki 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ignore v0.4.15 [INFO] [stderr] Downloaded globwalk v0.8.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.7 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded parse-zoneinfo v0.2.1 [INFO] [stderr] Downloaded pulldown-cmark v0.7.1 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded tera v1.3.0 [INFO] [stderr] Downloaded chrono-tz v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae533a870e6f2dc83f01be2c9f55534353b595df55c4c20f02a4a10802ca4528 [INFO] running `Command { std: "docker" "start" "-a" "ae533a870e6f2dc83f01be2c9f55534353b595df55c4c20f02a4a10802ca4528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae533a870e6f2dc83f01be2c9f55534353b595df55c4c20f02a4a10802ca4528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae533a870e6f2dc83f01be2c9f55534353b595df55c4c20f02a4a10802ca4528", kill_on_drop: false }` [INFO] [stdout] ae533a870e6f2dc83f01be2c9f55534353b595df55c4c20f02a4a10802ca4528 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df3c4d78ddc72a0f3d647e46650e82e4f392fbd2ab09787837b7c71e96860a20 [INFO] running `Command { std: "docker" "start" "-a" "df3c4d78ddc72a0f3d647e46650e82e4f392fbd2ab09787837b7c71e96860a20", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking ppv-lite86 v0.2.7 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling pulldown-cmark v0.7.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking ignore v0.4.15 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking tera v1.3.0 [INFO] [stderr] Checking ruki v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_page` and `put_revision` are never used [INFO] [stdout] --> src/book/prototype.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Book { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 4 | fn get_page(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn put_revision(&self, path: &str, content: &str) -> Result<(Page, Revision)>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/book/prototype.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | self.get_all_revisions(path.clone())? [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_page` and `put_revision` are never used [INFO] [stdout] --> src/book/prototype.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Book { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 4 | fn get_page(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn put_revision(&self, path: &str, content: &str) -> Result<(Page, Revision)>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/book/prototype.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | self.get_all_revisions(path.clone())? [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.04s [INFO] running `Command { std: "docker" "inspect" "df3c4d78ddc72a0f3d647e46650e82e4f392fbd2ab09787837b7c71e96860a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3c4d78ddc72a0f3d647e46650e82e4f392fbd2ab09787837b7c71e96860a20", kill_on_drop: false }` [INFO] [stdout] df3c4d78ddc72a0f3d647e46650e82e4f392fbd2ab09787837b7c71e96860a20 [INFO] checking kaz/ruki against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaz%2Fruki" "/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/kaz/ruki on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaz/ruki [INFO] finished tweaking git repo https://github.com/kaz/ruki [INFO] tweaked toml for git repo https://github.com/kaz/ruki written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kaz/ruki 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c26e2be86ac45c89d099173843373a491d514cef406e37798cfad7758e664c56 [INFO] running `Command { std: "docker" "start" "-a" "c26e2be86ac45c89d099173843373a491d514cef406e37798cfad7758e664c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c26e2be86ac45c89d099173843373a491d514cef406e37798cfad7758e664c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26e2be86ac45c89d099173843373a491d514cef406e37798cfad7758e664c56", kill_on_drop: false }` [INFO] [stdout] c26e2be86ac45c89d099173843373a491d514cef406e37798cfad7758e664c56 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd68235b4308b4d3deb0713fb7adab21bb910165972d522909897155901b55f5 [INFO] running `Command { std: "docker" "start" "-a" "bd68235b4308b4d3deb0713fb7adab21bb910165972d522909897155901b55f5", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking ppv-lite86 v0.2.7 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling pulldown-cmark v0.7.1 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking ignore v0.4.15 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking tera v1.3.0 [INFO] [stderr] Checking ruki v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_page` and `put_revision` are never used [INFO] [stdout] --> src/book/prototype.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Book { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 4 | fn get_page(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn put_revision(&self, path: &str, content: &str) -> Result<(Page, Revision)>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/book/prototype.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | self.get_all_revisions(path.clone())? [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_page` and `put_revision` are never used [INFO] [stdout] --> src/book/prototype.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Book { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 4 | fn get_page(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn put_revision(&self, path: &str, content: &str) -> Result<(Page, Revision)>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/book/prototype.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | self.get_all_revisions(path.clone())? [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.56s [INFO] running `Command { std: "docker" "inspect" "bd68235b4308b4d3deb0713fb7adab21bb910165972d522909897155901b55f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd68235b4308b4d3deb0713fb7adab21bb910165972d522909897155901b55f5", kill_on_drop: false }` [INFO] [stdout] bd68235b4308b4d3deb0713fb7adab21bb910165972d522909897155901b55f5