[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] testing tfachmann/vimwiki-markdown-rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftfachmann%2Fvimwiki-markdown-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tfachmann/vimwiki-markdown-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding anyhow v1.0.99 [INFO] [stderr] Adding bitflags v2.9.3 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding cfg-if v1.0.3 [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.175 [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.101 [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.17 [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.106 [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.10 [INFO] [stderr] Adding windows-link v0.1.3 [INFO] [stderr] Adding windows-sys v0.60.2 [INFO] [stderr] Adding windows-targets v0.52.6 [INFO] [stderr] Adding windows-targets v0.53.3 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.53.0 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.6 [INFO] [stderr] Adding windows_aarch64_msvc v0.53.0 [INFO] [stderr] Adding windows_i686_gnu v0.52.6 [INFO] [stderr] Adding windows_i686_gnu v0.53.0 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.53.0 [INFO] [stderr] Adding windows_i686_msvc v0.52.6 [INFO] [stderr] Adding windows_i686_msvc v0.53.0 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnu v0.53.0 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.53.0 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.6 [INFO] [stderr] Adding windows_x86_64_msvc v0.53.0 [INFO] [stderr] Adding zerocopy v0.8.26 [INFO] [stderr] Adding zerocopy-derive v0.8.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d694390e1e2cfa23a1ab69893c1f6be7a082429ef792a37a75bc5b68beee1042 [INFO] running `Command { std: "docker" "start" "-a" "d694390e1e2cfa23a1ab69893c1f6be7a082429ef792a37a75bc5b68beee1042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d694390e1e2cfa23a1ab69893c1f6be7a082429ef792a37a75bc5b68beee1042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d694390e1e2cfa23a1ab69893c1f6be7a082429ef792a37a75bc5b68beee1042", kill_on_drop: false }` [INFO] [stdout] d694390e1e2cfa23a1ab69893c1f6be7a082429ef792a37a75bc5b68beee1042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d272de7c4ee819083448a472d3d2081b4cf14352f7e82e848aadfdfcbeec2a1e [INFO] running `Command { std: "docker" "start" "-a" "d272de7c4ee819083448a472d3d2081b4cf14352f7e82e848aadfdfcbeec2a1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling pulldown-cmark v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling pathdiff v0.2.0 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling 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] Compiling phf v0.8.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling convert_case v0.2.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling kuchiki v0.8.1 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.82s [INFO] running `Command { std: "docker" "inspect" "d272de7c4ee819083448a472d3d2081b4cf14352f7e82e848aadfdfcbeec2a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d272de7c4ee819083448a472d3d2081b4cf14352f7e82e848aadfdfcbeec2a1e", kill_on_drop: false }` [INFO] [stdout] d272de7c4ee819083448a472d3d2081b4cf14352f7e82e848aadfdfcbeec2a1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab7086c1ada892d679103d7a2d6baf27d1cb35bdd710fa12e42a7d1380ea8b5c [INFO] running `Command { std: "docker" "start" "-a" "ab7086c1ada892d679103d7a2d6baf27d1cb35bdd710fa12e42a7d1380ea8b5c", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "ab7086c1ada892d679103d7a2d6baf27d1cb35bdd710fa12e42a7d1380ea8b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7086c1ada892d679103d7a2d6baf27d1cb35bdd710fa12e42a7d1380ea8b5c", kill_on_drop: false }` [INFO] [stdout] ab7086c1ada892d679103d7a2d6baf27d1cb35bdd710fa12e42a7d1380ea8b5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a68238892c332ae9e8326e496304e04c489eddfb406435b82a79a221984225a4 [INFO] running `Command { std: "docker" "start" "-a" "a68238892c332ae9e8326e496304e04c489eddfb406435b82a79a221984225a4", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:56:17 [INFO] [stdout] running 17 tests [INFO] [stderr] | [INFO] [stdout] test links::tests::fix_link_force_absolute ... ok [INFO] [stderr] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] test links::tests::fix_link_absolute_file ... ok [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] test links::tests::fix_link_absolute ... ok [INFO] [stderr] | [INFO] [stdout] test links::tests::fix_link_relative_local ... ok [INFO] [stderr] = note: no expected values for `feature` [INFO] [stdout] test links::tests::fix_link_vimwiki_relative_up ... ok [INFO] [stderr] = 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] test links::tests::fix_link_force_relative_title ... ok [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] test links::tests::fix_link_relative ... ok [INFO] [stderr] = 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] test links::tests::fix_link_spaces ... ok [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] test links::tests::fix_link_force_relative ... ok [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] test links::tests::fix_link_relative_local_title ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test links::tests::fix_link_spaces_title ... ok [INFO] [stderr] [INFO] [stdout] test links::tests::fix_link_vimwiki_relative_with_ext ... ok [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] test links::tests::fix_link_vimwiki_relative_fragment ... ok [INFO] [stderr] --> src/lib.rs:56:28 [INFO] [stdout] test links::tests::link_real_other ... ok [INFO] [stderr] | [INFO] [stdout] test links::tests::link_real ... ok [INFO] [stderr] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] test links::tests::relative_paths ... ok [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] test links::tests::fix_link_vimwiki_relative ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: no expected values for `feature` [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] = 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] [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] [INFO] [stderr] = 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] running 3 tests [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] test tests::options_correct ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ProgramOptions` [INFO] [stderr] 57 | pub struct ProgramOptions { [INFO] [stderr] | -------------- `ProgramOptions` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:56:28 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ProgramOptions` [INFO] [stderr] 57 | pub struct ProgramOptions { [INFO] [stderr] | -------------- `ProgramOptions` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/commands.rs:80:50 [INFO] [stderr] | [INFO] [stderr] 80 | let document = kuchiki::parse_html().one(html.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `vimwiki-markdown-rs` (lib) generated 5 warnings (run `cargo fix --lib -p vimwiki-markdown-rs` to apply 1 suggestion) [INFO] [stderr] warning: `vimwiki-markdown-rs` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: field `verbose` is never read [INFO] [stderr] --> src/bin/vimwiki-md2html.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 11 | struct Opt { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 12 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stderr] 13 | verbose: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `force`, `syntax`, and `css_file` are never read [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | struct VimWikiCmdlineArgs { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 9 | force: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | syntax: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | css_file: PathBuf, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `vimwiki-markdown-rs` (bin "vimwiki-md2html" test) generated 1 warning [INFO] [stderr] warning: `vimwiki-markdown-rs` (bin "vimwiki-markdown-rs" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vimwiki_markdown_rs-463f7e1a962c88dd) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vimwiki_markdown_rs-3862f11a5daeb0b3) [INFO] [stdout] test tests::options_wrong_length - should panic ... ok [INFO] [stdout] test tests::options_not_markdown - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/vimwiki-md2html.rs (/opt/rustwide/target/debug/deps/vimwiki_md2html-e98438f99c1a5e93) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vimwiki_markdown_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a68238892c332ae9e8326e496304e04c489eddfb406435b82a79a221984225a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68238892c332ae9e8326e496304e04c489eddfb406435b82a79a221984225a4", kill_on_drop: false }` [INFO] [stdout] a68238892c332ae9e8326e496304e04c489eddfb406435b82a79a221984225a4