[INFO] fetching crate radiance-libmpv 2.0.1... [INFO] testing radiance-libmpv-2.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate radiance-libmpv 2.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate radiance-libmpv 2.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate radiance-libmpv 2.0.1 [INFO] tweaked toml for crates.io crate radiance-libmpv 2.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate radiance-libmpv 2.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate radiance-libmpv 2.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b61bdf314267285ca5a37844baea5df1cef962d4a01771dbafb996de02719f6 [INFO] running `Command { std: "docker" "start" "-a" "6b61bdf314267285ca5a37844baea5df1cef962d4a01771dbafb996de02719f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b61bdf314267285ca5a37844baea5df1cef962d4a01771dbafb996de02719f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b61bdf314267285ca5a37844baea5df1cef962d4a01771dbafb996de02719f6", kill_on_drop: false }` [INFO] [stdout] 6b61bdf314267285ca5a37844baea5df1cef962d4a01771dbafb996de02719f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8af8f5fb4165b04b91c49445e8e75a1e9ae1eb4f1dfc1d30e4815eb089ec6168 [INFO] running `Command { std: "docker" "start" "-a" "8af8f5fb4165b04b91c49445e8e75a1e9ae1eb4f1dfc1d30e4815eb089ec6168", kill_on_drop: false }` [INFO] [stderr] Compiling radiance-libmpv-sys v3.1.0 [INFO] [stderr] Compiling radiance-libmpv v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/mpv.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { CString::from_raw(file) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { let _ = CString::from_raw(file); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/events.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_event_context(&self) -> EventContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_event_context(&self) -> EventContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/events.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn wait_event(&mut self, timeout: f64) -> Option> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn wait_event(&mut self, timeout: f64) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/events.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | Box::from_raw(raw_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 374 | let _ = Box::from_raw(raw_callback); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/protocol.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_protocol_context(&self) -> ProtocolContext [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_protocol_context(&self) -> ProtocolContext<'_, T, U> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Box::::from_raw(ptr as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = Box::::from_raw(ptr as *mut T); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | Box::from_raw(params.get_proc_address_ctx as *mut OpenGLInitParams); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = Box::from_raw(params.get_proc_address_ctx as *mut OpenGLInitParams); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Box::from_raw(raw_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = Box::from_raw(raw_array); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | Box::from_raw(raw_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 363 | let _ = Box::from_raw(raw_array); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | Box::from_raw(raw_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 390 | let _ = Box::from_raw(raw_callback); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "8af8f5fb4165b04b91c49445e8e75a1e9ae1eb4f1dfc1d30e4815eb089ec6168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af8f5fb4165b04b91c49445e8e75a1e9ae1eb4f1dfc1d30e4815eb089ec6168", kill_on_drop: false }` [INFO] [stdout] 8af8f5fb4165b04b91c49445e8e75a1e9ae1eb4f1dfc1d30e4815eb089ec6168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d137d9a99a27bd8d2c3a0f572791514f2384514e36b7f3875e95001a256e65cb [INFO] running `Command { std: "docker" "start" "-a" "d137d9a99a27bd8d2c3a0f572791514f2384514e36b7f3875e95001a256e65cb", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/mpv.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { CString::from_raw(file) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { let _ = CString::from_raw(file); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/events.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_event_context(&self) -> EventContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_event_context(&self) -> EventContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/events.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn wait_event(&mut self, timeout: f64) -> Option> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn wait_event(&mut self, timeout: f64) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/events.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | Box::from_raw(raw_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 374 | let _ = Box::from_raw(raw_callback); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/protocol.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_protocol_context(&self) -> ProtocolContext [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_protocol_context(&self) -> ProtocolContext<'_, T, U> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Box::::from_raw(ptr as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = Box::::from_raw(ptr as *mut T); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | Box::from_raw(params.get_proc_address_ctx as *mut OpenGLInitParams); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = Box::from_raw(params.get_proc_address_ctx as *mut OpenGLInitParams); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Box::from_raw(raw_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = Box::from_raw(raw_array); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | Box::from_raw(raw_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 363 | let _ = Box::from_raw(raw_array); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | Box::from_raw(raw_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 390 | let _ = Box::from_raw(raw_callback); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glium v0.30.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling radiance-libmpv v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `libmpv` in this scope [INFO] [stdout] --> examples/protocol.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use libmpv::{protocol::*, *}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `libmpv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libmpv`, use `cargo add libmpv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `libmpv` in this scope [INFO] [stdout] --> examples/events.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use libmpv::{events::*, *}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `libmpv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libmpv`, use `cargo add libmpv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `libmpv` in this scope [INFO] [stdout] --> examples/opengl.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libmpv::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `libmpv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libmpv`, use `cargo add libmpv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libmpv` [INFO] [stdout] --> examples/protocol.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use libmpv::{protocol::*, *}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `libmpv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libmpv`, use `cargo add libmpv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libmpv` [INFO] [stdout] --> examples/opengl.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libmpv::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `libmpv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libmpv`, use `cargo add libmpv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libmpv` [INFO] [stdout] --> examples/events.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use libmpv::{events::*, *}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `libmpv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libmpv`, use `cargo add libmpv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `libmpv` in this scope [INFO] [stdout] --> examples/opengl.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | Some(Ok(libmpv::events::Event::EndFile(_))) => { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `libmpv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libmpv`, use `cargo add libmpv` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use radiance_libmpv::events::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - Some(Ok(libmpv::events::Event::EndFile(_))) => { [INFO] [stdout] 101 + Some(Ok(Event::EndFile(_))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/events.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 25 | fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radiance-libmpv` (example "events") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radiance-libmpv` (example "opengl") due to 3 previous errors [INFO] [stderr] error: could not compile `radiance-libmpv` (example "protocol") due to 2 previous errors [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/mpv.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { CString::from_raw(file) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { let _ = CString::from_raw(file); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/events.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_event_context(&self) -> EventContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_event_context(&self) -> EventContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/events.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn wait_event(&mut self, timeout: f64) -> Option> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn wait_event(&mut self, timeout: f64) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/events.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | Box::from_raw(raw_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 374 | let _ = Box::from_raw(raw_callback); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpv/protocol.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_protocol_context(&self) -> ProtocolContext [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn create_protocol_context(&self) -> ProtocolContext<'_, T, U> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Box::::from_raw(ptr as *mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = Box::::from_raw(ptr as *mut T); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | Box::from_raw(params.get_proc_address_ctx as *mut OpenGLInitParams); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = Box::from_raw(params.get_proc_address_ctx as *mut OpenGLInitParams); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Box::from_raw(raw_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = Box::from_raw(raw_array); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | Box::from_raw(raw_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 363 | let _ = Box::from_raw(raw_array); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/mpv/render.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | Box::from_raw(raw_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 390 | let _ = Box::from_raw(raw_callback); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustch46URD/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/libradiance_libmpv_sys-166931f9974997c7.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lmpv" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustch46URD/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/radiance_libmpv-37950534aa602cf1" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lmpv [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `radiance-libmpv` (lib test) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d137d9a99a27bd8d2c3a0f572791514f2384514e36b7f3875e95001a256e65cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d137d9a99a27bd8d2c3a0f572791514f2384514e36b7f3875e95001a256e65cb", kill_on_drop: false }` [INFO] [stdout] d137d9a99a27bd8d2c3a0f572791514f2384514e36b7f3875e95001a256e65cb