clippy_lints 0.0.212

A bunch of helpful lints to avoid common pitfalls in Rust
Build #680431 2022-11-22T00:48:20.115445+00:00
# rustc version
rustc 1.67.0-nightly (a28f3c88e 2022-11-20)# docs.rs version
docsrs 0.6.0 (83ad0bb0 2022-11-21)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/clippy_lints-0.0.212/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/clippy_lints-0.0.212/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221120-1.67.0-nightly-a28f3c88e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] e272e3c6cf2dd47b527fd3a7191be8958b3b1ec8b3171825b59fc26db1ed783c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e272e3c6cf2dd47b527fd3a7191be8958b3b1ec8b3171825b59fc26db1ed783c", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr]  Documenting clippy_lints v0.0.212 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected one of `!` or `::`, found keyword `use`
[INFO] [stderr]    --> src/lib.rs:189:11
[INFO] [stderr]     |
[INFO] [stderr] 189 |     crate use syntax::ast::{Name, NodeId};
[INFO] [stderr]     |           ^^^ expected one of `!` or `::`
[INFO] [stderr] 
[INFO] [stderr] error: could not document `clippy_lints`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name clippy_lints src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=6db8a2ec5a9ab723 -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cargo_metadata=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcargo_metadata-8e35f28987407dc4.rmeta --extern if_chain=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libif_chain-6ba7d2f24b845f41.rmeta --extern itertools=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libitertools-8541423ec6a1afa8.rmeta --extern lazy_static=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblazy_static-02d2c56f690e1049.rmeta --extern matches=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmatches-4524c94f00a89278.rmeta --extern pulldown_cmark=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libpulldown_cmark-9f50e2e60d94001d.rmeta --extern quine_mc_cluskey=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libquine_mc_cluskey-97b56ea6b1ce14e5.rmeta --extern regex_syntax=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libregex_syntax-01519669564d95cb.rmeta --extern semver=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsemver-72f2f5191f6e50b4.rmeta --extern serde=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde-ee1ec0b5304fecab.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-15fa0d84d668b275.so --extern toml=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtoml-387252a733b1996e.rmeta --extern unicode_normalization=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libunicode_normalization-ca3a856650010d63.rmeta --extern url=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liburl-caaa6cd9425a9420.rmeta --extern-html-root-url 'cargo_metadata=https://docs.rs/cargo_metadata/0.5.8/x86_64-unknown-linux-gnu' --extern-html-root-url 'if_chain=https://docs.rs/if_chain/0.1.3/x86_64-unknown-linux-gnu' --extern-html-root-url 'itertools=https://docs.rs/itertools/0.7.11/x86_64-unknown-linux-gnu' --extern-html-root-url 'lazy_static=https://docs.rs/lazy_static/1.4.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'matches=https://docs.rs/matches/0.1.9/x86_64-unknown-linux-gnu' --extern-html-root-url 'pulldown_cmark=https://docs.rs/pulldown-cmark/0.1.2/x86_64-unknown-linux-gnu' --extern-html-root-url 'quine_mc_cluskey=https://docs.rs/quine-mc_cluskey/0.2.4/x86_64-unknown-linux-gnu' --extern-html-root-url 'regex_syntax=https://docs.rs/regex-syntax/0.6.28/x86_64-unknown-linux-gnu' --extern-html-root-url 'semver=https://docs.rs/semver/0.9.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde=https://docs.rs/serde/1.0.147/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde_derive=https://docs.rs/serde_derive/1.0.147/x86_64-unknown-linux-gnu' --extern-html-root-url 'toml=https://docs.rs/toml/0.4.10/x86_64-unknown-linux-gnu' --extern-html-root-url 'unicode_normalization=https://docs.rs/unicode-normalization/0.1.22/x86_64-unknown-linux-gnu' --extern-html-root-url 'url=https://docs.rs/url/1.7.2/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20221120-1.67.0-nightly-a28f3c88e --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.0.212` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "e272e3c6cf2dd47b527fd3a7191be8958b3b1ec8b3171825b59fc26db1ed783c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e272e3c6cf2dd47b527fd3a7191be8958b3b1ec8b3171825b59fc26db1ed783c", kill_on_drop: false }`
[INFO] [stdout] e272e3c6cf2dd47b527fd3a7191be8958b3b1ec8b3171825b59fc26db1ed783c