[INFO] fetching crate radius-rust 0.4.0... [INFO] documenting radius-rust-0.4.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate radius-rust 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate radius-rust 0.4.0 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate radius-rust 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate radius-rust 0.4.0 [INFO] tweaked toml for crates.io crate radius-rust 0.4.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate radius-rust 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vec-arena v1.0.0 [INFO] [stderr] Downloaded polling v2.0.2 [INFO] [stderr] Downloaded ctor v0.1.16 [INFO] [stderr] Downloaded nb-connect v1.0.3 [INFO] [stderr] Downloaded libc v0.2.87 [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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98ddff9f24af24a00a40a7d045693854a354e18377e980a976f8a1d90040e27e [INFO] running `Command { std: "docker" "start" "-a" "98ddff9f24af24a00a40a7d045693854a354e18377e980a976f8a1d90040e27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98ddff9f24af24a00a40a7d045693854a354e18377e980a976f8a1d90040e27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ddff9f24af24a00a40a7d045693854a354e18377e980a976f8a1d90040e27e", kill_on_drop: false }` [INFO] [stdout] 98ddff9f24af24a00a40a7d045693854a354e18377e980a976f8a1d90040e27e [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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b3f853b4a44e32ea2137d67e66ac418021ee1a11f4c3730bc879d03b4228b43 [INFO] running `Command { std: "docker" "start" "-a" "6b3f853b4a44e32ea2137d67e66ac418021ee1a11f4c3730bc879d03b4228b43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Documenting radius-rust v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_crate_level_docs` has been renamed to `rustdoc::missing_crate_level_docs` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | missing_crate_level_docs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_crate_level_docs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.02s [INFO] running `Command { std: "docker" "inspect" "6b3f853b4a44e32ea2137d67e66ac418021ee1a11f4c3730bc879d03b4228b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3f853b4a44e32ea2137d67e66ac418021ee1a11f4c3730bc879d03b4228b43", kill_on_drop: false }` [INFO] [stdout] 6b3f853b4a44e32ea2137d67e66ac418021ee1a11f4c3730bc879d03b4228b43 [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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 19d45f6feb09bcb7907855f542fdbce702093772ebadeeded7c23780dde04ed3 [INFO] running `Command { std: "docker" "start" "-a" "19d45f6feb09bcb7907855f542fdbce702093772ebadeeded7c23780dde04ed3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Documenting radius-rust v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_crate_level_docs` has been renamed to `rustdoc::missing_crate_level_docs` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | missing_crate_level_docs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_crate_level_docs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Pure Rust implementation of RADIUS Protocol/Client/Server [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! If you want to built RADIUS Server, a good starting point is to look inside `examples/*_radius_server.rs` [INFO] [stdout] 4 | | //! [INFO] [stdout] 5 | | //! If you want to build RADIUS Client, a good starting point is to look inside `examples/*_radius_client.rs` [INFO] [stdout] | |_____________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Module contains RADIUS Client implementation and related traits definitions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! RADIUS Generic Client implementation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | /// Represents RADIUS Generic Client instance [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / impl Client { [INFO] [stdout] 27 | | // === Builder for Client === [INFO] [stdout] 28 | | /// Initialise Client instance with dictionary (other fields would be set to default values) [INFO] [stdout] 29 | | /// [INFO] [stdout] ... | [INFO] [stdout] 251 | | } [INFO] [stdout] 252 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Initialise Client instance with dictionary (other fields would be set to default values) [INFO] [stdout] 29 | | /// [INFO] [stdout] 30 | | /// To be called **first** when creating RADIUS Client instance [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / /// **Required** [INFO] [stdout] 44 | | /// [INFO] [stdout] 45 | | /// Sets hostname to which client would attempt to send RADIUS packets [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// **Required** [INFO] [stdout] 52 | | /// [INFO] [stdout] 53 | | /// Sets secret which is used to encode/decode RADIUS packet [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / /// **Required/Optional** [INFO] [stdout] 60 | | /// [INFO] [stdout] 61 | | /// Sets remote port, that responsible for specific RADIUS Message Type [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /// **Optional** [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// Sets socket retries, otherwise you would have a default value of 1 [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / /// **Optional** [INFO] [stdout] 76 | | /// [INFO] [stdout] 77 | | /// Sets socket timeout, otherwise you would have a default value of 2 [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | /// Returns port of RADIUS server, that receives given type of RADIUS message/packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | /// Returns hostname/FQDN of RADIUS Server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | /// Returns secret [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | /// Returns retries [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | /// Returns timeout [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / /// Creates RADIUS packet with any TypeCode without attributes [INFO] [stdout] 110 | | /// [INFO] [stdout] 111 | | /// You would need to set attributes manually via *set_attributes()* function [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / /// Creates RADIUS Access Request packet [INFO] [stdout] 117 | | /// [INFO] [stdout] 118 | | /// You would need to set attributes manually via *set_attributes()* function [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / /// Creates RADIUS Accounting Request packet without attributes [INFO] [stdout] 124 | | /// [INFO] [stdout] 125 | | /// You would need to set attributes manually via *set_attributes()* function [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / /// Creates RADIUS CoA Request packet without attributes [INFO] [stdout] 131 | | /// [INFO] [stdout] 132 | | /// You would need to set attributes manually via *set_attributes()* function [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / /// Generates HMAC-MD5 hash for Message-Authenticator attribute [INFO] [stdout] 186 | | /// [INFO] [stdout] 187 | | /// Note: this function assumes that RadiusAttribute Message-Authenticator already exists in RadiusPacket [INFO] [stdout] | |______________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Gets the original value as a String [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// If the RadiusAttribute respresents dictionary attribute of type: string, ipaddr, ipv6addr or ipv6prefix [INFO] [stdout] | |_______________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Gets the original value as an Integer [INFO] [stdout] 205 | | /// [INFO] [stdout] 206 | | /// If the RadiusAttribute respresents dictionary attribute of type: integer or date [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | /// Initialises RadiusPacket from bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | /// Verifies that reply packet's ID and authenticator are a match [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | /// Verifies that reply packet's Message-Authenticator attribute is valid [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/client.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | /// Verifies that reply packet's attributes have valid values [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / /// This trait is to be implemented by user, if they are planning to resolve AUTH, ACCT or CoA [INFO] [stdout] 26 | | /// RADIUS requests for Async RADIUS Client [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | /// Responsible for sending packets off to RADIUS Server ignoring any response received [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/client/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// Responsible for sending packets off to RADIUS Server returning response [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Module contains RADIUS Generic Server implementation and related traits definitions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! RADIUS Generic Server implementation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | /// Represents RADIUS Generic Server instance [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl Server { [INFO] [stdout] 25 | | // === Builder for Server === [INFO] [stdout] 26 | | /// Initialise Server instance with dictionary (other fields would be set to default values) [INFO] [stdout] 27 | | /// [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Initialise Server instance with dictionary (other fields would be set to default values) [INFO] [stdout] 27 | | /// [INFO] [stdout] 28 | | /// To be called **first** when creating RADIUS Server instance [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / /// **Required** [INFO] [stdout] 43 | | /// [INFO] [stdout] 44 | | /// Sets hostname to which server would bind [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / /// **Required** [INFO] [stdout] 51 | | /// [INFO] [stdout] 52 | | /// Sets secret which is used to encode/decode RADIUS packet [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / /// **Required** [INFO] [stdout] 59 | | /// [INFO] [stdout] 60 | | /// Sets allowed hosts, from where Server would be allowed to accept RADIUS requests [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / /// **Required/Optional** [INFO] [stdout] 67 | | /// [INFO] [stdout] 68 | | /// Sets remote port, that responsible for specific RADIUS Message Type [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / /// **Optional** [INFO] [stdout] 75 | | /// [INFO] [stdout] 76 | | /// Sets socket retries, otherwise you would have a default value of 1 [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / /// **Optional** [INFO] [stdout] 83 | | /// [INFO] [stdout] 84 | | /// Sets socket timeout, otherwise you would have a default value of 2 [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | /// Returns port of RADIUS server, that receives given type of RADIUS message/packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | /// Returns hostname/FQDN of RADIUS Server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | /// Returns retries [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | /// Returns timeout [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | /// Returns allowed hosts list [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / /// Creates RADIUS packet attribute by name, that is defined in dictionary file [INFO] [stdout] 117 | | /// [INFO] [stdout] 118 | | /// For example, see [Client](crate::client::client::Client::create_attribute_by_name) [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / /// Creates RADIUS packet attribute by id, that is defined in dictionary file [INFO] [stdout] 124 | | /// [INFO] [stdout] 125 | | /// For example, see [Client](crate::client::client::Client::create_attribute_by_id) [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / /// Creates reply RADIUS packet [INFO] [stdout] 131 | | /// [INFO] [stdout] 132 | | /// Similar to [Client's create_packet()](crate::client::client::Client::create_packet), however also sets correct packet ID and authenticator [INFO] [stdout] | |__________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / /// Verifies incoming RADIUS packet: [INFO] [stdout] 163 | | /// [INFO] [stdout] 164 | | /// Server would try to build RadiusPacket from raw bytes, and if it succeeds then packet is [INFO] [stdout] 165 | | /// valid, otherwise would return RadiusError [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / /// Verifies RadiusAttributes's values of incoming RADIUS packet: [INFO] [stdout] 174 | | /// [INFO] [stdout] 175 | | /// Server would try to build RadiusPacket from raw bytes, and then it would try to restore [INFO] [stdout] 176 | | /// RadiusAttribute original value from bytes, based on the attribute data type, see [SupportedAttributeTypes](crate::protocol::dictionary::SupportedAttributeTypes) [INFO] [stdout] | |________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / /// Initialises RadiusPacket from bytes [INFO] [stdout] 182 | | /// [INFO] [stdout] 183 | | /// Unlike [verify_request](Server::verify_request), on success this function would return [INFO] [stdout] 184 | | /// RadiusPacket [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/server.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / /// Checks if host from where Server received RADIUS request is allowed host, meaning RADIUS [INFO] [stdout] 190 | | /// Server can process such request [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/mod.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / /// This trait is to be implemented by user, if they are planning to resolve AUTH, ACCT or CoA [INFO] [stdout] 40 | | /// RADIUS requests for Sync RADIUS Server [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / /// Main function, that starts and keeps server running [INFO] [stdout] 43 | | /// [INFO] [stdout] 44 | | /// For example see `examples/sync_radius_server.rs` [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Function is responsible for resolving AUTH RADIUS request [INFO] [stdout] 48 | | /// [INFO] [stdout] 49 | | /// For example see `examples/sync_radius_server.rs` [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / /// Function is responsible for resolving ACCT RADIUS request [INFO] [stdout] 54 | | /// [INFO] [stdout] 55 | | /// For example see `examples/sync_radius_server.rs` [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/server/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / /// Function is responsible for resolving CoA RADIUS request [INFO] [stdout] 60 | | /// [INFO] [stdout] 61 | | /// For example see `examples/sync_radius_server.rs` [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! RADIUS protocol implementation [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! `dictionary` module - represents RADIUS dictionary, that hold all attributes which are to be [INFO] [stdout] 4 | | //! used by RADIUS Client & Server [INFO] [stdout] ... | [INFO] [stdout] 8 | | //! [INFO] [stdout] 9 | | //! `error` module - represents custom errors defined for `radius-rust` crate [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! RADIUS Dictionary implementation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Represents a list of supported data types [INFO] [stdout] 11 | | /// as defined in RFC 2865 [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | /// Represents an ATTRIBUTE from RADIUS dictionary file [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / impl DictionaryAttribute { [INFO] [stdout] 42 | | /// Return name of the Attribute [INFO] [stdout] 43 | | pub fn name(&self) -> &str { [INFO] [stdout] 44 | | &self.name [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | /// Return name of the Attribute [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// Return code of the Attribute [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | /// Return code_type of the Attribute [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | /// Represents a VALUE from RADIUS dictionary file [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl DictionaryValue { [INFO] [stdout] 69 | | /// Return name of the Value [INFO] [stdout] 70 | | pub fn name(&self) -> &str { [INFO] [stdout] 71 | | &self.value_name [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | /// Return name of the Value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | /// Return attribute_name of the Value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | /// Return value of the Value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | /// Represents a VENDOR from RADIUS dictionary file [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | /// Represents RADIUS dictionary [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / impl Dictionary { [INFO] [stdout] 106 | | /// Creates Dictionary from a string [INFO] [stdout] 107 | | pub fn from_str(dictionary_str: &str) -> Result { [INFO] [stdout] 108 | | todo!() [INFO] [stdout] ... | [INFO] [stdout] 152 | | } [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | /// Creates Dictionary from a string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | /// Creates Dictionary from a RADIUS dictionary file [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | /// Returns parsed DictionaryAttributes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | /// Returns parsed DictionaryValues [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/dictionary.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | /// Returns parsed DictionaryVendors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! RADIUS Packet implementation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / /// Allowed types of RADIUS messages/packets [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// Mainly used in RADIUS Server implementation to distinguish between sockets and functions, that should [INFO] [stdout] 18 | | /// process RADIUS packets [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Contains all supported Codes of RADIUS message/packet [INFO] [stdout] 41 | | /// as defined in RFC 2865 & RFC 3576 [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / impl TypeCode { [INFO] [stdout] 74 | | /// Convert integer(u8) value into corresponding TypeCode enum [INFO] [stdout] 75 | | pub fn from_u8(code: u8) -> Result { [INFO] [stdout] 76 | | match code { [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | /// Convert integer(u8) value into corresponding TypeCode enum [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | /// Convert TypeCode enum value into corresponding integer(u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | /// Represents an attribute, which would be sent to RADIUS Server/client as a part of RadiusPacket [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / impl RadiusAttribute { [INFO] [stdout] 126 | | /// Creates RadiusAttribute with given name [INFO] [stdout] 127 | | /// [INFO] [stdout] 128 | | /// Returns None, if ATTRIBUTE with such name is not found in Dictionary [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / /// Creates RadiusAttribute with given name [INFO] [stdout] 127 | | /// [INFO] [stdout] 128 | | /// Returns None, if ATTRIBUTE with such name is not found in Dictionary [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / /// Creates RadiusAttribute with given id [INFO] [stdout] 141 | | /// [INFO] [stdout] 142 | | /// Returns None, if ATTRIBUTE with such id is not found in Dictionary [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / /// Overriddes RadiusAttribute value [INFO] [stdout] 155 | | /// [INFO] [stdout] 156 | | /// Mainly used when building Message-Authenticator [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | /// Returns RadiusAttribute id [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | /// Returns RadiusAttribute value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | /// Returns RadiusAttribute name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | /// Verifies RadiusAttribute value, based on the ATTRIBUTE code type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Returns RadiusAttribute value, if the attribute is dictionary's ATTRIBUTE with code type string, ipaddr, [INFO] [stdout] 226 | | /// ipv6addr or aipv6prefix [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / /// Returns RadiusAttribute value, if the attribute is dictionary's ATTRIBUTE with code type [INFO] [stdout] 258 | | /// integer of date [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | /// Represents RADIUS packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:301:1 [INFO] [stdout] | [INFO] [stdout] 301 | / impl RadiusPacket { [INFO] [stdout] 302 | | /// Initialises RADIUS packet with random ID and authenticator [INFO] [stdout] 303 | | pub fn initialise_packet(code: TypeCode) -> RadiusPacket { [INFO] [stdout] 304 | | RadiusPacket { [INFO] [stdout] ... | [INFO] [stdout] 473 | | } [INFO] [stdout] 474 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | /// Initialises RADIUS packet with random ID and authenticator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | /// Initialises RADIUS packet from raw bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | /// Sets attrbiutes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | /// Overrides RadiusPacket id [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | /// Overrides RadiusPacket authenticator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | / /// Overrides RadiusPacket Message-Authenticator [INFO] [stdout] 362 | | /// [INFO] [stdout] 363 | | /// Note: would fail if RadiusPacket has no Message-Authenticator attribute defined [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | /// Returns Message-Authenticator value, if exists in RadiusPacket [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | /// Returns RadiusPacket id [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | /// Returns RadiusPacket authenticator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | /// Returns RadiusPacket code [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | /// Returns RadiusPacket attributes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | /// Returns RadiusAttribute with given name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | /// Returns RadiusAttribute with given id [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/radius_packet.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | /// Converts RadiusPacket into ready-to-be-sent bytes vector [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Custom errors that are used in radius-rust crate to notify users of RADIUS specific error [INFO] [stdout] 2 | | //! states [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/protocol/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// Represents all errors generated by this library [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Various helper functions, that are used by RADIUS Client & Server to encode/decode information [INFO] [stdout] 2 | | //! inside RADIUS packet [INFO] [stdout] 3 | | //! They are also available to crate users to prepare data before it is packed into RADIUS packet [INFO] [stdout] | |_________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Converts IPv6 Address string into vector of bytes [INFO] [stdout] 17 | | /// [INFO] [stdout] 18 | | /// Should be used for any Attribute of type **ipv6addr** or **ipv6prefix** to ensure value is encoded correctly [INFO] [stdout] | |________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | /// Converts IPv6 bytes into IPv6 string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / /// Converts IPv4 Address string into vector of bytes [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// Should be used for any Attribute of type **ipaddr** to ensure value is encoded correctly [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | /// Converts IPv4 bytes into IPv4 string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / /// Converts u32 into vector of bytes [INFO] [stdout] 89 | | /// [INFO] [stdout] 90 | | /// Should be used for any Attribute of type **integer** to ensure value is encoded correctly [INFO] [stdout] | |_____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | /// Converts integer bytes into u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / /// Converts timestamp (u64) into vector of bytes [INFO] [stdout] 101 | | /// [INFO] [stdout] 102 | | /// Should be used for any Attribute of type **date** to ensure value is encoded correctly [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | /// Converts timestamp bytes into u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / /// Encrypts data since RADIUS packet is sent in plain text [INFO] [stdout] 113 | | /// [INFO] [stdout] 114 | | /// Should be used to encrypt value of **User-Password** attribute (but could also be used to [INFO] [stdout] 115 | | /// encrypt any data) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / /// Decrypts data since RADIUS packet is sent in plain text [INFO] [stdout] 143 | | /// [INFO] [stdout] 144 | | /// Should be used to decrypt value of **User-Password** attribute (but could also be used to [INFO] [stdout] 145 | | /// decrypt any data) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / /// Encrypts data with salt since RADIUS packet is sent in plain text [INFO] [stdout] 183 | | /// [INFO] [stdout] 184 | | /// Should be used for RADIUS Tunnel-Password Attribute [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/tools/mod.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / /// Decrypts data with salt since RADIUS packet is sent in plain text [INFO] [stdout] 213 | | /// [INFO] [stdout] 214 | | /// Should be used for RADIUS Tunnel-Password Attribute [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | #![cfg_attr(not(feature = "async-radius"), doc = "## Async RADIUS Server/Client Disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 128 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `radius-rust` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name radius_rust src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=662e7918ebb768f2 -L dependency=/opt/rustwide/target/debug/deps --extern log=/opt/rustwide/target/debug/deps/liblog-1e3c371ab90a7930.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-8626548116f09326.rmeta --extern crypto=/opt/rustwide/target/debug/deps/libcrypto-1278939de32a68c4.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-b0593eca48595b9e.rmeta --extern-html-root-url 'log=https://docs.rs/log/0.4.14/' --extern-html-root-url 'rand=https://docs.rs/rand/0.7.3/' --extern-html-root-url 'crypto=https://docs.rs/rust-crypto/0.2.36/' --extern-html-root-url 'thiserror=https://docs.rs/thiserror/1.0.23/' -Zunstable-options --crate-version 0.4.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "19d45f6feb09bcb7907855f542fdbce702093772ebadeeded7c23780dde04ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d45f6feb09bcb7907855f542fdbce702093772ebadeeded7c23780dde04ed3", kill_on_drop: false }` [INFO] [stdout] 19d45f6feb09bcb7907855f542fdbce702093772ebadeeded7c23780dde04ed3