[INFO] cloning repository https://github.com/udoprog/leaky-bucket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/udoprog/leaky-bucket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fleaky-bucket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fleaky-bucket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b66a55010a0e4aaca7fa808e89ad5456726babc2 [INFO] documenting udoprog/leaky-bucket against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fleaky-bucket" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/udoprog/leaky-bucket on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/udoprog/leaky-bucket [INFO] finished tweaking git repo https://github.com/udoprog/leaky-bucket [INFO] tweaked toml for git repo https://github.com/udoprog/leaky-bucket written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd0f41a404de14fcefa0de390ad4f0f7c5de86564f4c38905c57a39e2ab8ebb [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" "1cd0f41a404de14fcefa0de390ad4f0f7c5de86564f4c38905c57a39e2ab8ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd0f41a404de14fcefa0de390ad4f0f7c5de86564f4c38905c57a39e2ab8ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd0f41a404de14fcefa0de390ad4f0f7c5de86564f4c38905c57a39e2ab8ebb", kill_on_drop: false }` [INFO] [stdout] 1cd0f41a404de14fcefa0de390ad4f0f7c5de86564f4c38905c57a39e2ab8ebb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf5425565a2e51617073e7437588edbd71701d75f9ede5550f4cfb153b5e180a [INFO] running `Command { std: "docker" "start" "-a" "bf5425565a2e51617073e7437588edbd71701d75f9ede5550f4cfb153b5e180a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Documenting leaky-bucket v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | #![deny(missing_docs, missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.45s [INFO] running `Command { std: "docker" "inspect" "bf5425565a2e51617073e7437588edbd71701d75f9ede5550f4cfb153b5e180a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5425565a2e51617073e7437588edbd71701d75f9ede5550f4cfb153b5e180a", kill_on_drop: false }` [INFO] [stdout] bf5425565a2e51617073e7437588edbd71701d75f9ede5550f4cfb153b5e180a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 21574c31e72a04f5932e37afa57fed4d422fc43e3c9a418ae2ca416061ef0aad [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" "21574c31e72a04f5932e37afa57fed4d422fc43e3c9a418ae2ca416061ef0aad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Documenting leaky-bucket v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | #![deny(missing_docs, missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | /// A token-bucket rate limiter. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | #![deny(missing_docs, missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 334 | / impl RateLimiter { [INFO] [stdout] 335 | | /// Construct a new [`Builder`] for a [`RateLimiter`]. [INFO] [stdout] 336 | | /// [INFO] [stdout] 337 | | /// # Examples [INFO] [stdout] ... | [INFO] [stdout] 488 | | } [INFO] [stdout] 489 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:497:1 [INFO] [stdout] | [INFO] [stdout] 497 | /// A builder for a [`RateLimiter`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | / impl Builder { [INFO] [stdout] 512 | | /// Configure the max number of tokens to use. [INFO] [stdout] 513 | | /// [INFO] [stdout] 514 | | /// If unspecified, this will default to be 2 times the [`refill`] or the [INFO] [stdout] ... | [INFO] [stdout] 683 | | } [INFO] [stdout] 684 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:974:1 [INFO] [stdout] | [INFO] [stdout] 974 | / /// The future associated with acquiring permits from a rate limiter using [INFO] [stdout] 975 | | /// [`RateLimiter::acquire`]. [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:978:1 [INFO] [stdout] | [INFO] [stdout] 978 | / impl Acquire<'_> { [INFO] [stdout] 979 | | /// Test if this acquire task is currently coordinating the rate limiter. [INFO] [stdout] 980 | | /// [INFO] [stdout] 981 | | /// # Examples [INFO] [stdout] ... | [INFO] [stdout] 1013 | | } [INFO] [stdout] 1014 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | / /// The future associated with acquiring permits from a rate limiter using [INFO] [stdout] 1026 | | /// [`RateLimiter::acquire_owned`]. [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1029:1 [INFO] [stdout] | [INFO] [stdout] 1029 | / impl AcquireOwned { [INFO] [stdout] 1030 | | /// Test if this acquire task is currently coordinating the rate limiter. [INFO] [stdout] 1031 | | /// [INFO] [stdout] 1032 | | /// # Examples [INFO] [stdout] ... | [INFO] [stdout] 1064 | | } [INFO] [stdout] 1065 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `leaky-bucket` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name leaky_bucket src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=a531c427f3e2602c -L dependency=/opt/rustwide/target/debug/deps --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-d988ddd60b4b0977.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-4e5cb56148fab527.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-9f0fea98761ec33a.rmeta --extern-html-root-url 'parking_lot=https://docs.rs/parking_lot/0.11.2/' --extern-html-root-url 'tokio=https://docs.rs/tokio/1.18.2/' --extern-html-root-url 'tracing=https://docs.rs/tracing/0.1.34/' -Zunstable-options --crate-version 0.11.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "21574c31e72a04f5932e37afa57fed4d422fc43e3c9a418ae2ca416061ef0aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21574c31e72a04f5932e37afa57fed4d422fc43e3c9a418ae2ca416061ef0aad", kill_on_drop: false }` [INFO] [stdout] 21574c31e72a04f5932e37afa57fed4d422fc43e3c9a418ae2ca416061ef0aad