[INFO] fetching crate gphoto2 3.4.1... [INFO] checking gphoto2-3.4.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate gphoto2 3.4.1 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gphoto2 3.4.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gphoto2_test v1.0.1 [INFO] [stderr] Downloaded libgphoto2_sys v1.2.3 [INFO] [stderr] Downloaded insta v1.42.2 [INFO] [stderr] Downloaded prettyplease v0.2.30 [INFO] [stderr] Downloaded either v1.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9a77585fb79b718563ed08d6ae66615f968800d3c4a1fa9e5c65bd10ae8f4a5 [INFO] running `Command { std: "docker" "start" "-a" "c9a77585fb79b718563ed08d6ae66615f968800d3c4a1fa9e5c65bd10ae8f4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9a77585fb79b718563ed08d6ae66615f968800d3c4a1fa9e5c65bd10ae8f4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a77585fb79b718563ed08d6ae66615f968800d3c4a1fa9e5c65bd10ae8f4a5", kill_on_drop: false }` [INFO] [stdout] c9a77585fb79b718563ed08d6ae66615f968800d3c4a1fa9e5c65bd10ae8f4a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e19999d926d2337aed37c5d54aae5bb3dbe5ef5836a28119c36f048ea173fed [INFO] running `Command { std: "docker" "start" "-a" "8e19999d926d2337aed37c5d54aae5bb3dbe5ef5836a28119c36f048ea173fed", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling prettyplease v0.2.30 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking insta v1.42.2 [INFO] [stderr] Compiling libgphoto2_sys v1.2.3 [INFO] [stderr] Checking 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" "8e19999d926d2337aed37c5d54aae5bb3dbe5ef5836a28119c36f048ea173fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e19999d926d2337aed37c5d54aae5bb3dbe5ef5836a28119c36f048ea173fed", kill_on_drop: false }` [INFO] [stdout] 8e19999d926d2337aed37c5d54aae5bb3dbe5ef5836a28119c36f048ea173fed