[INFO] cloning repository https://github.com/xinux-org/distinst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xinux-org/distinst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinux-org%2Fdistinst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinux-org%2Fdistinst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90fa97d8e8fccefd9fdbcbc7f70455e7f6649762 [INFO] documenting xinux-org/distinst against try#a394c9cd9ec93787f09a7ac445b14cc674a94549 for pr-151918-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinux-org%2Fdistinst" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xinux-org/distinst [INFO] finished tweaking git repo https://github.com/xinux-org/distinst [INFO] tweaked toml for git repo https://github.com/xinux-org/distinst written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xinux-org/distinst on toolchain a394c9cd9ec93787f09a7ac445b14cc674a94549 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a394c9cd9ec93787f09a7ac445b14cc674a94549" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xinux-org/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" "+a394c9cd9ec93787f09a7ac445b14cc674a94549" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc2/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-3-tc2/source/crates/os-detect/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a394c9cd9ec93787f09a7ac445b14cc674a94549" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2427191cf5daeea6b9b7221037511bfd58a0aa1a3f2a4ad3e59e521e93c189f [INFO] running `Command { std: "docker" "start" "-a" "f2427191cf5daeea6b9b7221037511bfd58a0aa1a3f2a4ad3e59e521e93c189f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2427191cf5daeea6b9b7221037511bfd58a0aa1a3f2a4ad3e59e521e93c189f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2427191cf5daeea6b9b7221037511bfd58a0aa1a3f2a4ad3e59e521e93c189f", kill_on_drop: false }` [INFO] [stdout] f2427191cf5daeea6b9b7221037511bfd58a0aa1a3f2a4ad3e59e521e93c189f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a394c9cd9ec93787f09a7ac445b14cc674a94549" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0de4b3c7307c94b576e7cae726cbd059998234b81881920438e067c44299750 [INFO] running `Command { std: "docker" "start" "-a" "c0de4b3c7307c94b576e7cae726cbd059998234b81881920438e067c44299750", 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 proc-macro2 v1.0.80 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking os-release v0.1.0 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking errno v0.3.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking sysfs-class v0.1.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling gettext-sys v0.19.9 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking snailquote v0.2.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking distinst-bootloader v0.1.0 (/opt/rustwide/workdir/crates/bootloader) [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking envfile v0.2.1 [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking raw-cpuid v9.1.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [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] Checking addr2line v0.21.0 [INFO] [stderr] Checking proc-modules v0.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking cascade v1.0.1 [INFO] [stderr] Checking cascade v0.1.4 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking distinst-squashfs v0.1.0 (/opt/rustwide/workdir/crates/squashfs) [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking hostname-validator v1.1.1 [INFO] [stderr] Checking sedregex v0.2.5 [INFO] [stderr] Checking locale_config v0.2.3 [INFO] [stderr] Checking distinst-timezones v0.1.0 (/opt/rustwide/workdir/crates/timezones) [INFO] [stderr] Checking fomat-macros v0.3.2 [INFO] [stderr] Checking distinst-utils v0.1.0 (/opt/rustwide/workdir/crates/utils) [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 synstructure v0.12.6 [INFO] [stderr] Checking logind-dbus v0.1.1 [INFO] [stderr] Checking apt-cli-wrappers v0.1.0 (https://github.com/pop-os/apt-cli-wrappers#8eb24ae0) [INFO] [stderr] Checking distinst-hardware-support v0.1.0 (/opt/rustwide/workdir/crates/hardware) [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking partition-identity v0.2.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking proc-mounts v0.2.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde-xml-rs v0.4.1 [INFO] [stderr] Checking systemd-boot-conf v0.2.2 [INFO] [stderr] Compiling loopdev-3 v0.5.1 [INFO] [stderr] Compiling libparted-sys v0.3.2 [INFO] [stderr] Checking sys-mount v3.0.1 [INFO] [stderr] Checking os-detect v0.2.2 (/opt/rustwide/workdir/crates/os-detect) [INFO] [stderr] Checking distinst-chroot v0.1.0 (/opt/rustwide/workdir/crates/chroot) [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:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 80 | ) -> 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] 80 | ) -> 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 libparted v0.1.5 [INFO] [stderr] Checking disk-types v0.1.5 (/opt/rustwide/workdir/crates/disk-types) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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 1m 41s [INFO] [stderr] Generated /opt/rustwide/target/doc/distinst/index.html [INFO] running `Command { std: "docker" "inspect" "c0de4b3c7307c94b576e7cae726cbd059998234b81881920438e067c44299750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0de4b3c7307c94b576e7cae726cbd059998234b81881920438e067c44299750", kill_on_drop: false }` [INFO] [stdout] c0de4b3c7307c94b576e7cae726cbd059998234b81881920438e067c44299750 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a394c9cd9ec93787f09a7ac445b14cc674a94549" "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] 3cf33490fdf76f0cd78a05066c9b60223a43e888e8aa60528ac8739bf2d36821 [INFO] running `Command { std: "docker" "start" "-a" "3cf33490fdf76f0cd78a05066c9b60223a43e888e8aa60528ac8739bf2d36821", 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: 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: 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (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:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 80 | ) -> 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] 80 | ) -> 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] Documenting distinst v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] [stderr] Generated /opt/rustwide/target/doc/distinst/index.html [INFO] running `Command { std: "docker" "inspect" "3cf33490fdf76f0cd78a05066c9b60223a43e888e8aa60528ac8739bf2d36821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cf33490fdf76f0cd78a05066c9b60223a43e888e8aa60528ac8739bf2d36821", kill_on_drop: false }` [INFO] [stdout] 3cf33490fdf76f0cd78a05066c9b60223a43e888e8aa60528ac8739bf2d36821