[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] e395b7cb4d32ab3ca0cb2e9e557bd2ba53973148 [INFO] documenting pop-os/distinst against 1.90.0 for beta-rustdoc-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpop-os%2Fdistinst" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pop-os/distinst on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/crates/os-detect/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/crates/fstab-generate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-mounts v0.2.4 [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded err-derive v0.2.4 [INFO] [stderr] Downloaded partition-identity v0.2.8 [INFO] [stderr] Downloaded errno v0.2.7 [INFO] [stderr] Downloaded serde-xml-rs v0.4.1 [INFO] [stderr] Downloaded sys-mount v1.2.1 [INFO] [stderr] Downloaded os-release v0.1.0 [INFO] [stderr] Downloaded syn v1.0.63 [INFO] [stderr] Downloaded libflate v0.1.27 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded procfs v0.5.4 [INFO] [stderr] Downloaded heck v0.3.2 [INFO] [stderr] Downloaded dbus v0.9.2 [INFO] [stderr] Downloaded cbindgen v0.14.3 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded fern v0.6.0 [INFO] [stderr] Downloaded dbus v0.8.4 [INFO] [stderr] Downloaded fomat-macros v0.3.1 [INFO] [stderr] Downloaded dbus v0.6.5 [INFO] [stderr] Downloaded raw-cpuid v9.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded cascade v0.1.4 [INFO] [stderr] Downloaded libparted-sys v0.3.2 [INFO] [stderr] Downloaded sysfs-class v0.1.3 [INFO] [stderr] Downloaded cascade v1.0.0 [INFO] [stderr] Downloaded snailquote v0.2.0 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded libdbus-sys v0.2.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded err-derive v0.3.0 [INFO] [stderr] Downloaded sedregex v0.2.4 [INFO] [stderr] Downloaded loopdev v0.2.1 [INFO] [stderr] Downloaded logind-dbus v0.1.1 [INFO] [stderr] Downloaded numtoa v0.2.3 [INFO] [stderr] Downloaded systemd-boot-conf v0.2.1 [INFO] [stderr] Downloaded locale_config v0.2.3 [INFO] [stderr] Downloaded envfile v0.2.1 [INFO] [stderr] Downloaded libparted v0.1.4 [INFO] [stderr] Downloaded hostname-validator v1.0.0 [INFO] [stderr] Downloaded gettext-rs v0.4.4 [INFO] [stderr] Downloaded gettext-sys v0.19.9 [INFO] [stderr] Downloaded proc-modules v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bf2a4fa6030bb5f6d847a5dbc4352569c0730066a2ecba4a79798b22a2dc0ab [INFO] running `Command { std: "docker" "start" "-a" "1bf2a4fa6030bb5f6d847a5dbc4352569c0730066a2ecba4a79798b22a2dc0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bf2a4fa6030bb5f6d847a5dbc4352569c0730066a2ecba4a79798b22a2dc0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf2a4fa6030bb5f6d847a5dbc4352569c0730066a2ecba4a79798b22a2dc0ab", kill_on_drop: false }` [INFO] [stdout] 1bf2a4fa6030bb5f6d847a5dbc4352569c0730066a2ecba4a79798b22a2dc0ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d2d871d429d3618a0f6c170af1a4eedf1e6e3868a83536452dceaa4f4514dfb [INFO] running `Command { std: "docker" "start" "-a" "9d2d871d429d3618a0f6c170af1a4eedf1e6e3868a83536452dceaa4f4514dfb", kill_on_drop: false }` [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] warning: /opt/rustwide/workdir/crates/fstab-generate/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 rustversion v1.0.4 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking os-release v0.1.0 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Checking numtoa v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking sysfs-class v0.1.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking sedregex v0.2.4 [INFO] [stderr] Checking distinst-utils v0.1.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.23.0 [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 serde_derive v1.0.124 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking snailquote v0.2.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking loopdev v0.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling gettext-sys v0.19.9 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sys-mount v1.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking locale_config v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking distinst-bootloader v0.1.0 (/opt/rustwide/workdir/crates/bootloader) [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking dbus v0.9.2 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking procfs v0.5.4 [INFO] [stderr] Checking envfile v0.2.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking raw-cpuid v9.1.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking cascade v0.1.4 [INFO] [stderr] Checking proc-modules v0.1.0 [INFO] [stderr] Checking exit-status-ext v0.1.0 (https://github.com/pop-os/exit-status-ext#46700735) [INFO] [stderr] Checking cascade v1.0.0 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking distinst-chroot v0.1.0 (/opt/rustwide/workdir/crates/chroot) [INFO] [stderr] Checking apt-cli-wrappers v0.1.0 (https://github.com/pop-os/apt-cli-wrappers#8eb24ae0) [INFO] [stderr] Checking distinst-squashfs v0.1.0 (/opt/rustwide/workdir/crates/squashfs) [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)]` 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 fern v0.6.0 [INFO] [stderr] Checking distinst-hardware-support v0.1.0 (/opt/rustwide/workdir/crates/hardware) [INFO] [stderr] Checking hostname-validator v1.0.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 thiserror-impl v1.0.24 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking logind-dbus v0.1.1 [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 serde-xml-rs v0.4.1 [INFO] [stderr] Checking systemd-boot-conf v0.2.1 [INFO] [stderr] Compiling libparted-sys v0.3.2 [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)]` 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] 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] [stderr] Checking distinst-disk-ops v0.1.0 (/opt/rustwide/workdir/crates/disk-ops) [INFO] [stdout] warning: function `ntfs_consistency_check` is never used [INFO] [stdout] --> crates/disk-ops/src/resize.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn ntfs_consistency_check(path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking distinst-disks v0.1.0 (/opt/rustwide/workdir/crates/disks) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/disks/src/config/disks.rs:1187:17 [INFO] [stdout] | [INFO] [stdout] 1187 | let mut logical = &mut self.logical[id]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> crates/disks/src/config/lvm/mod.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | Err(why) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disk.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | if PVS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disk.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | ... PVS.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disk.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | if PVS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disks.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 614 | if PVS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/partitions/mod.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | unsafe { PVS.as_ref().unwrap().get(device_path).and_then(|vg| vg.as_ref().cloned()) }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/disks/src/config/partitions/mod.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn get_block_info(&self) -> Option { [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] 267 | pub fn get_block_info(&self) -> Option> { [INFO] [stdout] | ++++ [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/disks/src/error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DiskError` [INFO] [stdout] 8 | pub enum DiskError { [INFO] [stdout] | --------- `DiskError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DiskError` [INFO] [stdout] 8 | pub enum DiskError { [INFO] [stdout] | --------- `DiskError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PartitionError` [INFO] [stdout] 88 | /// An error that involves partitions. [INFO] [stdout] 89 | pub enum PartitionError { [INFO] [stdout] | -------------- `PartitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PartitionError` [INFO] [stdout] 88 | /// An error that involves partitions. [INFO] [stdout] 89 | pub enum PartitionError { [INFO] [stdout] | -------------- `PartitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DecryptionError` [INFO] [stdout] 115 | pub enum DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DecryptionError` [INFO] [stdout] 115 | pub enum DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gettext-rs v0.4.4 [INFO] [stderr] Checking distinst-locale-support v0.1.0 (/opt/rustwide/workdir/crates/locales) [INFO] [stdout] warning: fields `alpha_3`, `numeric`, and `official_name` are never read [INFO] [stdout] --> crates/locales/src/iso3166_1.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Country { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | alpha_2: String, [INFO] [stdout] 11 | alpha_3: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | name: String, [INFO] [stdout] 13 | numeric: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | official_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Country` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting distinst v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 58s [INFO] [stderr] Generated /opt/rustwide/target/doc/distinst/index.html [INFO] running `Command { std: "docker" "inspect" "9d2d871d429d3618a0f6c170af1a4eedf1e6e3868a83536452dceaa4f4514dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d2d871d429d3618a0f6c170af1a4eedf1e6e3868a83536452dceaa4f4514dfb", kill_on_drop: false }` [INFO] [stdout] 9d2d871d429d3618a0f6c170af1a4eedf1e6e3868a83536452dceaa4f4514dfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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" "+1.90.0" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5895d23e35e8c25c018d3901f4941f3c30e590b1b4cc6ccf6faaa03dd8265451 [INFO] running `Command { std: "docker" "start" "-a" "5895d23e35e8c25c018d3901f4941f3c30e590b1b4cc6ccf6faaa03dd8265451", 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] [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] [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)]` 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] 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] [stdout] warning: function `ntfs_consistency_check` is never used [INFO] [stdout] --> crates/disk-ops/src/resize.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn ntfs_consistency_check(path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alpha_3`, `numeric`, and `official_name` are never read [INFO] [stdout] --> crates/locales/src/iso3166_1.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Country { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | alpha_2: String, [INFO] [stdout] 11 | alpha_3: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | name: String, [INFO] [stdout] 13 | numeric: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | official_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Country` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/disks/src/config/disks.rs:1187:17 [INFO] [stdout] | [INFO] [stdout] 1187 | let mut logical = &mut self.logical[id]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> crates/disks/src/config/lvm/mod.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | Err(why) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disk.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | if PVS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disk.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | ... PVS.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disk.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | if PVS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/disks.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 614 | if PVS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting distinst v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/disks/src/config/partitions/mod.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | unsafe { PVS.as_ref().unwrap().get(device_path).and_then(|vg| vg.as_ref().cloned()) }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/disks/src/config/partitions/mod.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn get_block_info(&self) -> Option { [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] 267 | pub fn get_block_info(&self) -> Option> { [INFO] [stdout] | ++++ [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/disks/src/error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DiskError` [INFO] [stdout] 8 | pub enum DiskError { [INFO] [stdout] | --------- `DiskError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DiskError` [INFO] [stdout] 8 | pub enum DiskError { [INFO] [stdout] | --------- `DiskError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PartitionError` [INFO] [stdout] 88 | /// An error that involves partitions. [INFO] [stdout] 89 | pub enum PartitionError { [INFO] [stdout] | -------------- `PartitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PartitionError` [INFO] [stdout] 88 | /// An error that involves partitions. [INFO] [stdout] 89 | pub enum PartitionError { [INFO] [stdout] | -------------- `PartitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DecryptionError` [INFO] [stdout] 115 | pub enum DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/disks/src/error.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DecryptionError` [INFO] [stdout] 115 | pub enum DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] [stderr] Generated /opt/rustwide/target/doc/distinst/index.html [INFO] running `Command { std: "docker" "inspect" "5895d23e35e8c25c018d3901f4941f3c30e590b1b4cc6ccf6faaa03dd8265451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5895d23e35e8c25c018d3901f4941f3c30e590b1b4cc6ccf6faaa03dd8265451", kill_on_drop: false }` [INFO] [stdout] 5895d23e35e8c25c018d3901f4941f3c30e590b1b4cc6ccf6faaa03dd8265451