[INFO] fetching crate libipt-sys 0.2.0... [INFO] checking libipt-sys-0.2.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate libipt-sys 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate libipt-sys 0.2.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libipt-sys 0.2.0 [INFO] finished tweaking crates.io crate libipt-sys 0.2.0 [INFO] tweaked toml for crates.io crate libipt-sys 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate libipt-sys 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93234758f569445836ec638891c6ec7d6a8fb44beb9ed8204a6959fbacf8176f [INFO] running `Command { std: "docker" "start" "-a" "93234758f569445836ec638891c6ec7d6a8fb44beb9ed8204a6959fbacf8176f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93234758f569445836ec638891c6ec7d6a8fb44beb9ed8204a6959fbacf8176f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93234758f569445836ec638891c6ec7d6a8fb44beb9ed8204a6959fbacf8176f", kill_on_drop: false }` [INFO] [stdout] 93234758f569445836ec638891c6ec7d6a8fb44beb9ed8204a6959fbacf8176f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6acbca6dd10a0a30d5493282c1b6c814b6b9c079c30514512f362989c4c46c70 [INFO] running `Command { std: "docker" "start" "-a" "6acbca6dd10a0a30d5493282c1b6c814b6b9c079c30514512f362989c4c46c70", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling libipt-sys v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs (85 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.15s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling libipt-sys v0.2.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:3932 [INFO] [stdout] | [INFO] [stdout] 3 | ... - 8usize] ; } ; extern "C" { # [doc = " Return the library version."] pub fn pt_library_version () -> pt_version ; } pub const pt_err... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:3932 [INFO] [stdout] | [INFO] [stdout] 3 | ... - 8usize] ; } ; extern "C" { # [doc = " Return the library version."] pub fn pt_library_version () -> pt_version ; } pub const pt_err... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:5800 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Return a human readable error string."] pub fn pt_errstr (arg1 : pt_error_code) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:5800 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Return a human readable error string."] pub fn pt_errstr (arg1 : pt_error_code) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:35138 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine errata for a given cpu.\n\n Updates \\@errata based on \\@cpu.\n\n Returns 0 on success, a negative error code otherwise.\n Returns -pte_invalid if \\@errata or \\@cpu is NULL.\n Returns -pte_bad_cpu if \\@cpu is not known."] pub fn pt_cpu_errata (errata : * mut pt_errata , cpu : * const pt_cpu) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:35138 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine errata for a given cpu.\n\n Updates \\@errata based on \\@cpu.\n\n Returns 0 on success, a negative error code otherwise.\n Returns -pte_invalid if \\@errata or \\@cpu is NULL.\n Returns -pte_bad_cpu if \\@cpu is not known."] pub fn pt_cpu_errata (errata : * mut pt_errata , cpu : * const pt_cpu) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:68855 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT packet encoder.\n\n The encoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the encoder.\n\n The encoder starts at the beginning of the trace buffer."] pub fn pt_alloc_encoder (config : * const pt_config) -> * mut pt_encoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:68855 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT packet encoder.\n\n The encoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the encoder.\n\n The encoder starts at the beginning of the trace buffer."] pub fn pt_alloc_encoder (config : * const pt_config) -> * mut pt_encoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:69202 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT packet encoder.\n\n The \\@encoder must not be used after a successful return."] pub fn pt_free_encoder (encoder : * mut pt_encoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:69202 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT packet encoder.\n\n The \\@encoder must not be used after a successful return."] pub fn pt_free_encoder (encoder : * mut pt_encoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:69380 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Hard set synchronization point of an Intel PT packet encoder.\n\n Synchronize \\@encoder to \\@offset within the trace buffer.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_eos if the given offset is behind the end of the trace buffer.\n Returns -pte_invalid if \\@encoder is NULL."] pub fn pt_enc_sync_set (encoder : * mut pt_encoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:69380 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Hard set synchronization point of an Intel PT packet encoder.\n\n Synchronize \\@encoder to \\@offset within the trace buffer.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_eos if the given offset is behind the end of the trace buffer.\n Returns -pte_invalid if \\@encoder is NULL."] pub fn pt_enc_sync_set (encoder : * mut pt_encoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:69824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current packet encoder position.\n\n Fills the current \\@encoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@encoder or \\@offset is NULL."] pub fn pt_enc_get_offset (encoder : * const pt_encoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:69824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current packet encoder position.\n\n Fills the current \\@encoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@encoder or \\@offset is NULL."] pub fn pt_enc_get_offset (encoder : * const pt_encoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:70226 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int ; } extern "C" { pub fn pt_enc_get_config (encoder : * const pt_encoder) -> * const pt_config ; } extern "C" { # [doc ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:70226 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int ; } extern "C" { pub fn pt_enc_get_config (encoder : * const pt_encoder) -> * const pt_config ; } extern "C" { # [doc ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:70320 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Encode an Intel PT packet.\n\n Writes \\@packet at \\@encoder's current position in the Intel PT buffer and\n advances the \\@encoder beyond the written packet.\n\n The \\@packet.size field is ignored.\n\n In case of errors, the \\@encoder is not advanced and nothing is written\n into the Intel PT buffer.\n\n Returns the number of bytes written on success, a negative error code\n otherwise.\n\n Returns -pte_bad_opc if \\@packet.type is not known.\n Returns -pte_bad_packet if \\@packet's payload is invalid.\n Returns -pte_eos if \\@encoder reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@encoder or \\@packet is NULL."] pub fn pt_enc_next (encoder : * mut pt_encoder , packet : * const pt_packet) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:70320 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Encode an Intel PT packet.\n\n Writes \\@packet at \\@encoder's current position in the Intel PT buffer and\n advances the \\@encoder beyond the written packet.\n\n The \\@packet.size field is ignored.\n\n In case of errors, the \\@encoder is not advanced and nothing is written\n into the Intel PT buffer.\n\n Returns the number of bytes written on success, a negative error code\n otherwise.\n\n Returns -pte_bad_opc if \\@packet.type is not known.\n Returns -pte_bad_packet if \\@packet's payload is invalid.\n Returns -pte_eos if \\@encoder reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@encoder or \\@packet is NULL."] pub fn pt_enc_next (encoder : * mut pt_encoder , packet : * const pt_packet) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:71103 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT packet decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_pkt_alloc_decoder (config : * const pt_config) -> * mut pt_packet_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:71464 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT packet decoder.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_pkt_free_decoder (decoder : * mut pt_packet_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:71103 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT packet decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_pkt_alloc_decoder (config : * const pt_config) -> * mut pt_packet_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:71464 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT packet decoder.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_pkt_free_decoder (decoder : * mut pt_packet_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:71653 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT packet decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_pkt_sync_forward (decoder : * mut pt_packet_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:71653 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT packet decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_pkt_sync_forward (decoder : * mut pt_packet_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:72313 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_pkt_sync_backward (decoder : * mut pt_packet_decoder) -> :: std :: os :: raw :: c_int ; } extern "C"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:72313 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_pkt_sync_backward (decoder : * mut pt_packet_decoder) -> :: std :: os :: raw :: c_int ; } extern "C"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:72426 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Hard set synchronization point of an Intel PT decoder.\n\n Synchronize \\@decoder to \\@offset within the trace buffer.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_eos if the given offset is behind the end of the trace buffer.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_pkt_sync_set (decoder : * mut pt_packet_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:72426 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Hard set synchronization point of an Intel PT decoder.\n\n Synchronize \\@decoder to \\@offset within the trace buffer.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_eos if the given offset is behind the end of the trace buffer.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_pkt_sync_set (decoder : * mut pt_packet_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:72870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_pkt_get_offset (decoder : * const pt_packet_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:72870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_pkt_get_offset (decoder : * const pt_packet_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:73324 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n This is useful when splitting a trace stream for parallel decoding.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_pkt_get_sync_offset (decoder : * const pt_packet_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:73324 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n This is useful when splitting a trace stream for parallel decoding.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_pkt_get_sync_offset (decoder : * const pt_packet_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:73834 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_pkt_get_config (decoder : * const pt_packet_decoder) -> * const pt_config ; } extern "C" { # [... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:73834 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_pkt_get_config (decoder : * const pt_packet_decoder) -> * const pt_config ; } extern "C" { # [... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:73935 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decode the next packet and advance the decoder.\n\n Decodes the packet at \\@decoder's current position into \\@packet and\n adjusts the \\@decoder's position by the number of bytes the packet had\n consumed.\n\n The \\@size argument must be set to sizeof(struct pt_packet).\n\n Returns the number of bytes consumed on success, a negative error code\n otherwise.\n\n Returns -pte_bad_opc if the packet is unknown.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@decoder reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@packet is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_pkt_next (decoder : * mut pt_packet_decoder , packet : * mut pt_packet , size : usize) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:73935 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decode the next packet and advance the decoder.\n\n Decodes the packet at \\@decoder's current position into \\@packet and\n adjusts the \\@decoder's position by the number of bytes the packet had\n consumed.\n\n The \\@size argument must be set to sizeof(struct pt_packet).\n\n Returns the number of bytes consumed on success, a negative error code\n otherwise.\n\n Returns -pte_bad_opc if the packet is unknown.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@decoder reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@packet is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_pkt_next (decoder : * mut pt_packet_decoder , packet : * mut pt_packet , size : usize) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:127028 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT event decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_evt_alloc_decoder (config : * const pt_config) -> * mut pt_event_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:127028 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT event decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_evt_alloc_decoder (config : * const pt_config) -> * mut pt_event_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:127387 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT event decoder.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_evt_free_decoder (decoder : * mut pt_event_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:127387 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT event decoder.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_evt_free_decoder (decoder : * mut pt_event_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:127574 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT event decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_evt_sync_forward (decoder : * mut pt_event_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:127574 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT event decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_evt_sync_forward (decoder : * mut pt_event_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:128363 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_evt_sync_backward (decoder : * mut pt_event_decoder) -> :: std :: os :: raw :: c_int ; } extern "C" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:128363 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_evt_sync_backward (decoder : * mut pt_event_decoder) -> :: std :: os :: raw :: c_int ; } extern "C" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:128475 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT event decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_evt_sync_set (decoder : * mut pt_event_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:128475 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT event decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_evt_sync_set (decoder : * mut pt_event_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:129227 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_evt_get_offset (decoder : * const pt_event_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:129227 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_evt_get_offset (decoder : * const pt_event_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:129680 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n This is useful for splitting a trace stream for parallel decoding.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_evt_get_sync_offset (decoder : * const pt_event_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:129680 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n This is useful for splitting a trace stream for parallel decoding.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_evt_get_sync_offset (decoder : * const pt_event_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:130188 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_evt_get_config (decoder : * const pt_event_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:130188 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_evt_get_config (decoder : * const pt_event_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:130288 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine the next event.\n\n On success, provides the next event in \\@event.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns zero or a positive value on success, a negative error code\n otherwise.\n\n Returns -pte_bad_opc if the packet is unknown.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@decoder reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_evt_next (decoder : * mut pt_event_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:130288 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine the next event.\n\n On success, provides the next event in \\@event.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns zero or a positive value on success, a negative error code\n otherwise.\n\n Returns -pte_bad_opc if the packet is unknown.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@decoder reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_evt_next (decoder : * mut pt_event_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:131396 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Allocate an Intel PT query decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_qry_alloc_decoder (config : * const pt_config) -> * mut pt_query_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:131755 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT query decoder.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_qry_free_decoder (decoder : * mut pt_query_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:131396 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Allocate an Intel PT query decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_qry_alloc_decoder (config : * const pt_config) -> * mut pt_query_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:131942 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT query decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n If \\@ip is not NULL, set it to last ip.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_qry_sync_forward (decoder : * mut pt_query_decoder , ip : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:131755 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT query decoder.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_qry_free_decoder (decoder : * mut pt_query_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:131942 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT query decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n If \\@ip is not NULL, set it to last ip.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_qry_sync_forward (decoder : * mut pt_query_decoder , ip : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:132811 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pt_qry_sync_backward (decoder : * mut pt_query_decoder , ip : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:132940 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT query decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n If \\@ip is not NULL, set it to last ip.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_qry_sync_set (decoder : * mut pt_query_decoder , ip : * mut u64 , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:132811 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pt_qry_sync_backward (decoder : * mut pt_query_decoder , ip : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:133772 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_get_offset (decoder : * const pt_query_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:132940 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT query decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n If \\@ip is not NULL, set it to last ip.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_qry_sync_set (decoder : * mut pt_query_decoder , ip : * mut u64 , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:134225 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n This is useful for splitting a trace stream for parallel decoding.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_get_sync_offset (decoder : * const pt_query_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:133772 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_get_offset (decoder : * const pt_query_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:134733 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_qry_get_config (decoder : * const pt_query_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:134225 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n This is useful for splitting a trace stream for parallel decoding.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_get_sync_offset (decoder : * const pt_query_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:134833 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query whether the next unconditional branch has been taken.\n\n On success, provides 1 (taken) or 0 (not taken) in \\@taken for the next\n conditional branch and updates \\@decoder.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_bad_query if no conditional branch is found.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@taken is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_cond_branch (decoder : * mut pt_query_decoder , taken : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:134733 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_qry_get_config (decoder : * const pt_query_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:135657 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the next indirect branch destination.\n\n On success, provides the linear destination address of the next indirect\n branch in \\@ip and updates \\@decoder.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_bad_query if no indirect branch is found.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@ip is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_indirect_branch (decoder : * mut pt_query_decoder , ip : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:134833 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query whether the next unconditional branch has been taken.\n\n On success, provides 1 (taken) or 0 (not taken) in \\@taken for the next\n conditional branch and updates \\@decoder.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_bad_query if no conditional branch is found.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@taken is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_cond_branch (decoder : * mut pt_query_decoder , taken : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:135657 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the next indirect branch destination.\n\n On success, provides the linear destination address of the next indirect\n branch in \\@ip and updates \\@decoder.\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_bad_query if no indirect branch is found.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@ip is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_indirect_branch (decoder : * mut pt_query_decoder , ip : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:136430 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query the next pending event.\n\n On success, provides the next event \\@event and updates \\@decoder.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_bad_query if no event is found.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_invalid if \\@size is too small.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_event (decoder : * mut pt_query_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:136430 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query the next pending event.\n\n On success, provides the next event \\@event and updates \\@decoder.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_bad_query if no event is found.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_invalid if \\@size is too small.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_qry_event (decoder : * mut pt_query_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:137264 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query the current time.\n\n On success, provides the time at the last query in \\@time.\n\n The time is similar to what a rdtsc instruction would return. Depending\n on the configuration, the time may not be fully accurate. If TSC is not\n enabled, the time is relative to the last synchronization and can't be used\n to correlate with other TSC-based time sources. In this case, -pte_no_time\n is returned and the relative time is provided in \\@time.\n\n Some timing-related packets may need to be dropped (mostly due to missing\n calibration or incomplete configuration). To get an idea about the quality\n of the estimated time, we record the number of dropped MTC and CYC packets.\n\n If \\@lost_mtc is not NULL, set it to the number of lost MTC packets.\n If \\@lost_cyc is not NULL, set it to the number of lost CYC packets.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@time is NULL.\n Returns -pte_no_time if there has not been a TSC packet."] pub fn pt_qry_time (decoder : * mut pt_query_decoder , time : * mut u64 , lost_mtc : * mut u32 , lost_cyc : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:137264 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query the current time.\n\n On success, provides the time at the last query in \\@time.\n\n The time is similar to what a rdtsc instruction would return. Depending\n on the configuration, the time may not be fully accurate. If TSC is not\n enabled, the time is relative to the last synchronization and can't be used\n to correlate with other TSC-based time sources. In this case, -pte_no_time\n is returned and the relative time is provided in \\@time.\n\n Some timing-related packets may need to be dropped (mostly due to missing\n calibration or incomplete configuration). To get an idea about the quality\n of the estimated time, we record the number of dropped MTC and CYC packets.\n\n If \\@lost_mtc is not NULL, set it to the number of lost MTC packets.\n If \\@lost_cyc is not NULL, set it to the number of lost CYC packets.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@time is NULL.\n Returns -pte_no_time if there has not been a TSC packet."] pub fn pt_qry_time (decoder : * mut pt_query_decoder , time : * mut u64 , lost_mtc : * mut u32 , lost_cyc : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:138461 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current core bus ratio.\n\n On success, provides the current core:bus ratio in \\@cbr. The ratio is\n defined as core cycles per bus clock cycle.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@cbr is NULL.\n Returns -pte_no_cbr if there has not been a CBR packet."] pub fn pt_qry_core_bus_ratio (decoder : * mut pt_query_decoder , cbr : * mut u32) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:138461 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current core bus ratio.\n\n On success, provides the current core:bus ratio in \\@cbr. The ratio is\n defined as core cycles per bus clock cycle.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@cbr is NULL.\n Returns -pte_no_cbr if there has not been a CBR packet."] pub fn pt_qry_core_bus_ratio (decoder : * mut pt_query_decoder , cbr : * mut u32) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:140280 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate a traced memory image section cache.\n\n An optional \\@name may be given to the cache. The name string is copied.\n\n Returns a new traced memory image section cache on success, NULL otherwise."] pub fn pt_iscache_alloc (name : * const :: std :: os :: raw :: c_char) -> * mut pt_image_section_cache ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:140280 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate a traced memory image section cache.\n\n An optional \\@name may be given to the cache. The name string is copied.\n\n Returns a new traced memory image section cache on success, NULL otherwise."] pub fn pt_iscache_alloc (name : * const :: std :: os :: raw :: c_char) -> * mut pt_image_section_cache ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:140618 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free a traced memory image section cache.\n\n The \\@iscache must have been allocated with pt_iscache_alloc().\n The \\@iscache must not be used after a successful return."] pub fn pt_iscache_free (iscache : * mut pt_image_section_cache) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:140618 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free a traced memory image section cache.\n\n The \\@iscache must have been allocated with pt_iscache_alloc().\n The \\@iscache must not be used after a successful return."] pub fn pt_iscache_free (iscache : * mut pt_image_section_cache) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:140884 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set the image section cache limit.\n\n Set the limit for a section cache in bytes. A non-zero limit will keep the\n least recently used sections mapped until the limit is reached. A limit of\n zero disables caching.\n\n Returns zero on success, a negative pt_error_code otherwise.\n Returns -pte_invalid if \\@iscache is NULL."] pub fn pt_iscache_set_limit (iscache : * mut pt_image_section_cache , limit : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:140884 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set the image section cache limit.\n\n Set the limit for a section cache in bytes. A non-zero limit will keep the\n least recently used sections mapped until the limit is reached. A limit of\n zero disables caching.\n\n Returns zero on success, a negative pt_error_code otherwise.\n Returns -pte_invalid if \\@iscache is NULL."] pub fn pt_iscache_set_limit (iscache : * mut pt_image_section_cache , limit : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:141358 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the image section cache name.\n\n Returns a pointer to \\@iscache's name or NULL if there is no name."] pub fn pt_iscache_name (iscache : * const pt_image_section_cache) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:141358 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the image section cache name.\n\n Returns a pointer to \\@iscache's name or NULL if there is no name."] pub fn pt_iscache_name (iscache : * const pt_image_section_cache) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:141601 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Add a new file section to the traced memory image section cache.\n\n Adds a new section consisting of \\@size bytes starting at \\@offset in\n \\@filename loaded at the virtual address \\@vaddr if \\@iscache does not\n already contain such a section.\n\n Returns an image section identifier (isid) uniquely identifying that section\n in \\@iscache.\n\n The section is silently truncated to match the size of \\@filename.\n\n Returns a positive isid on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@iscache or \\@filename is NULL.\n Returns -pte_invalid if \\@offset is too big."] pub fn pt_iscache_add_file (iscache : * mut pt_image_section_cache , filename : * const :: std :: os :: raw :: c_char , offset : u64 , size : u64 , vaddr : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:141601 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Add a new file section to the traced memory image section cache.\n\n Adds a new section consisting of \\@size bytes starting at \\@offset in\n \\@filename loaded at the virtual address \\@vaddr if \\@iscache does not\n already contain such a section.\n\n Returns an image section identifier (isid) uniquely identifying that section\n in \\@iscache.\n\n The section is silently truncated to match the size of \\@filename.\n\n Returns a positive isid on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@iscache or \\@filename is NULL.\n Returns -pte_invalid if \\@offset is too big."] pub fn pt_iscache_add_file (iscache : * mut pt_image_section_cache , filename : * const :: std :: os :: raw :: c_char , offset : u64 , size : u64 , vaddr : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:142429 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read memory from a cached file section\n\n Reads \\@size bytes of memory starting at virtual address \\@vaddr in the\n section identified by \\@isid in \\@iscache into \\@buffer.\n\n The caller is responsible for allocating a \\@buffer of at least \\@size bytes.\n\n The read request may be truncated if it crosses section boundaries or if\n \\@size is getting too big. We support reading at least 4Kbyte in one chunk\n unless the read would cross a section boundary.\n\n Returns the number of bytes read on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@iscache or \\@buffer is NULL.\n Returns -pte_invalid if \\@size is zero.\n Returns -pte_nomap if \\@vaddr is not contained in section \\@isid.\n Returns -pte_bad_image if \\@iscache does not contain \\@isid."] pub fn pt_iscache_read (iscache : * mut pt_image_section_cache , buffer : * mut u8 , size : u64 , isid : :: std :: os :: raw :: c_int , vaddr : u64) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:142429 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read memory from a cached file section\n\n Reads \\@size bytes of memory starting at virtual address \\@vaddr in the\n section identified by \\@isid in \\@iscache into \\@buffer.\n\n The caller is responsible for allocating a \\@buffer of at least \\@size bytes.\n\n The read request may be truncated if it crosses section boundaries or if\n \\@size is getting too big. We support reading at least 4Kbyte in one chunk\n unless the read would cross a section boundary.\n\n Returns the number of bytes read on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@iscache or \\@buffer is NULL.\n Returns -pte_invalid if \\@size is zero.\n Returns -pte_nomap if \\@vaddr is not contained in section \\@isid.\n Returns -pte_bad_image if \\@iscache does not contain \\@isid."] pub fn pt_iscache_read (iscache : * mut pt_image_section_cache , buffer : * mut u8 , size : u64 , isid : :: std :: os :: raw :: c_int , vaddr : u64) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:143560 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate a traced memory image.\n\n An optional \\@name may be given to the image. The name string is copied.\n\n Returns a new traced memory image on success, NULL otherwise."] pub fn pt_image_alloc (name : * const :: std :: os :: raw :: c_char) -> * mut pt_image ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:143560 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate a traced memory image.\n\n An optional \\@name may be given to the image. The name string is copied.\n\n Returns a new traced memory image on success, NULL otherwise."] pub fn pt_image_alloc (name : * const :: std :: os :: raw :: c_char) -> * mut pt_image ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:143854 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free a traced memory image.\n\n The \\@image must have been allocated with pt_image_alloc().\n The \\@image must not be used after a successful return."] pub fn pt_image_free (image : * mut pt_image) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:143854 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free a traced memory image.\n\n The \\@image must have been allocated with pt_image_alloc().\n The \\@image must not be used after a successful return."] pub fn pt_image_free (image : * mut pt_image) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:144082 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the image name.\n\n Returns a pointer to \\@image's name or NULL if there is no name."] pub fn pt_image_name (image : * const pt_image) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:144291 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Add a new file section to the traced memory image.\n\n Adds \\@size bytes starting at \\@offset in \\@filename. The section is\n loaded at the virtual address \\@vaddr in the address space \\@asid.\n\n The \\@asid may be NULL or (partially) invalid. In that case only the valid\n fields are considered when comparing with other address-spaces. Use this\n when tracing a single process or when adding sections to all processes.\n\n The section is silently truncated to match the size of \\@filename.\n\n Existing sections that would overlap with the new section will be shrunk\n or split.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@image or \\@filename is NULL.\n Returns -pte_invalid if \\@offset is too big."] pub fn pt_image_add_file (image : * mut pt_image , filename : * const :: std :: os :: raw :: c_char , offset : u64 , size : u64 , asid : * const pt_asid , vaddr : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:144082 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the image name.\n\n Returns a pointer to \\@image's name or NULL if there is no name."] pub fn pt_image_name (image : * const pt_image) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:144291 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Add a new file section to the traced memory image.\n\n Adds \\@size bytes starting at \\@offset in \\@filename. The section is\n loaded at the virtual address \\@vaddr in the address space \\@asid.\n\n The \\@asid may be NULL or (partially) invalid. In that case only the valid\n fields are considered when comparing with other address-spaces. Use this\n when tracing a single process or when adding sections to all processes.\n\n The section is silently truncated to match the size of \\@filename.\n\n Existing sections that would overlap with the new section will be shrunk\n or split.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@image or \\@filename is NULL.\n Returns -pte_invalid if \\@offset is too big."] pub fn pt_image_add_file (image : * mut pt_image , filename : * const :: std :: os :: raw :: c_char , offset : u64 , size : u64 , asid : * const pt_asid , vaddr : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:145282 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Add a section from an image section cache.\n\n Add the section from \\@iscache identified by \\@isid in address space \\@asid.\n\n Existing sections that would overlap with the new section will be shrunk\n or split.\n\n Returns zero on success, a negative error code otherwise.\n Returns -pte_invalid if \\@image or \\@iscache is NULL.\n Returns -pte_bad_image if \\@iscache does not contain \\@isid."] pub fn pt_image_add_cached (image : * mut pt_image , iscache : * mut pt_image_section_cache , isid : :: std :: os :: raw :: c_int , asid : * const pt_asid) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:145901 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Copy an image.\n\n Adds all sections from \\@src to \\@image. Sections that could not be added\n will be ignored.\n\n Returns the number of ignored sections on success, a negative error code\n otherwise.\n\n Returns -pte_invalid if \\@image or \\@src is NULL."] pub fn pt_image_copy (image : * mut pt_image , src : * const pt_image) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:145282 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Add a section from an image section cache.\n\n Add the section from \\@iscache identified by \\@isid in address space \\@asid.\n\n Existing sections that would overlap with the new section will be shrunk\n or split.\n\n Returns zero on success, a negative error code otherwise.\n Returns -pte_invalid if \\@image or \\@iscache is NULL.\n Returns -pte_bad_image if \\@iscache does not contain \\@isid."] pub fn pt_image_add_cached (image : * mut pt_image , iscache : * mut pt_image_section_cache , isid : :: std :: os :: raw :: c_int , asid : * const pt_asid) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:145901 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Copy an image.\n\n Adds all sections from \\@src to \\@image. Sections that could not be added\n will be ignored.\n\n Returns the number of ignored sections on success, a negative error code\n otherwise.\n\n Returns -pte_invalid if \\@image or \\@src is NULL."] pub fn pt_image_copy (image : * mut pt_image , src : * const pt_image) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:146295 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Remove all sections loaded from a file.\n\n Removes all sections loaded from \\@filename from the address space \\@asid.\n Specify the same \\@asid that was used for adding sections from \\@filename.\n\n Returns the number of removed sections on success, a negative error code\n otherwise.\n\n Returns -pte_invalid if \\@image or \\@filename is NULL."] pub fn pt_image_remove_by_filename (image : * mut pt_image , filename : * const :: std :: os :: raw :: c_char , asid : * const pt_asid) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:146295 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Remove all sections loaded from a file.\n\n Removes all sections loaded from \\@filename from the address space \\@asid.\n Specify the same \\@asid that was used for adding sections from \\@filename.\n\n Returns the number of removed sections on success, a negative error code\n otherwise.\n\n Returns -pte_invalid if \\@image or \\@filename is NULL."] pub fn pt_image_remove_by_filename (image : * mut pt_image , filename : * const :: std :: os :: raw :: c_char , asid : * const pt_asid) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:146844 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Remove all sections loaded into an address space.\n\n Removes all sections loaded into \\@asid. Specify the same \\@asid that was\n used for adding sections.\n\n Returns the number of removed sections on success, a negative error code\n otherwise.\n\n Returns -pte_invalid if \\@image is NULL."] pub fn pt_image_remove_by_asid (image : * mut pt_image , asid : * const pt_asid) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:146844 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Remove all sections loaded into an address space.\n\n Removes all sections loaded into \\@asid. Specify the same \\@asid that was\n used for adding sections.\n\n Returns the number of removed sections on success, a negative error code\n otherwise.\n\n Returns -pte_invalid if \\@image is NULL."] pub fn pt_image_remove_by_asid (image : * mut pt_image , asid : * const pt_asid) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:147783 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Set the memory callback for the traced memory image.\n\n Sets \\@callback for reading memory. The callback is used for addresses\n that are not found in file sections. The \\@context argument is passed\n to \\@callback on each use.\n\n There can only be one callback at any time. A subsequent call will replace\n the previous callback. If \\@callback is NULL, the callback is removed.\n\n Returns -pte_invalid if \\@image is NULL."] pub fn pt_image_set_callback (image : * mut pt_image , callback : read_memory_callback_t , context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:147783 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Set the memory callback for the traced memory image.\n\n Sets \\@callback for reading memory. The callback is used for addresses\n that are not found in file sections. The \\@context argument is passed\n to \\@callback on each use.\n\n There can only be one callback at any time. A subsequent call will replace\n the previous callback. If \\@callback is NULL, the callback is removed.\n\n Returns -pte_invalid if \\@image is NULL."] pub fn pt_image_set_callback (image : * mut pt_image , callback : read_memory_callback_t , context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:152319 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT instruction flow decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_insn_alloc_decoder (config : * const pt_config) -> * mut pt_insn_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:152319 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT instruction flow decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_insn_alloc_decoder (config : * const pt_config) -> * mut pt_insn_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:152689 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT instruction flow decoder.\n\n This will destroy the decoder's default image.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_insn_free_decoder (decoder : * mut pt_insn_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:152689 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT instruction flow decoder.\n\n This will destroy the decoder's default image.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_insn_free_decoder (decoder : * mut pt_insn_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:152938 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT instruction flow decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_insn_sync_forward (decoder : * mut pt_insn_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:152938 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT instruction flow decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_insn_sync_forward (decoder : * mut pt_insn_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:153738 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_insn_sync_backward (decoder : * mut pt_insn_decoder) -> :: std :: os :: raw :: c_int ; } extern "C" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:153738 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_insn_sync_backward (decoder : * mut pt_insn_decoder) -> :: std :: os :: raw :: c_int ; } extern "C" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:153850 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT instruction flow decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_insn_sync_set (decoder : * mut pt_insn_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:153850 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT instruction flow decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_insn_sync_set (decoder : * mut pt_insn_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:154613 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_insn_get_offset (decoder : * const pt_insn_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:155066 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_insn_get_sync_offset (decoder : * const pt_insn_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:154613 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_insn_get_offset (decoder : * const pt_insn_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:155503 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the traced image.\n\n The returned image may be modified as long as no decoder that uses this\n image is running.\n\n Returns a pointer to the traced image the decoder uses for reading memory.\n Returns NULL if \\@decoder is NULL."] pub fn pt_insn_get_image (decoder : * mut pt_insn_decoder) -> * mut pt_image ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:155066 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_insn_get_sync_offset (decoder : * const pt_insn_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:155845 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set the traced image.\n\n Sets the image that \\@decoder uses for reading memory to \\@image. If \\@image\n is NULL, sets the image to \\@decoder's default image.\n\n Only one image can be active at any time.\n\n Returns zero on success, a negative error code otherwise.\n Return -pte_invalid if \\@decoder is NULL."] pub fn pt_insn_set_image (decoder : * mut pt_insn_decoder , image : * mut pt_image) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:155503 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the traced image.\n\n The returned image may be modified as long as no decoder that uses this\n image is running.\n\n Returns a pointer to the traced image the decoder uses for reading memory.\n Returns NULL if \\@decoder is NULL."] pub fn pt_insn_get_image (decoder : * mut pt_insn_decoder) -> * mut pt_image ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:156308 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_insn_get_config (decoder : * const pt_insn_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:155845 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set the traced image.\n\n Sets the image that \\@decoder uses for reading memory to \\@image. If \\@image\n is NULL, sets the image to \\@decoder's default image.\n\n Only one image can be active at any time.\n\n Returns zero on success, a negative error code otherwise.\n Return -pte_invalid if \\@decoder is NULL."] pub fn pt_insn_set_image (decoder : * mut pt_insn_decoder , image : * mut pt_image) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:156408 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current time.\n\n On success, provides the time at the last preceding timing packet in \\@time.\n\n The time is similar to what a rdtsc instruction would return. Depending\n on the configuration, the time may not be fully accurate. If TSC is not\n enabled, the time is relative to the last synchronization and can't be used\n to correlate with other TSC-based time sources. In this case, -pte_no_time\n is returned and the relative time is provided in \\@time.\n\n Some timing-related packets may need to be dropped (mostly due to missing\n calibration or incomplete configuration). To get an idea about the quality\n of the estimated time, we record the number of dropped MTC and CYC packets.\n\n If \\@lost_mtc is not NULL, set it to the number of lost MTC packets.\n If \\@lost_cyc is not NULL, set it to the number of lost CYC packets.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@time is NULL.\n Returns -pte_no_time if there has not been a TSC packet."] pub fn pt_insn_time (decoder : * mut pt_insn_decoder , time : * mut u64 , lost_mtc : * mut u32 , lost_cyc : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:156308 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_insn_get_config (decoder : * const pt_insn_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:157624 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current core bus ratio.\n\n On success, provides the current core:bus ratio in \\@cbr. The ratio is\n defined as core cycles per bus clock cycle.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@cbr is NULL.\n Returns -pte_no_cbr if there has not been a CBR packet."] pub fn pt_insn_core_bus_ratio (decoder : * mut pt_insn_decoder , cbr : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:156408 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current time.\n\n On success, provides the time at the last preceding timing packet in \\@time.\n\n The time is similar to what a rdtsc instruction would return. Depending\n on the configuration, the time may not be fully accurate. If TSC is not\n enabled, the time is relative to the last synchronization and can't be used\n to correlate with other TSC-based time sources. In this case, -pte_no_time\n is returned and the relative time is provided in \\@time.\n\n Some timing-related packets may need to be dropped (mostly due to missing\n calibration or incomplete configuration). To get an idea about the quality\n of the estimated time, we record the number of dropped MTC and CYC packets.\n\n If \\@lost_mtc is not NULL, set it to the number of lost MTC packets.\n If \\@lost_cyc is not NULL, set it to the number of lost CYC packets.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@time is NULL.\n Returns -pte_no_time if there has not been a TSC packet."] pub fn pt_insn_time (decoder : * mut pt_insn_decoder , time : * mut u64 , lost_mtc : * mut u32 , lost_cyc : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:158104 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current address space identifier.\n\n On success, provides the current address space identifier in \\@asid.\n\n The \\@size argument must be set to sizeof(struct pt_asid). At most \\@size\n bytes will be copied and \\@asid->size will be set to the actual size of the\n provided address space identifier.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@asid is NULL."] pub fn pt_insn_asid (decoder : * const pt_insn_decoder , asid : * mut pt_asid , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:157624 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current core bus ratio.\n\n On success, provides the current core:bus ratio in \\@cbr. The ratio is\n defined as core cycles per bus clock cycle.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@cbr is NULL.\n Returns -pte_no_cbr if there has not been a CBR packet."] pub fn pt_insn_core_bus_ratio (decoder : * mut pt_insn_decoder , cbr : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:158697 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine the next instruction.\n\n On success, provides the next instruction in execution order in \\@insn.\n\n The \\@size argument must be set to sizeof(struct pt_insn).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns pts_eos to indicate the end of the trace stream. Subsequent calls\n to pt_insn_next() will continue to return pts_eos until trace is required\n to determine the next instruction.\n\n Returns -pte_bad_context if the decoder encountered an unexpected packet.\n Returns -pte_bad_opc if the decoder encountered unknown packets.\n Returns -pte_bad_packet if the decoder encountered unknown packet payloads.\n Returns -pte_bad_query if the decoder got out of sync.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@insn is NULL.\n Returns -pte_nomap if the memory at the instruction address can't be read.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_insn_next (decoder : * mut pt_insn_decoder , insn : * mut pt_insn , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:158104 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current address space identifier.\n\n On success, provides the current address space identifier in \\@asid.\n\n The \\@size argument must be set to sizeof(struct pt_asid). At most \\@size\n bytes will be copied and \\@asid->size will be set to the actual size of the\n provided address space identifier.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@asid is NULL."] pub fn pt_insn_asid (decoder : * const pt_insn_decoder , asid : * mut pt_asid , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:159853 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the next pending event.\n\n On success, provides the next event in \\@event and updates \\@decoder.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_query if there is no event.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_invalid if \\@size is too small."] pub fn pt_insn_event (decoder : * mut pt_insn_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:158697 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine the next instruction.\n\n On success, provides the next instruction in execution order in \\@insn.\n\n The \\@size argument must be set to sizeof(struct pt_insn).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns pts_eos to indicate the end of the trace stream. Subsequent calls\n to pt_insn_next() will continue to return pts_eos until trace is required\n to determine the next instruction.\n\n Returns -pte_bad_context if the decoder encountered an unexpected packet.\n Returns -pte_bad_opc if the decoder encountered unknown packets.\n Returns -pte_bad_packet if the decoder encountered unknown packet payloads.\n Returns -pte_bad_query if the decoder got out of sync.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@insn is NULL.\n Returns -pte_nomap if the memory at the instruction address can't be read.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_insn_next (decoder : * mut pt_insn_decoder , insn : * mut pt_insn , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:164394 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT block decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_blk_alloc_decoder (config : * const pt_config) -> * mut pt_block_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:159853 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the next pending event.\n\n On success, provides the next event in \\@event and updates \\@decoder.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_query if there is no event.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_invalid if \\@size is too small."] pub fn pt_insn_event (decoder : * mut pt_insn_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:164753 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT block decoder.\n\n This will destroy the decoder's default image.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_blk_free_decoder (decoder : * mut pt_block_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:164394 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Allocate an Intel PT block decoder.\n\n The decoder will work on the buffer defined in \\@config, it shall contain\n raw trace data and remain valid for the lifetime of the decoder.\n\n The decoder needs to be synchronized before it can be used."] pub fn pt_blk_alloc_decoder (config : * const pt_config) -> * mut pt_block_decoder ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:164991 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT block decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_blk_sync_forward (decoder : * mut pt_block_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:164753 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Free an Intel PT block decoder.\n\n This will destroy the decoder's default image.\n\n The \\@decoder must not be used after a successful return."] pub fn pt_blk_free_decoder (decoder : * mut pt_block_decoder) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:165780 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_blk_sync_backward (decoder : * mut pt_block_decoder) -> :: std :: os :: raw :: c_int ; } extern "C" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:164991 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Synchronize an Intel PT block decoder.\n\n Search for the next synchronization point in forward or backward direction.\n\n If \\@decoder has not been synchronized, yet, the search is started at the\n beginning of the trace buffer in case of forward synchronization and at the\n end of the trace buffer in case of backward synchronization.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if no further synchronization point is found.\n Returns -pte_invalid if \\@decoder is NULL."] pub fn pt_blk_sync_forward (decoder : * mut pt_block_decoder) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:165780 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_int ; } extern "C" { pub fn pt_blk_sync_backward (decoder : * mut pt_block_decoder) -> :: std :: os :: raw :: c_int ; } extern "C" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:165892 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT block decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_blk_sync_set (decoder : * mut pt_block_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:165892 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Manually synchronize an Intel PT block decoder.\n\n Synchronize \\@decoder on the syncpoint at \\@offset. There must be a PSB\n packet at \\@offset.\n\n Returns zero or a positive value on success, a negative error code otherwise.\n\n Returns -pte_bad_opc if an unknown packet is encountered.\n Returns -pte_bad_packet if an unknown packet payload is encountered.\n Returns -pte_eos if \\@offset lies outside of \\@decoder's trace buffer.\n Returns -pte_eos if \\@decoder reaches the end of its trace buffer.\n Returns -pte_invalid if \\@decoder is NULL.\n Returns -pte_nosync if there is no syncpoint at \\@offset."] pub fn pt_blk_sync_set (decoder : * mut pt_block_decoder , offset : u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:166644 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_blk_get_offset (decoder : * const pt_block_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:166644 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the current decoder position.\n\n Fills the current \\@decoder position into \\@offset.\n\n This is useful for reporting errors.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_blk_get_offset (decoder : * const pt_block_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:167097 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_blk_get_sync_offset (decoder : * const pt_block_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:167097 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the position of the last synchronization point.\n\n Fills the last synchronization position into \\@offset.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@offset is NULL.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_blk_get_sync_offset (decoder : * const pt_block_decoder , offset : * mut u64) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:167534 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the traced image.\n\n The returned image may be modified as long as \\@decoder is not running.\n\n Returns a pointer to the traced image \\@decoder uses for reading memory.\n Returns NULL if \\@decoder is NULL."] pub fn pt_blk_get_image (decoder : * mut pt_block_decoder) -> * mut pt_image ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:167534 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the traced image.\n\n The returned image may be modified as long as \\@decoder is not running.\n\n Returns a pointer to the traced image \\@decoder uses for reading memory.\n Returns NULL if \\@decoder is NULL."] pub fn pt_blk_get_image (decoder : * mut pt_block_decoder) -> * mut pt_image ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:167856 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set the traced image.\n\n Sets the image that \\@decoder uses for reading memory to \\@image. If \\@image\n is NULL, sets the image to \\@decoder's default image.\n\n Only one image can be active at any time.\n\n Returns zero on success, a negative error code otherwise.\n Return -pte_invalid if \\@decoder is NULL."] pub fn pt_blk_set_image (decoder : * mut pt_block_decoder , image : * mut pt_image) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:167856 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set the traced image.\n\n Sets the image that \\@decoder uses for reading memory to \\@image. If \\@image\n is NULL, sets the image to \\@decoder's default image.\n\n Only one image can be active at any time.\n\n Returns zero on success, a negative error code otherwise.\n Return -pte_invalid if \\@decoder is NULL."] pub fn pt_blk_set_image (decoder : * mut pt_block_decoder , image : * mut pt_image) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:168319 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_blk_get_config (decoder : * const pt_block_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:168319 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_int ; } extern "C" { pub fn pt_blk_get_config (decoder : * const pt_block_decoder) -> * const pt_config ; } extern "C" { # [d... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:168419 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current time.\n\n On success, provides the time at the last preceding timing packet in \\@time.\n\n The time is similar to what a rdtsc instruction would return. Depending\n on the configuration, the time may not be fully accurate. If TSC is not\n enabled, the time is relative to the last synchronization and can't be used\n to correlate with other TSC-based time sources. In this case, -pte_no_time\n is returned and the relative time is provided in \\@time.\n\n Some timing-related packets may need to be dropped (mostly due to missing\n calibration or incomplete configuration). To get an idea about the quality\n of the estimated time, we record the number of dropped MTC and CYC packets.\n\n If \\@lost_mtc is not NULL, set it to the number of lost MTC packets.\n If \\@lost_cyc is not NULL, set it to the number of lost CYC packets.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@time is NULL.\n Returns -pte_no_time if there has not been a TSC packet."] pub fn pt_blk_time (decoder : * mut pt_block_decoder , time : * mut u64 , lost_mtc : * mut u32 , lost_cyc : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:168419 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current time.\n\n On success, provides the time at the last preceding timing packet in \\@time.\n\n The time is similar to what a rdtsc instruction would return. Depending\n on the configuration, the time may not be fully accurate. If TSC is not\n enabled, the time is relative to the last synchronization and can't be used\n to correlate with other TSC-based time sources. In this case, -pte_no_time\n is returned and the relative time is provided in \\@time.\n\n Some timing-related packets may need to be dropped (mostly due to missing\n calibration or incomplete configuration). To get an idea about the quality\n of the estimated time, we record the number of dropped MTC and CYC packets.\n\n If \\@lost_mtc is not NULL, set it to the number of lost MTC packets.\n If \\@lost_cyc is not NULL, set it to the number of lost CYC packets.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@time is NULL.\n Returns -pte_no_time if there has not been a TSC packet."] pub fn pt_blk_time (decoder : * mut pt_block_decoder , time : * mut u64 , lost_mtc : * mut u32 , lost_cyc : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:169635 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current core bus ratio.\n\n On success, provides the current core:bus ratio in \\@cbr. The ratio is\n defined as core cycles per bus clock cycle.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@cbr is NULL.\n Returns -pte_no_cbr if there has not been a CBR packet."] pub fn pt_blk_core_bus_ratio (decoder : * mut pt_block_decoder , cbr : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:169635 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current core bus ratio.\n\n On success, provides the current core:bus ratio in \\@cbr. The ratio is\n defined as core cycles per bus clock cycle.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@cbr is NULL.\n Returns -pte_no_cbr if there has not been a CBR packet."] pub fn pt_blk_core_bus_ratio (decoder : * mut pt_block_decoder , cbr : * mut u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:170115 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current address space identifier.\n\n On success, provides the current address space identifier in \\@asid.\n\n The \\@size argument must be set to sizeof(struct pt_asid). At most \\@size\n bytes will be copied and \\@asid->size will be set to the actual size of the\n provided address space identifier.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@asid is NULL."] pub fn pt_blk_asid (decoder : * const pt_block_decoder , asid : * mut pt_asid , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:170708 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine the next block of instructions.\n\n On success, provides the next block of instructions in execution order in\n \\@block.\n\n The \\@size argument must be set to sizeof(struct pt_block).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns pts_eos to indicate the end of the trace stream. Subsequent calls\n to pt_block_next() will continue to return pts_eos until trace is required\n to determine the next instruction.\n\n Returns -pte_bad_context if the decoder encountered an unexpected packet.\n Returns -pte_bad_opc if the decoder encountered unknown packets.\n Returns -pte_bad_packet if the decoder encountered unknown packet payloads.\n Returns -pte_bad_query if the decoder got out of sync.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@block is NULL.\n Returns -pte_nomap if the memory at the instruction address can't be read.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_blk_next (decoder : * mut pt_block_decoder , block : * mut pt_block , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:170115 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the current address space identifier.\n\n On success, provides the current address space identifier in \\@asid.\n\n The \\@size argument must be set to sizeof(struct pt_asid). At most \\@size\n bytes will be copied and \\@asid->size will be set to the actual size of the\n provided address space identifier.\n\n Returns zero on success, a negative error code otherwise.\n\n Returns -pte_invalid if \\@decoder or \\@asid is NULL."] pub fn pt_blk_asid (decoder : * const pt_block_decoder , asid : * mut pt_asid , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:171892 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the next pending event.\n\n On success, provides the next event in \\@event and updates \\@decoder.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_query if there is no event.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_invalid if \\@size is too small."] pub fn pt_blk_event (decoder : * mut pt_block_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:170708 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Determine the next block of instructions.\n\n On success, provides the next block of instructions in execution order in\n \\@block.\n\n The \\@size argument must be set to sizeof(struct pt_block).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns pts_eos to indicate the end of the trace stream. Subsequent calls\n to pt_block_next() will continue to return pts_eos until trace is required\n to determine the next instruction.\n\n Returns -pte_bad_context if the decoder encountered an unexpected packet.\n Returns -pte_bad_opc if the decoder encountered unknown packets.\n Returns -pte_bad_packet if the decoder encountered unknown packet payloads.\n Returns -pte_bad_query if the decoder got out of sync.\n Returns -pte_eos if decoding reached the end of the Intel PT buffer.\n Returns -pte_invalid if \\@decoder or \\@block is NULL.\n Returns -pte_nomap if the memory at the instruction address can't be read.\n Returns -pte_nosync if \\@decoder is out of sync."] pub fn pt_blk_next (decoder : * mut pt_block_decoder , block : * mut pt_block , size : usize) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libipt-sys-ca9e27e504332df4/out/bindings.rs:3:171892 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the next pending event.\n\n On success, provides the next event in \\@event and updates \\@decoder.\n\n The \\@size argument must be set to sizeof(struct pt_event).\n\n Returns a non-negative pt_status_flag bit-vector on success, a negative error\n code otherwise.\n\n Returns -pte_bad_query if there is no event.\n Returns -pte_invalid if \\@decoder or \\@event is NULL.\n Returns -pte_invalid if \\@size is too small."] pub fn pt_blk_event (decoder : * mut pt_block_decoder , event : * mut pt_event , size : usize) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libipt-sys` (lib test) due to 85 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libipt-sys` (lib) due to 85 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6acbca6dd10a0a30d5493282c1b6c814b6b9c079c30514512f362989c4c46c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6acbca6dd10a0a30d5493282c1b6c814b6b9c079c30514512f362989c4c46c70", kill_on_drop: false }` [INFO] [stdout] 6acbca6dd10a0a30d5493282c1b6c814b6b9c079c30514512f362989c4c46c70