[INFO] fetching crate sentry-failure 0.19.0... [INFO] documenting sentry-failure-0.19.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate sentry-failure 0.19.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sentry-failure 0.19.0 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sentry-failure 0.19.0 [INFO] finished tweaking crates.io crate sentry-failure 0.19.0 [INFO] tweaked toml for crates.io crate sentry-failure 0.19.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", 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] bafddabfcd7d120c785fc403c8928cb7654089b489b5a9e5125495803ef9b7d4 [INFO] running `Command { std: "docker" "start" "-a" "bafddabfcd7d120c785fc403c8928cb7654089b489b5a9e5125495803ef9b7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bafddabfcd7d120c785fc403c8928cb7654089b489b5a9e5125495803ef9b7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafddabfcd7d120c785fc403c8928cb7654089b489b5a9e5125495803ef9b7d4", kill_on_drop: false }` [INFO] [stdout] bafddabfcd7d120c785fc403c8928cb7654089b489b5a9e5125495803ef9b7d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3504b9f5065651dd495538daf033234a3c82c5fbe4c24cb0bdd7435a907129 [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" "4e3504b9f5065651dd495538daf033234a3c82c5fbe4c24cb0bdd7435a907129", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking chrono v0.4.12 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking debugid v0.7.2 [INFO] [stderr] Checking sentry-types v0.19.0 [INFO] [stderr] Checking sentry-core v0.19.0 [INFO] [stderr] Checking sentry-backtrace v0.19.0 [INFO] [stderr] Documenting sentry-failure v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | /// The Sentry Failure Integration. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / /// This converts a single fail instance into an exception. [INFO] [stdout] 88 | | /// [INFO] [stdout] 89 | | /// This is typically not very useful as the `event_from_error` and [INFO] [stdout] 90 | | /// `event_from_fail` methods will assemble an entire event with all the [INFO] [stdout] 91 | | /// causes of a failure, however for certain more complex situations where [INFO] [stdout] 92 | | /// fails are contained within a non fail error type that might also carry [INFO] [stdout] 93 | | /// useful information it can be useful to call this method instead. [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | /// Helper function to create an event from a `failure::Error`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | /// Helper function to create an event from a `failure::Fail`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / /// Captures a boxed failure (`failure::Error`). [INFO] [stdout] 152 | | /// [INFO] [stdout] 153 | | /// This dispatches to the current hub. [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / /// Captures a `failure::Fail`. [INFO] [stdout] 159 | | /// [INFO] [stdout] 160 | | /// This dispatches to the current hub. [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | /// Hub extension methods for working with failure. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | /// Captures a boxed failure (`failure::Error`). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | /// Captures a `failure::Fail`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | / /// Extension trait providing methods to unwrap a result, preserving backtraces from the [INFO] [stdout] 184 | | /// underlying error in the event of a panic. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | /// Type of the success case [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | / /// Unwraps the result, panicking if it contains an error. Any backtrace attached to the [INFO] [stdout] 189 | | /// error will be preserved with the panic. [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl FailureIntegration { [INFO] [stdout] 45 | | /// Creates a new Failure Integration. [INFO] [stdout] 46 | | pub fn new() -> Self { [INFO] [stdout] 47 | | Self::default() [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | /// Creates a new Failure Integration. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / impl FailureHubExt for Hub { [INFO] [stdout] 174 | | fn capture_error(&self, err: &Error) -> Uuid { [INFO] [stdout] 175 | | self.capture_event(event_from_error(err)) [INFO] [stdout] 176 | | } [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / fn capture_error(&self, err: &Error) -> Uuid { [INFO] [stdout] 175 | | self.capture_event(event_from_error(err)) [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / fn capture_fail(&self, fail: &F) -> Uuid { [INFO] [stdout] 179 | | self.capture_event(event_from_fail(fail)) [INFO] [stdout] 180 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | / impl FailureResultExt for Result [INFO] [stdout] 194 | | where [INFO] [stdout] 195 | | E: Into, [INFO] [stdout] 196 | | { [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | type Value = T; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / fn fallible_unwrap(self) -> Self::Value { [INFO] [stdout] 199 | | match self { [INFO] [stdout] 200 | | Ok(v) => v, [INFO] [stdout] 201 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / impl Integration for FailureIntegration { [INFO] [stdout] 52 | | fn name(&self) -> &'static str { [INFO] [stdout] 53 | | "failure" [INFO] [stdout] 54 | | } [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn name(&self) -> &'static str { [INFO] [stdout] 53 | | "failure" [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn setup(&self, cfg: &mut ClientOptions) { [INFO] [stdout] 57 | | cfg.in_app_exclude.push("failure::"); [INFO] [stdout] 58 | | cfg.extra_border_frames.extend_from_slice(&[ [INFO] [stdout] 59 | | "failure::error_message::err_msg", [INFO] [stdout] ... | [INFO] [stdout] 63 | | ]); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.86s [INFO] running `Command { std: "docker" "inspect" "4e3504b9f5065651dd495538daf033234a3c82c5fbe4c24cb0bdd7435a907129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3504b9f5065651dd495538daf033234a3c82c5fbe4c24cb0bdd7435a907129", kill_on_drop: false }` [INFO] [stdout] 4e3504b9f5065651dd495538daf033234a3c82c5fbe4c24cb0bdd7435a907129