[INFO] cloning repository https://github.com/stavenko/canon-edsdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stavenko/canon-edsdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcanon-edsdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcanon-edsdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c99031d33885b9690fc5e365936c398f0d4e467d [INFO] checking stavenko/canon-edsdk against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcanon-edsdk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stavenko/canon-edsdk on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] finished tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] tweaked toml for git repo https://github.com/stavenko/canon-edsdk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stavenko/canon-edsdk 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking stavenko/canon-edsdk against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcanon-edsdk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stavenko/canon-edsdk on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] finished tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] tweaked toml for git repo https://github.com/stavenko/canon-edsdk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stavenko/canon-edsdk 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking stavenko/canon-edsdk against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcanon-edsdk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stavenko/canon-edsdk on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] finished tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] tweaked toml for git repo https://github.com/stavenko/canon-edsdk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stavenko/canon-edsdk 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking stavenko/canon-edsdk against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcanon-edsdk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stavenko/canon-edsdk on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] finished tweaking git repo https://github.com/stavenko/canon-edsdk [INFO] tweaked toml for git repo https://github.com/stavenko/canon-edsdk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stavenko/canon-edsdk 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40d324092576c4474f736eb0afbf695b6f8c4d22a742bf1a1c51c428a28e4907 [INFO] running `Command { std: "docker" "start" "-a" "40d324092576c4474f736eb0afbf695b6f8c4d22a742bf1a1c51c428a28e4907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40d324092576c4474f736eb0afbf695b6f8c4d22a742bf1a1c51c428a28e4907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d324092576c4474f736eb0afbf695b6f8c4d22a742bf1a1c51c428a28e4907", kill_on_drop: false }` [INFO] [stdout] 40d324092576c4474f736eb0afbf695b6f8c4d22a742bf1a1c51c428a28e4907 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5c1058347b933b87bf5baa9e8cc4fdb83b3855e595e2f12ace202353ca70b13 [INFO] running `Command { std: "docker" "start" "-a" "e5c1058347b933b87bf5baa9e8cc4fdb83b3855e595e2f12ace202353ca70b13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling edsdk-sys v0.1.0 (/opt/rustwide/workdir/edsdk-sys) [INFO] [stderr] Checking edsdk v0.1.0 (/opt/rustwide/workdir/edsdk) [INFO] [stdout] warning: unused imports: `SystemTime` and `null` [INFO] [stdout] --> edsdk/src/camera.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | sync::{Arc, RwLock}, [INFO] [stdout] 6 | time::{Duration, SystemTime}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdsDownloadEvfImage`, `EdsEvfOutputDevice_kEdsEvfOutputDevice_PC_Small`, `EdsGetLength`, `EdsGetPointer`, `EdsRead`, and `kEdsStateEvent_ShutDownTimerUpdate` [INFO] [stdout] --> edsdk/src/camera.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | kEdsPropertyEvent_All, kEdsStateEvent_All, kEdsStateEvent_ShutDownTimerUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | tagEdsDeviceInfo, EdsCameraRef, EdsCloseSession, EdsCreateEvfImageRef, EdsCreateMemoryStream, [INFO] [stdout] 15 | EdsDownloadEvfImage, EdsEvfOutputDevice_kEdsEvfOutputDevice_PC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | EdsEvfOutputDevice_kEdsEvfOutputDevice_PC_Small, EdsGetChildAtIndex, EdsGetDeviceInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | EdsGetLength, EdsGetPointer, EdsGetPropertyData, EdsOpenSession, EdsRead, EdsRelease, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kEdsPropID_ProductName` [INFO] [stdout] --> edsdk/src/events.rs:4:72 [INFO] [stdout] | [INFO] [stdout] 4 | kEdsObjectEvent_DirItemCreated, kEdsObjectEvent_VolumeInfoChanged, kEdsPropID_ProductName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> edsdk/src/image.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdsAccess_kEdsAccess_Write` [INFO] [stdout] --> edsdk/src/image.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | EdsAccess_kEdsAccess_ReadWrite, EdsAccess_kEdsAccess_Write, EdsCreateFileStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `null` [INFO] [stdout] --> edsdk/src/camera.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | sync::{Arc, RwLock}, [INFO] [stdout] 6 | time::{Duration, SystemTime}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdsDownloadEvfImage`, `EdsEvfOutputDevice_kEdsEvfOutputDevice_PC_Small`, `EdsGetLength`, `EdsGetPointer`, `EdsRead`, and `kEdsStateEvent_ShutDownTimerUpdate` [INFO] [stdout] --> edsdk/src/camera.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | kEdsPropertyEvent_All, kEdsStateEvent_All, kEdsStateEvent_ShutDownTimerUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | tagEdsDeviceInfo, EdsCameraRef, EdsCloseSession, EdsCreateEvfImageRef, EdsCreateMemoryStream, [INFO] [stdout] 15 | EdsDownloadEvfImage, EdsEvfOutputDevice_kEdsEvfOutputDevice_PC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | EdsEvfOutputDevice_kEdsEvfOutputDevice_PC_Small, EdsGetChildAtIndex, EdsGetDeviceInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | EdsGetLength, EdsGetPointer, EdsGetPropertyData, EdsOpenSession, EdsRead, EdsRelease, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kEdsPropID_ProductName` [INFO] [stdout] --> edsdk/src/events.rs:4:72 [INFO] [stdout] | [INFO] [stdout] 4 | kEdsObjectEvent_DirItemCreated, kEdsObjectEvent_VolumeInfoChanged, kEdsPropID_ProductName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> edsdk/src/image.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ptr::{null, null_mut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdsAccess_kEdsAccess_Write` [INFO] [stdout] --> edsdk/src/image.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | EdsAccess_kEdsAccess_ReadWrite, EdsAccess_kEdsAccess_Write, EdsCreateFileStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> edsdk/src/events.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | context: *mut EdsVoid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> edsdk/src/events.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | event: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_id` [INFO] [stdout] --> edsdk/src/events.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | property_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> edsdk/src/events.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | context: *mut EdsVoid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> edsdk/src/camera.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Camera<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdk` is never read [INFO] [stdout] --> edsdk/src/image.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Image<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub(crate) sdk: &'a Sdk, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> edsdk/src/camera.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn take_shot(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn take_shot(&self) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> edsdk/src/sdk.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_camera_list(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_camera_list(&self) -> anyhow::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> edsdk/src/events.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | context: *mut EdsVoid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> edsdk/src/events.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | event: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_id` [INFO] [stdout] --> edsdk/src/events.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | property_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> edsdk/src/events.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | context: *mut EdsVoid, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> edsdk/src/camera.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Camera<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdk` is never read [INFO] [stdout] --> edsdk/src/image.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Image<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub(crate) sdk: &'a Sdk, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> edsdk/src/camera.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn take_shot(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn take_shot(&self) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> edsdk/src/sdk.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_camera_list(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_camera_list(&self) -> anyhow::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> edsdk/examples/camera_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.30s [INFO] running `Command { std: "docker" "inspect" "e5c1058347b933b87bf5baa9e8cc4fdb83b3855e595e2f12ace202353ca70b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c1058347b933b87bf5baa9e8cc4fdb83b3855e595e2f12ace202353ca70b13", kill_on_drop: false }` [INFO] [stdout] e5c1058347b933b87bf5baa9e8cc4fdb83b3855e595e2f12ace202353ca70b13