[INFO] cloning repository https://github.com/DynamicDevices/mcp-webcam
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DynamicDevices/mcp-webcam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDynamicDevices%2Fmcp-webcam", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDynamicDevices%2Fmcp-webcam'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4ddd662269a92b7fdf90895e52c8d2bf33521c1f
[INFO] testing DynamicDevices/mcp-webcam against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDynamicDevices%2Fmcp-webcam" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DynamicDevices/mcp-webcam
[INFO] finished tweaking git repo https://github.com/DynamicDevices/mcp-webcam
[INFO] tweaked toml for git repo https://github.com/DynamicDevices/mcp-webcam written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DynamicDevices/mcp-webcam on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DynamicDevices/mcp-webcam 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9a9e46109bb160e29889870fa39f95c813ca3fe297239a9af292582331c5ce61
[INFO] running `Command { std: "docker" "start" "-a" "9a9e46109bb160e29889870fa39f95c813ca3fe297239a9af292582331c5ce61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a9e46109bb160e29889870fa39f95c813ca3fe297239a9af292582331c5ce61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a9e46109bb160e29889870fa39f95c813ca3fe297239a9af292582331c5ce61", kill_on_drop: false }`
[INFO] [stdout] 9a9e46109bb160e29889870fa39f95c813ca3fe297239a9af292582331c5ce61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 400d187ab948350bbb4302ec4daf48fde70f1e337c350eb532942ec72113b1ba
[INFO] running `Command { std: "docker" "start" "-a" "400d187ab948350bbb4302ec4daf48fde70f1e337c350eb532942ec72113b1ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling bytemuck v1.24.0
[INFO] [stderr]    Compiling nasm-rs v0.3.1
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling flate2 v1.1.4
[INFO] [stderr]    Compiling imgref v1.12.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling avif-serialize v0.8.6
[INFO] [stderr]    Compiling bit_field v0.10.3
[INFO] [stderr]    Compiling rgb v0.8.52
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling lebe v0.5.3
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling gif v0.13.3
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling image-webp v0.2.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling png v0.18.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling nokhwa-bindings-macos v0.2.3
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling pxfm v0.1.24
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling clap_builder v4.5.48
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling mozjpeg-sys v2.2.3
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling chunked_transfer v1.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tiny_http v0.12.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling moxcms v0.7.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling fax_derive v0.2.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling mozjpeg v0.10.13
[INFO] [stderr]    Compiling equator v0.4.2
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling aligned-vec v0.6.4
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling v_frame v0.3.9
[INFO] [stderr]    Compiling fax v0.2.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling av1-grain v0.2.4
[INFO] [stderr]    Compiling tiff v0.10.3
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling clap v4.5.48
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling tungstenite v0.20.1
[INFO] [stderr]    Compiling ravif v0.11.20
[INFO] [stderr]    Compiling image v0.25.8
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling nokhwa-core v0.1.7
[INFO] [stderr]    Compiling nokhwa-bindings-windows v0.4.4
[INFO] [stderr]    Compiling mcpr v0.2.3
[INFO] [stderr]    Compiling nokhwa v0.10.9
[INFO] [stderr]    Compiling mcp-webcam v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `nokhwa::CallbackCamera`
[INFO] [stdout]   --> src/webcam.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Camera, CallbackCamera,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ no `CallbackCamera` in the root
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nokhwa-0.10.9/src/lib.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[cfg(feature = "output-threaded")]
[INFO] [stdout]    |       --------------------------- the item is gated behind the `output-threaded` feature
[INFO] [stdout] 55 | #[cfg_attr(feature = "docs-features", doc(cfg(feature = "output-threaded")))]
[INFO] [stdout] 56 | pub use threaded::CallbackCamera;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `query_devices` in crate `nokhwa`
[INFO] [stdout]   --> src/webcam.rs:74:27
[INFO] [stdout]    |
[INFO] [stdout] 74 |             match nokhwa::query_devices() {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ not found in `nokhwa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]    --> src/webcam.rs:108:40
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |                                   ------ `_index` defined here
[INFO] [stdout] ...
[INFO] [stdout] 108 |             info!("Opening camera {}", index);
[INFO] [stdout]     |                                        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_index` marks it as unused, consider renaming it to `index`
[INFO] [stdout]     |
[INFO] [stdout] 105 -     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout] 105 +     pub fn open_camera(&mut self, index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]    --> src/webcam.rs:118:51
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |                                   ------ `_index` defined here
[INFO] [stdout] ...
[INFO] [stdout] 118 |             let camera_index = CameraIndex::Index(index);
[INFO] [stdout]     |                                                   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_index` marks it as unused, consider renaming it to `index`
[INFO] [stdout]     |
[INFO] [stdout] 105 -     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout] 105 +     pub fn open_camera(&mut self, index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]    --> src/webcam.rs:125:60
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |                                   ------ `_index` defined here
[INFO] [stdout] ...
[INFO] [stdout] 125 |                     info!("Successfully opened camera {}", index);
[INFO] [stdout]     |                                                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_index` marks it as unused, consider renaming it to `index`
[INFO] [stdout]     |
[INFO] [stdout] 105 -     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout] 105 +     pub fn open_camera(&mut self, index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]    --> src/webcam.rs:127:47
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |                                   ------ `_index` defined here
[INFO] [stdout] ...
[INFO] [stdout] 127 |                     self.current_index = Some(index);
[INFO] [stdout]     |                                               ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_index` marks it as unused, consider renaming it to `index`
[INFO] [stdout]     |
[INFO] [stdout] 105 -     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout] 105 +     pub fn open_camera(&mut self, index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]    --> src/webcam.rs:131:60
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |                                   ------ `_index` defined here
[INFO] [stdout] ...
[INFO] [stdout] 131 |                     error!("Failed to open camera {}: {}", index, e);
[INFO] [stdout]     |                                                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_index` marks it as unused, consider renaming it to `index`
[INFO] [stdout]     |
[INFO] [stdout] 105 -     pub fn open_camera(&mut self, _index: u32) -> Result<(), WebcamError> {
[INFO] [stdout] 105 +     pub fn open_camera(&mut self, index: u32) -> Result<(), WebcamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `camera_index` in this scope
[INFO] [stdout]    --> src/webcam.rs:148:32
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn capture_image(&mut self, _camera_index: Option<u32>) -> Result<CaptureResult, WebcamError> {
[INFO] [stdout]     |                                     ------------- `_camera_index` defined here
[INFO] [stdout] ...
[INFO] [stdout] 148 |             let target_index = camera_index.unwrap_or(0);
[INFO] [stdout]     |                                ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_camera_index` marks it as unused, consider renaming it to `camera_index`
[INFO] [stdout]     |
[INFO] [stdout] 145 -     pub fn capture_image(&mut self, _camera_index: Option<u32>) -> Result<CaptureResult, WebcamError> {
[INFO] [stdout] 145 +     pub fn capture_image(&mut self, camera_index: Option<u32>) -> Result<CaptureResult, WebcamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Resolution`
[INFO] [stdout]   --> src/webcam.rs:14:68
[INFO] [stdout]    |
[INFO] [stdout] 14 |         utils::{CameraIndex, RequestedFormat, RequestedFormatType, Resolution},
[INFO] [stdout]    |                                                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/webcam.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     let cameras: Vec<CameraInfo> = devices
[INFO] [stdout]    |                                                    ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]   --> src/webcam.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 |                         .map(|(index, device)| CameraInfo {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 80 |                             index: index as u32,
[INFO] [stdout] 81 |                             name: device.human_name().to_string(),
[INFO] [stdout]    |                                   ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]    |
[INFO] [stdout] 79 |                         .map(|(index, device): (_, _)| CameraInfo {
[INFO] [stdout]    |                                              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `width` found for struct `Buffer` in the current scope
[INFO] [stdout]    --> src/webcam.rs:165:31
[INFO] [stdout]     |
[INFO] [stdout] 165 |             let width = frame.width();
[INFO] [stdout]     |                               ^^^^^ method not found in `Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `height` found for struct `Buffer` in the current scope
[INFO] [stdout]    --> src/webcam.rs:166:32
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let height = frame.height();
[INFO] [stdout]     |                                ^^^^^^ method not found in `Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_rgb8` found for struct `Buffer` in the current scope
[INFO] [stdout]    --> src/webcam.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |             let rgb_data = frame.into_rgb8();
[INFO] [stdout]     |                                  ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `into_raw` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 171 -             let rgb_data = frame.into_rgb8();
[INFO] [stdout] 171 +             let rgb_data = frame.into_raw();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `(dyn CaptureBackendTrait + 'static)` cannot be sent between threads safely
[INFO] [stdout]    --> src/mcp_server.rs:160:54
[INFO] [stdout]     |
[INFO] [stdout] 160 |           server.register_tool_handler("list_cameras", move |_params: Value| -> Result<Value, MCPError> {
[INFO] [stdout]     |  ________________---------------------_________________^
[INFO] [stdout]     | |                |
[INFO] [stdout]     | |                required by a bound introduced by this call
[INFO] [stdout] 161 | |             debug!("Handling list_cameras request");
[INFO] [stdout] 162 | |             
[INFO] [stdout] 163 | |             let manager = webcam_manager_list.lock()
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |         })?;
[INFO] [stdout]     | |_________^ `(dyn CaptureBackendTrait + 'static)` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Send` is not implemented for `(dyn CaptureBackendTrait + 'static)`
[INFO] [stdout]     = note: required for `Unique<(dyn CaptureBackendTrait + 'static)>` to implement `Send`
[INFO] [stdout] note: required because it appears within the type `Box<(dyn CaptureBackendTrait + 'static)>`
[INFO] [stdout]    --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:235:12
[INFO] [stdout] note: required because it appears within the type `Camera`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nokhwa-0.10.9/src/camera.rs:33:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | pub struct Camera {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it appears within the type `std::option::Option<Camera>`
[INFO] [stdout]    --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/option.rs:599:10
[INFO] [stdout] note: required because it appears within the type `WebcamManager`
[INFO] [stdout]    --> src/webcam.rs:52:12
[INFO] [stdout]     |
[INFO] [stdout]  52 | pub struct WebcamManager {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     = note: required for `std::sync::Mutex<WebcamManager>` to implement `Sync`
[INFO] [stdout]     = note: 1 redundant requirement hidden
[INFO] [stdout]     = note: required for `Arc<std::sync::Mutex<WebcamManager>>` to implement `Send`
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/mcp_server.rs:160:54
[INFO] [stdout]     |
[INFO] [stdout] 160 |         server.register_tool_handler("list_cameras", move |_params: Value| -> Result<Value, MCPError> {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `Server::<T>::register_tool_handler`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mcpr-0.2.3/src/server.rs:84:51
[INFO] [stdout]     |
[INFO] [stdout]  82 |     pub fn register_tool_handler<F>(&mut self, tool_name: &str, handler: F) -> Result<(), MCPError>
[INFO] [stdout]     |            --------------------- required by a bound in this associated function
[INFO] [stdout]  83 |     where
[INFO] [stdout]  84 |         F: Fn(Value) -> Result<Value, MCPError> + Send + Sync + 'static,
[INFO] [stdout]     |                                                   ^^^^ required by this bound in `Server::<T>::register_tool_handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mcp-webcam` (lib) due to 14 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "400d187ab948350bbb4302ec4daf48fde70f1e337c350eb532942ec72113b1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "400d187ab948350bbb4302ec4daf48fde70f1e337c350eb532942ec72113b1ba", kill_on_drop: false }`
[INFO] [stdout] 400d187ab948350bbb4302ec4daf48fde70f1e337c350eb532942ec72113b1ba
