[INFO] fetching crate libmpv2-sys 4.0.0... [INFO] checking libmpv2-sys-4.0.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate libmpv2-sys 4.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libmpv2-sys 4.0.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libmpv2-sys 4.0.0 [INFO] finished tweaking crates.io crate libmpv2-sys 4.0.0 [INFO] tweaked toml for crates.io crate libmpv2-sys 4.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a9af954d7e59fbfd4789f821625955ee1c23d50d1ead6c232176445ac6629fa [INFO] running `Command { std: "docker" "start" "-a" "4a9af954d7e59fbfd4789f821625955ee1c23d50d1ead6c232176445ac6629fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a9af954d7e59fbfd4789f821625955ee1c23d50d1ead6c232176445ac6629fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9af954d7e59fbfd4789f821625955ee1c23d50d1ead6c232176445ac6629fa", kill_on_drop: false }` [INFO] [stdout] 4a9af954d7e59fbfd4789f821625955ee1c23d50d1ead6c232176445ac6629fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c22547250aa8ad6b35419a5e9bfb7394f96d924b8abd041d86edd36919d61ad [INFO] running `Command { std: "docker" "start" "-a" "2c22547250aa8ad6b35419a5e9bfb7394f96d924b8abd041d86edd36919d61ad", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling libmpv2-sys v4.0.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/libmpv2-sys-752611bfd471d9d5/out/bindings.rs (54 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling libmpv2-sys v4.0.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | / extern "C" { [INFO] [stdout] 258 | | /// Return the MPV_CLIENT_API_VERSION the mpv source has been compiled with. [INFO] [stdout] 259 | | pub fn mpv_client_api_version() -> ::std::os::raw::c_ulong; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | / extern "C" { [INFO] [stdout] 329 | | /** Return a string describing the error. For unknown errors, the string [INFO] [stdout] 330 | | "unknown error" is returned. [INFO] [stdout] ... | [INFO] [stdout] 335 | | pub fn mpv_error_string(error: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; [INFO] [stdout] 336 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | / extern "C" { [INFO] [stdout] 338 | | /** General function to deallocate memory returned by some of the API functions. [INFO] [stdout] 339 | | Call this only if it's explicitly documented as allowed. Calling this on [INFO] [stdout] 340 | | mpv memory not owned by the caller will lead to undefined behavior. [INFO] [stdout] ... | [INFO] [stdout] 343 | | pub fn mpv_free(data: *mut ::std::os::raw::c_void); [INFO] [stdout] 344 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / extern "C" { [INFO] [stdout] 346 | | /** Return the name of this client handle. Every client has its own unique [INFO] [stdout] 347 | | name, which is mostly used for user interface purposes. [INFO] [stdout] ... | [INFO] [stdout] 351 | | pub fn mpv_client_name(ctx: *mut mpv_handle) -> *const ::std::os::raw::c_char; [INFO] [stdout] 352 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | / extern "C" { [INFO] [stdout] 354 | | /** Return the ID of this client handle. Every client has its own unique ID. This [INFO] [stdout] 355 | | ID is never reused by the core, even if the mpv_handle at hand gets destroyed [INFO] [stdout] 356 | | and new handles get allocated. [INFO] [stdout] ... | [INFO] [stdout] 367 | | pub fn mpv_client_id(ctx: *mut mpv_handle) -> i64; [INFO] [stdout] 368 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | / extern "C" { [INFO] [stdout] 370 | | /** Create a new mpv instance and an associated client API handle to control [INFO] [stdout] 371 | | the mpv instance. This instance is in a pre-initialized state, [INFO] [stdout] 372 | | and needs to be initialized to be actually used with most other API [INFO] [stdout] ... | [INFO] [stdout] 422 | | pub fn mpv_create() -> *mut mpv_handle; [INFO] [stdout] 423 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:424:1 [INFO] [stdout] | [INFO] [stdout] 424 | / extern "C" { [INFO] [stdout] 425 | | /** Initialize an uninitialized mpv instance. If the mpv instance is already [INFO] [stdout] 426 | | running, an error is returned. [INFO] [stdout] ... | [INFO] [stdout] 443 | | pub fn mpv_initialize(ctx: *mut mpv_handle) -> ::std::os::raw::c_int; [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | / extern "C" { [INFO] [stdout] 446 | | /** Disconnect and destroy the mpv_handle. ctx will be deallocated with this [INFO] [stdout] 447 | | API call. [INFO] [stdout] ... | [INFO] [stdout] 454 | | pub fn mpv_destroy(ctx: *mut mpv_handle); [INFO] [stdout] 455 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / extern "C" { [INFO] [stdout] 457 | | /** Similar to mpv_destroy(), but brings the player and all clients down [INFO] [stdout] 458 | | as well, and waits until all of them are destroyed. This function blocks. The [INFO] [stdout] 459 | | advantage over mpv_destroy() is that while mpv_destroy() merely [INFO] [stdout] ... | [INFO] [stdout] 480 | | pub fn mpv_terminate_destroy(ctx: *mut mpv_handle); [INFO] [stdout] 481 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:482:1 [INFO] [stdout] | [INFO] [stdout] 482 | / extern "C" { [INFO] [stdout] 483 | | /** Create a new client handle connected to the same player core as ctx. This [INFO] [stdout] 484 | | context has its own event queue, its own mpv_request_event() state, its own [INFO] [stdout] 485 | | mpv_request_log_messages() state, its own set of observed properties, and [INFO] [stdout] ... | [INFO] [stdout] 508 | | ) -> *mut mpv_handle; [INFO] [stdout] 509 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:510:1 [INFO] [stdout] | [INFO] [stdout] 510 | / extern "C" { [INFO] [stdout] 511 | | /** This is the same as mpv_create_client(), but the created mpv_handle is [INFO] [stdout] 512 | | treated as a weak reference. If all mpv_handles referencing a core are [INFO] [stdout] 513 | | weak references, the core is automatically destroyed. (This still goes [INFO] [stdout] ... | [INFO] [stdout] 524 | | ) -> *mut mpv_handle; [INFO] [stdout] 525 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:526:1 [INFO] [stdout] | [INFO] [stdout] 526 | / extern "C" { [INFO] [stdout] 527 | | /** Load a config file. This loads and parses the file, and sets every entry in [INFO] [stdout] 528 | | the config file's default section as if mpv_set_option_string() is called. [INFO] [stdout] ... | [INFO] [stdout] 546 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | / extern "C" { [INFO] [stdout] 549 | | /** Return the internal time in nanoseconds. This has an arbitrary start offset, [INFO] [stdout] 550 | | but will never wrap or go backwards. [INFO] [stdout] ... | [INFO] [stdout] 561 | | pub fn mpv_get_time_ns(ctx: *mut mpv_handle) -> i64; [INFO] [stdout] 562 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:563:1 [INFO] [stdout] | [INFO] [stdout] 563 | / extern "C" { [INFO] [stdout] 564 | | /// Same as mpv_get_time_ns but in microseconds. [INFO] [stdout] 565 | | pub fn mpv_get_time_us(ctx: *mut mpv_handle) -> i64; [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:956:1 [INFO] [stdout] | [INFO] [stdout] 956 | / extern "C" { [INFO] [stdout] 957 | | /** Frees any data referenced by the node. It doesn't free the node itself. [INFO] [stdout] 958 | | Call this only if the mpv client API set the node. If you constructed the [INFO] [stdout] 959 | | node yourself (manually), you have to free it yourself. [INFO] [stdout] ... | [INFO] [stdout] 965 | | pub fn mpv_free_node_contents(node: *mut mpv_node); [INFO] [stdout] 966 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:967:1 [INFO] [stdout] | [INFO] [stdout] 967 | / extern "C" { [INFO] [stdout] 968 | | /** Set an option. Note that you can't normally set options during runtime. It [INFO] [stdout] 969 | | works in uninitialized state (see mpv_create()), and in some cases in at [INFO] [stdout] 970 | | runtime. [INFO] [stdout] ... | [INFO] [stdout] 995 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 996 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:997:1 [INFO] [stdout] | [INFO] [stdout] 997 | / extern "C" { [INFO] [stdout] 998 | | /** Convenience function to set an option to a string value. This is like [INFO] [stdout] 999 | | calling mpv_set_option() with MPV_FORMAT_STRING. [INFO] [stdout] ... | [INFO] [stdout] 1006 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1007 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / extern "C" { [INFO] [stdout] 1009 | | /** Send a command to the player. Commands are the same as those used in [INFO] [stdout] 1010 | | input.conf, except that this function takes parameters in a pre-split [INFO] [stdout] 1011 | | form. [INFO] [stdout] ... | [INFO] [stdout] 1024 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1025 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1026:1 [INFO] [stdout] | [INFO] [stdout] 1026 | / extern "C" { [INFO] [stdout] 1027 | | /** Same as mpv_command(), but allows passing structured data in any format. [INFO] [stdout] 1028 | | In particular, calling mpv_command() is exactly like calling [INFO] [stdout] 1029 | | mpv_command_node() with the format set to MPV_FORMAT_NODE_ARRAY, and [INFO] [stdout] ... | [INFO] [stdout] 1063 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1064 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1065:1 [INFO] [stdout] | [INFO] [stdout] 1065 | / extern "C" { [INFO] [stdout] 1066 | | /** This is essentially identical to mpv_command() but it also returns a result. [INFO] [stdout] 1067 | | [INFO] [stdout] 1068 | | Does not use OSD and string expansion by default. [INFO] [stdout] ... | [INFO] [stdout] 1082 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1083 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1084:1 [INFO] [stdout] | [INFO] [stdout] 1084 | / extern "C" { [INFO] [stdout] 1085 | | /** Same as mpv_command, but use input.conf parsing for splitting arguments. [INFO] [stdout] 1086 | | This is slightly simpler, but also more error prone, since arguments may [INFO] [stdout] 1087 | | need quoting/escaping. [INFO] [stdout] ... | [INFO] [stdout] 1093 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1094 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1095:1 [INFO] [stdout] | [INFO] [stdout] 1095 | / extern "C" { [INFO] [stdout] 1096 | | /** Same as mpv_command, but run the command asynchronously. [INFO] [stdout] 1097 | | [INFO] [stdout] 1098 | | Commands are executed asynchronously. You will receive a [INFO] [stdout] ... | [INFO] [stdout] 1118 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1119 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1120:1 [INFO] [stdout] | [INFO] [stdout] 1120 | / extern "C" { [INFO] [stdout] 1121 | | /** Same as mpv_command_node(), but run it asynchronously. Basically, this [INFO] [stdout] 1122 | | function is to mpv_command_node() what mpv_command_async() is to [INFO] [stdout] 1123 | | mpv_command(). [INFO] [stdout] ... | [INFO] [stdout] 1137 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1139:1 [INFO] [stdout] | [INFO] [stdout] 1139 | / extern "C" { [INFO] [stdout] 1140 | | /** Signal to all async requests with the matching ID to abort. This affects [INFO] [stdout] 1141 | | the following API calls: [INFO] [stdout] ... | [INFO] [stdout] 1168 | | pub fn mpv_abort_async_command(ctx: *mut mpv_handle, reply_userdata: u64); [INFO] [stdout] 1169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1170:1 [INFO] [stdout] | [INFO] [stdout] 1170 | / extern "C" { [INFO] [stdout] 1171 | | /** Set a property to a given value. Properties are essentially variables which [INFO] [stdout] 1172 | | can be queried or set at runtime. For example, writing to the pause property [INFO] [stdout] 1173 | | will actually pause or unpause playback. [INFO] [stdout] ... | [INFO] [stdout] 1205 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1206 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1207:1 [INFO] [stdout] | [INFO] [stdout] 1207 | / extern "C" { [INFO] [stdout] 1208 | | /** Convenience function to set a property to a string value. [INFO] [stdout] 1209 | | [INFO] [stdout] 1210 | | This is like calling mpv_set_property() with MPV_FORMAT_STRING.*/ [INFO] [stdout] ... | [INFO] [stdout] 1215 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1217:1 [INFO] [stdout] | [INFO] [stdout] 1217 | / extern "C" { [INFO] [stdout] 1218 | | /** Convenience function to delete a property. [INFO] [stdout] 1219 | | [INFO] [stdout] 1220 | | This is equivalent to running the command "del [name]". [INFO] [stdout] ... | [INFO] [stdout] 1227 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1229:1 [INFO] [stdout] | [INFO] [stdout] 1229 | / extern "C" { [INFO] [stdout] 1230 | | /** Set a property asynchronously. You will receive the result of the operation [INFO] [stdout] 1231 | | as MPV_EVENT_SET_PROPERTY_REPLY event. The mpv_event.error field will contain [INFO] [stdout] 1232 | | the result status of the operation. Otherwise, this function is similar to [INFO] [stdout] ... | [INFO] [stdout] 1249 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1250 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1251:1 [INFO] [stdout] | [INFO] [stdout] 1251 | / extern "C" { [INFO] [stdout] 1252 | | /** Read the value of the given property. [INFO] [stdout] 1253 | | [INFO] [stdout] 1254 | | If the format doesn't match with the internal format of the property, access [INFO] [stdout] ... | [INFO] [stdout] 1273 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1275:1 [INFO] [stdout] | [INFO] [stdout] 1275 | / extern "C" { [INFO] [stdout] 1276 | | /** Return the value of the property with the given name as string. This is [INFO] [stdout] 1277 | | equivalent to mpv_get_property() with MPV_FORMAT_STRING. [INFO] [stdout] ... | [INFO] [stdout] 1290 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 1291 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1292:1 [INFO] [stdout] | [INFO] [stdout] 1292 | / extern "C" { [INFO] [stdout] 1293 | | /** Return the property as "OSD" formatted string. This is the same as [INFO] [stdout] 1294 | | mpv_get_property_string, but using MPV_FORMAT_OSD_STRING. [INFO] [stdout] ... | [INFO] [stdout] 1301 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 1302 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | / extern "C" { [INFO] [stdout] 1304 | | /** Get a property asynchronously. You will receive the result of the operation [INFO] [stdout] 1305 | | as well as the property data with the MPV_EVENT_GET_PROPERTY_REPLY event. [INFO] [stdout] 1306 | | You should check the mpv_event.error field on the reply event. [INFO] [stdout] ... | [INFO] [stdout] 1319 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1320 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1321:1 [INFO] [stdout] | [INFO] [stdout] 1321 | / extern "C" { [INFO] [stdout] 1322 | | /** Get a notification whenever the given property changes. You will receive [INFO] [stdout] 1323 | | updates as MPV_EVENT_PROPERTY_CHANGE. Note that this is not very precise: [INFO] [stdout] 1324 | | for some properties, it may not send updates even if the property changed. [INFO] [stdout] ... | [INFO] [stdout] 1380 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1381 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1382:1 [INFO] [stdout] | [INFO] [stdout] 1382 | / extern "C" { [INFO] [stdout] 1383 | | /** Undo mpv_observe_property(). This will remove all observed properties for [INFO] [stdout] 1384 | | which the given number was passed as reply_userdata to mpv_observe_property. [INFO] [stdout] ... | [INFO] [stdout] 1394 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1485:1 [INFO] [stdout] | [INFO] [stdout] 1485 | / extern "C" { [INFO] [stdout] 1486 | | /** Return a string describing the event. For unknown events, NULL is returned. [INFO] [stdout] 1487 | | [INFO] [stdout] 1488 | | Note that all events actually returned by the API will also yield a non-NULL [INFO] [stdout] ... | [INFO] [stdout] 1498 | | pub fn mpv_event_name(event: mpv_event_id) -> *const ::std::os::raw::c_char; [INFO] [stdout] 1499 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2041:1 [INFO] [stdout] | [INFO] [stdout] 2041 | / extern "C" { [INFO] [stdout] 2042 | | /** Convert the given src event to a mpv_node, and set *dst to the result. *dst [INFO] [stdout] 2043 | | is set to a MPV_FORMAT_NODE_MAP, with fields for corresponding mpv_event and [INFO] [stdout] 2044 | | mpv_event.data/mpv_event_* fields. [INFO] [stdout] ... | [INFO] [stdout] 2063 | | pub fn mpv_event_to_node(dst: *mut mpv_node, src: *mut mpv_event) -> ::std::os::raw::c_int; [INFO] [stdout] 2064 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2065:1 [INFO] [stdout] | [INFO] [stdout] 2065 | / extern "C" { [INFO] [stdout] 2066 | | /** Enable or disable the given event. [INFO] [stdout] 2067 | | [INFO] [stdout] 2068 | | Some events are enabled by default. Some events can't be disabled. [INFO] [stdout] ... | [INFO] [stdout] 2082 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2083 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2084:1 [INFO] [stdout] | [INFO] [stdout] 2084 | / extern "C" { [INFO] [stdout] 2085 | | /** Enable or disable receiving of log messages. These are the messages the [INFO] [stdout] 2086 | | command line player prints to the terminal. This call sets the minimum [INFO] [stdout] 2087 | | required log level for a message to be received with MPV_EVENT_LOG_MESSAGE. [INFO] [stdout] ... | [INFO] [stdout] 2100 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2101 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2102:1 [INFO] [stdout] | [INFO] [stdout] 2102 | / extern "C" { [INFO] [stdout] 2103 | | /** Wait for the next event, or until the timeout expires, or if another thread [INFO] [stdout] 2104 | | makes a call to mpv_wakeup(). Passing 0 as timeout will never wait, and [INFO] [stdout] 2105 | | is suitable for polling. [INFO] [stdout] ... | [INFO] [stdout] 2132 | | pub fn mpv_wait_event(ctx: *mut mpv_handle, timeout: f64) -> *mut mpv_event; [INFO] [stdout] 2133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2134:1 [INFO] [stdout] | [INFO] [stdout] 2134 | / extern "C" { [INFO] [stdout] 2135 | | /** Interrupt the current mpv_wait_event() call. This will wake up the thread [INFO] [stdout] 2136 | | currently waiting in mpv_wait_event(). If no thread is waiting, the next [INFO] [stdout] 2137 | | mpv_wait_event() call will return immediately (this is to avoid lost [INFO] [stdout] ... | [INFO] [stdout] 2146 | | pub fn mpv_wakeup(ctx: *mut mpv_handle); [INFO] [stdout] 2147 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2148:1 [INFO] [stdout] | [INFO] [stdout] 2148 | / extern "C" { [INFO] [stdout] 2149 | | /** Set a custom function that should be called when there are new events. Use [INFO] [stdout] 2150 | | this if blocking in mpv_wait_event() to wait for new events is not feasible. [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ); [INFO] [stdout] 2188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2189:1 [INFO] [stdout] | [INFO] [stdout] 2189 | / extern "C" { [INFO] [stdout] 2190 | | /** Block until all asynchronous requests are done. This affects functions like [INFO] [stdout] 2191 | | mpv_command_async(), which return immediately and return their result as [INFO] [stdout] 2192 | | events. [INFO] [stdout] ... | [INFO] [stdout] 2200 | | pub fn mpv_wait_async_requests(ctx: *mut mpv_handle); [INFO] [stdout] 2201 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2202:1 [INFO] [stdout] | [INFO] [stdout] 2202 | / extern "C" { [INFO] [stdout] 2203 | | /** A hook is like a synchronous event that blocks the player. You register [INFO] [stdout] 2204 | | a hook handler with this function. You will get an event, which you need [INFO] [stdout] 2205 | | to handle, and once things are ready, you can let the player continue with [INFO] [stdout] ... | [INFO] [stdout] 2241 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2243:1 [INFO] [stdout] | [INFO] [stdout] 2243 | / extern "C" { [INFO] [stdout] 2244 | | /** Respond to a MPV_EVENT_HOOK event. You must call this after you have handled [INFO] [stdout] 2245 | | the event. There is no way to "cancel" or "stop" the hook. [INFO] [stdout] ... | [INFO] [stdout] 2258 | | pub fn mpv_hook_continue(ctx: *mut mpv_handle, id: u64) -> ::std::os::raw::c_int; [INFO] [stdout] 2259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2260:1 [INFO] [stdout] | [INFO] [stdout] 2260 | / extern "C" { [INFO] [stdout] 2261 | | /** Return a UNIX file descriptor referring to the read end of a pipe. This [INFO] [stdout] 2262 | | pipe can be used to wake up a poll() based processing loop. The purpose of [INFO] [stdout] 2263 | | this function is very similar to mpv_set_wakeup_callback(), and provides [INFO] [stdout] ... | [INFO] [stdout] 2317 | | pub fn mpv_get_wakeup_pipe(ctx: *mut mpv_handle) -> ::std::os::raw::c_int; [INFO] [stdout] 2318 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2698:1 [INFO] [stdout] | [INFO] [stdout] 2698 | / extern "C" { [INFO] [stdout] 2699 | | /** Initialize the renderer state. Depending on the backend used, this will [INFO] [stdout] 2700 | | access the underlying GPU API and initialize its own objects. [INFO] [stdout] ... | [INFO] [stdout] 2735 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2736 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2737:1 [INFO] [stdout] | [INFO] [stdout] 2737 | / extern "C" { [INFO] [stdout] 2738 | | /** Attempt to change a single parameter. Not all backends and parameter types [INFO] [stdout] 2739 | | support all kinds of changes. [INFO] [stdout] ... | [INFO] [stdout] 2749 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2750 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2751:1 [INFO] [stdout] | [INFO] [stdout] 2751 | / extern "C" { [INFO] [stdout] 2752 | | /** Retrieve information from the render context. This is NOT a counterpart to [INFO] [stdout] 2753 | | mpv_render_context_set_parameter(), because you generally can't read [INFO] [stdout] 2754 | | parameters set with it, and this function is not meant for this purpose. [INFO] [stdout] ... | [INFO] [stdout] 2772 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2773 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2776:1 [INFO] [stdout] | [INFO] [stdout] 2776 | / extern "C" { [INFO] [stdout] 2777 | | /** Set the callback that notifies you when a new video frame is available, or [INFO] [stdout] 2778 | | if the video display configuration somehow changed and requires a redraw. [INFO] [stdout] 2779 | | Similar to mpv_set_wakeup_callback(), you must not call any mpv API from [INFO] [stdout] ... | [INFO] [stdout] 2795 | | ); [INFO] [stdout] 2796 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2797:1 [INFO] [stdout] | [INFO] [stdout] 2797 | / extern "C" { [INFO] [stdout] 2798 | | /** The API user is supposed to call this when the update callback was invoked [INFO] [stdout] 2799 | | (like all mpv_render_* functions, this has to happen on the render thread, [INFO] [stdout] 2800 | | and _not_ from the update callback itself). [INFO] [stdout] ... | [INFO] [stdout] 2819 | | pub fn mpv_render_context_update(ctx: *mut mpv_render_context) -> u64; [INFO] [stdout] 2820 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2830:1 [INFO] [stdout] | [INFO] [stdout] 2830 | / extern "C" { [INFO] [stdout] 2831 | | /** Render video. [INFO] [stdout] 2832 | | [INFO] [stdout] 2833 | | Typically renders the video to a target surface provided via mpv_render_param [INFO] [stdout] ... | [INFO] [stdout] 2866 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2867 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2868:1 [INFO] [stdout] | [INFO] [stdout] 2868 | / extern "C" { [INFO] [stdout] 2869 | | /** Tell the renderer that a frame was flipped at the given time. This is [INFO] [stdout] 2870 | | optional, but can help the player to achieve better timing. [INFO] [stdout] ... | [INFO] [stdout] 2878 | | pub fn mpv_render_context_report_swap(ctx: *mut mpv_render_context); [INFO] [stdout] 2879 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2880:1 [INFO] [stdout] | [INFO] [stdout] 2880 | / extern "C" { [INFO] [stdout] 2881 | | /** Destroy the mpv renderer state. [INFO] [stdout] 2882 | | [INFO] [stdout] 2883 | | If video is still active (e.g. a file playing), video will be disabled [INFO] [stdout] ... | [INFO] [stdout] 2888 | | pub fn mpv_render_context_free(ctx: *mut mpv_render_context); [INFO] [stdout] 2889 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:3421:1 [INFO] [stdout] | [INFO] [stdout] 3421 | / extern "C" { [INFO] [stdout] 3422 | | /** Add a custom stream protocol. This will register a protocol handler under [INFO] [stdout] 3423 | | the given protocol prefix, and invoke the given callbacks if an URI with the [INFO] [stdout] 3424 | | matching protocol prefix is opened. [INFO] [stdout] ... | [INFO] [stdout] 3443 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 3444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | / extern "C" { [INFO] [stdout] 258 | | /// Return the MPV_CLIENT_API_VERSION the mpv source has been compiled with. [INFO] [stdout] 259 | | pub fn mpv_client_api_version() -> ::std::os::raw::c_ulong; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | / extern "C" { [INFO] [stdout] 329 | | /** Return a string describing the error. For unknown errors, the string [INFO] [stdout] 330 | | "unknown error" is returned. [INFO] [stdout] ... | [INFO] [stdout] 335 | | pub fn mpv_error_string(error: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; [INFO] [stdout] 336 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | / extern "C" { [INFO] [stdout] 338 | | /** General function to deallocate memory returned by some of the API functions. [INFO] [stdout] 339 | | Call this only if it's explicitly documented as allowed. Calling this on [INFO] [stdout] 340 | | mpv memory not owned by the caller will lead to undefined behavior. [INFO] [stdout] ... | [INFO] [stdout] 343 | | pub fn mpv_free(data: *mut ::std::os::raw::c_void); [INFO] [stdout] 344 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / extern "C" { [INFO] [stdout] 346 | | /** Return the name of this client handle. Every client has its own unique [INFO] [stdout] 347 | | name, which is mostly used for user interface purposes. [INFO] [stdout] ... | [INFO] [stdout] 351 | | pub fn mpv_client_name(ctx: *mut mpv_handle) -> *const ::std::os::raw::c_char; [INFO] [stdout] 352 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | / extern "C" { [INFO] [stdout] 354 | | /** Return the ID of this client handle. Every client has its own unique ID. This [INFO] [stdout] 355 | | ID is never reused by the core, even if the mpv_handle at hand gets destroyed [INFO] [stdout] 356 | | and new handles get allocated. [INFO] [stdout] ... | [INFO] [stdout] 367 | | pub fn mpv_client_id(ctx: *mut mpv_handle) -> i64; [INFO] [stdout] 368 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | / extern "C" { [INFO] [stdout] 370 | | /** Create a new mpv instance and an associated client API handle to control [INFO] [stdout] 371 | | the mpv instance. This instance is in a pre-initialized state, [INFO] [stdout] 372 | | and needs to be initialized to be actually used with most other API [INFO] [stdout] ... | [INFO] [stdout] 422 | | pub fn mpv_create() -> *mut mpv_handle; [INFO] [stdout] 423 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:424:1 [INFO] [stdout] | [INFO] [stdout] 424 | / extern "C" { [INFO] [stdout] 425 | | /** Initialize an uninitialized mpv instance. If the mpv instance is already [INFO] [stdout] 426 | | running, an error is returned. [INFO] [stdout] ... | [INFO] [stdout] 443 | | pub fn mpv_initialize(ctx: *mut mpv_handle) -> ::std::os::raw::c_int; [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | / extern "C" { [INFO] [stdout] 446 | | /** Disconnect and destroy the mpv_handle. ctx will be deallocated with this [INFO] [stdout] 447 | | API call. [INFO] [stdout] ... | [INFO] [stdout] 454 | | pub fn mpv_destroy(ctx: *mut mpv_handle); [INFO] [stdout] 455 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / extern "C" { [INFO] [stdout] 457 | | /** Similar to mpv_destroy(), but brings the player and all clients down [INFO] [stdout] 458 | | as well, and waits until all of them are destroyed. This function blocks. The [INFO] [stdout] 459 | | advantage over mpv_destroy() is that while mpv_destroy() merely [INFO] [stdout] ... | [INFO] [stdout] 480 | | pub fn mpv_terminate_destroy(ctx: *mut mpv_handle); [INFO] [stdout] 481 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:482:1 [INFO] [stdout] | [INFO] [stdout] 482 | / extern "C" { [INFO] [stdout] 483 | | /** Create a new client handle connected to the same player core as ctx. This [INFO] [stdout] 484 | | context has its own event queue, its own mpv_request_event() state, its own [INFO] [stdout] 485 | | mpv_request_log_messages() state, its own set of observed properties, and [INFO] [stdout] ... | [INFO] [stdout] 508 | | ) -> *mut mpv_handle; [INFO] [stdout] 509 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:510:1 [INFO] [stdout] | [INFO] [stdout] 510 | / extern "C" { [INFO] [stdout] 511 | | /** This is the same as mpv_create_client(), but the created mpv_handle is [INFO] [stdout] 512 | | treated as a weak reference. If all mpv_handles referencing a core are [INFO] [stdout] 513 | | weak references, the core is automatically destroyed. (This still goes [INFO] [stdout] ... | [INFO] [stdout] 524 | | ) -> *mut mpv_handle; [INFO] [stdout] 525 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:526:1 [INFO] [stdout] | [INFO] [stdout] 526 | / extern "C" { [INFO] [stdout] 527 | | /** Load a config file. This loads and parses the file, and sets every entry in [INFO] [stdout] 528 | | the config file's default section as if mpv_set_option_string() is called. [INFO] [stdout] ... | [INFO] [stdout] 546 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | / extern "C" { [INFO] [stdout] 549 | | /** Return the internal time in nanoseconds. This has an arbitrary start offset, [INFO] [stdout] 550 | | but will never wrap or go backwards. [INFO] [stdout] ... | [INFO] [stdout] 561 | | pub fn mpv_get_time_ns(ctx: *mut mpv_handle) -> i64; [INFO] [stdout] 562 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:563:1 [INFO] [stdout] | [INFO] [stdout] 563 | / extern "C" { [INFO] [stdout] 564 | | /// Same as mpv_get_time_ns but in microseconds. [INFO] [stdout] 565 | | pub fn mpv_get_time_us(ctx: *mut mpv_handle) -> i64; [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:956:1 [INFO] [stdout] | [INFO] [stdout] 956 | / extern "C" { [INFO] [stdout] 957 | | /** Frees any data referenced by the node. It doesn't free the node itself. [INFO] [stdout] 958 | | Call this only if the mpv client API set the node. If you constructed the [INFO] [stdout] 959 | | node yourself (manually), you have to free it yourself. [INFO] [stdout] ... | [INFO] [stdout] 965 | | pub fn mpv_free_node_contents(node: *mut mpv_node); [INFO] [stdout] 966 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:967:1 [INFO] [stdout] | [INFO] [stdout] 967 | / extern "C" { [INFO] [stdout] 968 | | /** Set an option. Note that you can't normally set options during runtime. It [INFO] [stdout] 969 | | works in uninitialized state (see mpv_create()), and in some cases in at [INFO] [stdout] 970 | | runtime. [INFO] [stdout] ... | [INFO] [stdout] 995 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 996 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:997:1 [INFO] [stdout] | [INFO] [stdout] 997 | / extern "C" { [INFO] [stdout] 998 | | /** Convenience function to set an option to a string value. This is like [INFO] [stdout] 999 | | calling mpv_set_option() with MPV_FORMAT_STRING. [INFO] [stdout] ... | [INFO] [stdout] 1006 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1007 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / extern "C" { [INFO] [stdout] 1009 | | /** Send a command to the player. Commands are the same as those used in [INFO] [stdout] 1010 | | input.conf, except that this function takes parameters in a pre-split [INFO] [stdout] 1011 | | form. [INFO] [stdout] ... | [INFO] [stdout] 1024 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1025 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1026:1 [INFO] [stdout] | [INFO] [stdout] 1026 | / extern "C" { [INFO] [stdout] 1027 | | /** Same as mpv_command(), but allows passing structured data in any format. [INFO] [stdout] 1028 | | In particular, calling mpv_command() is exactly like calling [INFO] [stdout] 1029 | | mpv_command_node() with the format set to MPV_FORMAT_NODE_ARRAY, and [INFO] [stdout] ... | [INFO] [stdout] 1063 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1064 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1065:1 [INFO] [stdout] | [INFO] [stdout] 1065 | / extern "C" { [INFO] [stdout] 1066 | | /** This is essentially identical to mpv_command() but it also returns a result. [INFO] [stdout] 1067 | | [INFO] [stdout] 1068 | | Does not use OSD and string expansion by default. [INFO] [stdout] ... | [INFO] [stdout] 1082 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1083 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1084:1 [INFO] [stdout] | [INFO] [stdout] 1084 | / extern "C" { [INFO] [stdout] 1085 | | /** Same as mpv_command, but use input.conf parsing for splitting arguments. [INFO] [stdout] 1086 | | This is slightly simpler, but also more error prone, since arguments may [INFO] [stdout] 1087 | | need quoting/escaping. [INFO] [stdout] ... | [INFO] [stdout] 1093 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1094 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1095:1 [INFO] [stdout] | [INFO] [stdout] 1095 | / extern "C" { [INFO] [stdout] 1096 | | /** Same as mpv_command, but run the command asynchronously. [INFO] [stdout] 1097 | | [INFO] [stdout] 1098 | | Commands are executed asynchronously. You will receive a [INFO] [stdout] ... | [INFO] [stdout] 1118 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1119 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1120:1 [INFO] [stdout] | [INFO] [stdout] 1120 | / extern "C" { [INFO] [stdout] 1121 | | /** Same as mpv_command_node(), but run it asynchronously. Basically, this [INFO] [stdout] 1122 | | function is to mpv_command_node() what mpv_command_async() is to [INFO] [stdout] 1123 | | mpv_command(). [INFO] [stdout] ... | [INFO] [stdout] 1137 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1139:1 [INFO] [stdout] | [INFO] [stdout] 1139 | / extern "C" { [INFO] [stdout] 1140 | | /** Signal to all async requests with the matching ID to abort. This affects [INFO] [stdout] 1141 | | the following API calls: [INFO] [stdout] ... | [INFO] [stdout] 1168 | | pub fn mpv_abort_async_command(ctx: *mut mpv_handle, reply_userdata: u64); [INFO] [stdout] 1169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1170:1 [INFO] [stdout] | [INFO] [stdout] 1170 | / extern "C" { [INFO] [stdout] 1171 | | /** Set a property to a given value. Properties are essentially variables which [INFO] [stdout] 1172 | | can be queried or set at runtime. For example, writing to the pause property [INFO] [stdout] 1173 | | will actually pause or unpause playback. [INFO] [stdout] ... | [INFO] [stdout] 1205 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1206 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1207:1 [INFO] [stdout] | [INFO] [stdout] 1207 | / extern "C" { [INFO] [stdout] 1208 | | /** Convenience function to set a property to a string value. [INFO] [stdout] 1209 | | [INFO] [stdout] 1210 | | This is like calling mpv_set_property() with MPV_FORMAT_STRING.*/ [INFO] [stdout] ... | [INFO] [stdout] 1215 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1217:1 [INFO] [stdout] | [INFO] [stdout] 1217 | / extern "C" { [INFO] [stdout] 1218 | | /** Convenience function to delete a property. [INFO] [stdout] 1219 | | [INFO] [stdout] 1220 | | This is equivalent to running the command "del [name]". [INFO] [stdout] ... | [INFO] [stdout] 1227 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1229:1 [INFO] [stdout] | [INFO] [stdout] 1229 | / extern "C" { [INFO] [stdout] 1230 | | /** Set a property asynchronously. You will receive the result of the operation [INFO] [stdout] 1231 | | as MPV_EVENT_SET_PROPERTY_REPLY event. The mpv_event.error field will contain [INFO] [stdout] 1232 | | the result status of the operation. Otherwise, this function is similar to [INFO] [stdout] ... | [INFO] [stdout] 1249 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1250 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1251:1 [INFO] [stdout] | [INFO] [stdout] 1251 | / extern "C" { [INFO] [stdout] 1252 | | /** Read the value of the given property. [INFO] [stdout] 1253 | | [INFO] [stdout] 1254 | | If the format doesn't match with the internal format of the property, access [INFO] [stdout] ... | [INFO] [stdout] 1273 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1275:1 [INFO] [stdout] | [INFO] [stdout] 1275 | / extern "C" { [INFO] [stdout] 1276 | | /** Return the value of the property with the given name as string. This is [INFO] [stdout] 1277 | | equivalent to mpv_get_property() with MPV_FORMAT_STRING. [INFO] [stdout] ... | [INFO] [stdout] 1290 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 1291 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1292:1 [INFO] [stdout] | [INFO] [stdout] 1292 | / extern "C" { [INFO] [stdout] 1293 | | /** Return the property as "OSD" formatted string. This is the same as [INFO] [stdout] 1294 | | mpv_get_property_string, but using MPV_FORMAT_OSD_STRING. [INFO] [stdout] ... | [INFO] [stdout] 1301 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 1302 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | / extern "C" { [INFO] [stdout] 1304 | | /** Get a property asynchronously. You will receive the result of the operation [INFO] [stdout] 1305 | | as well as the property data with the MPV_EVENT_GET_PROPERTY_REPLY event. [INFO] [stdout] 1306 | | You should check the mpv_event.error field on the reply event. [INFO] [stdout] ... | [INFO] [stdout] 1319 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1320 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1321:1 [INFO] [stdout] | [INFO] [stdout] 1321 | / extern "C" { [INFO] [stdout] 1322 | | /** Get a notification whenever the given property changes. You will receive [INFO] [stdout] 1323 | | updates as MPV_EVENT_PROPERTY_CHANGE. Note that this is not very precise: [INFO] [stdout] 1324 | | for some properties, it may not send updates even if the property changed. [INFO] [stdout] ... | [INFO] [stdout] 1380 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1381 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1382:1 [INFO] [stdout] | [INFO] [stdout] 1382 | / extern "C" { [INFO] [stdout] 1383 | | /** Undo mpv_observe_property(). This will remove all observed properties for [INFO] [stdout] 1384 | | which the given number was passed as reply_userdata to mpv_observe_property. [INFO] [stdout] ... | [INFO] [stdout] 1394 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 1395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:1485:1 [INFO] [stdout] | [INFO] [stdout] 1485 | / extern "C" { [INFO] [stdout] 1486 | | /** Return a string describing the event. For unknown events, NULL is returned. [INFO] [stdout] 1487 | | [INFO] [stdout] 1488 | | Note that all events actually returned by the API will also yield a non-NULL [INFO] [stdout] ... | [INFO] [stdout] 1498 | | pub fn mpv_event_name(event: mpv_event_id) -> *const ::std::os::raw::c_char; [INFO] [stdout] 1499 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2041:1 [INFO] [stdout] | [INFO] [stdout] 2041 | / extern "C" { [INFO] [stdout] 2042 | | /** Convert the given src event to a mpv_node, and set *dst to the result. *dst [INFO] [stdout] 2043 | | is set to a MPV_FORMAT_NODE_MAP, with fields for corresponding mpv_event and [INFO] [stdout] 2044 | | mpv_event.data/mpv_event_* fields. [INFO] [stdout] ... | [INFO] [stdout] 2063 | | pub fn mpv_event_to_node(dst: *mut mpv_node, src: *mut mpv_event) -> ::std::os::raw::c_int; [INFO] [stdout] 2064 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2065:1 [INFO] [stdout] | [INFO] [stdout] 2065 | / extern "C" { [INFO] [stdout] 2066 | | /** Enable or disable the given event. [INFO] [stdout] 2067 | | [INFO] [stdout] 2068 | | Some events are enabled by default. Some events can't be disabled. [INFO] [stdout] ... | [INFO] [stdout] 2082 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2083 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2084:1 [INFO] [stdout] | [INFO] [stdout] 2084 | / extern "C" { [INFO] [stdout] 2085 | | /** Enable or disable receiving of log messages. These are the messages the [INFO] [stdout] 2086 | | command line player prints to the terminal. This call sets the minimum [INFO] [stdout] 2087 | | required log level for a message to be received with MPV_EVENT_LOG_MESSAGE. [INFO] [stdout] ... | [INFO] [stdout] 2100 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2101 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2102:1 [INFO] [stdout] | [INFO] [stdout] 2102 | / extern "C" { [INFO] [stdout] 2103 | | /** Wait for the next event, or until the timeout expires, or if another thread [INFO] [stdout] 2104 | | makes a call to mpv_wakeup(). Passing 0 as timeout will never wait, and [INFO] [stdout] 2105 | | is suitable for polling. [INFO] [stdout] ... | [INFO] [stdout] 2132 | | pub fn mpv_wait_event(ctx: *mut mpv_handle, timeout: f64) -> *mut mpv_event; [INFO] [stdout] 2133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2134:1 [INFO] [stdout] | [INFO] [stdout] 2134 | / extern "C" { [INFO] [stdout] 2135 | | /** Interrupt the current mpv_wait_event() call. This will wake up the thread [INFO] [stdout] 2136 | | currently waiting in mpv_wait_event(). If no thread is waiting, the next [INFO] [stdout] 2137 | | mpv_wait_event() call will return immediately (this is to avoid lost [INFO] [stdout] ... | [INFO] [stdout] 2146 | | pub fn mpv_wakeup(ctx: *mut mpv_handle); [INFO] [stdout] 2147 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2148:1 [INFO] [stdout] | [INFO] [stdout] 2148 | / extern "C" { [INFO] [stdout] 2149 | | /** Set a custom function that should be called when there are new events. Use [INFO] [stdout] 2150 | | this if blocking in mpv_wait_event() to wait for new events is not feasible. [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ); [INFO] [stdout] 2188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2189:1 [INFO] [stdout] | [INFO] [stdout] 2189 | / extern "C" { [INFO] [stdout] 2190 | | /** Block until all asynchronous requests are done. This affects functions like [INFO] [stdout] 2191 | | mpv_command_async(), which return immediately and return their result as [INFO] [stdout] 2192 | | events. [INFO] [stdout] ... | [INFO] [stdout] 2200 | | pub fn mpv_wait_async_requests(ctx: *mut mpv_handle); [INFO] [stdout] 2201 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2202:1 [INFO] [stdout] | [INFO] [stdout] 2202 | / extern "C" { [INFO] [stdout] 2203 | | /** A hook is like a synchronous event that blocks the player. You register [INFO] [stdout] 2204 | | a hook handler with this function. You will get an event, which you need [INFO] [stdout] 2205 | | to handle, and once things are ready, you can let the player continue with [INFO] [stdout] ... | [INFO] [stdout] 2241 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2243:1 [INFO] [stdout] | [INFO] [stdout] 2243 | / extern "C" { [INFO] [stdout] 2244 | | /** Respond to a MPV_EVENT_HOOK event. You must call this after you have handled [INFO] [stdout] 2245 | | the event. There is no way to "cancel" or "stop" the hook. [INFO] [stdout] ... | [INFO] [stdout] 2258 | | pub fn mpv_hook_continue(ctx: *mut mpv_handle, id: u64) -> ::std::os::raw::c_int; [INFO] [stdout] 2259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2260:1 [INFO] [stdout] | [INFO] [stdout] 2260 | / extern "C" { [INFO] [stdout] 2261 | | /** Return a UNIX file descriptor referring to the read end of a pipe. This [INFO] [stdout] 2262 | | pipe can be used to wake up a poll() based processing loop. The purpose of [INFO] [stdout] 2263 | | this function is very similar to mpv_set_wakeup_callback(), and provides [INFO] [stdout] ... | [INFO] [stdout] 2317 | | pub fn mpv_get_wakeup_pipe(ctx: *mut mpv_handle) -> ::std::os::raw::c_int; [INFO] [stdout] 2318 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2698:1 [INFO] [stdout] | [INFO] [stdout] 2698 | / extern "C" { [INFO] [stdout] 2699 | | /** Initialize the renderer state. Depending on the backend used, this will [INFO] [stdout] 2700 | | access the underlying GPU API and initialize its own objects. [INFO] [stdout] ... | [INFO] [stdout] 2735 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2736 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2737:1 [INFO] [stdout] | [INFO] [stdout] 2737 | / extern "C" { [INFO] [stdout] 2738 | | /** Attempt to change a single parameter. Not all backends and parameter types [INFO] [stdout] 2739 | | support all kinds of changes. [INFO] [stdout] ... | [INFO] [stdout] 2749 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2750 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2751:1 [INFO] [stdout] | [INFO] [stdout] 2751 | / extern "C" { [INFO] [stdout] 2752 | | /** Retrieve information from the render context. This is NOT a counterpart to [INFO] [stdout] 2753 | | mpv_render_context_set_parameter(), because you generally can't read [INFO] [stdout] 2754 | | parameters set with it, and this function is not meant for this purpose. [INFO] [stdout] ... | [INFO] [stdout] 2772 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2773 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2776:1 [INFO] [stdout] | [INFO] [stdout] 2776 | / extern "C" { [INFO] [stdout] 2777 | | /** Set the callback that notifies you when a new video frame is available, or [INFO] [stdout] 2778 | | if the video display configuration somehow changed and requires a redraw. [INFO] [stdout] 2779 | | Similar to mpv_set_wakeup_callback(), you must not call any mpv API from [INFO] [stdout] ... | [INFO] [stdout] 2795 | | ); [INFO] [stdout] 2796 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2797:1 [INFO] [stdout] | [INFO] [stdout] 2797 | / extern "C" { [INFO] [stdout] 2798 | | /** The API user is supposed to call this when the update callback was invoked [INFO] [stdout] 2799 | | (like all mpv_render_* functions, this has to happen on the render thread, [INFO] [stdout] 2800 | | and _not_ from the update callback itself). [INFO] [stdout] ... | [INFO] [stdout] 2819 | | pub fn mpv_render_context_update(ctx: *mut mpv_render_context) -> u64; [INFO] [stdout] 2820 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2830:1 [INFO] [stdout] | [INFO] [stdout] 2830 | / extern "C" { [INFO] [stdout] 2831 | | /** Render video. [INFO] [stdout] 2832 | | [INFO] [stdout] 2833 | | Typically renders the video to a target surface provided via mpv_render_param [INFO] [stdout] ... | [INFO] [stdout] 2866 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 2867 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2868:1 [INFO] [stdout] | [INFO] [stdout] 2868 | / extern "C" { [INFO] [stdout] 2869 | | /** Tell the renderer that a frame was flipped at the given time. This is [INFO] [stdout] 2870 | | optional, but can help the player to achieve better timing. [INFO] [stdout] ... | [INFO] [stdout] 2878 | | pub fn mpv_render_context_report_swap(ctx: *mut mpv_render_context); [INFO] [stdout] 2879 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:2880:1 [INFO] [stdout] | [INFO] [stdout] 2880 | / extern "C" { [INFO] [stdout] 2881 | | /** Destroy the mpv renderer state. [INFO] [stdout] 2882 | | [INFO] [stdout] 2883 | | If video is still active (e.g. a file playing), video will be disabled [INFO] [stdout] ... | [INFO] [stdout] 2888 | | pub fn mpv_render_context_free(ctx: *mut mpv_render_context); [INFO] [stdout] 2889 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libmpv2-sys-752611bfd471d9d5/out/bindings.rs:3421:1 [INFO] [stdout] | [INFO] [stdout] 3421 | / extern "C" { [INFO] [stdout] 3422 | | /** Add a custom stream protocol. This will register a protocol handler under [INFO] [stdout] 3423 | | the given protocol prefix, and invoke the given callbacks if an URI with the [INFO] [stdout] 3424 | | matching protocol prefix is opened. [INFO] [stdout] ... | [INFO] [stdout] 3443 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] 3444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libmpv2-sys` (lib) due to 55 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libmpv2-sys` (lib test) due to 55 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" "2c22547250aa8ad6b35419a5e9bfb7394f96d924b8abd041d86edd36919d61ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c22547250aa8ad6b35419a5e9bfb7394f96d924b8abd041d86edd36919d61ad", kill_on_drop: false }` [INFO] [stdout] 2c22547250aa8ad6b35419a5e9bfb7394f96d924b8abd041d86edd36919d61ad