[INFO] cloning repository https://github.com/pop-os/distinst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pop-os/distinst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpop-os%2Fdistinst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpop-os%2Fdistinst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69dac84f672cde577fa4e14a5b61348449adbea0 [INFO] checking pop-os/distinst/69dac84f672cde577fa4e14a5b61348449adbea0 against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpop-os%2Fdistinst" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/pop-os/distinst [INFO] finished tweaking git repo https://github.com/pop-os/distinst [INFO] tweaked toml for git repo https://github.com/pop-os/distinst written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pop-os/distinst on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pop-os/distinst 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/crates/fstab-generate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/crates/os-detect/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/pop-os/apt-cli-wrappers` [INFO] [stderr] Updating git repository `https://github.com/pop-os/exit-status-ext` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded loopdev v0.2.1 [INFO] [stderr] Downloaded sysfs-class v0.1.3 [INFO] [stderr] Downloaded sys-mount v1.2.1 [INFO] [stderr] Downloaded partition-identity v0.2.8 [INFO] [stderr] Downloaded proc-mounts v0.2.4 [INFO] [stderr] Downloaded sedregex v0.2.4 [INFO] [stderr] Downloaded hostname-validator v1.0.0 [INFO] [stderr] Downloaded libparted-sys v0.3.2 [INFO] [stderr] Downloaded dirs v3.0.1 [INFO] [stderr] Downloaded systemd-boot-conf v0.2.1 [INFO] [stderr] Downloaded envfile v0.2.1 [INFO] [stderr] Downloaded libdbus-sys v0.2.1 [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded proc-modules v0.1.0 [INFO] [stderr] Downloaded gettext-rs v0.4.4 [INFO] [stderr] Downloaded cascade v0.1.4 [INFO] [stderr] Downloaded err-derive v0.3.0 [INFO] [stderr] Downloaded locale_config v0.2.3 [INFO] [stderr] Downloaded raw-cpuid v9.1.1 [INFO] [stderr] Downloaded libflate v0.1.27 [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded dbus v0.9.2 [INFO] [stderr] Downloaded dbus v0.8.4 [INFO] [stderr] Downloaded dbus v0.6.5 [INFO] [stderr] Downloaded cbindgen v0.14.3 [INFO] [stderr] Downloaded syn v1.0.63 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded procfs v0.5.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded fern v0.6.0 [INFO] [stderr] Downloaded libparted v0.1.4 [INFO] [stderr] Downloaded snailquote v0.2.0 [INFO] [stderr] Downloaded fomat-macros v0.3.1 [INFO] [stderr] Downloaded os-release v0.1.0 [INFO] [stderr] Downloaded pbr v1.0.4 [INFO] [stderr] Downloaded cascade v1.0.0 [INFO] [stderr] Downloaded numtoa v0.2.3 [INFO] [stderr] Downloaded gettext-sys v0.19.9 [INFO] [stderr] Downloaded logind-dbus v0.1.1 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89671abaf679411da2a43abb56559a22b82d77a7a0bfefa86e0c3d7d9576354a [INFO] running `Command { std: "docker" "start" "-a" "89671abaf679411da2a43abb56559a22b82d77a7a0bfefa86e0c3d7d9576354a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89671abaf679411da2a43abb56559a22b82d77a7a0bfefa86e0c3d7d9576354a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89671abaf679411da2a43abb56559a22b82d77a7a0bfefa86e0c3d7d9576354a", kill_on_drop: false }` [INFO] [stdout] 89671abaf679411da2a43abb56559a22b82d77a7a0bfefa86e0c3d7d9576354a [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bab943f94ad235619f1a6973a6cc09513626d50a7a06dc3e10be3a5867f4eb3c [INFO] running `Command { std: "docker" "start" "-a" "bab943f94ad235619f1a6973a6cc09513626d50a7a06dc3e10be3a5867f4eb3c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/fstab-generate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/os-detect/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking os-release v0.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking numtoa v0.2.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking sysfs-class v0.1.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking distinst-bootloader v0.1.0 (/opt/rustwide/workdir/crates/bootloader) [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking snailquote v0.2.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking loopdev v0.2.1 [INFO] [stderr] Checking sys-mount v1.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dbus v0.9.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking raw-cpuid v9.1.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking proc-modules v0.1.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Compiling gettext-sys v0.19.9 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking envfile v0.2.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cascade v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking cascade v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking procfs v0.5.4 [INFO] [stderr] Checking exit-status-ext v0.1.0 (https://github.com/pop-os/exit-status-ext#46700735) [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking distinst-chroot v0.1.0 (/opt/rustwide/workdir/crates/chroot) [INFO] [stderr] Checking distinst-squashfs v0.1.0 (/opt/rustwide/workdir/crates/squashfs) [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking hostname-validator v1.0.0 [INFO] [stdout] warning: field `clear_envs` is never read [INFO] [stdout] --> crates/chroot/src/sd_nspawn.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SystemdNspawn<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub path: PathBuf, [INFO] [stdout] 12 | clear_envs: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/chroot/src/chroot.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 58 | ) -> Command { [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] 58 | ) -> Command<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/chroot/src/sd_nspawn.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> Command { [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] 30 | ) -> Command<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking fomat-macros v0.3.1 [INFO] [stderr] Checking distinst-timezones v0.1.0 (/opt/rustwide/workdir/crates/timezones) [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pbr v1.0.4 [INFO] [stderr] Checking apt-cli-wrappers v0.1.0 (https://github.com/pop-os/apt-cli-wrappers#8eb24ae0) [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cbindgen v0.14.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking logind-dbus v0.1.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Checking dbus v0.8.4 [INFO] [stderr] Checking sedregex v0.2.4 [INFO] [stderr] Checking locale_config v0.2.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stdout] warning: field `clear_envs` is never read [INFO] [stdout] --> crates/chroot/src/sd_nspawn.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SystemdNspawn<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub path: PathBuf, [INFO] [stdout] 12 | clear_envs: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/chroot/src/chroot.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 58 | ) -> Command { [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] 58 | ) -> Command<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/chroot/src/sd_nspawn.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> Command { [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] 30 | ) -> Command<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking distinst-utils v0.1.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn canonicalize(path: &Path) -> 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] 95 | pub fn canonicalize(path: &Path) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking distinst-hardware-support v0.1.0 (/opt/rustwide/workdir/crates/hardware) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn canonicalize(path: &Path) -> 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] 95 | pub fn canonicalize(path: &Path) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking partition-identity v0.2.8 [INFO] [stderr] Checking os-detect v0.2.2 (/opt/rustwide/workdir/crates/os-detect) [INFO] [stderr] Checking proc-mounts v0.2.4 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking systemd-boot-conf v0.2.1 [INFO] [stderr] Compiling libparted-sys v0.3.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde-xml-rs v0.4.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking libparted v0.1.4 [INFO] [stderr] Checking disk-types v0.1.5 (/opt/rustwide/workdir/crates/disk-types) [INFO] [stdout] warning: unused imports: `fmt::Debug`, `fs`, and `io` [INFO] [stdout] --> crates/disk-types/src/device.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, fs, fmt::Debug}; [INFO] [stdout] | ^^ ^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/disk-types/src/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_sectors` is not a member of trait `BlockDeviceExt` [INFO] [stdout] --> crates/disk-types/src/sector.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_sectors(&self) -> u64 { self.0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `BlockDeviceExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_logical_block_size` is not a member of trait `BlockDeviceExt` [INFO] [stdout] --> crates/disk-types/src/sector.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_logical_block_size(&self) -> u64 { 512 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `BlockDeviceExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug`, `fs`, and `io` [INFO] [stdout] --> crates/disk-types/src/device.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, fs, fmt::Debug}; [INFO] [stdout] | ^^ ^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/disk-types/src/device.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_device_name` has an incompatible type for trait [INFO] [stdout] --> crates/disk-types/src/partition.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | fn get_device_name(&self) -> &str { "fictional" } [INFO] [stdout] | ^^^^ expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> crates/disk-types/src/device.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | fn get_device_name(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected signature `fn(&Fake) -> String` [INFO] [stdout] found signature `fn(&Fake) -> &str` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 161 - fn get_device_name(&self) -> &str { "fictional" } [INFO] [stdout] 161 + fn get_device_name(&self) -> String { "fictional" } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | impl PartitionExt for Fake { [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_sectors` [INFO] [stdout] --> crates/disk-types/src/sector.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_sectors(&self) -> u64; [INFO] [stdout] | ----------------------------- `get_sectors` from trait [INFO] [stdout] ... [INFO] [stdout] 137 | impl SectorExt for FictionalBlock {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_sectors` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_device_name` has an incompatible type for trait [INFO] [stdout] --> crates/disk-types/src/sector.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | fn get_device_name(&self) -> &str { "fictional" } [INFO] [stdout] | ^^^^ expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> crates/disk-types/src/device.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | fn get_device_name(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected signature `fn(§or::tests::FictionalBlock) -> String` [INFO] [stdout] found signature `fn(§or::tests::FictionalBlock) -> &str` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 140 - fn get_device_name(&self) -> &str { "fictional" } [INFO] [stdout] 140 + fn get_device_name(&self) -> String { "fictional" } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_device_name` has an incompatible type for trait [INFO] [stdout] --> crates/disk-types/src/table.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_device_name(&self) -> &str { "fictional" } [INFO] [stdout] | ^^^^ expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> crates/disk-types/src/device.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | fn get_device_name(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected signature `fn(&table::tests::FictionalBlock) -> String` [INFO] [stdout] found signature `fn(&table::tests::FictionalBlock) -> &str` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 61 - fn get_device_name(&self) -> &str { "fictional" } [INFO] [stdout] 61 + fn get_device_name(&self) -> String { "fictional" } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(part.sector_lies_within(100_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sector_lies_within` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sector_lies_within` [INFO] [stdout] ... [INFO] [stdout] 94 | fn sector_lies_within(&self, sector: u64) -> bool { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | assert!(part.sector_lies_within(10_000_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sector_lies_within` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sector_lies_within` [INFO] [stdout] ... [INFO] [stdout] 94 | fn sector_lies_within(&self, sector: u64) -> bool { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | assert!(part.sector_lies_within(5_000_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sector_lies_within` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sector_lies_within` [INFO] [stdout] ... [INFO] [stdout] 94 | fn sector_lies_within(&self, sector: u64) -> bool { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | assert!(!part.sector_lies_within(99_999)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sector_lies_within` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sector_lies_within` [INFO] [stdout] ... [INFO] [stdout] 94 | fn sector_lies_within(&self, sector: u64) -> bool { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | assert!(!part.sector_lies_within(10_000_001)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sector_lies_within` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sector_lies_within` [INFO] [stdout] ... [INFO] [stdout] 94 | fn sector_lies_within(&self, sector: u64) -> bool { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | assert!(!part.sectors_overlap(0, 99999)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | assert!(part.sectors_overlap(0, 100_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | assert!(part.sectors_overlap(0, 100_001)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | assert!(part.sectors_overlap(200_000, 1_000_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | assert!(part.sectors_overlap(9_999_999, 11_000_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | assert!(part.sectors_overlap(10_000_000, 11_000_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | assert!(!part.sectors_overlap(10_000_001, 11_000_000)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Fake: sector::SectorExt` is not satisfied [INFO] [stdout] --> crates/disk-types/src/partition.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | assert!(part.sectors_overlap(0, 20_000_000)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `sector::SectorExt` is not implemented for `Fake` [INFO] [stdout] --> crates/disk-types/src/partition.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Fake { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `partition::PartitionExt::sectors_overlap` [INFO] [stdout] --> crates/disk-types/src/partition.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PartitionExt: BlockDeviceExt + SectorExt { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `PartitionExt::sectors_overlap` [INFO] [stdout] ... [INFO] [stdout] 99 | fn sectors_overlap(&self, start: u64, end: u64) -> bool { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/disk-types/src/table.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Error, PartialEq)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_PartitionTableError` [INFO] [stdout] 12 | pub enum PartitionTableError { [INFO] [stdout] | ------------------- `PartitionTableError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/disk-types/src/table.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Error, PartialEq)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_PartitionTableError` [INFO] [stdout] 12 | pub enum PartitionTableError { [INFO] [stdout] | ------------------- `PartitionTableError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking distinst-external-commands v0.1.0 (/opt/rustwide/workdir/crates/external) [INFO] [stderr] Checking fstab-generate v0.1.2 (/opt/rustwide/workdir/crates/fstab-generate) [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0277, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `disk-types` (lib test) due to 20 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bab943f94ad235619f1a6973a6cc09513626d50a7a06dc3e10be3a5867f4eb3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab943f94ad235619f1a6973a6cc09513626d50a7a06dc3e10be3a5867f4eb3c", kill_on_drop: false }` [INFO] [stdout] bab943f94ad235619f1a6973a6cc09513626d50a7a06dc3e10be3a5867f4eb3c