[INFO] fetching crate armor 1.2.0... [INFO] documenting armor-1.2.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate armor 1.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate armor 1.2.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 armor 1.2.0 [INFO] finished tweaking crates.io crate armor 1.2.0 [INFO] tweaked toml for crates.io crate armor 1.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate armor 1.2.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 2fbe02af85f925a5e236e7a5a1d2bd716fa8edf4712dadce15732c15292dcc4e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2fbe02af85f925a5e236e7a5a1d2bd716fa8edf4712dadce15732c15292dcc4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fbe02af85f925a5e236e7a5a1d2bd716fa8edf4712dadce15732c15292dcc4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fbe02af85f925a5e236e7a5a1d2bd716fa8edf4712dadce15732c15292dcc4e", kill_on_drop: false }` [INFO] [stdout] 2fbe02af85f925a5e236e7a5a1d2bd716fa8edf4712dadce15732c15292dcc4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c2921556ef1e1bbd827b2271cf18a4514ff17e3e029fc86fde2b1f7a7f33bd7 [INFO] running `Command { std: "docker" "start" "-a" "0c2921556ef1e1bbd827b2271cf18a4514ff17e3e029fc86fde2b1f7a7f33bd7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Documenting armor v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | #![warn(missing_docs, missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `sic` [INFO] [stdout] --> src/lib.rs:170:59 [INFO] [stdout] | [INFO] [stdout] 170 | /// Mitigates referrer leakage by controlling the referer[sic] header in links away from pages [INFO] [stdout] | ^^^ no item named `sic` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.58s [INFO] running `Command { std: "docker" "inspect" "0c2921556ef1e1bbd827b2271cf18a4514ff17e3e029fc86fde2b1f7a7f33bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2921556ef1e1bbd827b2271cf18a4514ff17e3e029fc86fde2b1f7a7f33bd7", kill_on_drop: false }` [INFO] [stdout] 0c2921556ef1e1bbd827b2271cf18a4514ff17e3e029fc86fde2b1f7a7f33bd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 2e93a8d4c3cc4c618d7fe890925f3930e793d7bf9ccc860f69d9564453f46202 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e93a8d4c3cc4c618d7fe890925f3930e793d7bf9ccc860f69d9564453f46202", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Documenting armor v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | #![warn(missing_docs, missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Define source value [INFO] [stdout] 31 | | /// [INFO] [stdout] 32 | | /// [read more](https://content-security-policy.com) [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | #![warn(missing_docs, missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / /// Define `report-to` directive value [INFO] [stdout] 100 | | /// [INFO] [stdout] 101 | | /// [MDN | report-to](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to) [INFO] [stdout] | |__________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / /// Define `endpoints` for `report-to` directive value [INFO] [stdout] 113 | | /// [INFO] [stdout] 114 | | /// [MDN | report-to](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to) [INFO] [stdout] | |__________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | /// Build the Content-Security-Policy [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / impl ContentSecurityPolicy { [INFO] [stdout] 141 | | /// Create a new instance. [INFO] [stdout] 142 | | pub fn new() -> Self { [INFO] [stdout] 143 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 353 | | } [INFO] [stdout] 354 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | /// Create a new instance. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / /// Defines the Content-Security-Policy `base-uri` directive [INFO] [stdout] 158 | | /// [INFO] [stdout] 159 | | /// [MDN | base-uri](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/base-uri) [INFO] [stdout] | |____________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / /// Defines the Content-Security-Policy `block-all-mixed-content` directive [INFO] [stdout] 166 | | /// [INFO] [stdout] 167 | | /// [MDN | block-all-mixed-content](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content) [INFO] [stdout] | |__________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / /// Defines the Content-Security-Policy `connect-src` directive [INFO] [stdout] 175 | | /// [INFO] [stdout] 176 | | /// [MDN | connect-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/connect-src) [INFO] [stdout] | |__________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | / /// Defines the Content-Security-Policy `default-src` directive [INFO] [stdout] 183 | | /// [INFO] [stdout] 184 | | /// [MDN | default-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/default-src) [INFO] [stdout] | |__________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / /// Defines the Content-Security-Policy `font-src` directive [INFO] [stdout] 191 | | /// [INFO] [stdout] 192 | | /// [MDN | font-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/font-src) [INFO] [stdout] | |____________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / /// Defines the Content-Security-Policy `form-action` directive [INFO] [stdout] 199 | | /// [INFO] [stdout] 200 | | /// [MDN | form-action](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/form-action) [INFO] [stdout] | |__________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | / /// Defines the Content-Security-Policy `frame-ancestors` directive [INFO] [stdout] 207 | | /// [INFO] [stdout] 208 | | /// [MDN | frame-ancestors](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors) [INFO] [stdout] | |__________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / /// Defines the Content-Security-Policy `frame-src` directive [INFO] [stdout] 215 | | /// [INFO] [stdout] 216 | | /// [MDN | frame-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-src) [INFO] [stdout] | |______________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / /// Defines the Content-Security-Policy `img-src` directive [INFO] [stdout] 223 | | /// [INFO] [stdout] 224 | | /// [MDN | img-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src) [INFO] [stdout] | |__________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / /// Defines the Content-Security-Policy `media-src` directive [INFO] [stdout] 231 | | /// [INFO] [stdout] 232 | | /// [MDN | media-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/media-src) [INFO] [stdout] | |______________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / /// Defines the Content-Security-Policy `object-src` directive [INFO] [stdout] 239 | | /// [INFO] [stdout] 240 | | /// [MDN | object-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/object-src) [INFO] [stdout] | |________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / /// Defines the Content-Security-Policy `plugin-types` directive [INFO] [stdout] 247 | | /// [INFO] [stdout] 248 | | /// [MDN | plugin-types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/plugin-types) [INFO] [stdout] | |____________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | / /// Defines the Content-Security-Policy `require-sri-for` directive [INFO] [stdout] 255 | | /// [INFO] [stdout] 256 | | /// [MDN | require-sri-for](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/require-sri-for) [INFO] [stdout] | |__________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | / /// Defines the Content-Security-Policy `report-uri` directive [INFO] [stdout] 263 | | /// [INFO] [stdout] 264 | | /// [MDN | report-uri](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri) [INFO] [stdout] | |________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / /// Defines the Content-Security-Policy `report-to` directive [INFO] [stdout] 271 | | /// [INFO] [stdout] 272 | | /// [MDN | report-to](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to) [INFO] [stdout] | |______________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / /// Defines the Content-Security-Policy `sandbox` directive [INFO] [stdout] 289 | | /// [INFO] [stdout] 290 | | /// [MDN | sandbox](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox) [INFO] [stdout] | |__________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | / /// Defines the Content-Security-Policy `script-src` directive [INFO] [stdout] 297 | | /// [INFO] [stdout] 298 | | /// [MDN | script-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src) [INFO] [stdout] | |________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | / /// Defines the Content-Security-Policy `style-src` directive [INFO] [stdout] 305 | | /// [INFO] [stdout] 306 | | /// [MDN | style-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src) [INFO] [stdout] | |______________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | / /// Defines the Content-Security-Policy `upgrade-insecure-requests` directive [INFO] [stdout] 313 | | /// [INFO] [stdout] 314 | | /// [MDN | upgrade-insecure-requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/upgrade-insecure-requests) [INFO] [stdout] | |______________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | / /// Defines the Content-Security-Policy `worker-src` directive [INFO] [stdout] 322 | | /// [INFO] [stdout] 323 | | /// [MDN | worker-src](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/worker-src) [INFO] [stdout] | |________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | /// Change the header to `Content-Security-Policy-Report-Only` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | /// Sets the `Content-Security-Policy` (CSP) HTTP header to prevent cross-site injections [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/csp.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 356 | /// Create a new instance. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | /// Set the frameguard level. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | /// Set the Referrer-Policy level [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `sic` [INFO] [stdout] --> src/lib.rs:170:59 [INFO] [stdout] | [INFO] [stdout] 170 | /// Mitigates referrer leakage by controlling the referer[sic] header in links away from pages [INFO] [stdout] | ^^^ no item named `sic` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.35s [INFO] running `Command { std: "docker" "inspect" "2e93a8d4c3cc4c618d7fe890925f3930e793d7bf9ccc860f69d9564453f46202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e93a8d4c3cc4c618d7fe890925f3930e793d7bf9ccc860f69d9564453f46202", kill_on_drop: false }` [INFO] [stdout] 2e93a8d4c3cc4c618d7fe890925f3930e793d7bf9ccc860f69d9564453f46202