[INFO] fetching crate oc-wasm-safe 0.2.1... [INFO] documenting oc-wasm-safe-0.2.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate oc-wasm-safe 0.2.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate oc-wasm-safe 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] removed /workspace/builds/worker-2/source/.cargo/config.toml [INFO] started tweaking crates.io crate oc-wasm-safe 0.2.1 [INFO] finished tweaking crates.io crate oc-wasm-safe 0.2.1 [INFO] tweaked toml for crates.io crate oc-wasm-safe 0.2.1 written to /workspace/builds/worker-2/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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 44f8192a9dac7fdeb04fc1348e78094e090b9f74c67df9ca0381f4feeba0b29e [INFO] running `Command { std: "docker" "start" "-a" "44f8192a9dac7fdeb04fc1348e78094e090b9f74c67df9ca0381f4feeba0b29e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44f8192a9dac7fdeb04fc1348e78094e090b9f74c67df9ca0381f4feeba0b29e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f8192a9dac7fdeb04fc1348e78094e090b9f74c67df9ca0381f4feeba0b29e", kill_on_drop: false }` [INFO] [stdout] 44f8192a9dac7fdeb04fc1348e78094e090b9f74c67df9ca0381f4feeba0b29e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 614ea55ec4574cb489f836f90ea4962eba8436b0615b56e283f39249125a69f6 [INFO] running `Command { std: "docker" "start" "-a" "614ea55ec4574cb489f836f90ea4962eba8436b0615b56e283f39249125a69f6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling minicbor v0.15.0 [INFO] [stderr] Checking uuid v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ordered-float v3.0.0 [INFO] [stderr] Checking oc-wasm-sys v0.2.0 [INFO] [stderr] Documenting oc-wasm-safe v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.77s [INFO] running `Command { std: "docker" "inspect" "614ea55ec4574cb489f836f90ea4962eba8436b0615b56e283f39249125a69f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "614ea55ec4574cb489f836f90ea4962eba8436b0615b56e283f39249125a69f6", kill_on_drop: false }` [INFO] [stdout] 614ea55ec4574cb489f836f90ea4962eba8436b0615b56e283f39249125a69f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] a56461af6efed3596c8523230fc98ab915977cd7f836fdf0308b26e4c175c53f [INFO] running `Command { std: "docker" "start" "-a" "a56461af6efed3596c8523230fc98ab915977cd7f836fdf0308b26e4c175c53f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling minicbor v0.15.0 [INFO] [stderr] Checking uuid v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ordered-float v3.0.0 [INFO] [stderr] Checking oc-wasm-sys v0.2.0 [INFO] [stderr] Documenting oc-wasm-safe v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! This crate provides safe but low-level for the Wasm imports available in the OC-Wasm [INFO] [stdout] 2 | | //! environment. [INFO] [stdout] 3 | | //! [INFO] [stdout] 4 | | //! # Features [INFO] [stdout] ... | [INFO] [stdout] 10 | | //! The `std` feature controls whether [`error::Error`](error::Error) implements [INFO] [stdout] 11 | | //! `std::error::Error`, which it cannot do in a `no_std` environment. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | rustdoc::all, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(rustdoc::missing_doc_code_examples)]` implied by `#[warn(rustdoc::all)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use super::descriptor::AsDescriptor; [INFO] [stdout] 2 | | use super::error::{Error, Result}; [INFO] [stdout] 3 | | use super::helpers::{call_buffer_len, call_buffer_str, call_string}; [INFO] [stdout] 4 | | use super::Address; [INFO] [stdout] ... | [INFO] [stdout] 1111 | | } [INFO] [stdout] 1112 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / /// An object that is capable of listing components attached to the computer. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// Because only one component listing can be in progress at a time, only one value of this type [INFO] [stdout] 16 | | /// can exist. An application written as a state machine should take the instance and store it in a [INFO] [stdout] ... | [INFO] [stdout] 20 | | /// tasks all need to list components needs to arrange mutual exclusion so that only one task can [INFO] [stdout] 21 | | /// access the lister at a time. [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl Lister { [INFO] [stdout] 25 | | /// Returns the lister. [INFO] [stdout] 26 | | /// [INFO] [stdout] 27 | | /// This function can only be called once in the lifetime of the application. On the second and [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | / /// Returns the lister. [INFO] [stdout] 26 | | /// [INFO] [stdout] 27 | | /// This function can only be called once in the lifetime of the application. On the second and [INFO] [stdout] 28 | | /// subsequent calls, it will return `None`. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Begins listing the components attached to the computer. [INFO] [stdout] 38 | | /// [INFO] [stdout] 39 | | /// The `component_type` parameter, if present, restricts the listing to only return components [INFO] [stdout] 40 | | /// of the specified type. If the parameter is absent, all components are returned. [INFO] [stdout] ... | [INFO] [stdout] 43 | | /// This function panics if the underlying syscall fails, because the only reasons it could [INFO] [stdout] 44 | | /// fail should be impossible due to the type system. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / /// An in-progress component listing. [INFO] [stdout] 58 | | /// [INFO] [stdout] 59 | | /// The `'lister` lifetime parameter is the lifetime of the component lister that is performing the [INFO] [stdout] 60 | | /// listing. [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / impl<'lister> Listing<'lister> { [INFO] [stdout] 65 | | /// Returns the next entry in the list of components. [INFO] [stdout] 66 | | /// [INFO] [stdout] 67 | | /// If there is a next entry, its UUID is return. If not, `None` is returned. [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | / /// Returns the next entry in the list of components. [INFO] [stdout] 66 | | /// [INFO] [stdout] 67 | | /// If there is a next entry, its UUID is return. If not, `None` is returned. [INFO] [stdout] 68 | | /// [INFO] [stdout] ... | [INFO] [stdout] 72 | | /// * This function panics if there is a mismatch between OC-Wasm-safe’s and OpenComputers’s [INFO] [stdout] 73 | | /// ideas of the length or formatting of a component address. [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / /// A single in from a listing. [INFO] [stdout] 95 | | /// [INFO] [stdout] 96 | | /// The `'lister` lifetime parameter is the lifetime of the component lister. The `'listing` [INFO] [stdout] 97 | | /// lifetime parameter is the lifetime of the specific listing being performed. [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl ListEntry<'_, '_> { [INFO] [stdout] 108 | | /// Returns the address of the component. [INFO] [stdout] 109 | | #[must_use = "This function is only useful for its return value"] [INFO] [stdout] 110 | | pub fn address(&self) -> &Address { [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | /// Returns the address of the component. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:114:2 [INFO] [stdout] | [INFO] [stdout] 114 | / /// Returns the length, in bytes, of the component’s type. [INFO] [stdout] 115 | | /// [INFO] [stdout] 116 | | /// # Panics [INFO] [stdout] 117 | | /// * This function panics if the underlying syscall fails, because the only reasons it could [INFO] [stdout] 118 | | /// fail should be impossible due to the type system. [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:129:2 [INFO] [stdout] | [INFO] [stdout] 129 | / /// Returns the type of the most recently listed component. [INFO] [stdout] 130 | | /// [INFO] [stdout] 131 | | /// The `buffer` parameter identifies where to store the component type. [INFO] [stdout] 132 | | /// [INFO] [stdout] ... | [INFO] [stdout] 136 | | /// * [`BufferTooShort`](Error::BufferTooShort) is returned if `buffer` is provided but is not [INFO] [stdout] 137 | | /// large enough to hold the component type. [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / /// Returns the length, in bytes, of the type of a component. [INFO] [stdout] 148 | | /// [INFO] [stdout] 149 | | /// The `address` parameter identifies the component by its UUID. [INFO] [stdout] 150 | | /// [INFO] [stdout] 151 | | /// # Errors [INFO] [stdout] 152 | | /// * [`NoSuchComponent`](Error::NoSuchComponent) is returned if the component does not exist or is [INFO] [stdout] 153 | | /// inaccessible. [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / /// Returns the type of a component. [INFO] [stdout] 167 | | /// [INFO] [stdout] 168 | | /// The `address` parameter identifies the component by its UUID. The `buffer` parameter identifies [INFO] [stdout] 169 | | /// where to store the component type. [INFO] [stdout] ... | [INFO] [stdout] 176 | | /// * [`NoSuchComponent`](Error::NoSuchComponent) is returned if the component does not exist or is [INFO] [stdout] 177 | | /// inaccessible. [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / /// Returns the slot that a component is installed into. [INFO] [stdout] 199 | | /// [INFO] [stdout] 200 | | /// The `address` parameter identifies the component by its UUID. [INFO] [stdout] 201 | | /// [INFO] [stdout] ... | [INFO] [stdout] 204 | | /// inaccessible. [INFO] [stdout] 205 | | /// * [`Other`](Error::Other) is returned if the component exists but is not installed in a slot. [INFO] [stdout] | |_________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | / /// An object that is capable of listing methods on a component or opaque value. [INFO] [stdout] 216 | | /// [INFO] [stdout] 217 | | /// Because only one method listing can be in progress at a time, only one value of this type can [INFO] [stdout] 218 | | /// exist. An application written as a state machine should take the instance and store it in a [INFO] [stdout] ... | [INFO] [stdout] 222 | | /// tasks all need to list methods needs to arrange mutual exclusion so that only one task can [INFO] [stdout] 223 | | /// access the lister at a time. [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / impl MethodLister { [INFO] [stdout] 227 | | /// Returns the lister. [INFO] [stdout] 228 | | /// [INFO] [stdout] 229 | | /// This function can only be called once in the lifetime of the application. On the second and [INFO] [stdout] ... | [INFO] [stdout] 273 | | } [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:227:2 [INFO] [stdout] | [INFO] [stdout] 227 | / /// Returns the lister. [INFO] [stdout] 228 | | /// [INFO] [stdout] 229 | | /// This function can only be called once in the lifetime of the application. On the second and [INFO] [stdout] 230 | | /// subsequent calls, it will return `None`. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:239:2 [INFO] [stdout] | [INFO] [stdout] 239 | / /// Begins iteration over the methods available on a component. [INFO] [stdout] 240 | | /// [INFO] [stdout] 241 | | /// The `address` parameter identifies the component by its UUID. [INFO] [stdout] 242 | | /// [INFO] [stdout] 243 | | /// # Errors [INFO] [stdout] 244 | | /// * [`NoSuchComponent`](Error::NoSuchComponent) is returned if the component does not exist [INFO] [stdout] 245 | | /// or is inaccessible. [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:258:2 [INFO] [stdout] | [INFO] [stdout] 258 | / /// Begins iteration over the methods available on an opaque value. [INFO] [stdout] 259 | | /// [INFO] [stdout] 260 | | /// The `descriptor` parameter identifies the opaque value by its descriptor. [INFO] [stdout] 261 | | /// [INFO] [stdout] 262 | | /// Iteration over methods is not reentrant. Concurrent software must ensure that only one method [INFO] [stdout] 263 | | /// iteration at a time is attempted. This is even true if different components are involved, or if [INFO] [stdout] 264 | | /// one is over a component and the other over an opaque value. [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | /// The possible attributes of a method. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct MethodListing<'lister>(PhantomData<&'lister mut MethodLister>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / impl MethodListing<'_> { [INFO] [stdout] 314 | | /// Returns the length, in bytes, of the name of the next method in the list of methods. [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// If there is no next entry, `None` is returned. [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:314:2 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Returns the length, in bytes, of the name of the next method in the list of methods. [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// If there is no next entry, `None` is returned. [INFO] [stdout] 317 | | /// [INFO] [stdout] 318 | | /// # Panics [INFO] [stdout] 319 | | /// This function panics if the underlying syscall fails, because the only reasons it could [INFO] [stdout] 320 | | /// fail should be impossible due to the type system. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:333:2 [INFO] [stdout] | [INFO] [stdout] 333 | / /// Returns the next method in the list of methods. [INFO] [stdout] 334 | | /// [INFO] [stdout] 335 | | /// The `buffer` parameter identifies where to store the next method name. [INFO] [stdout] 336 | | /// [INFO] [stdout] ... | [INFO] [stdout] 344 | | /// [INFO] [stdout] 345 | | /// On error, the iteration does not advance. [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / /// Returns the length, in bytes, of the documentation for a method on a component. [INFO] [stdout] 377 | | /// [INFO] [stdout] 378 | | /// The `address` parameter identifies the component by its UUID. The `method` parameter identifies [INFO] [stdout] 379 | | /// the method by its name. [INFO] [stdout] ... | [INFO] [stdout] 384 | | /// * [`NoSuchMethod`](Error::NoSuchMethod) is returned if the method does not exist on the [INFO] [stdout] 385 | | /// component. [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | / /// Returns the documentation for a method on a component. [INFO] [stdout] 405 | | /// [INFO] [stdout] 406 | | /// The `address` parameter identifies the component by its UUID. The `method` parameter identifies [INFO] [stdout] 407 | | /// the method by its name. The `buffer` parameter identifies where to store the documentation. [INFO] [stdout] ... | [INFO] [stdout] 416 | | /// * [`NoSuchMethod`](Error::NoSuchMethod) is returned if the method does not exist on the [INFO] [stdout] 417 | | /// component. [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | / /// Returns the length, in bytes, of the documentation for a method on a value. [INFO] [stdout] 451 | | /// [INFO] [stdout] 452 | | /// The `descriptor` parameter identifies the value by its descriptor. The `method` parameter [INFO] [stdout] 453 | | /// identifies the method by its name. [INFO] [stdout] ... | [INFO] [stdout] 456 | | /// * [`NoSuchMethod`](Error::NoSuchMethod) is returned if the method does not exist on the [INFO] [stdout] 457 | | /// value. [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 474 | / /// Returns the documentation for a method on a value. [INFO] [stdout] 475 | | /// [INFO] [stdout] 476 | | /// The `descriptor` parameter identifies the value by its descriptor. The `method` parameter [INFO] [stdout] 477 | | /// identifies the method by its name. The `buffer` parameter identifies where to store the [INFO] [stdout] ... | [INFO] [stdout] 484 | | /// large enough to hold the documentation. [INFO] [stdout] 485 | | /// * [`NoSuchMethod`](Error::NoSuchMethod) is returned if the method does not exist on the value. [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:516:1 [INFO] [stdout] | [INFO] [stdout] 516 | / /// An object that is capable of invoking methods. [INFO] [stdout] 517 | | /// [INFO] [stdout] 518 | | /// Because only one method can be invoked at a time, only one value of this type can exist. An [INFO] [stdout] 519 | | /// application written as a state machine should take the instance and store it in a `static` [INFO] [stdout] ... | [INFO] [stdout] 523 | | /// all need to make method calls needs to arrange mutual exclusion so that only one task can [INFO] [stdout] 524 | | /// access the invoker at a time. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | / impl Invoker { [INFO] [stdout] 528 | | /// Returns the invoker. [INFO] [stdout] 529 | | /// [INFO] [stdout] 530 | | /// This function can only be called once in the lifetime of the application. On the second and [INFO] [stdout] ... | [INFO] [stdout] 731 | | } [INFO] [stdout] 732 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:528:2 [INFO] [stdout] | [INFO] [stdout] 528 | / /// Returns the invoker. [INFO] [stdout] 529 | | /// [INFO] [stdout] 530 | | /// This function can only be called once in the lifetime of the application. On the second and [INFO] [stdout] 531 | | /// subsequent calls, it will return `None`. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:540:2 [INFO] [stdout] | [INFO] [stdout] 540 | / /// Starts invoking a method on a component. [INFO] [stdout] 541 | | /// [INFO] [stdout] 542 | | /// The `address` parameter identifies the component by its UUID. The `method` parameter [INFO] [stdout] 543 | | /// identifies the method by its name. The `params` parameter, if present, contains a [INFO] [stdout] ... | [INFO] [stdout] 551 | | /// * [`TooManyDescriptors`](Error::TooManyDescriptors) is returned if the descriptor table is [INFO] [stdout] 552 | | /// too full and some descriptors must be closed before another method call can be made. [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:584:2 [INFO] [stdout] | [INFO] [stdout] 584 | / /// Starts invoking a callable opaque value. [INFO] [stdout] 585 | | /// [INFO] [stdout] 586 | | /// The `descriptor` parameter identifies the opaque value by its descriptor. The `params` [INFO] [stdout] 587 | | /// parameter, if present, contains a CBOR-encoded array of parameters to pass to the method. [INFO] [stdout] ... | [INFO] [stdout] 594 | | /// * [`TooManyDescriptors`](Error::TooManyDescriptors) is returned if the descriptor table is [INFO] [stdout] 595 | | /// too full and some descriptors must be closed before another method call can be made. [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:617:2 [INFO] [stdout] | [INFO] [stdout] 617 | / /// Starts reading from an index of an opaque value. [INFO] [stdout] 618 | | /// [INFO] [stdout] 619 | | /// The `descriptor` parameter identifies the opaque value by its descriptor. The `params` [INFO] [stdout] 620 | | /// parameter, if present, contains a CBOR-encoded array of parameters to use for indexing. [INFO] [stdout] ... | [INFO] [stdout] 627 | | /// * [`TooManyDescriptors`](Error::TooManyDescriptors) is returned if the descriptor table is [INFO] [stdout] 628 | | /// too full and some descriptors must be closed before another method call can be made. [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:653:2 [INFO] [stdout] | [INFO] [stdout] 653 | / /// Starts writing to an index of an opaque value. [INFO] [stdout] 654 | | /// [INFO] [stdout] 655 | | /// The `descriptor` parameter identifies the opaque value by its descriptor. The `params` [INFO] [stdout] 656 | | /// parameter, if present, contains a CBOR-encoded array of parameters to use for indexing and [INFO] [stdout] ... | [INFO] [stdout] 664 | | /// * [`TooManyDescriptors`](Error::TooManyDescriptors) is returned if the descriptor table is [INFO] [stdout] 665 | | /// too full and some descriptors must be closed before another method call can be made. [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:690:2 [INFO] [stdout] | [INFO] [stdout] 690 | / /// Starts invoking a method on an opaque value. [INFO] [stdout] 691 | | /// [INFO] [stdout] 692 | | /// The `descriptor` parameter identifies the opaque value by its descriptor. The `method` [INFO] [stdout] 693 | | /// parameter identifies the method by its name. The `params` parameter, if present, contains a [INFO] [stdout] ... | [INFO] [stdout] 701 | | /// * [`TooManyDescriptors`](Error::TooManyDescriptors) is returned if the descriptor table is [INFO] [stdout] 702 | | /// too full and some descriptors must be closed before another method call can be made. [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:749:1 [INFO] [stdout] | [INFO] [stdout] 749 | /// The possible results of a successful start to a method call. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:759:1 [INFO] [stdout] | [INFO] [stdout] 759 | / /// An in-progress method call. [INFO] [stdout] 760 | | /// [INFO] [stdout] 761 | | /// The `'invoker` lifetime parameter is the lifetime of the method invoker that is performing the [INFO] [stdout] 762 | | /// call. [INFO] [stdout] 763 | | /// [INFO] [stdout] 764 | | /// If a value of this type is dropped, the method call is cancelled. If it has not executed yet, [INFO] [stdout] 765 | | /// it will not execute; if it has already executed, its result is discarded. [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | / impl<'invoker> MethodCall<'invoker> { [INFO] [stdout] 771 | | /// Returns the length, in bytes, of the result of the method call, or an indication that the [INFO] [stdout] 772 | | /// call is not finished. [INFO] [stdout] 773 | | /// [INFO] [stdout] ... | [INFO] [stdout] 851 | | } [INFO] [stdout] 852 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:771:2 [INFO] [stdout] | [INFO] [stdout] 771 | / /// Returns the length, in bytes, of the result of the method call, or an indication that the [INFO] [stdout] 772 | | /// call is not finished. [INFO] [stdout] 773 | | /// [INFO] [stdout] 774 | | /// On success, the length and the `MethodCall` are returned, allowing the `MethodCall` to be [INFO] [stdout] ... | [INFO] [stdout] 783 | | /// starting the call are not acceptable for the method. [INFO] [stdout] 784 | | /// * [`Other`](Error::Other) is returned if the method call failed. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:796:2 [INFO] [stdout] | [INFO] [stdout] 796 | / /// Returns the result of the method call as a CBOR-encoded data item, or an indication that [INFO] [stdout] 797 | | /// the call is not finished. [INFO] [stdout] 798 | | /// [INFO] [stdout] 799 | | /// On success, the result is written into up to `len` bytes pointed to by `buffer`, and the [INFO] [stdout] ... | [INFO] [stdout] 814 | | /// # Safety [INFO] [stdout] 815 | | /// The caller must ensure that `len` bytes pointed to by `buffer` are writeable. [INFO] [stdout] | |_____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:825:2 [INFO] [stdout] | [INFO] [stdout] 825 | / /// Returns the result of the method call as a CBOR-encoded data item, or an indication that [INFO] [stdout] 826 | | /// the call is not finished. [INFO] [stdout] 827 | | /// [INFO] [stdout] 828 | | /// On success, the result is written into `buffer`, and the number of bytes written is [INFO] [stdout] ... | [INFO] [stdout] 840 | | /// starting the call are not acceptable for the method. [INFO] [stdout] 841 | | /// * [`Other`](Error::Other) is returned if the method call failed. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:861:1 [INFO] [stdout] | [INFO] [stdout] 861 | / /// An object that is able to retrieve detailed method call error information. [INFO] [stdout] 862 | | /// [INFO] [stdout] 863 | | /// Certain errors, when returned from a method call (and only from a method call!), are [INFO] [stdout] 864 | | /// accompanied by additional detailed error information which is only available until the next [INFO] [stdout] 865 | | /// method call. A value of this type uses the `'invoker` lifetime parameter to prevent additional [INFO] [stdout] 866 | | /// method calls from being made until the caller has finished examining the detailed error [INFO] [stdout] 867 | | /// information. [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:871:1 [INFO] [stdout] | [INFO] [stdout] 871 | / impl<'invoker> LastException<'invoker> { [INFO] [stdout] 872 | | /// Creates a new `LastException`. [INFO] [stdout] 873 | | fn new(_: PhantomData<&'invoker mut Invoker>) -> Self { [INFO] [stdout] 874 | | Self(PhantomData) [INFO] [stdout] ... | [INFO] [stdout] 929 | | } [INFO] [stdout] 930 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:877:2 [INFO] [stdout] | [INFO] [stdout] 877 | / /// Returns the length of the human-readable message for the error. [INFO] [stdout] 878 | | /// [INFO] [stdout] 879 | | /// # Panics [INFO] [stdout] 880 | | /// This function panics if the underlying syscall fails, because the only reasons it could [INFO] [stdout] 881 | | /// fail should be impossible due to the type system. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:890:2 [INFO] [stdout] | [INFO] [stdout] 890 | / /// Returns the human-readable message for the error. [INFO] [stdout] 891 | | /// [INFO] [stdout] 892 | | /// The message is written into `buffer`, and a string slice over the written text is returned. [INFO] [stdout] 893 | | /// [INFO] [stdout] ... | [INFO] [stdout] 900 | | /// [`BufferTooShort`](Error::BufferTooShort), because the only other reasons it could fail [INFO] [stdout] 901 | | /// should be impossible due to the type system. [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:914:2 [INFO] [stdout] | [INFO] [stdout] 914 | / /// Checks whether the Java exception underlying the error is of a certain type. [INFO] [stdout] 915 | | /// [INFO] [stdout] 916 | | /// The `class` parameter must be the fully qualified name of a Java class (e.g. [INFO] [stdout] 917 | | /// `java.io.IOException`). This function returns `true` if the exception that caused the error [INFO] [stdout] ... | [INFO] [stdout] 921 | | /// This function panics if the underlying syscall fails, because the only reasons it could [INFO] [stdout] 922 | | /// fail should be impossible due to the type system. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:932:1 [INFO] [stdout] | [INFO] [stdout] 932 | / /// The possible errors that could occur during a method call. [INFO] [stdout] 933 | | /// [INFO] [stdout] 934 | | /// Some errors carry additional information. This information is only available until the start of [INFO] [stdout] 935 | | /// the next method call. The `'invoker` lifetime ensures that the invoker cannot be reused to [INFO] [stdout] 936 | | /// start another method call until a value of this type is dropped and therefore the additional [INFO] [stdout] 937 | | /// error information is no longer accessible. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:953:1 [INFO] [stdout] | [INFO] [stdout] 953 | / impl<'invoker> MethodCallError<'invoker> { [INFO] [stdout] 954 | | /// Checks a system call return value of type `isize` for an error value. [INFO] [stdout] 955 | | /// [INFO] [stdout] 956 | | /// Returns a `Result` containing a `MethodCallError` if the value is negative, or the [INFO] [stdout] ... | [INFO] [stdout] 1016 | | } [INFO] [stdout] 1017 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:994:2 [INFO] [stdout] | [INFO] [stdout] 994 | /// Returns a string describing the error. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1000:2 [INFO] [stdout] | [INFO] [stdout] 1000 | /// Throws away the additional error information. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1053:1 [INFO] [stdout] | [INFO] [stdout] 1053 | / /// The result of a call to [`end_length`](MethodCall::end_length). [INFO] [stdout] 1054 | | /// [INFO] [stdout] 1055 | | /// The `'invoker` lifetime parameter is the lifetime of the method invoker that is performing the [INFO] [stdout] 1056 | | /// call. [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1070:1 [INFO] [stdout] | [INFO] [stdout] 1070 | / /// The result of a call to [`end`](MethodCall::end). [INFO] [stdout] 1071 | | /// [INFO] [stdout] 1072 | | /// The `'invoker` lifetime parameter is the lifetime of the method invoker that is performing the [INFO] [stdout] 1073 | | /// call. [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1090:1 [INFO] [stdout] | [INFO] [stdout] 1090 | / impl<'invoker> InvokeEndResult<'invoker> { [INFO] [stdout] 1091 | | /// Unwraps an `InvokeEndResult`, assuming that the caller already knows that the result is [INFO] [stdout] 1092 | | /// `Done`. This function is useful if the caller knows that the method call is complete and [INFO] [stdout] 1093 | | /// that the buffer is large enough to hold any possible return value, or if the caller is not [INFO] [stdout] ... | [INFO] [stdout] 1111 | | } [INFO] [stdout] 1112 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1091:2 [INFO] [stdout] | [INFO] [stdout] 1091 | / /// Unwraps an `InvokeEndResult`, assuming that the caller already knows that the result is [INFO] [stdout] 1092 | | /// `Done`. This function is useful if the caller knows that the method call is complete and [INFO] [stdout] 1093 | | /// that the buffer is large enough to hold any possible return value, or if the caller is not [INFO] [stdout] 1094 | | /// in a position to handle large return values anyway. [INFO] [stdout] ... | [INFO] [stdout] 1102 | | /// In case of any error, because the [`MethodCall`](MethodCall) is consumed, the method call [INFO] [stdout] 1103 | | /// is cancelled. [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use super::error::{Error, Result}; [INFO] [stdout] 2 | | use super::helpers::{call_buffer, call_buffer_len, call_buffer_str, call_string}; [INFO] [stdout] 3 | | use crate::panic_or_trap; [INFO] [stdout] 4 | | use core::num::{NonZeroU16, NonZeroUsize}; [INFO] [stdout] ... | [INFO] [stdout] 288 | | unsafe { sys::error(error.as_ptr(), error.len()) } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// Returns the amount of world time the computer has been running, in seconds. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | /// Returns the amount of CPU time that the computer has consumed, in seconds. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Returns the current in-game time and date, in game ticks. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | /// Returns the computer’s own UUID address. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Returns the UUID address of a filesystem that lives until the computer shuts down and can [INFO] [stdout] 42 | | /// beused to hold temporarily files. [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | /// Returns the amount, in bytes, of RAM installed in the computer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / /// Pushes a signal to the signal queue. [INFO] [stdout] 61 | | /// [INFO] [stdout] 62 | | /// The `signal` parameter contains a CBOR-encoded array representing the signal, which must be a [INFO] [stdout] 63 | | /// mix of numbers, strings, and maps containing these types, and the first element of which must [INFO] [stdout] ... | [INFO] [stdout] 68 | | /// an invalid or unsupported CBOR sequence. [INFO] [stdout] 69 | | /// * [`QueueFull`](Error::QueueFull) is returned if the computer’s signal queue is full. [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / /// Returns the length, in bytes, of the next signal in the signal queue. [INFO] [stdout] 79 | | /// [INFO] [stdout] 80 | | /// If there is no next entry, `None` is returned. [INFO] [stdout] 81 | | /// [INFO] [stdout] 82 | | /// # Panics [INFO] [stdout] 83 | | /// This function panics if the underlying syscall fails, because the only reasons it could fail [INFO] [stdout] 84 | | /// should be impossible due to the type system. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / /// Pops a signal from the signal queue. [INFO] [stdout] 97 | | /// [INFO] [stdout] 98 | | /// The `buffer` parameter identifies where to store the signal data. [INFO] [stdout] 99 | | /// [INFO] [stdout] ... | [INFO] [stdout] 108 | | /// [INFO] [stdout] 109 | | /// On error, the signal remains in the queue. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / /// Begins iteration over the computer’s access control list. [INFO] [stdout] 118 | | /// [INFO] [stdout] 119 | | /// Iteration over the access control list is not reentrant. Concurrent software must ensure that [INFO] [stdout] 120 | | /// only one access control list iteration at a time is attempted. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / /// Returns the length, in bytes, of the Minecraft username of the next allowed user in the ACL. [INFO] [stdout] 126 | | /// [INFO] [stdout] 127 | | /// If there is no next entry, `None` is returned. [INFO] [stdout] 128 | | /// [INFO] [stdout] 129 | | /// # Panics [INFO] [stdout] 130 | | /// This function panics if the underlying syscall fails, because the only reasons it could fail [INFO] [stdout] 131 | | /// should be impossible due to the type system. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / /// Returns the Minecraft username of the next allowed user in the ACL. [INFO] [stdout] 144 | | /// [INFO] [stdout] 145 | | /// The `buffer` parameter identifies where to store the next username. [INFO] [stdout] 146 | | /// [INFO] [stdout] ... | [INFO] [stdout] 153 | | /// [INFO] [stdout] 154 | | /// On error, the iteration does not advance. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / /// Grants access to the computer to a user. [INFO] [stdout] 163 | | /// [INFO] [stdout] 164 | | /// The `name` parameter is the Minecraft username of the user to grant access to. [INFO] [stdout] 165 | | /// [INFO] [stdout] 166 | | /// # Errors [INFO] [stdout] 167 | | /// * [`Other`](Error::Other) is returned if adding the user failed. [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / /// Revokes access to the computer from a user. [INFO] [stdout] 175 | | /// [INFO] [stdout] 176 | | /// The `name` parameter is the Minecraft username of the user to revoke access from. [INFO] [stdout] 177 | | /// [INFO] [stdout] 178 | | /// # Errors [INFO] [stdout] 179 | | /// * [`Other`](Error::Other) is returned if the user is not on the ACL. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | /// Returns the amount of energy stored in the computer and its network. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | /// Returns the maximum amount of energy that can be stored in the computer and its network. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / /// Returns the width of a Unicode character, in terminal columns. [INFO] [stdout] 201 | | /// [INFO] [stdout] 202 | | /// The `ch` parameter is the character to examine. [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | /// A number that can be used as the frequency or duration of a single-tone beep. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | / impl BeepParameter { [INFO] [stdout] 216 | | /// Creates a `BeepParameter` if the provided value is between 1 and 32,767. [INFO] [stdout] 217 | | #[must_use = "This function is only useful for its return value"] [INFO] [stdout] 218 | | pub fn new(value: u16) -> Option { [INFO] [stdout] ... | [INFO] [stdout] 232 | | } [INFO] [stdout] 233 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:216:2 [INFO] [stdout] | [INFO] [stdout] 216 | /// Creates a `BeepParameter` if the provided value is between 1 and 32,767. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:228:2 [INFO] [stdout] | [INFO] [stdout] 228 | /// Returns the contained value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | / /// Plays a beep. [INFO] [stdout] 248 | | /// [INFO] [stdout] 249 | | /// The `frequency` parameter is the frequency, in Hz, of the beep to play. The `duration` [INFO] [stdout] 250 | | /// parameter is the length, in milliseconds, of the beep. [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | / /// Plays a series of beeps. [INFO] [stdout] 257 | | /// [INFO] [stdout] 258 | | /// The `pattern` parameter is a Morse code beep pattern to play. [INFO] [stdout] 259 | | /// [INFO] [stdout] 260 | | /// # Panics [INFO] [stdout] 261 | | /// This function panics if the underlying syscall fails, because the only reasons it could fail [INFO] [stdout] 262 | | /// should be impossible due to the type system. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | /// Shuts down the computer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | /// Reboots the computer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/computer.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | /// Halts the computer with an error. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use super::error::{Error, Result}; [INFO] [stdout] 2 | | use core::fmt::{Debug, Formatter}; [INFO] [stdout] 3 | | use core::marker::PhantomData; [INFO] [stdout] 4 | | use core::mem::forget; [INFO] [stdout] ... | [INFO] [stdout] 252 | | } [INFO] [stdout] 253 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / /// A value that can be converted into an opaque value descriptor. [INFO] [stdout] 26 | | /// [INFO] [stdout] 27 | | /// A value implementing this trait holds, borrows, or is otherwise able to provide an opaque value [INFO] [stdout] 28 | | /// descriptor as a `u32`. [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | /// Returns the raw descriptor value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / /// A value that can be borrowed as an opaque value descriptor. [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// A value implementing this trait is able to produce a [`Borrowed`](Borrowed) value referring to [INFO] [stdout] 38 | | /// a descriptor. [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 41 | /// Borrows the descriptor. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / /// A value that can be converted into an opaque value descriptor. [INFO] [stdout] 47 | | /// [INFO] [stdout] 48 | | /// A value implementing this trait is able to produce an [`Owned`](Owned) value referring to a [INFO] [stdout] 49 | | /// descriptor by consuming itself. [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 52 | /// Converts to the descriptor. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / /// An owned opaque value descriptor. [INFO] [stdout] 58 | | /// [INFO] [stdout] 59 | | /// A value of this type encapsulates an opaque value descriptor. Cloning it duplicates the [INFO] [stdout] 60 | | /// descriptor. Dropping it closes the descriptor. CBOR-encoding it yields an integer with the [INFO] [stdout] 61 | | /// Identifier (39) tag. [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl Owned { [INFO] [stdout] 66 | | /// Wraps a raw integer descriptor in a `Descriptor` object. [INFO] [stdout] 67 | | /// [INFO] [stdout] 68 | | /// # Safety [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 66 | / /// Wraps a raw integer descriptor in a `Descriptor` object. [INFO] [stdout] 67 | | /// [INFO] [stdout] 68 | | /// # Safety [INFO] [stdout] 69 | | /// The caller must ensure that the passed-in value is a valid, open descriptor. Passing a [INFO] [stdout] ... | [INFO] [stdout] 74 | | /// The caller must ensure that only one `Descriptor` object for a given value exists at a [INFO] [stdout] 75 | | /// time, because dropping a `Descriptor` object closes the descriptor. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | / /// Destroys a `Descriptor` object and returns the raw value. [INFO] [stdout] 85 | | /// [INFO] [stdout] 86 | | /// The caller must ensure that the descriptor is eventually closed. This function is safe [INFO] [stdout] 87 | | /// because Rust’s safety guarantees to not include reliable freeing of resources; however, [INFO] [stdout] 88 | | /// care should be taken when calling it. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 96 | /// Returns the raw descriptor value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:102:2 [INFO] [stdout] | [INFO] [stdout] 102 | / /// Duplicates the descriptor. [INFO] [stdout] 103 | | /// [INFO] [stdout] 104 | | /// # Errors [INFO] [stdout] 105 | | /// * [`TooManyDescriptors`](Error::TooManyDescriptors) is returned if the descriptor table is [INFO] [stdout] 106 | | /// too full and some descriptors must be closed. [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / /// A borrowed opaque value descriptor. [INFO] [stdout] 159 | | /// [INFO] [stdout] 160 | | /// A value of this type encapsulates an opaque value descriptor. Copying or cloning it produces a [INFO] [stdout] 161 | | /// new object containing the same descriptor. Dropping it does nothing. CBOR-encoding it yields an [INFO] [stdout] 162 | | /// integer with the Identifier (39) tag. While a value of this type exists, lifetime rules prevent [INFO] [stdout] 163 | | /// the modification or dropping of the [`Owned`](Owned) value from which it borrowed its [INFO] [stdout] 164 | | /// descriptor. [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / impl Borrowed<'_> { [INFO] [stdout] 169 | | /// Returns the raw descriptor value. [INFO] [stdout] 170 | | #[must_use = "This function is only useful for its return value"] [INFO] [stdout] 171 | | pub const fn as_raw(self) -> u32 { [INFO] [stdout] 172 | | self.0.get() - 1 [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:169:2 [INFO] [stdout] | [INFO] [stdout] 169 | /// Returns the raw descriptor value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | / /// A CBOR-decoded opaque value descriptor. [INFO] [stdout] 204 | | /// [INFO] [stdout] 205 | | /// A value of this type encapsulates an opaque value descriptor. It cannot be cloned. Dropping it [INFO] [stdout] 206 | | /// does nothing; this may cause a resource leak, but resource leaks are not considered unsafe [INFO] [stdout] ... | [INFO] [stdout] 209 | | /// immediately call [`into_owned`](Decoded::into_owned) to convert the value into an [INFO] [stdout] 210 | | /// [`Owned`](Owned) instead. [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / impl Decoded { [INFO] [stdout] 215 | | /// Converts a `Decoded` descriptor into an [`Owned`](Owned) descriptor. [INFO] [stdout] 216 | | /// [INFO] [stdout] 217 | | /// # Safety [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/descriptor.rs:215:2 [INFO] [stdout] | [INFO] [stdout] 215 | / /// Converts a `Decoded` descriptor into an [`Owned`](Owned) descriptor. [INFO] [stdout] 216 | | /// [INFO] [stdout] 217 | | /// # Safety [INFO] [stdout] 218 | | /// The caller must ensure that the `Decoded` descriptor is the only reference to the [INFO] [stdout] ... | [INFO] [stdout] 231 | | /// caller is forced to promise those properties in order to convert to the actually useful [INFO] [stdout] 232 | | /// [`Owned`](Owned) type via this `unsafe` method. [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::panic_or_trap; [INFO] [stdout] 2 | | use core::fmt::{Display, Formatter}; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// The errors that a system call can return. [INFO] [stdout] ... | [INFO] [stdout] 109 | | [INFO] [stdout] 110 | | pub type Result = core::result::Result; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// The errors that a system call can return. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / impl Error { [INFO] [stdout] 21 | | /// Returns a string describing the error. [INFO] [stdout] 22 | | #[must_use = "This function is only useful for its return value"] [INFO] [stdout] 23 | | pub fn as_str(self) -> &'static str { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | /// Returns a string describing the error. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl Error { [INFO] [stdout] 47 | | /// Checks a system call return value of type `isize` for an error value. [INFO] [stdout] 48 | | /// [INFO] [stdout] 49 | | /// Returns a `Result` containing an `Error` if the value is negative, or the original value if [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Checks a system call return value of type `isize` for an error value. [INFO] [stdout] 48 | | /// [INFO] [stdout] 49 | | /// Returns a `Result` containing an `Error` if the value is negative, or the original value if [INFO] [stdout] 50 | | /// it was nonnegative. [INFO] [stdout] ... | [INFO] [stdout] 59 | | /// always valid, and `StringDecode` should be impossible because all strings are taken as [INFO] [stdout] 60 | | /// string-slices (`&str`) which are always valid UTF-8. [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | / /// Checks a system call return value of type `i32` for an error value. [INFO] [stdout] 85 | | /// [INFO] [stdout] 86 | | /// Returns a `Result` containing an `Error` if the value is negative, or the original value if [INFO] [stdout] 87 | | /// it was nonnegative. [INFO] [stdout] ... | [INFO] [stdout] 96 | | /// always valid, and `StringDecode` should be impossible because all strings are taken as [INFO] [stdout] 97 | | /// string-slices (`&str`) which are always valid UTF-8. [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/execute.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use super::error::{Error, Result}; [INFO] [stdout] 2 | | use oc_wasm_sys::execute as sys; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// Clears the execution buffer. [INFO] [stdout] ... | [INFO] [stdout] 32 | | unsafe { sys::execute() } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/execute.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Clears the execution buffer. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// At the start of a program’s execution, the execution buffer is empty, so loading can commence [INFO] [stdout] 7 | | /// without invoking this syscall first. However, if the program starts loading a binary then needs [INFO] [stdout] 8 | | /// to abort and load a different binary, this syscall can be used to discard the first binary. [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/execute.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Writes data to the execution buffer. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// The `data` parameter is the portion of the Wasm binary to write into the buffer. [INFO] [stdout] 17 | | /// [INFO] [stdout] 18 | | /// # Errors [INFO] [stdout] 19 | | /// * [`Other`](Error::Other) is returned if this call would make the contents of the buffer larger [INFO] [stdout] 20 | | /// than the computer’s installed RAM. [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/execute.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | /// Executes the Wasm binary contained in the execution buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / /// A component address. [INFO] [stdout] 53 | | /// [INFO] [stdout] 54 | | /// This is just a UUID. It supports `minicbor`. When encoding, it encodes as a byte string tagged [INFO] [stdout] 55 | | /// with the Identifier (39) tag. When decoding, it decodes from an optional Identifier (39) tag [INFO] [stdout] 56 | | /// followed by either a byte string or a UTF-8 string. [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl Address { [INFO] [stdout] 62 | | #[must_use = "This function is only useful for its return value"] [INFO] [stdout] 63 | | pub const fn as_bytes(&self) -> &[u8; 16] { [INFO] [stdout] 64 | | self.0.as_bytes() [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | / pub const fn as_bytes(&self) -> &[u8; 16] { [INFO] [stdout] 64 | | self.0.as_bytes() [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 68 | / pub const fn from_bytes(b: [u8; 16]) -> Self { [INFO] [stdout] 69 | | Self(Uuid::from_bytes(b)) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / /// Panics or traps depending on the state of the `panic` feature. [INFO] [stdout] 134 | | /// [INFO] [stdout] 135 | | /// If the `panic` feature is enabled, this macro panics with the given message. If it is disabled, [INFO] [stdout] 136 | | /// this macro invokes Wasm `UNREACHABLE` (trap) instruction, instantly terminating execution; the [INFO] [stdout] 137 | | /// message is ignored. [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 120 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "a56461af6efed3596c8523230fc98ab915977cd7f836fdf0308b26e4c175c53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56461af6efed3596c8523230fc98ab915977cd7f836fdf0308b26e4c175c53f", kill_on_drop: false }` [INFO] [stdout] a56461af6efed3596c8523230fc98ab915977cd7f836fdf0308b26e4c175c53f