[INFO] cloning repository https://github.com/tfachmann/vimwiki-markdown-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tfachmann/vimwiki-markdown-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfachmann%2Fvimwiki-markdown-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfachmann%2Fvimwiki-markdown-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4009bb3915cab6274f3f399f01c26532d6b796f [INFO] checking tfachmann/vimwiki-markdown-rs against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfachmann%2Fvimwiki-markdown-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tfachmann/vimwiki-markdown-rs [INFO] finished tweaking git repo https://github.com/tfachmann/vimwiki-markdown-rs [INFO] tweaked toml for git repo https://github.com/tfachmann/vimwiki-markdown-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tfachmann/vimwiki-markdown-rs on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tfachmann/vimwiki-markdown-rs 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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding anyhow v1.0.98 [INFO] [stderr] Adding bitflags v2.9.1 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding cfg-if v1.0.1 [INFO] [stderr] Adding convert_case v0.4.0 [INFO] [stderr] Adding cssparser v0.27.2 [INFO] [stderr] Adding cssparser-macros v0.6.1 [INFO] [stderr] Adding derive_more v0.99.20 [INFO] [stderr] Adding dtoa v1.0.10 [INFO] [stderr] Adding dtoa-short v0.3.5 [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding futf v0.1.5 [INFO] [stderr] Adding fxhash v0.2.1 [INFO] [stderr] Adding html5ever v0.25.2 [INFO] [stderr] Adding humantime v1.3.0 [INFO] [stderr] Adding itoa v0.4.8 [INFO] [stderr] Adding kuchiki v0.8.1 [INFO] [stderr] Updating libc v0.2.69 -> v0.2.174 [INFO] [stderr] Adding lock_api v0.4.6 (available: v0.4.13) [INFO] [stderr] Adding log v0.4.27 [INFO] [stderr] Adding mac v0.1.1 [INFO] [stderr] Adding markup5ever v0.10.1 [INFO] [stderr] Adding matches v0.1.10 [INFO] [stderr] Adding new_debug_unreachable v1.0.6 [INFO] [stderr] Adding nodrop v0.1.14 [INFO] [stderr] Adding parking_lot v0.12.3 (available: v0.12.4) [INFO] [stderr] Adding parking_lot_core v0.9.11 [INFO] [stderr] Adding phf v0.8.0 [INFO] [stderr] Adding phf_codegen v0.8.0 [INFO] [stderr] Adding phf_generator v0.8.0 [INFO] [stderr] Adding phf_generator v0.11.3 [INFO] [stderr] Adding phf_macros v0.8.0 [INFO] [stderr] Adding phf_shared v0.8.0 [INFO] [stderr] Adding phf_shared v0.11.3 [INFO] [stderr] Adding ppv-lite86 v0.2.21 [INFO] [stderr] Adding precomputed-hash v0.1.1 [INFO] [stderr] Adding proc-macro-error v1.0.4 [INFO] [stderr] Adding proc-macro-error-attr v1.0.4 [INFO] [stderr] Adding proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Updating proc-macro2 v1.0.10 -> v1.0.95 [INFO] [stderr] Adding quick-error v1.2.3 [INFO] [stderr] Updating quote v1.0.3 -> v1.0.40 [INFO] [stderr] Adding rand v0.7.3 [INFO] [stderr] Adding rand v0.8.5 [INFO] [stderr] Adding rand_chacha v0.2.2 [INFO] [stderr] Adding rand_core v0.5.1 [INFO] [stderr] Adding rand_core v0.6.4 [INFO] [stderr] Adding rand_hc v0.2.0 [INFO] [stderr] Adding rand_pcg v0.2.1 [INFO] [stderr] Adding redox_syscall v0.5.13 [INFO] [stderr] Adding rustc_version v0.4.1 [INFO] [stderr] Adding scopeguard v1.2.0 [INFO] [stderr] Adding selectors v0.22.0 [INFO] [stderr] Adding semver v1.0.26 [INFO] [stderr] Adding servo_arc v0.1.1 [INFO] [stderr] Adding siphasher v0.3.11 [INFO] [stderr] Adding siphasher v1.0.1 [INFO] [stderr] Adding smallvec v1.15.1 [INFO] [stderr] Adding stable_deref_trait v1.2.0 [INFO] [stderr] Adding string_cache v0.8.9 [INFO] [stderr] Adding string_cache_codegen v0.5.4 [INFO] [stderr] Adding structopt v0.3.26 [INFO] [stderr] Adding structopt-derive v0.4.18 [INFO] [stderr] Adding syn v2.0.104 [INFO] [stderr] Adding tendril v0.4.3 [INFO] [stderr] Adding termcolor v1.4.1 [INFO] [stderr] Adding thin-slice v0.1.1 [INFO] [stderr] Adding unicode-ident v1.0.18 [INFO] [stderr] Adding utf-8 v0.7.6 [INFO] [stderr] Adding winapi-util v0.1.9 [INFO] [stderr] Adding windows-sys v0.59.0 [INFO] [stderr] Adding windows-targets v0.52.6 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.6 [INFO] [stderr] Adding windows_i686_gnu v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Adding windows_i686_msvc v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.6 [INFO] [stderr] Adding zerocopy v0.8.26 [INFO] [stderr] Adding zerocopy-derive v0.8.26 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathdiff v0.2.0 [INFO] [stderr] Downloaded convert_case v0.2.0 [INFO] [stderr] Downloaded pulldown-cmark v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e202e22950fe35b4a9f57e2f25cfcba8bbae8d28794e228e924d21bab17bbbd5 [INFO] running `Command { std: "docker" "start" "-a" "e202e22950fe35b4a9f57e2f25cfcba8bbae8d28794e228e924d21bab17bbbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e202e22950fe35b4a9f57e2f25cfcba8bbae8d28794e228e924d21bab17bbbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e202e22950fe35b4a9f57e2f25cfcba8bbae8d28794e228e924d21bab17bbbd5", kill_on_drop: false }` [INFO] [stdout] e202e22950fe35b4a9f57e2f25cfcba8bbae8d28794e228e924d21bab17bbbd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e10261281611cf3f7325ebfd3877843ffc9dd5ba2b94c336db0c80632d573a4c [INFO] running `Command { std: "docker" "start" "-a" "e10261281611cf3f7325ebfd3877843ffc9dd5ba2b94c336db0c80632d573a4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.7.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Checking pathdiff v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking convert_case v0.2.0 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking kuchiki v0.8.1 [INFO] [stderr] Checking vimwiki-markdown-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ProgramOptions` [INFO] [stdout] 57 | pub struct ProgramOptions { [INFO] [stdout] | -------------- `ProgramOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ProgramOptions` [INFO] [stdout] 57 | pub struct ProgramOptions { [INFO] [stdout] | -------------- `ProgramOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | let document = kuchiki::parse_html().one(html.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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ProgramOptions` [INFO] [stdout] 57 | pub struct ProgramOptions { [INFO] [stdout] | -------------- `ProgramOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ProgramOptions` [INFO] [stdout] 57 | pub struct ProgramOptions { [INFO] [stdout] | -------------- `ProgramOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | let document = kuchiki::parse_html().one(html.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: fields `force`, `syntax`, and `css_file` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct VimWikiCmdlineArgs { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 9 | force: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | syntax: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | css_file: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `force`, `syntax`, and `css_file` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct VimWikiCmdlineArgs { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 9 | force: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | syntax: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | css_file: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> src/bin/vimwiki-md2html.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 12 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] 13 | verbose: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> src/bin/vimwiki-md2html.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 12 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] 13 | verbose: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.05s [INFO] running `Command { std: "docker" "inspect" "e10261281611cf3f7325ebfd3877843ffc9dd5ba2b94c336db0c80632d573a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10261281611cf3f7325ebfd3877843ffc9dd5ba2b94c336db0c80632d573a4c", kill_on_drop: false }` [INFO] [stdout] e10261281611cf3f7325ebfd3877843ffc9dd5ba2b94c336db0c80632d573a4c