[INFO] fetching crate rusty_libimobiledevice 0.2.3... [INFO] checking rusty_libimobiledevice-0.2.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rusty_libimobiledevice 0.2.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rusty_libimobiledevice 0.2.3 [INFO] finished tweaking crates.io crate rusty_libimobiledevice 0.2.3 [INFO] tweaked toml for crates.io crate rusty_libimobiledevice 0.2.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_libimobiledevice 0.2.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.72.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plist_plus v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20179198ce65a69bbc792d1ffdb689e7382340975ec2a64580c71087b263c343 [INFO] running `Command { std: "docker" "start" "-a" "20179198ce65a69bbc792d1ffdb689e7382340975ec2a64580c71087b263c343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20179198ce65a69bbc792d1ffdb689e7382340975ec2a64580c71087b263c343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20179198ce65a69bbc792d1ffdb689e7382340975ec2a64580c71087b263c343", kill_on_drop: false }` [INFO] [stdout] 20179198ce65a69bbc792d1ffdb689e7382340975ec2a64580c71087b263c343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 025fe6105fe69ce947561a7f8487758639705e902f8f90f3b71d7661eb98fe5c [INFO] running `Command { std: "docker" "start" "-a" "025fe6105fe69ce947561a7f8487758639705e902f8f90f3b71d7661eb98fe5c", kill_on_drop: false }` [INFO] [stderr] Compiling autotools v0.2.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling plist_plus v0.2.6 [INFO] [stderr] Compiling rusty_libimobiledevice v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/pregenerated.rs:1280:18 [INFO] [stdout] | [INFO] [stdout] 1280 | unsafe { &(*(::std::ptr::null::<_OSUnalignedU16>())).__val as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/pregenerated.rs:1308:18 [INFO] [stdout] | [INFO] [stdout] 1308 | unsafe { &(*(::std::ptr::null::<_OSUnalignedU32>())).__val as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/pregenerated.rs:1336:18 [INFO] [stdout] | [INFO] [stdout] 1336 | unsafe { &(*(::std::ptr::null::<_OSUnalignedU64>())).__val as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/idevice.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 414 | label: impl Into, [INFO] [stdout] 415 | ) -> Result { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [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] 415 | ) -> Result, LockdowndError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/idevice.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 442 | label: impl Into, [INFO] [stdout] 443 | ) -> Result { [INFO] [stdout] | ------------------ the lifetime gets resolved as `'_` [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] 443 | ) -> Result, MobileImageMounterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/idevice.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 456 | label: impl Into, [INFO] [stdout] 457 | ) -> Result { [INFO] [stdout] | ------------------------------------------- the lifetime gets resolved as `'_` [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] 457 | ) -> Result, InstProxyError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/idevice.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 470 | label: &str, [INFO] [stdout] 471 | ) -> Result { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [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] 471 | ) -> Result, DebugServerError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/idevice.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 484 | label: impl Into, [INFO] [stdout] 485 | ) -> Result { [INFO] [stdout] | ----------------------------------------------- the lifetime gets resolved as `'_` [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] 485 | ) -> Result, ScreenshotrError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/idevice.rs:496:27 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn new_afc_client(&self, label: impl Into) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 496 | pub fn new_afc_client(&self, label: impl Into) -> Result, AfcError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/idevice.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 509 | label: impl Into, [INFO] [stdout] 510 | ) -> Result { [INFO] [stdout] | -------------- the lifetime gets resolved as `'_` [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] 510 | ) -> Result, MisagentError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/services/afc.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(device: &Device) -> Result<(Self, LockdowndService), String> { [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] 32 | pub fn new(device: &Device) -> Result<(Self, LockdowndService<'_>), String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/services/lockdownd.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 231 | ) -> Result { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [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] 231 | ) -> Result, LockdowndError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/services/springboard_services.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(unsafe { std::slice::from_raw_parts(data, size as usize).to_vec() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/services/springboard_services.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | let data: *mut u8 = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(invalid_null_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/services/springboard_services.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | std::ptr::copy_nonoverlapping(data, vec.as_mut_ptr(), size as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/services/springboard_services.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | let data: *mut u8 = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_libimobiledevice` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_libimobiledevice` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "025fe6105fe69ce947561a7f8487758639705e902f8f90f3b71d7661eb98fe5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025fe6105fe69ce947561a7f8487758639705e902f8f90f3b71d7661eb98fe5c", kill_on_drop: false }` [INFO] [stdout] 025fe6105fe69ce947561a7f8487758639705e902f8f90f3b71d7661eb98fe5c