[INFO] fetching crate xrpl-hooks 0.3.1... [INFO] documenting xrpl-hooks-0.3.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate xrpl-hooks 0.3.1 into /workspace/builds/worker-32/source [INFO] validating manifest of crates.io crate xrpl-hooks 0.3.1 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xrpl-hooks 0.3.1 [INFO] finished tweaking crates.io crate xrpl-hooks 0.3.1 [INFO] tweaked toml for crates.io crate xrpl-hooks 0.3.1 written to /workspace/builds/worker-32/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-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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] 3df18f96d94ba385449028ce176d8a3dd0f1275307802ae8be92421c3763c7c6 [INFO] running `Command { std: "docker" "start" "-a" "3df18f96d94ba385449028ce176d8a3dd0f1275307802ae8be92421c3763c7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3df18f96d94ba385449028ce176d8a3dd0f1275307802ae8be92421c3763c7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df18f96d94ba385449028ce176d8a3dd0f1275307802ae8be92421c3763c7c6", kill_on_drop: false }` [INFO] [stdout] 3df18f96d94ba385449028ce176d8a3dd0f1275307802ae8be92421c3763c7c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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] 4c1862ce67caebbb3af482b5880b038f6f8a99e6ffa599e743f806ebc7be8e2e [INFO] running `Command { std: "docker" "start" "-a" "4c1862ce67caebbb3af482b5880b038f6f8a99e6ffa599e743f806ebc7be8e2e", kill_on_drop: false }` [INFO] [stderr] Documenting xrpl-hooks v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "4c1862ce67caebbb3af482b5880b038f6f8a99e6ffa599e743f806ebc7be8e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1862ce67caebbb3af482b5880b038f6f8a99e6ffa599e743f806ebc7be8e2e", kill_on_drop: false }` [INFO] [stdout] 4c1862ce67caebbb3af482b5880b038f6f8a99e6ffa599e743f806ebc7be8e2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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] 3fad7ef7280d2b1f9c2f99b79307a11cc0944642db4c7163ba7834feb77e421f [INFO] running `Command { std: "docker" "start" "-a" "3fad7ef7280d2b1f9c2f99b79307a11cc0944642db4c7163ba7834feb77e421f", kill_on_drop: false }` [INFO] [stderr] Documenting xrpl-hooks v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! XRPL Hooks API [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! This crate allows you to write XRPL hooks in Rust. [INFO] [stdout] 4 | | //! [INFO] [stdout] ... | [INFO] [stdout] 10 | | //! For a quick start and to view examples, [INFO] [stdout] 11 | | //! use the [hook template](https://github.com/otov4its/xrpl-hook-template/) [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | rustdoc::missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / /// # Low-level unsafe C bindings [INFO] [stdout] 30 | | /// [INFO] [stdout] 31 | | /// Use very carefully if at all necessary. [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn hook(reserved: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn cbak(reserved: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / #[doc = " Guard function. Each time a loop appears in your code a call to this must be the first branch instruction after the"] [INFO] [stdout] 360 | | #[doc = " beginning of the loop."] [INFO] [stdout] 361 | | #[doc = " @param id The identifier of the guard (typically the line number)."] [INFO] [stdout] 362 | | #[doc = " @param maxiter The maximum number of times this loop will iterate across the life of the hook."] [INFO] [stdout] 363 | | #[doc = " @return Can be ignored. If the guard is violated the hook will terminate."] [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | / #[doc = " Accept the originating transaction and commit all hook state changes and submit all emitted transactions."] [INFO] [stdout] 368 | | #[doc = " @param read_ptr An optional string to use as a return comment. May be 0."] [INFO] [stdout] 369 | | #[doc = " @param read_len The length of the string. May be 0."] [INFO] [stdout] 370 | | #[doc = " @return Will never return, terminates the hook."] [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | / #[doc = " Rollback the originating transaction, discard all hook state changes and emitted transactions."] [INFO] [stdout] 375 | | #[doc = " @param read_ptr An optional string to use as a return comment. May be 0."] [INFO] [stdout] 376 | | #[doc = " @param read_len The length of the string. May be 0."] [INFO] [stdout] 377 | | #[doc = " @return Will never return, terminates the hook."] [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | / #[doc = " Read a 20 byte account-id from the memory pointed to by read_ptr of length read_len and encode it to a base58-check"] [INFO] [stdout] 382 | | #[doc = " encoded r-address."] [INFO] [stdout] 383 | | #[doc = " @param read_ptr The memory address of the account-id"] [INFO] [stdout] 384 | | #[doc = " @param read_len The byte length of the account-id (should always be 20)"] [INFO] [stdout] ... | [INFO] [stdout] 387 | | #[doc = " @return On success the length of the r-address will be returned indicating the bytes written to the write buffer."] [INFO] [stdout] 388 | | #[doc = " On failure a negative integer is returned indicating what went wrong."] [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | / #[doc = " Read an r-address from the memory pointed to by read_ptr of length read_len and decode it to a 20 byte account id"] [INFO] [stdout] 393 | | #[doc = " and write to write_ptr"] [INFO] [stdout] 394 | | #[doc = " @param read_ptr The memory address of the r-address"] [INFO] [stdout] 395 | | #[doc = " @param read_len The byte length of the r-address"] [INFO] [stdout] ... | [INFO] [stdout] 398 | | #[doc = " @return On success 20 will be returned indicating the bytes written. On failure a negative integer is returned"] [INFO] [stdout] 399 | | #[doc = " indicating what went wrong."] [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | / #[doc = " Verify a cryptographic signature either ED25519 of SECP256k1. Public key should be prefixed with 0xED for 25519."] [INFO] [stdout] 404 | | #[doc = " @param dread_ptr The memory location of the data or payload to verify"] [INFO] [stdout] 405 | | #[doc = " @param dread_len The length of the data or payload to verify"] [INFO] [stdout] 406 | | #[doc = " @param sread_ptr The memory location of the signature"] [INFO] [stdout] ... | [INFO] [stdout] 409 | | #[doc = " @param kread_len The length of the public key"] [INFO] [stdout] 410 | | #[doc = " @return True if and only if the signature was verified."] [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | / #[doc = " Compute the first half of a SHA512 checksum."] [INFO] [stdout] 422 | | #[doc = " @param write_ptr The buffer to write the checksum into. Must be at least 32 bytes."] [INFO] [stdout] 423 | | #[doc = " @param write_len The length of the buffer."] [INFO] [stdout] 424 | | #[doc = " @param read_ptr The buffer to read data for digest from."] [INFO] [stdout] 425 | | #[doc = " @param read_len The amount of data to read from the buffer."] [INFO] [stdout] 426 | | #[doc = " @return The number of bytes written to write_ptr or a negative integer on error."] [INFO] [stdout] | |________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | / #[doc = " Index into a xrpld serialized object and return the location and length of a subfield. Except for Array subtypes"] [INFO] [stdout] 431 | | #[doc = " the offset and length refer to the **payload** of the subfield not the entire subfield. Use SUB_OFFSET and"] [INFO] [stdout] 432 | | #[doc = " SUB_LENGTH macros to extract return value."] [INFO] [stdout] 433 | | #[doc = " @param read_ptr The memory location of the stobject"] [INFO] [stdout] ... | [INFO] [stdout] 437 | | #[doc = " to read_ptr and the low-word (least significant 4 bytes) is its length. MSB is sign bit, if set (negative)"] [INFO] [stdout] 438 | | #[doc = " return value indicates error (typically error means could not find.)"] [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | / #[doc = " Index into a xrpld serialized array and return the location and length of an index. Unlike sto_subfield this api"] [INFO] [stdout] 443 | | #[doc = " always returns the offset and length of the whole object at that index (not its payload.) Use SUB_OFFSET and"] [INFO] [stdout] 444 | | #[doc = " SUB_LENGTH macros to extract return value."] [INFO] [stdout] 445 | | #[doc = " @param read_ptr The memory location of the stobject"] [INFO] [stdout] ... | [INFO] [stdout] 449 | | #[doc = " to read_ptr and the low-word (least significant 4 bytes) is its length. MSB is sign bit, if set (negative)"] [INFO] [stdout] 450 | | #[doc = " return value indicates error (typically error means could not find.)"] [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn sto_validate(read_ptr: u32, read_len: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | / pub fn sto_emplace( [INFO] [stdout] 458 | | write_ptr: u32, [INFO] [stdout] 459 | | write_len: u32, [INFO] [stdout] 460 | | sread_ptr: u32, [INFO] [stdout] ... | [INFO] [stdout] 464 | | field_id: u32, [INFO] [stdout] 465 | | ) -> i64; [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | / pub fn sto_erase( [INFO] [stdout] 469 | | write_ptr: u32, [INFO] [stdout] 470 | | write_len: u32, [INFO] [stdout] 471 | | read_ptr: u32, [INFO] [stdout] 472 | | read_len: u32, [INFO] [stdout] 473 | | field_id: u32, [INFO] [stdout] 474 | | ) -> i64; [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | / pub fn util_keylet( [INFO] [stdout] 478 | | write_ptr: u32, [INFO] [stdout] 479 | | write_len: u32, [INFO] [stdout] 480 | | keylet_type: u32, [INFO] [stdout] ... | [INFO] [stdout] 486 | | f: u32, [INFO] [stdout] 487 | | ) -> i64; [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / #[doc = " Compute burden for an emitted transaction."] [INFO] [stdout] 491 | | #[doc = " @return the burden a theoretically emitted transaction would have."] [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | / #[doc = " Write a full emit_details stobject into the buffer specified."] [INFO] [stdout] 496 | | #[doc = " @param write_ptr A sufficiently large buffer to write into."] [INFO] [stdout] 497 | | #[doc = " @param write_len The length of that buffer."] [INFO] [stdout] 498 | | #[doc = " @return The number of bytes written or a negative integer indicating an error."] [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | / #[doc = " Compute the minimum fee required to be paid by a hypothetically emitted transaction based on its size in bytes."] [INFO] [stdout] 503 | | #[doc = " @param The size of the emitted transaction in bytes"] [INFO] [stdout] 504 | | #[doc = " @return The minimum fee in drops this transaction should pay to succeed"] [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | / #[doc = " Inform xrpld that you will be emitting at most @count@ transactions during the course of this hook execution."] [INFO] [stdout] 509 | | #[doc = " @param count The number of transactions you intend to emit from this hook."] [INFO] [stdout] 510 | | #[doc = " @return If a negaitve integer an error has occured"] [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | / #[doc = " Compute the generation of an emitted transaction. If this hook was invoked by a transaction emitted by a previous"] [INFO] [stdout] 515 | | #[doc = " hook then the generation counter will be 1+ the previous generation counter otherwise it will be 1."] [INFO] [stdout] 516 | | #[doc = " @return The generation of a hypothetically emitted transaction."] [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | / #[doc = " Emit a transaction from this hook."] [INFO] [stdout] 521 | | #[doc = " @param read_ptr Memory location of a buffer containing the fully formed binary transaction to emit."] [INFO] [stdout] 522 | | #[doc = " @param read_len The length of the transaction."] [INFO] [stdout] 523 | | #[doc = " @return A negative integer if the emission failed."] [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 527 | / #[doc = " Retrieve the account the hook is running on."] [INFO] [stdout] 528 | | #[doc = " @param write_ptr A buffer of at least 20 bytes to write into."] [INFO] [stdout] 529 | | #[doc = " @param write_len The length of that buffer"] [INFO] [stdout] 530 | | #[doc = " @return The number of bytes written into the buffer of a negative integer if an error occured."] [INFO] [stdout] | |______________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | / #[doc = " Retrieve the hash of the currently executing hook."] [INFO] [stdout] 535 | | #[doc = " @param write_ptr A buffer of at least 32 bytes to write into."] [INFO] [stdout] 536 | | #[doc = " @param write_len The length of that buffer"] [INFO] [stdout] 537 | | #[doc = " @return The number of bytes written into the buffer of a negative integer if an error occured."] [INFO] [stdout] | |______________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 541 | #[doc = " Retrive the currently recommended minimum fee for a transaction to succeed."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | #[doc = " Retrieve the current ledger sequence number"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn ledger_last_hash(write_ptr: u32, write_len: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | / #[doc = " Retrieve a nonce for use in an emitted transaction (or another task). Can be called repeatedly for multiple nonces."] [INFO] [stdout] 553 | | #[doc = " @param write_ptr A buffer of at least 32 bytes to write into."] [INFO] [stdout] 554 | | #[doc = " @param write_len The length of that buffer"] [INFO] [stdout] 555 | | #[doc = " @return The number of bytes written into the buffer of a negative integer if an error occured."] [INFO] [stdout] | |______________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | #[doc = " Slot functions have not been implemented yet and the api for them is subject to change"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | pub fn slot_clear(slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn slot_count(slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:569:5 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn slot_id(slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn slot_set(read_ptr: u32, read_len: u32, slot: i32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn slot_size(slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn slot_subarray(parent_slot: u32, array_id: u32, new_slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn slot_subfield(parent_slot: u32, field_id: u32, new_slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn slot_type(slot: u32, flags: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | pub fn slot_float(slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn trace_slot(mread_ptr: u32, mread_len: u32, slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn otxn_slot(slot: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | / #[doc = " In the hook's state key-value map, set the value for the key pointed at by kread_ptr."] [INFO] [stdout] 597 | | #[doc = " @param read_ptr A buffer containing the data to store"] [INFO] [stdout] 598 | | #[doc = " @param read_len The length of the data"] [INFO] [stdout] 599 | | #[doc = " @param kread_ptr A buffer containing the key"] [INFO] [stdout] 600 | | #[doc = " @param kread_len The length of the key"] [INFO] [stdout] 601 | | #[doc = " @return The number of bytes stored or a negative integer if an error occured"] [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | / #[doc = " Retrieve a value from the hook's key-value map."] [INFO] [stdout] 606 | | #[doc = " @param write_ptr A buffer to write the state value into"] [INFO] [stdout] 607 | | #[doc = " @param write_len The length of that buffer"] [INFO] [stdout] 608 | | #[doc = " @param kread_ptr A buffer to read the state key from"] [INFO] [stdout] 609 | | #[doc = " @param kread_len The length of that key"] [INFO] [stdout] 610 | | #[doc = " @return The number of bytes written or a negative integer if an error occured."] [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | / #[doc = " Retrieve a value from another hook's key-value map."] [INFO] [stdout] 615 | | #[doc = " @param write_ptr A buffer to write the state value into"] [INFO] [stdout] 616 | | #[doc = " @param write_len The length of that buffer"] [INFO] [stdout] 617 | | #[doc = " @param kread_ptr A buffer to read the state key from"] [INFO] [stdout] ... | [INFO] [stdout] 620 | | #[doc = " @param aread_len The length of the account-id (should always be 20)."] [INFO] [stdout] 621 | | #[doc = " @return The number of bytes written or a negative integer if an error occured."] [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 632 | / #[doc = " Print some output to the trace log on xrpld. Any xrpld instance set to \"trace\" log level will see this."] [INFO] [stdout] 633 | | #[doc = " @param read_ptr A buffer containing either data or text (in either utf8, or utf16le)"] [INFO] [stdout] 634 | | #[doc = " @param read_len The byte length of the data/text to send to the trace log"] [INFO] [stdout] 635 | | #[doc = " @param as_hex If 0 treat the read_ptr as pointing at a string of text, otherwise treat it as data and print hex"] [INFO] [stdout] 636 | | #[doc = " @return The number of bytes output or a negative integer if an error occured."] [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 646 | / #[doc = " Print some output to the trace log on xrpld along with a decimal number. Any xrpld instance set to \"trace\" log"] [INFO] [stdout] 647 | | #[doc = " level will see this."] [INFO] [stdout] 648 | | #[doc = " @param read_ptr A pointer to the string to output"] [INFO] [stdout] 649 | | #[doc = " @param read_len The length of the string to output"] [INFO] [stdout] 650 | | #[doc = " @param number Any integer you wish to display after the text"] [INFO] [stdout] 651 | | #[doc = " @return A negative value on error"] [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:655:5 [INFO] [stdout] | [INFO] [stdout] 655 | / #[doc = " Retrieve the burden of the originating transaction (if any)"] [INFO] [stdout] 656 | | #[doc = " @return The burden of the originating transaction"] [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 660 | / #[doc = " Retrieve a field from the originating transaction as \"full text\" (The way it is displayed in JSON)"] [INFO] [stdout] 661 | | #[doc = " @param write_ptr A buffer to write the representation into"] [INFO] [stdout] 662 | | #[doc = " @param write_len The length of the buffer"] [INFO] [stdout] 663 | | #[doc = " @param field_id The field code of the field being requested"] [INFO] [stdout] 664 | | #[doc = " @return The number of bytes written to write_ptr or a negative integer if an error occured."] [INFO] [stdout] | |___________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 668 | / #[doc = " Retrieve a field from the originating transaction in its raw serialized form."] [INFO] [stdout] 669 | | #[doc = " @param write_ptr A buffer to output the field into"] [INFO] [stdout] 670 | | #[doc = " @param write_len The length of the buffer."] [INFO] [stdout] 671 | | #[doc = " @param field_if The field code of the field being requested"] [INFO] [stdout] 672 | | #[doc = " @return The number of bytes written to write_ptr or a negative integer if an error occured."] [INFO] [stdout] | |___________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:676:5 [INFO] [stdout] | [INFO] [stdout] 676 | / #[doc = " Retrieve the generation of the originating transaction (if any)."] [INFO] [stdout] 677 | | #[doc = " @return the generation of the originating transaction."] [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 681 | / #[doc = " Retrieve the TXNID of the originating transaction."] [INFO] [stdout] 682 | | #[doc = " @param write_ptr A buffer at least 32 bytes long"] [INFO] [stdout] 683 | | #[doc = " @param write_len The length of the buffer."] [INFO] [stdout] 684 | | #[doc = " @return The number of bytes written into the buffer or a negative integer on failure."] [INFO] [stdout] | |_____________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | / #[doc = " Retrieve the Transaction Type (e.g. ttPayment = 0) of the originating transaction."] [INFO] [stdout] 689 | | #[doc = " @return The Transaction Type (tt-code)"] [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn float_set(exponent: i32, mantissa: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn float_multiply(float1: i64, float2: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn float_mulratio(float1: i64, round_up: u32, numerator: u32, denominator: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | pub fn float_negate(float1: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn float_compare(float1: i64, float2: i64, mode: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn float_sum(float1: i64, float2: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | / pub fn float_sto( [INFO] [stdout] 712 | | write_ptr: u32, [INFO] [stdout] 713 | | write_len: u32, [INFO] [stdout] 714 | | cread_ptr: u32, [INFO] [stdout] ... | [INFO] [stdout] 719 | | field_code: u32, [INFO] [stdout] 720 | | ) -> i64; [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn float_sto_set(read_ptr: u32, read_len: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:726:5 [INFO] [stdout] | [INFO] [stdout] 726 | pub fn float_invert(float1: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:729:5 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn float_divide(float1: i64, float2: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | pub fn float_one() -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn float_exponent(float1: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn float_exponent_set(float1: i64, exponent: i32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:741:5 [INFO] [stdout] | [INFO] [stdout] 741 | pub fn float_mantissa(float1: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:744:5 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn float_mantissa_set(float1: i64, mantissa: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn float_sign(float1: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:750:5 [INFO] [stdout] | [INFO] [stdout] 750 | pub fn float_sign_set(float1: i64, negative: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | pub fn float_int(float1: i64, decimal_places: u32, abs: u32) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/../c_bindings/bindings.rs:756:5 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn trace_float(mread_ptr: u32, mread_len: u32, float1: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | /// XRPL Hooks API [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | /// Transaction type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | /// Account type [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | /// Amount type [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | /// Keylet type [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / /// Field or amount type [INFO] [stdout] 166 | | /// [INFO] [stdout] 167 | | /// Used as return of [slot_type] function [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | /// Flags for [slot_type] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | /// Field type [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:359:1 [INFO] [stdout] | [INFO] [stdout] 359 | /// Data representation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:368:1 [INFO] [stdout] | [INFO] [stdout] 368 | / /// `Result` is a type that represents either success ([`Ok`]) or failure ([`Err`]). [INFO] [stdout] 369 | | // [INFO] [stdout] 370 | | /// This is simple version of Result type [INFO] [stdout] 371 | | /// to comply XRPL Hooks Webassembly restrictions [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | / impl Result { [INFO] [stdout] 384 | | /// Returns the contained [`Ok`] value, consuming the `self` value. [INFO] [stdout] 385 | | /// [INFO] [stdout] 386 | | /// # Rollbacks [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | / /// Returns the contained [`Ok`] value, consuming the `self` value. [INFO] [stdout] 385 | | /// [INFO] [stdout] 386 | | /// # Rollbacks [INFO] [stdout] 387 | | /// [INFO] [stdout] 388 | | /// Rollbacks if the value is an [`Err`], with a rollback message and error code. [INFO] [stdout] | |_____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | / /// Returns the contained [`Ok`] value, consuming the `self` value. [INFO] [stdout] 398 | | /// [INFO] [stdout] 399 | | /// Because this function may rollback, its use is generally discouraged. [INFO] [stdout] 400 | | /// Instead, prefer to use pattern matching and handle the [`Err`] [INFO] [stdout] ... | [INFO] [stdout] 405 | | /// Rollbacks if the value is an [`Err`], with a "error" and error code provided by the [INFO] [stdout] 406 | | /// [`Err`]'s value. [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | / /// Returns the contained [`Ok`] value, consuming the `self` value, [INFO] [stdout] 416 | | /// without checking that the value is not an [`Err`]. [INFO] [stdout] 417 | | /// [INFO] [stdout] 418 | | /// # Safety [INFO] [stdout] ... | [INFO] [stdout] 421 | | /// [INFO] [stdout] 422 | | /// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html [INFO] [stdout] | |____________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | /// Returns `true` if the result is [`Ok`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | /// Returns `true` if the result is [`Err`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 447 | / /// Possible errors returned by Hook APIs. [INFO] [stdout] 448 | | /// [INFO] [stdout] 449 | | /// Errors are global across all Hook APIs. [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:531:1 [INFO] [stdout] | [INFO] [stdout] 531 | / impl Error { [INFO] [stdout] 532 | | #[inline(always)] [INFO] [stdout] 533 | | fn from_code(code: i32) -> Self { [INFO] [stdout] 534 | | unsafe { core::mem::transmute(code) } [INFO] [stdout] ... | [INFO] [stdout] 541 | | } [INFO] [stdout] 542 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/api/mod.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | /// Error code [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | /// A few utilities [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/helpers.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Tests two buffers for equality [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// Pay attention to the GUARD_ID parameter. [INFO] [stdout] 9 | | /// This should be unique on every call, through the entire hook code. [INFO] [stdout] 10 | | /// Otherwise you will encounter guard violation during the execution of your hook. [INFO] [stdout] | |___________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/helpers.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Zeroize a buffer [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// Pay attention to the GUARD_ID parameter. [INFO] [stdout] 37 | | /// This should be unique on every call, through the entire hook code. [INFO] [stdout] 38 | | /// Otherwise you will encounter guard violation during the execution of your hook. [INFO] [stdout] | |___________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/helpers.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / /// Checks whether the transaction is outgoing [INFO] [stdout] 54 | | /// [INFO] [stdout] 55 | | /// Pay attention to the GUARD_ID parameter. [INFO] [stdout] 56 | | /// This should be unique on every call, through the entire hook code. [INFO] [stdout] 57 | | /// Otherwise you will encounter guard violation during the execution of your hook. [INFO] [stdout] | |___________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/helpers.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / /// Checks whether the transaction is ingoing [INFO] [stdout] 80 | | /// [INFO] [stdout] 81 | | /// Pay attention to the GUARD_ID parameter. [INFO] [stdout] 82 | | /// This should be unique on every call, through the entire hook code. [INFO] [stdout] 83 | | /// Otherwise you will encounter guard violation during the execution of your hook. [INFO] [stdout] | |___________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/helpers.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | /// Convert amount to drops [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/helpers.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | /// Prepares payment for emitting [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// Assumes uninitialized as initialized [INFO] [stdout] 2 | | /// [INFO] [stdout] 3 | | /// Rust doesn't allow to use uninitialized values, but we need them to avoid [INFO] [stdout] 4 | | /// memset, memcpy extra functions call in wasm binary. [INFO] [stdout] ... | [INFO] [stdout] 10 | | /// let mut buf: [u8; 20] = uninit_buf!(); [INFO] [stdout] 11 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 98 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `xrpl-hooks` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name xrpl_hooks src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=2d4364c00f0c5f32 -L dependency=/opt/rustwide/target/debug/deps --crate-version 0.3.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "3fad7ef7280d2b1f9c2f99b79307a11cc0944642db4c7163ba7834feb77e421f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fad7ef7280d2b1f9c2f99b79307a11cc0944642db4c7163ba7834feb77e421f", kill_on_drop: false }` [INFO] [stdout] 3fad7ef7280d2b1f9c2f99b79307a11cc0944642db4c7163ba7834feb77e421f