[INFO] fetching crate refpool 0.4.3...
[INFO] documenting refpool-0.4.3 against 1.61.0 for beta-1.62-rustdoc-1
[INFO] extracting crate refpool 0.4.3 into /workspace/builds/worker-13/source
[INFO] validating manifest of crates.io crate refpool 0.4.3 on toolchain 1.61.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate refpool 0.4.3
[INFO] finished tweaking crates.io crate refpool 0.4.3
[INFO] tweaked toml for crates.io crate refpool 0.4.3 written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 71117004eeb0c9ae3d28b064bcd860b5d19bad61bc9b3c8bde99935ff2b6def6
[INFO] running `Command { std: "docker" "start" "-a" "71117004eeb0c9ae3d28b064bcd860b5d19bad61bc9b3c8bde99935ff2b6def6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "71117004eeb0c9ae3d28b064bcd860b5d19bad61bc9b3c8bde99935ff2b6def6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71117004eeb0c9ae3d28b064bcd860b5d19bad61bc9b3c8bde99935ff2b6def6", kill_on_drop: false }`
[INFO] [stdout] 71117004eeb0c9ae3d28b064bcd860b5d19bad61bc9b3c8bde99935ff2b6def6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 493e905ebc1adee36d86b640f1a2bfe592c4968fd72bde106afbf52ff5b8ca7a
[INFO] running `Command { std: "docker" "start" "-a" "493e905ebc1adee36d86b640f1a2bfe592c4968fd72bde106afbf52ff5b8ca7a", kill_on_drop: false }`
[INFO] [stderr] Documenting refpool v0.4.3 (/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:151:5
[INFO] [stdout] |
[INFO] [stdout] 151 | 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 1.13s
[INFO] running `Command { std: "docker" "inspect" "493e905ebc1adee36d86b640f1a2bfe592c4968fd72bde106afbf52ff5b8ca7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "493e905ebc1adee36d86b640f1a2bfe592c4968fd72bde106afbf52ff5b8ca7a", kill_on_drop: false }`
[INFO] [stdout] 493e905ebc1adee36d86b640f1a2bfe592c4968fd72bde106afbf52ff5b8ca7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=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" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }`
[INFO] [stdout] d9c4ee181f5d818bcd2dca1ebef5e9731923cd4c483de1f314f21a3e4563e84c
[INFO] running `Command { std: "docker" "start" "-a" "d9c4ee181f5d818bcd2dca1ebef5e9731923cd4c483de1f314f21a3e4563e84c", kill_on_drop: false }`
[INFO] [stderr] Documenting refpool v0.4.3 (/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:151:5
[INFO] [stdout] |
[INFO] [stdout] 151 | 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/fakepool.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / //! Fake versions of `Pool`, `PoolRef` and `PoolBox`.
[INFO] [stdout] 6 | | //!
[INFO] [stdout] 7 | | //! This module provides zero cost wrappers for `Box` and `Rc`, as well as
[INFO] [stdout] 8 | | //! a zero sized empty `Pool`, which are code compatible with their
[INFO] [stdout] ... |
[INFO] [stdout] 11 | | //! both situations, differing only in which versions of `Pool` and friends
[INFO] [stdout] 12 | | //! you choose to import.
[INFO] [stdout] | |_________________________^
[INFO] [stdout] |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout] --> src/lib.rs:151:5
[INFO] [stdout] |
[INFO] [stdout] 151 | missing_doc_code_examples
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:29:1
[INFO] [stdout] |
[INFO] [stdout] 29 | / /// A fake `Pool` which is always empty.
[INFO] [stdout] 30 | | ///
[INFO] [stdout] 31 | | /// Note that, unlike its non-fake counterpart, this pool will always report its
[INFO] [stdout] 32 | | /// current and maximum sizes as zero, regardless of the value passed into the
[INFO] [stdout] ... |
[INFO] [stdout] 35 | | /// passed into `Pool::new(size)` will have any bearing on the actual size of the
[INFO] [stdout] 36 | | /// pool if you're writing code that might be using a fake pool.
[INFO] [stdout] | |________________________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:39:1
[INFO] [stdout] |
[INFO] [stdout] 39 | / impl Pool {
[INFO] [stdout] 40 | | pub fn new(_size: usize) -> Self {
[INFO] [stdout] 41 | | Pool(PhantomData)
[INFO] [stdout] 42 | | }
[INFO] [stdout] ... |
[INFO] [stdout] 60 | | }
[INFO] [stdout] 61 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:40:5
[INFO] [stdout] |
[INFO] [stdout] 40 | / pub fn new(_size: usize) -> Self {
[INFO] [stdout] 41 | | Pool(PhantomData)
[INFO] [stdout] 42 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:44:5
[INFO] [stdout] |
[INFO] [stdout] 44 | / pub fn get_max_size(&self) -> usize {
[INFO] [stdout] 45 | | 0
[INFO] [stdout] 46 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:48:5
[INFO] [stdout] |
[INFO] [stdout] 48 | / pub fn get_pool_size(&self) -> usize {
[INFO] [stdout] 49 | | 0
[INFO] [stdout] 50 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:52:5
[INFO] [stdout] |
[INFO] [stdout] 52 | / pub fn is_full(&self) -> bool {
[INFO] [stdout] 53 | | true
[INFO] [stdout] 54 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:56:5
[INFO] [stdout] |
[INFO] [stdout] 56 | pub fn fill(&self) {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:58:5
[INFO] [stdout] |
[INFO] [stdout] 58 | / pub fn cast(&self) -> Pool {
[INFO] [stdout] 59 | | Pool(PhantomData)
[INFO] [stdout] 60 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:75:1
[INFO] [stdout] |
[INFO] [stdout] 75 | /// A fake `PoolRef` which wraps an `Rc`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:79:1
[INFO] [stdout] |
[INFO] [stdout] 79 | / impl PoolRef {
[INFO] [stdout] 80 | | #[inline(always)]
[INFO] [stdout] 81 | | pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 82 | | where
[INFO] [stdout] ... |
[INFO] [stdout] 166 | | }
[INFO] [stdout] 167 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:81:5
[INFO] [stdout] |
[INFO] [stdout] 81 | / pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 82 | | where
[INFO] [stdout] 83 | | A: PoolDefault,
[INFO] [stdout] 84 | | {
[INFO] [stdout] 85 | | Self(Default::default())
[INFO] [stdout] 86 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:89:5
[INFO] [stdout] |
[INFO] [stdout] 89 | / pub fn new(_pool: &Pool, value: A) -> Self {
[INFO] [stdout] 90 | | Self(Rc::new(value))
[INFO] [stdout] 91 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:94:5
[INFO] [stdout] |
[INFO] [stdout] 94 | / pub fn clone_from(_pool: &Pool, value: &A) -> Self
[INFO] [stdout] 95 | | where
[INFO] [stdout] 96 | | A: PoolClone,
[INFO] [stdout] 97 | | {
[INFO] [stdout] 98 | | Self(Rc::new(value.clone()))
[INFO] [stdout] 99 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:102:5
[INFO] [stdout] |
[INFO] [stdout] 102 | / pub fn pin_default(_pool: &Pool) -> Pin
[INFO] [stdout] 103 | | where
[INFO] [stdout] 104 | | A: PoolDefault,
[INFO] [stdout] 105 | | {
[INFO] [stdout] 106 | | unsafe { Pin::new_unchecked(Self(Rc::new(A::default()))) }
[INFO] [stdout] 107 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:110:5
[INFO] [stdout] |
[INFO] [stdout] 110 | / pub fn pin(_pool: &Pool, value: A) -> Pin {
[INFO] [stdout] 111 | | unsafe { Pin::new_unchecked(Self(Rc::new(value))) }
[INFO] [stdout] 112 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:115:5
[INFO] [stdout] |
[INFO] [stdout] 115 | / pub fn cloned(_pool: &Pool, this: &Self) -> Self
[INFO] [stdout] 116 | | where
[INFO] [stdout] 117 | | A: PoolClone,
[INFO] [stdout] 118 | | {
[INFO] [stdout] 119 | | Self(Rc::new(this.deref().clone()))
[INFO] [stdout] 120 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:123:5
[INFO] [stdout] |
[INFO] [stdout] 123 | / pub fn make_mut<'a>(_pool: &Pool, this: &'a mut Self) -> &'a mut A
[INFO] [stdout] 124 | | where
[INFO] [stdout] 125 | | A: PoolClone,
[INFO] [stdout] 126 | | {
[INFO] [stdout] 127 | | Rc::make_mut(&mut this.0)
[INFO] [stdout] 128 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:131:5
[INFO] [stdout] |
[INFO] [stdout] 131 | / pub fn get_mut(this: &mut Self) -> Option<&mut A> {
[INFO] [stdout] 132 | | Rc::get_mut(&mut this.0)
[INFO] [stdout] 133 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:136:5
[INFO] [stdout] |
[INFO] [stdout] 136 | / pub fn try_unwrap(this: Self) -> Result {
[INFO] [stdout] 137 | | Rc::try_unwrap(this.0).map_err(Self)
[INFO] [stdout] 138 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:141:5
[INFO] [stdout] |
[INFO] [stdout] 141 | / pub fn unwrap_or_clone(this: Self) -> A
[INFO] [stdout] 142 | | where
[INFO] [stdout] 143 | | A: PoolClone,
[INFO] [stdout] 144 | | {
[INFO] [stdout] 145 | | Self::try_unwrap(this).unwrap_or_else(|this| this.deref().clone())
[INFO] [stdout] 146 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:149:5
[INFO] [stdout] |
[INFO] [stdout] 149 | / pub fn ptr_eq(left: &Self, right: &Self) -> bool {
[INFO] [stdout] 150 | | Rc::ptr_eq(&left.0, &right.0)
[INFO] [stdout] 151 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:154:5
[INFO] [stdout] |
[INFO] [stdout] 154 | / pub fn strong_count(this: &Self) -> usize {
[INFO] [stdout] 155 | | Rc::strong_count(&this.0)
[INFO] [stdout] 156 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:159:5
[INFO] [stdout] |
[INFO] [stdout] 159 | / pub fn into_raw(this: PoolRef) -> *const A {
[INFO] [stdout] 160 | | Rc::into_raw(this.0)
[INFO] [stdout] 161 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:164:5
[INFO] [stdout] |
[INFO] [stdout] 164 | / pub unsafe fn from_raw(ptr: *mut A) -> Self {
[INFO] [stdout] 165 | | Self(Rc::from_raw(ptr))
[INFO] [stdout] 166 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:259:1
[INFO] [stdout] |
[INFO] [stdout] 259 | /// A fake `PoolBox` which wraps a `Box`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:262:1
[INFO] [stdout] |
[INFO] [stdout] 262 | / impl PoolBox {
[INFO] [stdout] 263 | | #[inline(always)]
[INFO] [stdout] 264 | | pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 265 | | where
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | }
[INFO] [stdout] 311 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:264:5
[INFO] [stdout] |
[INFO] [stdout] 264 | / pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 265 | | where
[INFO] [stdout] 266 | | A: PoolDefault,
[INFO] [stdout] 267 | | {
[INFO] [stdout] 268 | | Self(Box::new(A::default()))
[INFO] [stdout] 269 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:272:5
[INFO] [stdout] |
[INFO] [stdout] 272 | / pub fn new(_pool: &Pool, value: A) -> Self {
[INFO] [stdout] 273 | | Self(Box::new(value))
[INFO] [stdout] 274 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:277:5
[INFO] [stdout] |
[INFO] [stdout] 277 | / pub fn clone_from(_pool: &Pool, value: &A) -> Self
[INFO] [stdout] 278 | | where
[INFO] [stdout] 279 | | A: PoolClone,
[INFO] [stdout] 280 | | {
[INFO] [stdout] 281 | | Self(Box::new(value.clone()))
[INFO] [stdout] 282 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:285:5
[INFO] [stdout] |
[INFO] [stdout] 285 | / pub fn pin_default(_pool: &Pool) -> Pin
[INFO] [stdout] 286 | | where
[INFO] [stdout] 287 | | A: PoolDefault,
[INFO] [stdout] 288 | | {
[INFO] [stdout] 289 | | unsafe { Pin::new_unchecked(Self(Box::new(A::default()))) }
[INFO] [stdout] 290 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:293:5
[INFO] [stdout] |
[INFO] [stdout] 293 | / pub fn pin(_pool: &Pool, value: A) -> Pin {
[INFO] [stdout] 294 | | unsafe { Pin::new_unchecked(Self(Box::new(value))) }
[INFO] [stdout] 295 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:298:5
[INFO] [stdout] |
[INFO] [stdout] 298 | / pub fn ptr_eq(left: &Self, right: &Self) -> bool {
[INFO] [stdout] 299 | | std::ptr::eq(left.0.deref(), right.0.deref())
[INFO] [stdout] 300 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:303:5
[INFO] [stdout] |
[INFO] [stdout] 303 | / pub fn into_raw(this: Self) -> *mut A {
[INFO] [stdout] 304 | | Box::into_raw(this.0)
[INFO] [stdout] 305 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:308:5
[INFO] [stdout] |
[INFO] [stdout] 308 | / pub unsafe fn from_raw(ptr: *mut A) -> Self {
[INFO] [stdout] 309 | | Self(Box::from_raw(ptr))
[INFO] [stdout] 310 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:177:1
[INFO] [stdout] |
[INFO] [stdout] 177 | /// A trait for initialising a `MaybeUninit` to a default value.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:179:5
[INFO] [stdout] |
[INFO] [stdout] 179 | / /// Initialise an instance of `Self` to its default state.
[INFO] [stdout] 180 | | ///
[INFO] [stdout] 181 | | /// Specifically, after calling `self.default_uninit()`, the object's state
[INFO] [stdout] 182 | | /// should be equal to what `::default()` would produce.
[INFO] [stdout] ... |
[INFO] [stdout] 187 | | /// uninitialised memory, and you must leave it in a fully initialised
[INFO] [stdout] 188 | | /// state, as expected by `MaybeUninit::assume_init()`.
[INFO] [stdout] | |___________________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:192:1
[INFO] [stdout] |
[INFO] [stdout] 192 | /// A trait for cloning a value into a `MaybeUninit`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:194:5
[INFO] [stdout] |
[INFO] [stdout] 194 | / /// Clone an instance of `Self` into an uninitialised instance of `Self`.
[INFO] [stdout] 195 | | ///
[INFO] [stdout] 196 | | /// # Safety
[INFO] [stdout] 197 | | ///
[INFO] [stdout] 198 | | /// You should assume that the object as passed to you contains
[INFO] [stdout] 199 | | /// uninitialised memory, and you must leave it in a fully initialised
[INFO] [stdout] 200 | | /// state, as expected by `MaybeUninit::assume_init()`.
[INFO] [stdout] | |___________________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "d9c4ee181f5d818bcd2dca1ebef5e9731923cd4c483de1f314f21a3e4563e84c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9c4ee181f5d818bcd2dca1ebef5e9731923cd4c483de1f314f21a3e4563e84c", kill_on_drop: false }`
[INFO] [stdout] d9c4ee181f5d818bcd2dca1ebef5e9731923cd4c483de1f314f21a3e4563e84c