[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] testing stavenko/canon-edsdk against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[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] 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] validating manifest of git repo https://github.com/stavenko/canon-edsdk on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2900f94e8d3d094fa3b0da8a859797ce7ca5e297b0521b116477493301c96180
[INFO] running `Command { std: "docker" "start" "-a" "2900f94e8d3d094fa3b0da8a859797ce7ca5e297b0521b116477493301c96180", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2900f94e8d3d094fa3b0da8a859797ce7ca5e297b0521b116477493301c96180", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2900f94e8d3d094fa3b0da8a859797ce7ca5e297b0521b116477493301c96180", kill_on_drop: false }`
[INFO] [stdout] 2900f94e8d3d094fa3b0da8a859797ce7ca5e297b0521b116477493301c96180
[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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 458563df5236fb12cb6b37339d65ade371898ce47c0b595095e4e29b9662c2b4
[INFO] running `Command { std: "docker" "start" "-a" "458563df5236fb12cb6b37339d65ade371898ce47c0b595095e4e29b9662c2b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling prettyplease v0.2.29
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling bindgen v0.71.1
[INFO] [stderr]    Compiling rustc-hash v2.1.0
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling nom v7.1.3
[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]    Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> edsdk/src/camera.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn take_shot(&self) -> anyhow::Result<Image> {
[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] 227 |     pub fn take_shot(&self) -> anyhow::Result<Image<'_>> {
[INFO] [stdout]     |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> edsdk/src/sdk.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn get_camera_list(&self) -> anyhow::Result<Vec<Camera>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn get_camera_list(&self) -> anyhow::Result<Vec<Camera<'_>>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.68s
[INFO] running `Command { std: "docker" "inspect" "458563df5236fb12cb6b37339d65ade371898ce47c0b595095e4e29b9662c2b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "458563df5236fb12cb6b37339d65ade371898ce47c0b595095e4e29b9662c2b4", kill_on_drop: false }`
[INFO] [stdout] 458563df5236fb12cb6b37339d65ade371898ce47c0b595095e4e29b9662c2b4
[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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b300192d4ecb440cec5aa3a4aba6a40a976564a698cc62a335d5e26acf21592f
[INFO] running `Command { std: "docker" "start" "-a" "b300192d4ecb440cec5aa3a4aba6a40a976564a698cc62a335d5e26acf21592f", kill_on_drop: false }`
[INFO] [stderr]    Compiling edsdk-sys v0.1.0 (/opt/rustwide/workdir/edsdk-sys)
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling edsdk v0.1.0 (/opt/rustwide/workdir/edsdk)
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> edsdk/src/camera.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn take_shot(&self) -> anyhow::Result<Image> {
[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] 227 |     pub fn take_shot(&self) -> anyhow::Result<Image<'_>> {
[INFO] [stdout]     |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> edsdk/src/sdk.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn get_camera_list(&self) -> anyhow::Result<Vec<Camera>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn get_camera_list(&self) -> anyhow::Result<Vec<Camera<'_>>> {
[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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> edsdk/src/camera.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn take_shot(&self) -> anyhow::Result<Image> {
[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] 227 |     pub fn take_shot(&self) -> anyhow::Result<Image<'_>> {
[INFO] [stdout]     |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> edsdk/src/sdk.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn get_camera_list(&self) -> anyhow::Result<Vec<Camera>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn get_camera_list(&self) -> anyhow::Result<Vec<Camera<'_>>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustciLPmil/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libedsdk_sys-9140b586427f9187,libanyhow-86336943e25b38f2}.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" "-lEDSDK" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustciLPmil/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" "sdk/linux/EDSDK_v13.18.40_Linux/EDSDK/Library/x86_64/" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/edsdk-ce2f7164b35e62f1" "-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 -lEDSDK
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcmoIRd7/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lEDSDK" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,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/rustcmoIRd7/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" "sdk/linux/EDSDK_v13.18.40_Linux/EDSDK/Library/x86_64/" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/edsdk_sys-a1915c07ffbf9d56" "-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 -lEDSDK
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `edsdk-sys` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `edsdk` (lib test) due to 1 previous error; 13 warnings emitted
[INFO] [stderr] error: could not compile `edsdk` (example "camera_list") due to 1 previous error; 1 warning emitted
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcJ3kyKd/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libedsdk-0a9e6a0649d16d0b,libedsdk_sys-9140b586427f9187,libanyhow-86336943e25b38f2}.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" "-lEDSDK" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcJ3kyKd/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" "sdk/linux/EDSDK_v13.18.40_Linux/EDSDK/Library/x86_64/" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/camera_list-7ad315b47200d7fd" "-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 -lEDSDK
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b300192d4ecb440cec5aa3a4aba6a40a976564a698cc62a335d5e26acf21592f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b300192d4ecb440cec5aa3a4aba6a40a976564a698cc62a335d5e26acf21592f", kill_on_drop: false }`
[INFO] [stdout] b300192d4ecb440cec5aa3a4aba6a40a976564a698cc62a335d5e26acf21592f
