[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfachmann%2Fvimwiki-markdown-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tfachmann/vimwiki-markdown-rs 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/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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding anyhow v1.0.100 [INFO] [stderr] Adding bitflags v2.10.0 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding cfg-if v1.0.4 [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.11 [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.180 [INFO] [stderr] Adding lock_api v0.4.14 [INFO] [stderr] Adding log v0.4.29 [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.5 [INFO] [stderr] Adding parking_lot_core v0.9.12 [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.105 [INFO] [stderr] Adding quick-error v1.2.3 [INFO] [stderr] Updating quote v1.0.3 -> v1.0.43 [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.18 [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.27 [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.1 [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.114 [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.22 [INFO] [stderr] Adding utf-8 v0.7.6 [INFO] [stderr] Adding winapi-util v0.1.11 [INFO] [stderr] Adding windows-link v0.2.1 [INFO] [stderr] Adding windows-sys v0.61.2 [INFO] [stderr] Adding zerocopy v0.8.33 [INFO] [stderr] Adding zerocopy-derive v0.8.33 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathdiff v0.2.0 [INFO] [stderr] Downloaded hermit-abi v0.1.11 [INFO] [stderr] Downloaded strum_macros v0.18.0 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded serde v1.0.106 [INFO] [stderr] Downloaded quote v1.0.43 [INFO] [stderr] Downloaded strum v0.18.0 [INFO] [stderr] Downloaded string_cache_codegen v0.5.4 [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded phf_generator v0.11.3 [INFO] [stderr] Downloaded convert_case v0.2.0 [INFO] [stderr] Downloaded kuchiki v0.8.1 [INFO] [stderr] Downloaded string_cache v0.8.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.105 [INFO] [stderr] Downloaded anyhow v1.0.100 [INFO] [stderr] Downloaded html5ever v0.25.2 [INFO] [stderr] Downloaded derive_more v0.99.20 [INFO] [stderr] Downloaded zerocopy-derive v0.8.33 [INFO] [stderr] Downloaded pulldown-cmark v0.7.0 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded serde_derive v1.0.106 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded dtoa v1.0.11 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Downloaded zerocopy v0.8.33 [INFO] [stderr] Downloaded syn v2.0.114 [INFO] [stderr] Downloaded libc v0.2.180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6872941d9789c04a84fb5aa482f9925586d26dedf23ca6c03c66d2d531784db3 [INFO] running `Command { std: "docker" "start" "-a" "6872941d9789c04a84fb5aa482f9925586d26dedf23ca6c03c66d2d531784db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6872941d9789c04a84fb5aa482f9925586d26dedf23ca6c03c66d2d531784db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6872941d9789c04a84fb5aa482f9925586d26dedf23ca6c03c66d2d531784db3", kill_on_drop: false }` [INFO] [stdout] 6872941d9789c04a84fb5aa482f9925586d26dedf23ca6c03c66d2d531784db3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7375bbbf2856822cec5cf50ffe458c10c1e4daa913486ef89a63b0c788db4fdc [INFO] running `Command { std: "docker" "start" "-a" "7375bbbf2856822cec5cf50ffe458c10c1e4daa913486ef89a63b0c788db4fdc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling zerocopy v0.8.33 [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 getrandom v0.1.14 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling pulldown-cmark v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking pathdiff v0.2.0 [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] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [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 serde_derive v1.0.106 [INFO] [stderr] Compiling phf_macros v0.8.0 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.49s [INFO] running `Command { std: "docker" "inspect" "7375bbbf2856822cec5cf50ffe458c10c1e4daa913486ef89a63b0c788db4fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7375bbbf2856822cec5cf50ffe458c10c1e4daa913486ef89a63b0c788db4fdc", kill_on_drop: false }` [INFO] [stdout] 7375bbbf2856822cec5cf50ffe458c10c1e4daa913486ef89a63b0c788db4fdc