[INFO] fetching crate rusty_libimobiledevice 0.2.3... [INFO] testing rusty_libimobiledevice-0.2.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rusty_libimobiledevice 0.2.3 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_libimobiledevice 0.2.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 89 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d91763890c2f0c01a881f828360a1826612fea18ba14439e11a8b8c4bb2ae7f [INFO] running `Command { std: "docker" "start" "-a" "0d91763890c2f0c01a881f828360a1826612fea18ba14439e11a8b8c4bb2ae7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d91763890c2f0c01a881f828360a1826612fea18ba14439e11a8b8c4bb2ae7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d91763890c2f0c01a881f828360a1826612fea18ba14439e11a8b8c4bb2ae7f", kill_on_drop: false }` [INFO] [stdout] 0d91763890c2f0c01a881f828360a1826612fea18ba14439e11a8b8c4bb2ae7f [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=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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10ae495f0ff65892cfda0bcec4d83e1b99807a45419c14841417f943562b7a42 [INFO] running `Command { std: "docker" "start" "-a" "10ae495f0ff65892cfda0bcec4d83e1b99807a45419c14841417f943562b7a42", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling autotools v0.2.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling plist_plus v0.2.6 [INFO] [stderr] Compiling rusty_libimobiledevice v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/idevice.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 414 | label: impl Into, [INFO] [stdout] 415 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 415 | ) -> Result, LockdowndError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/idevice.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 442 | label: impl Into, [INFO] [stdout] 443 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 443 | ) -> Result, MobileImageMounterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/idevice.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 456 | label: impl Into, [INFO] [stdout] 457 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 457 | ) -> Result, InstProxyError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/idevice.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 470 | label: &str, [INFO] [stdout] 471 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 471 | ) -> Result, DebugServerError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/idevice.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 484 | label: impl Into, [INFO] [stdout] 485 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 485 | ) -> Result, ScreenshotrError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 496 | pub fn new_afc_client(&self, label: impl Into) -> Result, AfcError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/idevice.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 509 | label: impl Into, [INFO] [stdout] 510 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 510 | ) -> Result, MisagentError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 32 | pub fn new(device: &Device) -> Result<(Self, LockdowndService<'_>), String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/services/lockdownd.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 231 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 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] running `Command { std: "docker" "inspect" "10ae495f0ff65892cfda0bcec4d83e1b99807a45419c14841417f943562b7a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ae495f0ff65892cfda0bcec4d83e1b99807a45419c14841417f943562b7a42", kill_on_drop: false }` [INFO] [stdout] 10ae495f0ff65892cfda0bcec4d83e1b99807a45419c14841417f943562b7a42