optick 1.3.4

Super Lightweight Performance Profiler
Documentation
Build #278227 2020-08-05T13:21:02.656648+00:00
# rustc version
rustc 1.47.0-nightly (6c8927b0c 2020-07-26)# docs.rs version
docsrs 0.6.0 (482d566 2020-08-03)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/optick-1.3.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/optick-1.3.4/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20200726-1.47.0-nightly-6c8927b0c --static-root-path / --cap-lints warn" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "-j2", kill_on_drop: false }`
[INFO] [stdout] c20f54de6bc3a5e66a7902d2e1ac994cef19af7cb7c133eb5b73172fe2480f67
[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" "c20f54de6bc3a5e66a7902d2e1ac994cef19af7cb7c133eb5b73172fe2480f67", kill_on_drop: false }`
[INFO] [stderr]    Compiling optick v1.3.4 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting optick v1.3.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:141:1
[INFO] [stderr]     |
[INFO] [stderr] 141 | /// Scoped event
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:55:9
[INFO] [stderr]     |
[INFO] [stderr] 55  | #![warn(missing_doc_code_examples)]
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:144:5
[INFO] [stderr]     |
[INFO] [stderr] 144 |     /// ID of the current event description
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:159:1
[INFO] [stderr]     |
[INFO] [stderr] 159 | /// Check whether profiler is enabled
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:164:1
[INFO] [stderr]     |
[INFO] [stderr] 164 | /// Create event description
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:178:1
[INFO] [stderr]     |
[INFO] [stderr] 178 | /// Push profiling event
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:186:1
[INFO] [stderr]     |
[INFO] [stderr] 186 | /// Pop profiling event
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:233:1
[INFO] [stderr]     |
[INFO] [stderr] 233 | /// Start a new capture
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/optick_api.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | / use std::os::raw::c_char;
[INFO] [stderr] 2  | |
[INFO] [stderr] 3  | | extern {
[INFO] [stderr] 4  | |     pub fn OptickAPI_RegisterThread(
[INFO] [stderr] ...  |
[INFO] [stderr] 66 | |
[INFO] [stderr] 67 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:262:1
[INFO] [stderr]     |
[INFO] [stderr] 262 | /// Optick Tag
[INFO] [stderr]     | ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:264:5
[INFO] [stderr]     |
[INFO] [stderr] 264 |     /// Attach tag
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:127:1
[INFO] [stderr]     |
[INFO] [stderr] 127 | /// Extract current function name
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:268:1
[INFO] [stderr]     |
[INFO] [stderr] 268 | /// Optick Tag: &str
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:270:5
[INFO] [stderr]     |
[INFO] [stderr] 270 | /     fn attach(&self, description: u64) {
[INFO] [stderr] 271 | |         unsafe {
[INFO] [stderr] 272 | |             optick_api::OptickAPI_AttachTag_String(description, (*self).as_ptr() as *const i8, (*self).len() as u16);
[INFO] [stderr] 273 | |         }     
[INFO] [stderr] 274 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:277:1
[INFO] [stderr]     |
[INFO] [stderr] 277 | /// Optick Tag: String
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:279:5
[INFO] [stderr]     |
[INFO] [stderr] 279 | /     fn attach(&self, description: u64) {
[INFO] [stderr] 280 | |         unsafe {
[INFO] [stderr] 281 | |             optick_api::OptickAPI_AttachTag_String(description, (*self).as_ptr() as *const i8, (*self).len() as u16);
[INFO] [stderr] 282 | |         }     
[INFO] [stderr] 283 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:286:1
[INFO] [stderr]     |
[INFO] [stderr] 286 | /// Optick Tag: i32
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:288:5
[INFO] [stderr]     |
[INFO] [stderr] 288 | /     fn attach(&self, description: u64) {
[INFO] [stderr] 289 | |         unsafe {
[INFO] [stderr] 290 | |             optick_api::OptickAPI_AttachTag_Int32(description, *self);
[INFO] [stderr] 291 | |         }     
[INFO] [stderr] 292 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:295:1
[INFO] [stderr]     |
[INFO] [stderr] 295 | /// Optick Tag: u32
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:297:5
[INFO] [stderr]     |
[INFO] [stderr] 297 | /     fn attach(&self, description: u64) {
[INFO] [stderr] 298 | |         unsafe {
[INFO] [stderr] 299 | |             optick_api::OptickAPI_AttachTag_UInt32(description, *self);
[INFO] [stderr] 300 | |         }     
[INFO] [stderr] 301 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:304:1
[INFO] [stderr]     |
[INFO] [stderr] 304 | /// Optick Tag: u64
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:306:5
[INFO] [stderr]     |
[INFO] [stderr] 306 | /     fn attach(&self, description: u64) {
[INFO] [stderr] 307 | |         unsafe {
[INFO] [stderr] 308 | |             optick_api::OptickAPI_AttachTag_UInt64(description, *self);
[INFO] [stderr] 309 | |         }     
[INFO] [stderr] 310 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:313:1
[INFO] [stderr]     |
[INFO] [stderr] 313 | /// Optick Tag: f32
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:315:5
[INFO] [stderr]     |
[INFO] [stderr] 315 | /     fn attach(&self, description: u64) {
[INFO] [stderr] 316 | |         unsafe {
[INFO] [stderr] 317 | |             optick_api::OptickAPI_AttachTag_Float(description, *self);
[INFO] [stderr] 318 | |         }     
[INFO] [stderr] 319 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:322:1
[INFO] [stderr]     |
[INFO] [stderr] 322 | /// Optick Tag: vec3 (f32, f32, f32)
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:324:5
[INFO] [stderr]     |
[INFO] [stderr] 324 | /     fn attach(&self, description: u64) {
[INFO] [stderr] 325 | |         unsafe {
[INFO] [stderr] 326 | |             optick_api::OptickAPI_AttachTag_Point(description, (*self).0, (*self).1, (*self).2);
[INFO] [stderr] 327 | |         }     
[INFO] [stderr] 328 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:148:1
[INFO] [stderr]     |
[INFO] [stderr] 148 | /// Destructor for scoped event
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:152:5
[INFO] [stderr]     |
[INFO] [stderr] 152 | /     fn drop(&mut self) {
[INFO] [stderr] 153 | |         if self.event_data != 0 {
[INFO] [stderr] 154 | |             pop_event(self.event_data);
[INFO] [stderr] 155 | |         }
[INFO] [stderr] 156 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: 27 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.29s
[INFO] running `Command { std: "docker" "inspect" "c20f54de6bc3a5e66a7902d2e1ac994cef19af7cb7c133eb5b73172fe2480f67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c20f54de6bc3a5e66a7902d2e1ac994cef19af7cb7c133eb5b73172fe2480f67", kill_on_drop: false }`
[INFO] [stdout] c20f54de6bc3a5e66a7902d2e1ac994cef19af7cb7c133eb5b73172fe2480f67