[INFO] fetching crate rsfdisk 0.2.0... [INFO] testing rsfdisk-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rsfdisk 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rsfdisk 0.2.0 [INFO] finished tweaking crates.io crate rsfdisk 0.2.0 [INFO] tweaked toml for crates.io crate rsfdisk 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsfdisk 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding typed-builder v0.20.1 (available: v0.22.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a059cb2df7b2602e548c19652c4d3012d1db670bb0402f348265fe5da554ef4 [INFO] running `Command { std: "docker" "start" "-a" "0a059cb2df7b2602e548c19652c4d3012d1db670bb0402f348265fe5da554ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a059cb2df7b2602e548c19652c4d3012d1db670bb0402f348265fe5da554ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a059cb2df7b2602e548c19652c4d3012d1db670bb0402f348265fe5da554ef4", kill_on_drop: false }` [INFO] [stdout] 0a059cb2df7b2602e548c19652c4d3012d1db670bb0402f348265fe5da554ef4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac345d9c7d1e867c556cf78128385c70ea03400403ed03ed1a0d24082b2ed82f [INFO] running `Command { std: "docker" "start" "-a" "ac345d9c7d1e867c556cf78128385c70ea03400403ed03ed1a0d24082b2ed82f", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rsfdisk v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling typed-builder-macro v0.20.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling enum-iterator v2.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling typed-builder v0.20.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling embed-doc-image v0.1.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rsfdisk-sys v0.2.1 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:147:62 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result, FdiskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 154 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 155 | name: T, [INFO] [stdout] 156 | ) -> 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 156 | ) -> Result, FdiskError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:1796:23 [INFO] [stdout] | [INFO] [stdout] 1796 | pub fn script_new(&self) -> Result<&mut Script, FdiskError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1796 | pub fn script_new(&self) -> Result<&mut Script<'_>, FdiskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:1825:36 [INFO] [stdout] | [INFO] [stdout] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script, FdiskError> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script<'_>, FdiskError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:2029:31 [INFO] [stdout] | [INFO] [stdout] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:2088:36 [INFO] [stdout] | [INFO] [stdout] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd { [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] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3071:19 [INFO] [stdout] | [INFO] [stdout] 3071 | pub fn script(&self) -> Option<&Script> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 3071 | pub fn script(&self) -> Option<&Script<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3099:23 [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3131:17 [INFO] [stdout] | [INFO] [stdout] 3131 | pub fn iter(&self) -> PartitionTableIter { [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] 3131 | pub fn iter(&self) -> PartitionTableIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3138:38 [INFO] [stdout] | [INFO] [stdout] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.73s [INFO] running `Command { std: "docker" "inspect" "ac345d9c7d1e867c556cf78128385c70ea03400403ed03ed1a0d24082b2ed82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac345d9c7d1e867c556cf78128385c70ea03400403ed03ed1a0d24082b2ed82f", kill_on_drop: false }` [INFO] [stdout] ac345d9c7d1e867c556cf78128385c70ea03400403ed03ed1a0d24082b2ed82f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bd0765f676a873f785f58cb6de643cc196446d53d949db3900dc437368fc9b6 [INFO] running `Command { std: "docker" "start" "-a" "1bd0765f676a873f785f58cb6de643cc196446d53d949db3900dc437368fc9b6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rsfdisk-sys v0.2.1 [INFO] [stderr] Compiling rsfdisk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:147:62 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result, FdiskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 154 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 155 | name: T, [INFO] [stdout] 156 | ) -> 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 156 | ) -> Result, FdiskError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:1796:23 [INFO] [stdout] | [INFO] [stdout] 1796 | pub fn script_new(&self) -> Result<&mut Script, FdiskError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1796 | pub fn script_new(&self) -> Result<&mut Script<'_>, FdiskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:1825:36 [INFO] [stdout] | [INFO] [stdout] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script, FdiskError> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script<'_>, FdiskError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:2029:31 [INFO] [stdout] | [INFO] [stdout] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:2088:36 [INFO] [stdout] | [INFO] [stdout] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd { [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] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3071:19 [INFO] [stdout] | [INFO] [stdout] 3071 | pub fn script(&self) -> Option<&Script> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 3071 | pub fn script(&self) -> Option<&Script<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3099:23 [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3131:17 [INFO] [stdout] | [INFO] [stdout] 3131 | pub fn iter(&self) -> PartitionTableIter { [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] 3131 | pub fn iter(&self) -> PartitionTableIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3138:38 [INFO] [stdout] | [INFO] [stdout] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:147:62 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result, FdiskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 154 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 155 | name: T, [INFO] [stdout] 156 | ) -> 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 156 | ) -> Result, FdiskError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:1796:23 [INFO] [stdout] | [INFO] [stdout] 1796 | pub fn script_new(&self) -> Result<&mut Script, FdiskError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1796 | pub fn script_new(&self) -> Result<&mut Script<'_>, FdiskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:1825:36 [INFO] [stdout] | [INFO] [stdout] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script, FdiskError> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script<'_>, FdiskError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:2029:31 [INFO] [stdout] | [INFO] [stdout] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:2088:36 [INFO] [stdout] | [INFO] [stdout] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd { [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] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3071:19 [INFO] [stdout] | [INFO] [stdout] 3071 | pub fn script(&self) -> Option<&Script> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 3071 | pub fn script(&self) -> Option<&Script<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3099:23 [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3131:17 [INFO] [stdout] | [INFO] [stdout] 3131 | pub fn iter(&self) -> PartitionTableIter { [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] 3131 | pub fn iter(&self) -> PartitionTableIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fdisk/fdisk_struct.rs:3138:38 [INFO] [stdout] | [INFO] [stdout] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 48.18s [INFO] running `Command { std: "docker" "inspect" "1bd0765f676a873f785f58cb6de643cc196446d53d949db3900dc437368fc9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd0765f676a873f785f58cb6de643cc196446d53d949db3900dc437368fc9b6", kill_on_drop: false }` [INFO] [stdout] 1bd0765f676a873f785f58cb6de643cc196446d53d949db3900dc437368fc9b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2016d7d7b3a1afcdb884e5a66a44a58657be62084845b85040480573137b4d26 [INFO] running `Command { std: "docker" "start" "-a" "2016d7d7b3a1afcdb884e5a66a44a58657be62084845b85040480573137b4d26", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:147:62 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result { [INFO] [stderr] | -- ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 147 | pub fn create_nested_partitioner(&'a mut self) -> Result, FdiskError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:156:17 [INFO] [stderr] | [INFO] [stderr] 154 | &'a mut self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 155 | name: T, [INFO] [stderr] 156 | ) -> Result [INFO] [stderr] | ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 156 | ) -> Result, FdiskError> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:1796:23 [INFO] [stderr] | [INFO] [stderr] 1796 | pub fn script_new(&self) -> Result<&mut Script, FdiskError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1796 | pub fn script_new(&self) -> Result<&mut Script<'_>, FdiskError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:1825:36 [INFO] [stderr] | [INFO] [stderr] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script, FdiskError> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1825 | pub fn script_new_from_file(&self, file_path: T) -> Result<&mut Script<'_>, FdiskError> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:2029:31 [INFO] [stderr] | [INFO] [stderr] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk> { [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2029 | pub fn parent_partitioner(&self) -> Option<&Fdisk<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:2088:36 [INFO] [stderr] | [INFO] [stderr] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2088 | pub unsafe fn device_borrow_fd(&self) -> BorrowedFd<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:3071:19 [INFO] [stderr] | [INFO] [stderr] 3071 | pub fn script(&self) -> Option<&Script> { [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3071 | pub fn script(&self) -> Option<&Script<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:3099:23 [INFO] [stderr] | [INFO] [stderr] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3099 | pub fn script_mut(&mut self) -> Option<&mut Script<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:3131:17 [INFO] [stderr] | [INFO] [stderr] 3131 | pub fn iter(&self) -> PartitionTableIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3131 | pub fn iter(&self) -> PartitionTableIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/fdisk/fdisk_struct.rs:3138:38 [INFO] [stderr] | [INFO] [stderr] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 3138 | pub fn iter_mut(&'a mut self) -> PartitionTableIterMut<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rsfdisk` (lib) generated 10 warnings (run `cargo fix --lib -p rsfdisk` to apply 10 suggestions) [INFO] [stderr] warning: `rsfdisk` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsfdisk-607eaa68a1371fa5) [INFO] [stdout] [INFO] [stdout] running 99 tests [INFO] [stdout] test core::partition::code_enum::tests::code_can_convert_valid_bytes_into_a_code ... ok [INFO] [stdout] test core::partition::guid_enum::tests::guid_can_convert_valid_bytes_into_a_guid ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_can_clone_a_partition_kind ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_can_create_an_mbr_partition_kind ... ok [INFO] [stdout] test core::partition::guid_enum::tests::guid_can_parse_a_valid_guid ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_can_create_a_gpt_partition_kind ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_can_create_a_custom_partition_kind ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_not_parse_a_code_missing_its_0x_prefix - should panic ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_not_parse_a_code_string_with_a_too_large_hexadecimal - should panic ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_not_parse_an_empty_string - should panic ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_add_an_item ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_parse_a_valid_device_code ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_a_new_list_is_empty ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_alternate_forward_backward_iteration ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_clear_a_list_of_all_its_items ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_get_an_item_by_partition_number ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_index_into_a_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_iterate_backwards_over_a_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_get_the_nth_item ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_iterate_forwards_over_an_empty_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_iterate_backwards_over_an_empty_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_iterate_forwards_over_a_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_mutably_get_the_nth_item ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_mutably_iterate_backwards_over_an_empty_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_mutably_iterate_forwards_over_a_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_mutably_iterate_forwards_over_an_empty_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_mutably_index_into_a_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_mutably_iterate_backwards_over_a_list ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_not_index_into_an_empty_list - should panic ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_not_index_out_of_bounds - should panic ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_pop_the_last_item ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_remove_an_item ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_alternate_backward_forward_iteration ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_sort_by_starting_sector ... ignored [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_compare_starting_sectors ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_not_parse_a_code_string_with_an_unclosed_quote - should panic ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_compare_partition_numbers ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_create_a_new_partition ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_test_items_have_starting_sectors_not_in_increasing_order ... ok [INFO] [stdout] test core::partition::partition_list_struct::tests::partition_list_can_test_items_have_starting_sectors_in_increasing_order ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_not_convert_invalid_bytes_into_a_code - should panic ... ok [INFO] [stdout] test core::partition::guid_enum::tests::guid_can_not_convert_invalid_bytes_into_a_guid - should panic ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_set_a_partition_type ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_unset_a_partition_number ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_set_a_partition_number ... ok [INFO] [stdout] test core::utils::version::test::version_string_to_release_code_converts_up_to_first_invalid_character ... ok [INFO] [stdout] test core::utils::version::test::version_string_to_release_code_fails_on_invalid_c_string - should panic ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_set_a_partition_size_in_sectors ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_unset_a_partition_size_in_sectors ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_set_a_partition_starting_sector ... ok [INFO] [stdout] test core::partition::partition_struct::tests::partition_can_unset_a_partition_starting_sector ... ok [INFO] [stdout] test core::partition::guid_enum::tests::guid_can_not_parse_a_guid_string_with_an_unclosed_double_quote - should panic ... ok [INFO] [stdout] test core::partition::guid_enum::tests::guid_can_not_parse_a_guid_string_with_an_unclosed_quote - should panic ... ok [INFO] [stdout] test core::partition::guid_enum::tests::guid_can_not_parse_an_invalid_guid_string - should panic ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_not_parse_a_code_string_with_an_invalid_hexadecimal - should panic ... ok [INFO] [stdout] test core::partition::code_enum::tests::code_can_not_parse_a_code_string_with_an_unclosed_double_quote - should panic ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_code_and_unknown_kind_are_mutually_exclusive - should panic ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_code_and_guid_are_mutually_exclusive - should panic ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_guid_and_unknown_kind_are_mutually_exclusive - should panic ... ok [INFO] [stdout] test core::partition::partition_kind_struct::tests::partition_kind_one_of_code_guid_or_unknown_kind_must_be_set - should panic ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_not_assign_a_regular_file_by_pathname - should panic ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_not_assign_a_regular_file_by_file_stream - should panic ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_assign_a_device_by_pathname_in_read_only_mode ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_get_sections_of_a_dos_partition_table ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_assign_a_device_by_file ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_override_device_geometry ... ignored [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_override_device_grain_size ... ignored [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_override_sector_sizes ... ignored [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_assign_a_device_by_pathname_in_read_write_mode ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_get_a_device_s_name ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_list_empty_spaces_on_device_with_partition_table ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_get_display_units ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_list_partitions_on_partitioned_device ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_get_sections_of_a_gpt_partition_table ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_enable_interactive_partitioning ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_get_sectors_per_cylinder ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_discard_changes ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_not_both_display_details_and_list_only - should panic ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_read_entries_in_a_dos_partition_table_header ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_not_list_partitions_on_unpartitioned_device ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_read_entries_in_a_gpt_partition_table_header ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_not_list_empty_spaces_on_blank_device ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_not_list_partitions_on_blank_device ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_must_assign_a_device - should panic ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_set_device_addressing ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_read_the_geometry_of_a_device ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_read_entries_in_a_sun_partition_table_header ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_recognize_an_image_file ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_read_entries_in_a_sgi_partition_table_header ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_recognize_an_image_file_with_or_without_a_partition_table ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_test_partition_numbers_in_use ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_set_wipe_device_metadata ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_set_partition_size_format ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_identify_the_type_of_a_partition_table ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_get_the_maximum_number_of_partitions_by_type_of_partition_table ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_set_device_first_lba ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_set_device_last_lba ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_set_erase_master_boot_record ... ok [INFO] [stdout] test fdisk::fdisk_struct::tests::fdisk_can_partition_a_device ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 95 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] [stderr] Doc-tests rsfdisk [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/debug.rs - debug (line 59) ... ignored [INFO] [stdout] test src/fdisk/mod.rs - fdisk (line 158) ... ignored [INFO] [stdout] test src/fdisk/mod.rs - fdisk (line 38) ... ignored [INFO] [stdout] test src/fdisk/mod.rs - fdisk (line 75) ... ignored [INFO] [stdout] test src/lib.rs - (line 14) ... ignored [INFO] [stdout] test src/core/utils/version/mod.rs - core::utils::version::version_string_to_release_code (line 34) ... ok [INFO] [stdout] test src/error.rs - error::RsFdiskError (line 46) ... ok [INFO] [stdout] test src/core/partition/partition_struct.rs - core::partition::partition_struct::Partition (line 58) ... ok [INFO] [stdout] test src/core/partition/partition_struct.rs - core::partition::partition_struct::Partition (line 27) ... ok [INFO] [stdout] test src/core/partition/partition_kind_struct.rs - core::partition::partition_kind_struct::PartitionKind::builder (line 235) ... ok [INFO] [stdout] test src/core/partition/partition_list_struct.rs - core::partition::partition_list_struct::PartitionList (line 26) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2016d7d7b3a1afcdb884e5a66a44a58657be62084845b85040480573137b4d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2016d7d7b3a1afcdb884e5a66a44a58657be62084845b85040480573137b4d26", kill_on_drop: false }` [INFO] [stdout] 2016d7d7b3a1afcdb884e5a66a44a58657be62084845b85040480573137b4d26