[INFO] fetching crate gstreamer 0.22.4... [INFO] checking gstreamer-0.22.4 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate gstreamer 0.22.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate gstreamer 0.22.4 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gstreamer 0.22.4 [INFO] finished tweaking crates.io crate gstreamer 0.22.4 [INFO] tweaked toml for crates.io crate gstreamer 0.22.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "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 73 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ron v0.8.1 [INFO] [stderr] Downloaded gobject-sys v0.19.5 [INFO] [stderr] Downloaded muldiv v1.0.1 [INFO] [stderr] Downloaded gstreamer-sys v0.22.5 [INFO] [stderr] Downloaded option-operations v0.5.0 [INFO] [stderr] Downloaded glib-macros v0.19.7 [INFO] [stderr] Downloaded glib-sys v0.19.5 [INFO] [stderr] Downloaded gir-format-check v0.1.3 [INFO] [stderr] Downloaded gio-sys v0.19.5 [INFO] [stderr] Downloaded glib v0.19.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e17abd6f22931a6b3eb224957fdb67dcb599d76129636ff97dca0dea21c0e1d [INFO] running `Command { std: "docker" "start" "-a" "2e17abd6f22931a6b3eb224957fdb67dcb599d76129636ff97dca0dea21c0e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e17abd6f22931a6b3eb224957fdb67dcb599d76129636ff97dca0dea21c0e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e17abd6f22931a6b3eb224957fdb67dcb599d76129636ff97dca0dea21c0e1d", kill_on_drop: false }` [INFO] [stdout] 2e17abd6f22931a6b3eb224957fdb67dcb599d76129636ff97dca0dea21c0e1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9739ca80d7d140d92f789d7f003737e4b8d534776872efa3344dfd505eddc046 [INFO] running `Command { std: "docker" "start" "-a" "9739ca80d7d140d92f789d7f003737e4b8d534776872efa3344dfd505eddc046", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling winnow v0.6.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking muldiv v1.0.1 [INFO] [stderr] Checking option-operations v0.5.0 [INFO] [stderr] Checking gir-format-check v0.1.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling glib-macros v0.19.7 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling glib-sys v0.19.5 [INFO] [stderr] Compiling gobject-sys v0.19.5 [INFO] [stderr] Compiling gio-sys v0.19.5 [INFO] [stderr] Compiling gstreamer-sys v0.22.5 [INFO] [stderr] Checking glib v0.19.7 [INFO] [stderr] Checking gstreamer v0.22.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.07s [INFO] running `Command { std: "docker" "inspect" "9739ca80d7d140d92f789d7f003737e4b8d534776872efa3344dfd505eddc046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9739ca80d7d140d92f789d7f003737e4b8d534776872efa3344dfd505eddc046", kill_on_drop: false }` [INFO] [stdout] 9739ca80d7d140d92f789d7f003737e4b8d534776872efa3344dfd505eddc046 [INFO] checking gstreamer-0.22.4 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate gstreamer 0.22.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate gstreamer 0.22.4 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gstreamer 0.22.4 [INFO] finished tweaking crates.io crate gstreamer 0.22.4 [INFO] tweaked toml for crates.io crate gstreamer 0.22.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 586b9a708c5106e08a6761c284eca74d677d20a7d522ff547b5931894a7e010a [INFO] running `Command { std: "docker" "start" "-a" "586b9a708c5106e08a6761c284eca74d677d20a7d522ff547b5931894a7e010a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "586b9a708c5106e08a6761c284eca74d677d20a7d522ff547b5931894a7e010a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586b9a708c5106e08a6761c284eca74d677d20a7d522ff547b5931894a7e010a", kill_on_drop: false }` [INFO] [stdout] 586b9a708c5106e08a6761c284eca74d677d20a7d522ff547b5931894a7e010a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cbeadfafe651839c348637504aa1ec135f7beec8bf69e189278b68635414092 [INFO] running `Command { std: "docker" "start" "-a" "9cbeadfafe651839c348637504aa1ec135f7beec8bf69e189278b68635414092", 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 serde v1.0.203 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling winnow v0.6.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking option-operations v0.5.0 [INFO] [stderr] Checking muldiv v1.0.1 [INFO] [stderr] Checking gir-format-check v0.1.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling glib-macros v0.19.7 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling glib-sys v0.19.5 [INFO] [stderr] Compiling gobject-sys v0.19.5 [INFO] [stderr] Compiling gio-sys v0.19.5 [INFO] [stderr] Compiling gstreamer-sys v0.22.5 [INFO] [stderr] Checking glib v0.19.7 [INFO] [stderr] Checking gstreamer v0.22.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/auto/device.rs (1 fix) [INFO] [stderr] Fixed src/static_caps.rs (4 fixes) [INFO] [stderr] Fixed src/caps.rs (3 fixes) [INFO] [stderr] Fixed src/structure.rs (13 fixes) [INFO] [stderr] Fixed src/typefind.rs (5 fixes) [INFO] [stderr] Fixed src/caps_features.rs (8 fixes) [INFO] [stderr] Fixed src/auto/device_monitor.rs (1 fix) [INFO] [stderr] Fixed src/param_spec.rs (2 fixes) [INFO] [stderr] Fixed src/query.rs (2 fixes) [INFO] [stderr] Fixed src/format/clock_time.rs (1 fix) [INFO] [stderr] Fixed src/subclass/uri_handler.rs (3 fixes) [INFO] [stderr] Fixed src/format/macros.rs (2 fixes) [INFO] [stderr] Fixed src/auto/device_provider.rs (2 fixes) [INFO] [stderr] Fixed src/promise.rs (2 fixes) [INFO] [stderr] Fixed src/auto/flags.rs (25 fixes) [INFO] [stderr] Fixed src/memory_wrapped.rs (6 fixes) [INFO] [stderr] Fixed src/value.rs (9 fixes) [INFO] [stderr] Fixed src/miniobject.rs (24 fixes) [INFO] [stderr] Fixed src/auto/stream.rs (4 fixes) [INFO] [stderr] Fixed src/message.rs (1 fix) [INFO] [stderr] Fixed src/buffer_pool.rs (3 fixes) [INFO] [stderr] Fixed src/auto/element.rs (6 fixes) [INFO] [stderr] Fixed src/auto/bin.rs (6 fixes) [INFO] [stderr] Fixed src/auto/tracer.rs (1 fix) [INFO] [stderr] Fixed src/meta.rs (2 fixes) [INFO] [stderr] Fixed src/format/specific.rs (1 fix) [INFO] [stderr] Fixed src/rank.rs (1 fix) [INFO] [stderr] Fixed src/event.rs (1 fix) [INFO] [stderr] Fixed src/iterator.rs (16 fixes) [INFO] [stderr] Fixed src/tags.rs (1 fix) [INFO] [stderr] Fixed src/task_pool.rs (2 fixes) [INFO] [stderr] Fixed src/auto/bus.rs (2 fixes) [INFO] [stderr] Fixed src/subclass/clock.rs (6 fixes) [INFO] [stderr] Fixed src/bufferlist.rs (2 fixes) [INFO] [stderr] Fixed src/auto/child_proxy.rs (2 fixes) [INFO] [stderr] Fixed src/auto/registry.rs (2 fixes) [INFO] [stderr] Fixed src/subclass/tracer.rs (1 fix) [INFO] [stderr] Fixed src/subclass/child_proxy.rs (5 fixes) [INFO] [stderr] Fixed src/buffer.rs (2 fixes) [INFO] [stderr] Fixed src/subclass/device.rs (2 fixes) [INFO] [stderr] Fixed src/registry.rs (2 fixes) [INFO] [stderr] Fixed src/enums.rs (6 fixes) [INFO] [stderr] Fixed src/format/generic.rs (1 fix) [INFO] [stderr] Fixed src/subclass/device_provider.rs (3 fixes) [INFO] [stderr] Fixed src/pad.rs (30 fixes) [INFO] [stderr] Fixed src/subclass/task_pool.rs (4 fixes) [INFO] [stderr] Fixed src/subclass/element.rs (9 fixes) [INFO] [stderr] Fixed src/auto/clock.rs (4 fixes) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/subclass/allocator.rs (2 fixes) [INFO] [stderr] Fixed src/bin.rs (1 fix) [INFO] [stderr] Fixed src/segment.rs (2 fixes) [INFO] [stderr] Fixed src/auto/object.rs (1 fix) [INFO] [stderr] Fixed src/clock.rs (4 fixes) [INFO] [stderr] Fixed src/bus.rs (6 fixes) [INFO] [stderr] Fixed src/element.rs (3 fixes) [INFO] [stderr] Fixed src/auto/pipeline.rs (3 fixes) [INFO] [stderr] Fixed src/task.rs (4 fixes) [INFO] [stderr] Fixed src/auto/system_clock.rs (1 fix) [INFO] [stderr] Fixed src/auto/pad.rs (5 fixes) [INFO] [stderr] Fixed src/static_pad_template.rs (4 fixes) [INFO] [stderr] Fixed src/subclass/pad.rs (2 fixes) [INFO] [stderr] Fixed src/subclass/buffer_pool.rs (11 fixes) [INFO] [stderr] Fixed src/device_monitor.rs (1 fix) [INFO] [stderr] Fixed src/auto/pad_template.rs (1 fix) [INFO] [stderr] Fixed src/log.rs (4 fixes) [INFO] [stderr] Fixed src/stream_collection.rs (1 fix) [INFO] [stderr] Fixed src/auto/enums.rs (49 fixes) [INFO] [stderr] Fixed src/subclass/bin.rs (4 fixes) [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_date_time_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/date_time.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | ref => |ptr| ffi::gst_date_time_ref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/auto/date_time.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive()] [INFO] [stdout] 10 | | pub struct DateTime(Shared); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_date_time_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/date_time.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | unref => |ptr| ffi::gst_date_time_unref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/auto/date_time.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive()] [INFO] [stdout] 10 | | pub struct DateTime(Shared); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_mini_object_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/promise.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | ref => |ptr| ffi::gst_mini_object_ref(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/promise.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 16 | | #[doc(alias = "GstPromise")] [INFO] [stdout] 17 | | pub struct Promise(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_mini_object_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/promise.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | unref => |ptr| ffi::gst_mini_object_unref(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/promise.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 16 | | #[doc(alias = "GstPromise")] [INFO] [stdout] 17 | | pub struct Promise(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/parse_context.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | glib::gobject_ffi::g_boxed_copy(ffi::gst_parse_context_get_type(), ptr as *mut _) as *mut ffi::GstParseContext [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/parse_context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParseContext")] [INFO] [stdout] 8 | | pub struct ParseContext(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_parse_context_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/parse_context.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | glib::gobject_ffi::g_boxed_copy(ffi::gst_parse_context_get_type(), ptr as *mut _) as *mut ffi::GstParseContext [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_parse_context_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/parse_context.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | free => |ptr| ffi::gst_parse_context_free(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/parse_context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParseContext")] [INFO] [stdout] 8 | | pub struct ParseContext(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/segment.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | copy_into => |dest, src| { *dest = *src; }, [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/segment.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | copy_into => |dest, src| { *dest = *src; }, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_segment_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/segment.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | free => |ptr| ffi::gst_segment_free(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_clock_id_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/clock.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | ref => |ptr| ffi::gst_clock_id_ref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/clock.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / glib::wrapper! { [INFO] [stdout] 25 | | #[derive(Debug, PartialOrd, Ord, PartialEq, Eq, Hash)] [INFO] [stdout] 26 | | pub struct ClockId(Shared); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_clock_id_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/clock.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | unref => |ptr| ffi::gst_clock_id_unref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/clock.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / glib::wrapper! { [INFO] [stdout] 25 | | #[derive(Debug, PartialOrd, Ord, PartialEq, Eq, Hash)] [INFO] [stdout] 26 | | pub struct ClockId(Shared); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_ref_sink` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | ref => |ptr| gobject_ffi::g_param_spec_ref_sink(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParamSpecFraction")] [INFO] [stdout] 8 | | pub struct ParamSpecFraction(Shared); [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | unref => |ptr| gobject_ffi::g_param_spec_unref(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParamSpecFraction")] [INFO] [stdout] 8 | | pub struct ParamSpecFraction(Shared); [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_ref_sink` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | ref => |ptr| gobject_ffi::g_param_spec_ref_sink(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / glib::wrapper! { [INFO] [stdout] 202 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 203 | | #[doc(alias = "GstParamSpecArray")] [INFO] [stdout] 204 | | pub struct ParamSpecArray(Shared); [INFO] [stdout] ... | [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | unref => |ptr| gobject_ffi::g_param_spec_unref(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / glib::wrapper! { [INFO] [stdout] 202 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 203 | | #[doc(alias = "GstParamSpecArray")] [INFO] [stdout] 204 | | pub struct ParamSpecArray(Shared); [INFO] [stdout] ... | [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Fixed src/subclass/buffer_pool.rs (1 fix) [INFO] [stderr] Migrating tests/check_gir.rs from 2021 edition to 2024 [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_date_time_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/date_time.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | ref => |ptr| ffi::gst_date_time_ref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/auto/date_time.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive()] [INFO] [stdout] 10 | | pub struct DateTime(Shared); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_date_time_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/auto/date_time.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | unref => |ptr| ffi::gst_date_time_unref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/auto/date_time.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / glib::wrapper! { [INFO] [stdout] 9 | | #[derive()] [INFO] [stdout] 10 | | pub struct DateTime(Shared); [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_mini_object_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/promise.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | ref => |ptr| ffi::gst_mini_object_ref(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/promise.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 16 | | #[doc(alias = "GstPromise")] [INFO] [stdout] 17 | | pub struct Promise(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_mini_object_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/promise.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | unref => |ptr| ffi::gst_mini_object_unref(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/promise.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / glib::wrapper! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 16 | | #[doc(alias = "GstPromise")] [INFO] [stdout] 17 | | pub struct Promise(Shared); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_boxed_copy` is unsafe and requires unsafe block [INFO] [stdout] --> src/parse_context.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | glib::gobject_ffi::g_boxed_copy(ffi::gst_parse_context_get_type(), ptr as *mut _) as *mut ffi::GstParseContext [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/parse_context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParseContext")] [INFO] [stdout] 8 | | pub struct ParseContext(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_parse_context_get_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/parse_context.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | glib::gobject_ffi::g_boxed_copy(ffi::gst_parse_context_get_type(), ptr as *mut _) as *mut ffi::GstParseContext [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_parse_context_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/parse_context.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | free => |ptr| ffi::gst_parse_context_free(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/parse_context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParseContext")] [INFO] [stdout] 8 | | pub struct ParseContext(Boxed); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_boxed_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/segment.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | copy_into => |dest, src| { *dest = *src; }, [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/segment.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | copy_into => |dest, src| { *dest = *src; }, [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_segment_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/segment.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | free => |ptr| ffi::gst_segment_free(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_clock_id_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/clock.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | ref => |ptr| ffi::gst_clock_id_ref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/clock.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / glib::wrapper! { [INFO] [stdout] 25 | | #[derive(Debug, PartialOrd, Ord, PartialEq, Eq, Hash)] [INFO] [stdout] 26 | | pub struct ClockId(Shared); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gstreamer_sys::gst_clock_id_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/clock.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | unref => |ptr| ffi::gst_clock_id_unref(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/clock.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / glib::wrapper! { [INFO] [stdout] 25 | | #[derive(Debug, PartialOrd, Ord, PartialEq, Eq, Hash)] [INFO] [stdout] 26 | | pub struct ClockId(Shared); [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_ref_sink` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | ref => |ptr| gobject_ffi::g_param_spec_ref_sink(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParamSpecFraction")] [INFO] [stdout] 8 | | pub struct ParamSpecFraction(Shared); [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | unref => |ptr| gobject_ffi::g_param_spec_unref(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / glib::wrapper! { [INFO] [stdout] 6 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 7 | | #[doc(alias = "GstParamSpecFraction")] [INFO] [stdout] 8 | | pub struct ParamSpecFraction(Shared); [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_ref_sink` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | ref => |ptr| gobject_ffi::g_param_spec_ref_sink(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / glib::wrapper! { [INFO] [stdout] 202 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 203 | | #[doc(alias = "GstParamSpecArray")] [INFO] [stdout] 204 | | pub struct ParamSpecArray(Shared); [INFO] [stdout] ... | [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::gobject_sys::g_param_spec_unref` is unsafe and requires unsafe block [INFO] [stdout] --> src/param_spec.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | unref => |ptr| gobject_ffi::g_param_spec_unref(ptr as *mut gobject_ffi::GParamSpec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/param_spec.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / glib::wrapper! { [INFO] [stdout] 202 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 203 | | #[doc(alias = "GstParamSpecArray")] [INFO] [stdout] 204 | | pub struct ParamSpecArray(Shared); [INFO] [stdout] ... | [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking gstreamer v0.22.4 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.28s [INFO] running `Command { std: "docker" "inspect" "9cbeadfafe651839c348637504aa1ec135f7beec8bf69e189278b68635414092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbeadfafe651839c348637504aa1ec135f7beec8bf69e189278b68635414092", kill_on_drop: false }` [INFO] [stdout] 9cbeadfafe651839c348637504aa1ec135f7beec8bf69e189278b68635414092