[INFO] fetching crate norm-uvc 0.3.0-nc... [INFO] testing norm-uvc-0.3.0-nc against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate norm-uvc 0.3.0-nc into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate norm-uvc 0.3.0-nc on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libusb1-sys v0.7.0 [INFO] [stderr] Downloaded norm-uvc-sys v0.3.0-nc [INFO] [stderr] Downloaded norm-uvc-src v0.3.0-nc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc012746dcbc3ba59795b0a2645cb515b98db68d8b3e1f0cd665b0bec0d5cb3f [INFO] running `Command { std: "docker" "start" "-a" "cc012746dcbc3ba59795b0a2645cb515b98db68d8b3e1f0cd665b0bec0d5cb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc012746dcbc3ba59795b0a2645cb515b98db68d8b3e1f0cd665b0bec0d5cb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc012746dcbc3ba59795b0a2645cb515b98db68d8b3e1f0cd665b0bec0d5cb3f", kill_on_drop: false }` [INFO] [stdout] cc012746dcbc3ba59795b0a2645cb515b98db68d8b3e1f0cd665b0bec0d5cb3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fe63ad31b9c20c9ef7dbf6c33ff33e37b3ddddba2fe41573b57d395a8f93d33 [INFO] running `Command { std: "docker" "start" "-a" "3fe63ad31b9c20c9ef7dbf6c33ff33e37b3ddddba2fe41573b57d395a8f93d33", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling norm-uvc-src v0.3.0-nc [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [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 20.08s [INFO] running `Command { std: "docker" "inspect" "3fe63ad31b9c20c9ef7dbf6c33ff33e37b3ddddba2fe41573b57d395a8f93d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe63ad31b9c20c9ef7dbf6c33ff33e37b3ddddba2fe41573b57d395a8f93d33", kill_on_drop: false }` [INFO] [stdout] 3fe63ad31b9c20c9ef7dbf6c33ff33e37b3ddddba2fe41573b57d395a8f93d33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 528a91e14802ffaf842731c1e2b335e7237b48a9bb8f3e9b7b2f221baf85d652 [INFO] running `Command { std: "docker" "start" "-a" "528a91e14802ffaf842731c1e2b335e7237b48a9bb8f3e9b7b2f221baf85d652", kill_on_drop: false }` [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] [stderr] Compiling norm-uvc v0.3.0-nc (/opt/rustwide/workdir) [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.22s [INFO] running `Command { std: "docker" "inspect" "528a91e14802ffaf842731c1e2b335e7237b48a9bb8f3e9b7b2f221baf85d652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528a91e14802ffaf842731c1e2b335e7237b48a9bb8f3e9b7b2f221baf85d652", kill_on_drop: false }` [INFO] [stdout] 528a91e14802ffaf842731c1e2b335e7237b48a9bb8f3e9b7b2f221baf85d652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fe4e2d90b0ac013ed94fc511be7ba26059a0ee8fb16d9cb2ea86b1b86d94370 [INFO] running `Command { std: "docker" "start" "-a" "4fe4e2d90b0ac013ed94fc511be7ba26059a0ee8fb16d9cb2ea86b1b86d94370", 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] [stderr] --> src/frame.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | let frame = uvc_allocate_frame((width * height * components) as _); [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/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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/norm_uvc-32ac7f5548c69b15) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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.22s; merged doctests compilation took 0.10s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4fe4e2d90b0ac013ed94fc511be7ba26059a0ee8fb16d9cb2ea86b1b86d94370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe4e2d90b0ac013ed94fc511be7ba26059a0ee8fb16d9cb2ea86b1b86d94370", kill_on_drop: false }` [INFO] [stdout] 4fe4e2d90b0ac013ed94fc511be7ba26059a0ee8fb16d9cb2ea86b1b86d94370