[INFO] fetching crate norm-uvc 0.3.0-nc... [INFO] testing norm-uvc-0.3.0-nc against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate norm-uvc 0.3.0-nc into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate norm-uvc 0.3.0-nc [INFO] finished tweaking crates.io crate norm-uvc 0.3.0-nc [INFO] tweaked toml for crates.io crate norm-uvc 0.3.0-nc written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate norm-uvc 0.3.0-nc 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 norm-uvc 0.3.0-nc 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18d6b39dcfed4eeaf6ac0cc968cf299ebcfb13614953644647e85c3addb054a1 [INFO] running `Command { std: "docker" "start" "-a" "18d6b39dcfed4eeaf6ac0cc968cf299ebcfb13614953644647e85c3addb054a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18d6b39dcfed4eeaf6ac0cc968cf299ebcfb13614953644647e85c3addb054a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18d6b39dcfed4eeaf6ac0cc968cf299ebcfb13614953644647e85c3addb054a1", kill_on_drop: false }` [INFO] [stdout] 18d6b39dcfed4eeaf6ac0cc968cf299ebcfb13614953644647e85c3addb054a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] b59655945df5ca423ea5d94baed4cf637ca551c836f4977626f0212af72bea2e [INFO] running `Command { std: "docker" "start" "-a" "b59655945df5ca423ea5d94baed4cf637ca551c836f4977626f0212af72bea2e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling norm-uvc-src v0.3.0-nc [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling norm-uvc-sys v0.3.0-nc [INFO] [stderr] Compiling norm-uvc v0.3.0-nc (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `norm_uvc_sys::uvc_allocate_frame` is unsafe and requires unsafe block [INFO] [stdout] --> src/frame.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let frame = uvc_allocate_frame((width * height * components) as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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/frame.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn new_with_dimensions(width: u32, height: u32, components: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `frame::Frame::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | let frame = std::mem::ManuallyDrop::new(Frame::from_raw(frame)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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/streaming.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / unsafe extern "C" fn trampoline(frame: *mut uvc_frame, userdata: *mut c_void) [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | F: 'static + Send + Sync + Fn(&Frame, &mut U), [INFO] [stdout] 54 | | U: 'static + Send + Sync, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let func = &(*vtable).func; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let data = &mut (*vtable).data; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn supported_formats(&self) -> FrameDescriptors { [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] 337 | pub fn supported_formats(&self) -> FrameDescriptors<'_> { [INFO] [stdout] | ++++ [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 12.12s [INFO] running `Command { std: "docker" "inspect" "b59655945df5ca423ea5d94baed4cf637ca551c836f4977626f0212af72bea2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59655945df5ca423ea5d94baed4cf637ca551c836f4977626f0212af72bea2e", kill_on_drop: false }` [INFO] [stdout] b59655945df5ca423ea5d94baed4cf637ca551c836f4977626f0212af72bea2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] a5b74b0cbc725293e911fb6df56dd4d1141f35bfc29a4749e06095c967eec505 [INFO] running `Command { std: "docker" "start" "-a" "a5b74b0cbc725293e911fb6df56dd4d1141f35bfc29a4749e06095c967eec505", kill_on_drop: false }` [INFO] [stderr] Compiling norm-uvc v0.3.0-nc (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `norm_uvc_sys::uvc_allocate_frame` is unsafe and requires unsafe block [INFO] [stdout] --> src/frame.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let frame = uvc_allocate_frame((width * height * components) as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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/frame.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn new_with_dimensions(width: u32, height: u32, components: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `frame::Frame::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | let frame = std::mem::ManuallyDrop::new(Frame::from_raw(frame)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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/streaming.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / unsafe extern "C" fn trampoline(frame: *mut uvc_frame, userdata: *mut c_void) [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | F: 'static + Send + Sync + Fn(&Frame, &mut U), [INFO] [stdout] 54 | | U: 'static + Send + Sync, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let func = &(*vtable).func; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let data = &mut (*vtable).data; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn supported_formats(&self) -> FrameDescriptors { [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] 337 | pub fn supported_formats(&self) -> FrameDescriptors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `norm_uvc_sys::uvc_allocate_frame` is unsafe and requires unsafe block [INFO] [stdout] --> src/frame.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let frame = uvc_allocate_frame((width * height * components) as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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/frame.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn new_with_dimensions(width: u32, height: u32, components: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `frame::Frame::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | let frame = std::mem::ManuallyDrop::new(Frame::from_raw(frame)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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/streaming.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / unsafe extern "C" fn trampoline(frame: *mut uvc_frame, userdata: *mut c_void) [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | F: 'static + Send + Sync + Fn(&Frame, &mut U), [INFO] [stdout] 54 | | U: 'static + Send + Sync, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let func = &(*vtable).func; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/streaming.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let data = &mut (*vtable).data; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn supported_formats(&self) -> FrameDescriptors { [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] 337 | pub fn supported_formats(&self) -> FrameDescriptors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "a5b74b0cbc725293e911fb6df56dd4d1141f35bfc29a4749e06095c967eec505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b74b0cbc725293e911fb6df56dd4d1141f35bfc29a4749e06095c967eec505", kill_on_drop: false }` [INFO] [stdout] a5b74b0cbc725293e911fb6df56dd4d1141f35bfc29a4749e06095c967eec505 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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", kill_on_drop: false }` [INFO] [stdout] 7356f0e231aa68046c40acf751f914f59d2744b9d92ee58e183ccda07433b4a8 [INFO] running `Command { std: "docker" "start" "-a" "7356f0e231aa68046c40acf751f914f59d2744b9d92ee58e183ccda07433b4a8", kill_on_drop: false }` [INFO] [stderr] warning[E0133]: call to unsafe function `norm_uvc_sys::uvc_allocate_frame` is unsafe and requires unsafe block [INFO] [stdout] [INFO] [stderr] --> src/frame.rs:26:21 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 26 | let frame = uvc_allocate_frame((width * height * components) as _); [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/frame.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | unsafe fn new_with_dimensions(width: u32, height: u32, components: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `frame::Frame::from_raw` is unsafe and requires unsafe block [INFO] [stderr] --> src/streaming.rs:60:49 [INFO] [stderr] | [INFO] [stderr] 60 | let frame = std::mem::ManuallyDrop::new(Frame::from_raw(frame)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/streaming.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / unsafe extern "C" fn trampoline(frame: *mut uvc_frame, userdata: *mut c_void) [INFO] [stderr] 52 | | where [INFO] [stderr] 53 | | F: 'static + Send + Sync + Fn(&Frame, &mut U), [INFO] [stderr] 54 | | U: 'static + Send + Sync, [INFO] [stderr] | |_____________________________^ [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/streaming.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | let func = &(*vtable).func; [INFO] [stderr] | ^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/streaming.rs:69:25 [INFO] [stderr] | [INFO] [stderr] 69 | let data = &mut (*vtable).data; [INFO] [stderr] | ^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/device.rs:337:30 [INFO] [stderr] | [INFO] [stderr] 337 | pub fn supported_formats(&self) -> FrameDescriptors { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 337 | pub fn supported_formats(&self) -> FrameDescriptors<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `norm-uvc` (lib) generated 5 warnings (run `cargo fix --lib -p norm-uvc` to apply 3 suggestions) [INFO] [stderr] warning: `norm-uvc` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/norm_uvc-32ac7f5548c69b15) [INFO] [stderr] Doc-tests norm_uvc [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 8) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `uvc` in this scope [INFO] [stdout] --> src/lib.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | let ctx = uvc::Context::new().expect("Could not get context"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `uvc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uvc`, use `cargo add uvc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 8 + use norm_uvc::Context; [INFO] [stdout] | [INFO] [stdout] help: if you import `Context`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let ctx = uvc::Context::new().expect("Could not get context"); [INFO] [stdout] 14 + let ctx = Context::new().expect("Could not get context"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `uvc` in this scope [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | format: uvc::FrameFormat::YUYV, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `uvc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uvc`, use `cargo add uvc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use norm_uvc::FrameFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `FrameFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - format: uvc::FrameFormat::YUYV, [INFO] [stdout] 32 + format: FrameFormat::YUYV, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `uvc` in this scope [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let format = uvc::StreamFormat { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `uvc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uvc`, use `cargo add uvc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.21s; merged doctests compilation took 0.08s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7356f0e231aa68046c40acf751f914f59d2744b9d92ee58e183ccda07433b4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7356f0e231aa68046c40acf751f914f59d2744b9d92ee58e183ccda07433b4a8", kill_on_drop: false }` [INFO] [stdout] 7356f0e231aa68046c40acf751f914f59d2744b9d92ee58e183ccda07433b4a8