[INFO] fetching crate gphoto2 3.4.1... [INFO] testing gphoto2-3.4.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate gphoto2 3.4.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate gphoto2 3.4.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gphoto2 3.4.1 [INFO] tweaked toml for crates.io crate gphoto2 3.4.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gphoto2 3.4.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gphoto2 3.4.1 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cf755095948636b16f0274151c2748909f36505d616e6343a33b61f8a7fa4c5 [INFO] running `Command { std: "docker" "start" "-a" "7cf755095948636b16f0274151c2748909f36505d616e6343a33b61f8a7fa4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cf755095948636b16f0274151c2748909f36505d616e6343a33b61f8a7fa4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf755095948636b16f0274151c2748909f36505d616e6343a33b61f8a7fa4c5", kill_on_drop: false }` [INFO] [stdout] 7cf755095948636b16f0274151c2748909f36505d616e6343a33b61f8a7fa4c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2561bbbac0c0cb5c5d91b5306af04eaafe67ef9a2a339970cede2faa73697017 [INFO] running `Command { std: "docker" "start" "-a" "2561bbbac0c0cb5c5d91b5306af04eaafe67ef9a2a339970cede2faa73697017", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling prettyplease v0.2.30 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling libgphoto2_sys v1.2.3 [INFO] [stderr] Compiling gphoto2 v3.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abilities.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn id(&self) -> Cow { [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] 127 | pub fn id(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abilities.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn model(&self) -> Cow { [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] 132 | pub fn model(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn folder(&self) -> Cow { [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] 120 | pub fn folder(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn name(&self) -> Cow { [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] 125 | pub fn name(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 116 | / storage_info!( [INFO] [stdout] 117 | | /// Image thumbnail information [INFO] [stdout] 118 | | FileInfoPreview: CameraFileInfoFields, |info: CameraFileInfoPreview| { [INFO] [stdout] 119 | | /// Status of the preview file [INFO] [stdout] ... | [INFO] [stdout] 124 | | mime_type: Cow = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 130 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 132 | / storage_info!( [INFO] [stdout] 133 | | /// Info for image file [INFO] [stdout] 134 | | FileInfoFile: CameraFileInfoFields, |info: CameraFileInfoFile| { [INFO] [stdout] 135 | | /// Status of the file [INFO] [stdout] ... | [INFO] [stdout] 140 | | mime_type: Cow = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 150 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 152 | / storage_info!( [INFO] [stdout] 153 | | /// Info for file audio data [INFO] [stdout] 154 | | FileInfoAudio: CameraFileInfoFields, |info: CameraFileInfoAudio| { [INFO] [stdout] 155 | | /// Status of the audio file [INFO] [stdout] ... | [INFO] [stdout] 160 | | mime_type: Cow = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 160 | mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 241 | / storage_info!( [INFO] [stdout] 242 | | /// Information about a storage on the camera [INFO] [stdout] 243 | | StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| { [INFO] [stdout] 244 | | /// Label of the storage [INFO] [stdout] 245 | | label: Cow = GP_STORAGEINFO_LABEL, char_slice_to_cow(&info.label); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 245 | label: Cow<'_, str> = GP_STORAGEINFO_LABEL, char_slice_to_cow(&info.label); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 241 | / storage_info!( [INFO] [stdout] 242 | | /// Information about a storage on the camera [INFO] [stdout] 243 | | StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| { [INFO] [stdout] 244 | | /// Label of the storage [INFO] [stdout] ... | [INFO] [stdout] 247 | | base_directory: Cow = GP_STORAGEINFO_BASE, char_slice_to_cow(&info.basedir); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | base_directory: Cow<'_, str> = GP_STORAGEINFO_BASE, char_slice_to_cow(&info.basedir); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 241 | / storage_info!( [INFO] [stdout] 242 | | /// Information about a storage on the camera [INFO] [stdout] 243 | | StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| { [INFO] [stdout] 244 | | /// Label of the storage [INFO] [stdout] ... | [INFO] [stdout] 249 | | description: Cow = GP_STORAGEINFO_DESCRIPTION, char_slice_to_cow(&info.description); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | description: Cow<'_, str> = GP_STORAGEINFO_DESCRIPTION, char_slice_to_cow(&info.description); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.32s [INFO] running `Command { std: "docker" "inspect" "2561bbbac0c0cb5c5d91b5306af04eaafe67ef9a2a339970cede2faa73697017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2561bbbac0c0cb5c5d91b5306af04eaafe67ef9a2a339970cede2faa73697017", kill_on_drop: false }` [INFO] [stdout] 2561bbbac0c0cb5c5d91b5306af04eaafe67ef9a2a339970cede2faa73697017 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da3e20336b1d53037d4736aa986b63303fcf34dda522f16f6cbb125eb7b2a486 [INFO] running `Command { std: "docker" "start" "-a" "da3e20336b1d53037d4736aa986b63303fcf34dda522f16f6cbb125eb7b2a486", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling prettyplease v0.2.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling insta v1.42.2 [INFO] [stderr] Compiling libgphoto2_sys v1.2.3 [INFO] [stderr] Compiling gphoto2 v3.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: The test feature must be enabled to run the tests [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | compile_error!("The test feature must be enabled to run the tests"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abilities.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn id(&self) -> Cow { [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] 127 | pub fn id(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/abilities.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn model(&self) -> Cow { [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] 132 | pub fn model(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn folder(&self) -> Cow { [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] 120 | pub fn folder(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn name(&self) -> Cow { [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] 125 | pub fn name(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 116 | / storage_info!( [INFO] [stdout] 117 | | /// Image thumbnail information [INFO] [stdout] 118 | | FileInfoPreview: CameraFileInfoFields, |info: CameraFileInfoPreview| { [INFO] [stdout] 119 | | /// Status of the preview file [INFO] [stdout] ... | [INFO] [stdout] 124 | | mime_type: Cow = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 130 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 132 | / storage_info!( [INFO] [stdout] 133 | | /// Info for image file [INFO] [stdout] 134 | | FileInfoFile: CameraFileInfoFields, |info: CameraFileInfoFile| { [INFO] [stdout] 135 | | /// Status of the file [INFO] [stdout] ... | [INFO] [stdout] 140 | | mime_type: Cow = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 150 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 152 | / storage_info!( [INFO] [stdout] 153 | | /// Info for file audio data [INFO] [stdout] 154 | | FileInfoAudio: CameraFileInfoFields, |info: CameraFileInfoAudio| { [INFO] [stdout] 155 | | /// Status of the audio file [INFO] [stdout] ... | [INFO] [stdout] 160 | | mime_type: Cow = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 160 | mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 241 | / storage_info!( [INFO] [stdout] 242 | | /// Information about a storage on the camera [INFO] [stdout] 243 | | StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| { [INFO] [stdout] 244 | | /// Label of the storage [INFO] [stdout] 245 | | label: Cow = GP_STORAGEINFO_LABEL, char_slice_to_cow(&info.label); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 245 | label: Cow<'_, str> = GP_STORAGEINFO_LABEL, char_slice_to_cow(&info.label); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 241 | / storage_info!( [INFO] [stdout] 242 | | /// Information about a storage on the camera [INFO] [stdout] 243 | | StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| { [INFO] [stdout] 244 | | /// Label of the storage [INFO] [stdout] ... | [INFO] [stdout] 247 | | base_directory: Cow = GP_STORAGEINFO_BASE, char_slice_to_cow(&info.basedir); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | base_directory: Cow<'_, str> = GP_STORAGEINFO_BASE, char_slice_to_cow(&info.basedir); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesys.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn $field(&self) -> Option<$ty> { [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 241 | / storage_info!( [INFO] [stdout] 242 | | /// Information about a storage on the camera [INFO] [stdout] 243 | | StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| { [INFO] [stdout] 244 | | /// Label of the storage [INFO] [stdout] ... | [INFO] [stdout] 249 | | description: Cow = GP_STORAGEINFO_DESCRIPTION, char_slice_to_cow(&info.description); [INFO] [stdout] | | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... | [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | description: Cow<'_, str> = GP_STORAGEINFO_DESCRIPTION, char_slice_to_cow(&info.description); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gphoto2` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "da3e20336b1d53037d4736aa986b63303fcf34dda522f16f6cbb125eb7b2a486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3e20336b1d53037d4736aa986b63303fcf34dda522f16f6cbb125eb7b2a486", kill_on_drop: false }` [INFO] [stdout] da3e20336b1d53037d4736aa986b63303fcf34dda522f16f6cbb125eb7b2a486