[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] 4335902168bae33ec999435816e69888eee39421 [INFO] checking xinux-org/distinst/4335902168bae33ec999435816e69888eee39421 against master#9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinux-org%2Fdistinst" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xinux-org/distinst on toolchain 9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [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-4-tc1/source/Cargo.toml [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" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/crates/fstab-generate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/crates/os-detect/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/pop-os/apt-cli-wrappers` [INFO] [stderr] Updating git repository `https://github.com/pop-os/exit-status-ext` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded partition-identity v0.2.8 [INFO] [stderr] Downloaded os-release v0.1.0 [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded loopdev-3 v0.5.1 [INFO] [stderr] Downloaded sys-mount v3.0.1 [INFO] [stderr] Downloaded libparted v0.1.5 [INFO] [stderr] Downloaded proc-modules v0.1.0 [INFO] [stderr] Downloaded locale_config v0.2.3 [INFO] [stderr] Downloaded raw-cpuid v9.1.1 [INFO] [stderr] Downloaded procfs v0.5.4 [INFO] [stderr] Downloaded cascade v1.0.1 [INFO] [stderr] Downloaded prettyplease v0.2.19 [INFO] [stderr] Downloaded serde-xml-rs v0.4.1 [INFO] [stderr] Downloaded fomat-macros v0.3.2 [INFO] [stderr] Downloaded cbindgen v0.14.3 [INFO] [stderr] Downloaded hostname-validator v1.1.1 [INFO] [stderr] Downloaded systemd-boot-conf v0.2.2 [INFO] [stderr] Downloaded envfile v0.2.1 [INFO] [stderr] Downloaded logind-dbus v0.1.1 [INFO] [stderr] Downloaded libparted-sys v0.3.2 [INFO] [stderr] Downloaded gettext-rs v0.4.4 [INFO] [stderr] Downloaded snailquote v0.2.0 [INFO] [stderr] Downloaded cascade v0.1.4 [INFO] [stderr] Downloaded sysfs-class v0.1.3 [INFO] [stderr] Downloaded sedregex v0.2.5 [INFO] [stderr] Downloaded proc-mounts v0.2.4 [INFO] [stderr] Downloaded gettext-sys v0.19.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f01d9eaa58edce01f45c39a7ce1b887bd844f6770b5c9dafa1ced93c26d684e [INFO] running `Command { std: "docker" "start" "-a" "2f01d9eaa58edce01f45c39a7ce1b887bd844f6770b5c9dafa1ced93c26d684e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f01d9eaa58edce01f45c39a7ce1b887bd844f6770b5c9dafa1ced93c26d684e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f01d9eaa58edce01f45c39a7ce1b887bd844f6770b5c9dafa1ced93c26d684e", kill_on_drop: false }` [INFO] [stdout] 2f01d9eaa58edce01f45c39a7ce1b887bd844f6770b5c9dafa1ced93c26d684e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5593b07d4640e43fa86d55a3ca5839a9810cf2d4e76d9a480c173271ab7d5a76 [INFO] running `Command { std: "docker" "start" "-a" "5593b07d4640e43fa86d55a3ca5839a9810cf2d4e76d9a480c173271ab7d5a76", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/fstab-generate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/os-detect/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking errno v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking os-release v0.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking sysfs-class v0.1.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [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] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking proc-mounts v0.2.4 [INFO] [stderr] Checking sedregex v0.2.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking distinst-utils v0.1.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling gettext-sys v0.19.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking distinst-bootloader v0.1.0 (/opt/rustwide/workdir/crates/bootloader) [INFO] [stderr] Checking snailquote v0.2.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking locale_config v0.2.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking raw-cpuid v9.1.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking proc-modules v0.1.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling loopdev-3 v0.5.1 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Compiling libparted-sys v0.3.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking envfile v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking cascade v1.0.1 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking distinst-hardware-support v0.1.0 (/opt/rustwide/workdir/crates/hardware) [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking cascade v0.1.4 [INFO] [stderr] Checking exit-status-ext v0.1.0 (https://github.com/pop-os/exit-status-ext#46700735) [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking procfs v0.5.4 [INFO] [stderr] Checking sys-mount v3.0.1 [INFO] [stderr] Checking systemd-boot-conf v0.2.2 [INFO] [stderr] Checking distinst-squashfs v0.1.0 (/opt/rustwide/workdir/crates/squashfs) [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking serde-xml-rs v0.4.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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hostname-validator v1.1.1 [INFO] [stderr] Checking distinst-timezones v0.1.0 (/opt/rustwide/workdir/crates/timezones) [INFO] [stderr] Checking fomat-macros v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking libparted v0.1.5 [INFO] [stderr] Checking apt-cli-wrappers v0.1.0 (https://github.com/pop-os/apt-cli-wrappers#8eb24ae0) [INFO] [stderr] Checking pbr v1.1.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Checking disk-types v0.1.5 (/opt/rustwide/workdir/crates/disk-types) [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking logind-dbus v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [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] Compiling itoa v1.0.11 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cbindgen v0.14.3 [INFO] [stderr] Checking distinst-disk-ops v0.1.0 (/opt/rustwide/workdir/crates/disk-ops) [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking dbus v0.8.4 [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] [stderr] Compiling clap v2.34.0 [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: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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: 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] [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: 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: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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: 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] [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: 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] Compiling toml v0.5.11 [INFO] [stderr] Compiling distinst_ffi v0.4.0 (/opt/rustwide/workdir/ffi) [INFO] [stderr] error: failed to run custom build command for `distinst_ffi v0.4.0 (/opt/rustwide/workdir/ffi)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/distinst_ffi-095e4c9207831952/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at ffi/build.rs:16:10: [INFO] [stderr] failed to create pc.stub: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x6513c1cd86f2 - std::backtrace_rs::backtrace::libunwind::trace::hf70d580b2a99a37e [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x6513c1cd86f2 - std::backtrace_rs::backtrace::trace_unsynchronized::h0c80a9eedf6a15d7 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x6513c1cd86f2 - std::sys::backtrace::_print_fmt::h33b0aa1b9a97f89a [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x6513c1cd86f2 - ::fmt::hbe808539a0c6c552 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x6513c1d01ec3 - core::fmt::rt::Argument::fmt::h0301c237682b810d [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/core/src/fmt/rt.rs:185:76 [INFO] [stderr] 5: 0x6513c1d01ec3 - core::fmt::write::h3deb3f56e30a4deb [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/core/src/fmt/mod.rs:1449:21 [INFO] [stderr] 6: 0x6513c1cd55e3 - std::io::Write::write_fmt::h3949afd22851bec7 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/io/mod.rs:1890:15 [INFO] [stderr] 7: 0x6513c1cd8542 - std::sys::backtrace::BacktraceLock::print::he838ebcb0fe7a064 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x6513c1cd96a2 - std::panicking::default_hook::{{closure}}::h0b4c3c37e24e0e9b [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:298:22 [INFO] [stderr] 9: 0x6513c1cd94a5 - std::panicking::default_hook::hcd368544e41b43b1 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:325:9 [INFO] [stderr] 10: 0x6513c1cda0c2 - std::panicking::rust_panic_with_hook::h281cce7564af68d0 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:831:13 [INFO] [stderr] 11: 0x6513c1cd9e4a - std::panicking::begin_panic_handler::{{closure}}::hdc6ee5711e4dedad [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:704:13 [INFO] [stderr] 12: 0x6513c1cd8bf9 - std::sys::backtrace::__rust_end_short_backtrace::hfec789a6be8cd69b [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 13: 0x6513c1cd9add - rust_begin_unwind [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:695:5 [INFO] [stderr] 14: 0x6513c1d00670 - core::panicking::panic_fmt::hf1866ee3f40ce8b5 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/core/src/panicking.rs:75:14 [INFO] [stderr] 15: 0x6513c1d00b16 - core::result::unwrap_failed::h1dc54602fdc66cda [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/core/src/result.rs:1704:5 [INFO] [stderr] 16: 0x6513c19a23d2 - core::result::Result::expect::h4491602d92719064 [INFO] [stderr] 17: 0x6513c19b6a6f - build_script_build::main::hca4e7108ee183a64 [INFO] [stderr] 18: 0x6513c19bbd43 - core::ops::function::FnOnce::call_once::h25fab5d9ef99021e [INFO] [stderr] 19: 0x6513c19bf346 - std::sys::backtrace::__rust_begin_short_backtrace::hf98eff5ed8107e98 [INFO] [stderr] 20: 0x6513c19bbcd9 - std::rt::lang_start::{{closure}}::h094db775ab0f7b35 [INFO] [stderr] 21: 0x6513c1cd18b0 - core::ops::function::impls:: for &F>::call_once::hcb79aadd3c28928d [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 22: 0x6513c1cd18b0 - std::panicking::try::do_call::h74bff789238e3cf8 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:587:40 [INFO] [stderr] 23: 0x6513c1cd18b0 - std::panicking::try::h40d4a4d1ca32d919 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:550:19 [INFO] [stderr] 24: 0x6513c1cd18b0 - std::panic::catch_unwind::hf5b7349abc9c1baa [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panic.rs:359:14 [INFO] [stderr] 25: 0x6513c1cd18b0 - std::rt::lang_start_internal::{{closure}}::hfab4ceb91928a58e [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/rt.rs:168:24 [INFO] [stderr] 26: 0x6513c1cd18b0 - std::panicking::try::do_call::he6eab3ed564e2c6c [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:587:40 [INFO] [stderr] 27: 0x6513c1cd18b0 - std::panicking::try::h95fdecabed621cb7 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panicking.rs:550:19 [INFO] [stderr] 28: 0x6513c1cd18b0 - std::panic::catch_unwind::hecfb57f8270302ca [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/panic.rs:359:14 [INFO] [stderr] 29: 0x6513c1cd18b0 - std::rt::lang_start_internal::ha41f24cb7fbd7685 [INFO] [stderr] at /rustc/9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a/library/std/src/rt.rs:164:5 [INFO] [stderr] 30: 0x6513c19bbcc1 - std::rt::lang_start::h55a9a1bf150acb1b [INFO] [stderr] 31: 0x6513c19b6d35 - main [INFO] [stderr] 32: 0x7b3c2f7d9d90 - [INFO] [stderr] 33: 0x7b3c2f7d9e40 - __libc_start_main [INFO] [stderr] 34: 0x6513c18da215 - _start [INFO] [stderr] 35: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "5593b07d4640e43fa86d55a3ca5839a9810cf2d4e76d9a480c173271ab7d5a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5593b07d4640e43fa86d55a3ca5839a9810cf2d4e76d9a480c173271ab7d5a76", kill_on_drop: false }` [INFO] [stdout] 5593b07d4640e43fa86d55a3ca5839a9810cf2d4e76d9a480c173271ab7d5a76