[INFO] fetching crate aligned_box 0.2.1... [INFO] documenting aligned_box-0.2.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate aligned_box 0.2.1 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate aligned_box 0.2.1 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 crates.io crate aligned_box 0.2.1 [INFO] finished tweaking crates.io crate aligned_box 0.2.1 [INFO] tweaked toml for crates.io crate aligned_box 0.2.1 written to /workspace/builds/worker-110/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] [stderr] Blocking waiting for file lock on package cache [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-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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] 3a17f48638fe5ba7c6f4d122c15d7b83a403b2f36899d6e2179db150d17ddf1b [INFO] running `Command { std: "docker" "start" "-a" "3a17f48638fe5ba7c6f4d122c15d7b83a403b2f36899d6e2179db150d17ddf1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a17f48638fe5ba7c6f4d122c15d7b83a403b2f36899d6e2179db150d17ddf1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a17f48638fe5ba7c6f4d122c15d7b83a403b2f36899d6e2179db150d17ddf1b", kill_on_drop: false }` [INFO] [stdout] 3a17f48638fe5ba7c6f4d122c15d7b83a403b2f36899d6e2179db150d17ddf1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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] [stdout] cd7c85518e1cf846b835cbae38e4a9eab38b43ec487504d699a8b461ffa23a9b [INFO] running `Command { std: "docker" "start" "-a" "cd7c85518e1cf846b835cbae38e4a9eab38b43ec487504d699a8b461ffa23a9b", kill_on_drop: false }` [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(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] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting aligned_box v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "cd7c85518e1cf846b835cbae38e4a9eab38b43ec487504d699a8b461ffa23a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7c85518e1cf846b835cbae38e4a9eab38b43ec487504d699a8b461ffa23a9b", kill_on_drop: false }` [INFO] [stdout] cd7c85518e1cf846b835cbae38e4a9eab38b43ec487504d699a8b461ffa23a9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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] b121cfd6b741be16303a090236a05f227d1c6196c9c5b39d20dc9102244bdae0 [INFO] running `Command { std: "docker" "start" "-a" "b121cfd6b741be16303a090236a05f227d1c6196c9c5b39d20dc9102244bdae0", kill_on_drop: false }` [INFO] [stderr] Documenting aligned_box v0.2.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:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(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: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | //! Allocate heap memory with user-specified alignment. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// Error type for custom errors of `AlignedBox`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// A wrapper around `std::boxed::Box` which allows allocating aligned heap memory. An instance of [INFO] [stdout] 31 | | /// `AlignedBox` consists of a `Box` and the `std::alloc::Layout` that has been used to [INFO] [stdout] 32 | | /// allocate the referenced memory. [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / impl AlignedBox { [INFO] [stdout] 95 | | /// Decompose the `AlignedBox` into a raw pointer and the layout used during allocation. [INFO] [stdout] 96 | | /// The caller of this function becomes responsible for proper deallocation of the memory [INFO] [stdout] 97 | | /// behind the pointer. This can for example be done by reconstructing the `AlignedBox` using [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / /// Decompose the `AlignedBox` into a raw pointer and the layout used during allocation. [INFO] [stdout] 96 | | /// The caller of this function becomes responsible for proper deallocation of the memory [INFO] [stdout] 97 | | /// behind the pointer. This can for example be done by reconstructing the `AlignedBox` using [INFO] [stdout] 98 | | /// `AlignedBox::from_raw_parts`. [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / /// Construct an `AlignedBox` from a raw pointer and the layout that has been used to allocate [INFO] [stdout] 110 | | /// the memory behind that pointer. After calling this function, the pointer is owned by the [INFO] [stdout] 111 | | /// `AlignedBox`. In particular, the memory will be freed when the `AlignedBox` is dropped. [INFO] [stdout] 112 | | /// This is only safe if the given layout is the same as the one that was used during memory [INFO] [stdout] ... | [INFO] [stdout] 117 | | /// behavior is undefined if the given layout does not correspond to the one used for [INFO] [stdout] 118 | | /// allocation. [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / impl AlignedBox { [INFO] [stdout] 126 | | fn allocate( [INFO] [stdout] 127 | | mut alignment: usize, [INFO] [stdout] 128 | | nelems: usize, [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / impl AlignedBox<[T]> { [INFO] [stdout] 186 | | // Create a AlignedBox<[T]> where each value is initialized by the given initializer [INFO] [stdout] 187 | | // function. [INFO] [stdout] 188 | | // [INFO] [stdout] ... | [INFO] [stdout] 313 | | } [INFO] [stdout] 314 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | / impl AlignedBox<[T]> { [INFO] [stdout] 317 | | /// Allocate memory for `nelems` values of type `T` on the heap, making sure that it is aligned [INFO] [stdout] 318 | | /// to a multiple of `alignment`. All values are initialized by the default value of type `T`. [INFO] [stdout] 319 | | /// It is also checked if `alignment` is a valid alignment for type `T` or increased to a [INFO] [stdout] ... | [INFO] [stdout] 382 | | } [INFO] [stdout] 383 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | / impl AlignedBox<[T]> { [INFO] [stdout] 386 | | /// Allocate memory for `nelems` values of type `T` on the heap, making sure that it is aligned [INFO] [stdout] 387 | | /// to a multiple of `alignment`. All values are initialized by copies of `value`. It is also [INFO] [stdout] 388 | | /// checked if `alignment` is a valid alignment for type `T` or increased to a [INFO] [stdout] ... | [INFO] [stdout] 448 | | } [INFO] [stdout] 449 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "b121cfd6b741be16303a090236a05f227d1c6196c9c5b39d20dc9102244bdae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b121cfd6b741be16303a090236a05f227d1c6196c9c5b39d20dc9102244bdae0", kill_on_drop: false }` [INFO] [stdout] b121cfd6b741be16303a090236a05f227d1c6196c9c5b39d20dc9102244bdae0