[INFO] fetching crate touptek 1.1.0...
[INFO] testing touptek-1.1.0 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate touptek 1.1.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate touptek 1.1.0
[INFO] finished tweaking crates.io crate touptek 1.1.0
[INFO] tweaked toml for crates.io crate touptek 1.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate touptek 1.1.0 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 2 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v0.3.3 (available: v2.10.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d907c5587566c3f7b79d56b01bfb67d386dd587242e329473728db7fb65935e
[INFO] running `Command { std: "docker" "start" "-a" "7d907c5587566c3f7b79d56b01bfb67d386dd587242e329473728db7fb65935e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d907c5587566c3f7b79d56b01bfb67d386dd587242e329473728db7fb65935e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d907c5587566c3f7b79d56b01bfb67d386dd587242e329473728db7fb65935e", kill_on_drop: false }`
[INFO] [stdout] 7d907c5587566c3f7b79d56b01bfb67d386dd587242e329473728db7fb65935e
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80915fea953866ee631ce809b9159a074186217d136168d567e1d9f3a821190c
[INFO] running `Command { std: "docker" "start" "-a" "80915fea953866ee631ce809b9159a074186217d136168d567e1d9f3a821190c", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling bitflags v0.3.3
[INFO] [stderr]    Compiling touptek v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / bitflags! {
[INFO] [stdout] 29 | |     flags Flags: u32 {
[INFO] [stdout] 30 | |         const FLAG_CMOS               = 0x00000001,  /* cmos sensor */
[INFO] [stdout] 31 | |         const FLAG_CCD_PROGRESSIVE    = 0x00000002,  /* progressive ccd sensor */
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / bitflags! {
[INFO] [stdout] 29 | |     flags Flags: u32 {
[INFO] [stdout] 30 | |         const FLAG_CMOS               = 0x00000001,  /* cmos sensor */
[INFO] [stdout] 31 | |         const FLAG_CCD_PROGRESSIVE    = 0x00000002,  /* progressive ccd sensor */
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:222:1
[INFO] [stdout]     |
[INFO] [stdout] 222 | extern {
[INFO] [stdout]     | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:225:62
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn Toupcam_HotPlug(pHotPlugCallback: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                              ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:237:58
[INFO] [stdout]     |
[INFO] [stdout] 237 | ...                   pEventCallback: extern fn(Event, *mut c_void),
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:342:57
[INFO] [stdout]     |
[INFO] [stdout] 342 |                           fnTTProc: std::option::Option<extern fn(c_int, c_int, *mut c_void)>,
[INFO] [stdout]     |                                                         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:348:54
[INFO] [stdout]     |
[INFO] [stdout] 348 |                        fnWBProc: std::option::Option<extern fn(*const [c_int; 3], *mut c_void)>,
[INFO] [stdout]     |                                                      ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:361:65
[INFO] [stdout]     |
[INFO] [stdout] 361 | ...                   fnExpoProc: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:364:69
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...                   fnChromeProc: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:379:46
[INFO] [stdout]     |
[INFO] [stdout] 379 | ...                   fnHistogramProc: extern fn(*const [c_double; 256],
[INFO] [stdout]     |                                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:530:9
[INFO] [stdout]     |
[INFO] [stdout] 530 |         extern fn wrapper(sender: *mut c_void) {
[INFO] [stdout]     |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:612:9
[INFO] [stdout]     |
[INFO] [stdout] 612 |         extern fn wrapper(event: Event, sender: *mut c_void) {
[INFO] [stdout]     |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout] 562 | ...                   (*i_model).res[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                       ^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this raw pointer has type `*const ModelInternal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Resolution; 16]`
[INFO] [stdout]    --> src/lib.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout] 562 | ...                   (*i_model).res[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 562 |                             (&(*i_model).res)[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                             ++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:564:29
[INFO] [stdout]     |
[INFO] [stdout] 564 | ...                   (*i_model).res[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                       ^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this raw pointer has type `*const ModelInternal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Resolution; 16]`
[INFO] [stdout]    --> src/lib.rs:564:29
[INFO] [stdout]     |
[INFO] [stdout] 564 | ...                   (*i_model).res[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 564 |                             (&(*i_model).res)[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                             ++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] running `Command { std: "docker" "inspect" "80915fea953866ee631ce809b9159a074186217d136168d567e1d9f3a821190c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80915fea953866ee631ce809b9159a074186217d136168d567e1d9f3a821190c", kill_on_drop: false }`
[INFO] [stdout] 80915fea953866ee631ce809b9159a074186217d136168d567e1d9f3a821190c
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6eae70792de5b87d049cd1ed068681b1782a1827579edccc6b45ef7149c48ee8
[INFO] running `Command { std: "docker" "start" "-a" "6eae70792de5b87d049cd1ed068681b1782a1827579edccc6b45ef7149c48ee8", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / bitflags! {
[INFO] [stdout] 29 | |     flags Flags: u32 {
[INFO] [stdout] 30 | |         const FLAG_CMOS               = 0x00000001,  /* cmos sensor */
[INFO] [stdout] 31 | |         const FLAG_CCD_PROGRESSIVE    = 0x00000002,  /* progressive ccd sensor */
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / bitflags! {
[INFO] [stdout] 29 | |     flags Flags: u32 {
[INFO] [stdout] 30 | |         const FLAG_CMOS               = 0x00000001,  /* cmos sensor */
[INFO] [stdout] 31 | |         const FLAG_CCD_PROGRESSIVE    = 0x00000002,  /* progressive ccd sensor */
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:222:1
[INFO] [stdout]     |
[INFO] [stdout] 222 | extern {
[INFO] [stdout]     | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:225:62
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn Toupcam_HotPlug(pHotPlugCallback: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                              ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:237:58
[INFO] [stdout]     |
[INFO] [stdout] 237 | ...                   pEventCallback: extern fn(Event, *mut c_void),
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:342:57
[INFO] [stdout]     |
[INFO] [stdout] 342 |                           fnTTProc: std::option::Option<extern fn(c_int, c_int, *mut c_void)>,
[INFO] [stdout]     |                                                         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:348:54
[INFO] [stdout]     |
[INFO] [stdout] 348 |                        fnWBProc: std::option::Option<extern fn(*const [c_int; 3], *mut c_void)>,
[INFO] [stdout]     |                                                      ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:361:65
[INFO] [stdout]     |
[INFO] [stdout] 361 | ...                   fnExpoProc: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:364:69
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...                   fnChromeProc: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:379:46
[INFO] [stdout]     |
[INFO] [stdout] 379 | ...                   fnHistogramProc: extern fn(*const [c_double; 256],
[INFO] [stdout]     |                                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:530:9
[INFO] [stdout]     |
[INFO] [stdout] 530 |         extern fn wrapper(sender: *mut c_void) {
[INFO] [stdout]     |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:612:9
[INFO] [stdout]     |
[INFO] [stdout] 612 |         extern fn wrapper(event: Event, sender: *mut c_void) {
[INFO] [stdout]     |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling touptek v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout] 562 | ...                   (*i_model).res[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                       ^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this raw pointer has type `*const ModelInternal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Resolution; 16]`
[INFO] [stdout]    --> src/lib.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout] 562 | ...                   (*i_model).res[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 562 |                             (&(*i_model).res)[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                             ++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:564:29
[INFO] [stdout]     |
[INFO] [stdout] 564 | ...                   (*i_model).res[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                       ^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this raw pointer has type `*const ModelInternal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Resolution; 16]`
[INFO] [stdout]    --> src/lib.rs:564:29
[INFO] [stdout]     |
[INFO] [stdout] 564 | ...                   (*i_model).res[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 564 |                             (&(*i_model).res)[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                             ++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `png`
[INFO] [stdout]  --> examples/capture_png.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate png;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `touptek` (example "capture_png") due to 2 previous errors
[INFO] [stdout] error[E0463]: can't find crate for `simd`
[INFO] [stdout]  --> examples/capture_png.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate simd;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / bitflags! {
[INFO] [stdout] 29 | |     flags Flags: u32 {
[INFO] [stdout] 30 | |         const FLAG_CMOS               = 0x00000001,  /* cmos sensor */
[INFO] [stdout] 31 | |         const FLAG_CCD_PROGRESSIVE    = 0x00000002,  /* progressive ccd sensor */
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / bitflags! {
[INFO] [stdout] 29 | |     flags Flags: u32 {
[INFO] [stdout] 30 | |         const FLAG_CMOS               = 0x00000001,  /* cmos sensor */
[INFO] [stdout] 31 | |         const FLAG_CCD_PROGRESSIVE    = 0x00000002,  /* progressive ccd sensor */
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:222:1
[INFO] [stdout]     |
[INFO] [stdout] 222 | extern {
[INFO] [stdout]     | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:225:62
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn Toupcam_HotPlug(pHotPlugCallback: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                              ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:237:58
[INFO] [stdout]     |
[INFO] [stdout] 237 | ...                   pEventCallback: extern fn(Event, *mut c_void),
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:342:57
[INFO] [stdout]     |
[INFO] [stdout] 342 |                           fnTTProc: std::option::Option<extern fn(c_int, c_int, *mut c_void)>,
[INFO] [stdout]     |                                                         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:348:54
[INFO] [stdout]     |
[INFO] [stdout] 348 |                        fnWBProc: std::option::Option<extern fn(*const [c_int; 3], *mut c_void)>,
[INFO] [stdout]     |                                                      ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:361:65
[INFO] [stdout]     |
[INFO] [stdout] 361 | ...                   fnExpoProc: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:364:69
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...                   fnChromeProc: std::option::Option<extern fn(*mut c_void)>,
[INFO] [stdout]     |                                                         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:379:46
[INFO] [stdout]     |
[INFO] [stdout] 379 | ...                   fnHistogramProc: extern fn(*const [c_double; 256],
[INFO] [stdout]     |                                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:530:9
[INFO] [stdout]     |
[INFO] [stdout] 530 |         extern fn wrapper(sender: *mut c_void) {
[INFO] [stdout]     |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:612:9
[INFO] [stdout]     |
[INFO] [stdout] 612 |         extern fn wrapper(event: Event, sender: *mut c_void) {
[INFO] [stdout]     |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout] 562 | ...                   (*i_model).res[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                       ^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this raw pointer has type `*const ModelInternal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Resolution; 16]`
[INFO] [stdout]    --> src/lib.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout] 562 | ...                   (*i_model).res[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 562 |                             (&(*i_model).res)[..(*i_model).preview as usize].to_owned(),
[INFO] [stdout]     |                             ++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:564:29
[INFO] [stdout]     |
[INFO] [stdout] 564 | ...                   (*i_model).res[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                       ^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this raw pointer has type `*const ModelInternal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Resolution; 16]`
[INFO] [stdout]    --> src/lib.rs:564:29
[INFO] [stdout]     |
[INFO] [stdout] 564 | ...                   (*i_model).res[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 564 |                             (&(*i_model).res)[..(*i_model).still as usize].to_owned(),
[INFO] [stdout]     |                             ++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcEo5EWi/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-ltoupcam" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libbitflags-50f8466b79d620e3,liblibc-30ffb0440c90cdd5}.rlib" "<sysroot>/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" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcEo5EWi/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/touptek-e387fd5e48354f3b" "-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 -ltoupcam
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `touptek` (lib test) due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6eae70792de5b87d049cd1ed068681b1782a1827579edccc6b45ef7149c48ee8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eae70792de5b87d049cd1ed068681b1782a1827579edccc6b45ef7149c48ee8", kill_on_drop: false }`
[INFO] [stdout] 6eae70792de5b87d049cd1ed068681b1782a1827579edccc6b45ef7149c48ee8
