[INFO] cloning repository https://github.com/arhsis/firecracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arhsis/firecracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhsis%2Ffirecracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhsis%2Ffirecracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b5b7eda8f3f8418ab5f0da24d5f367d234f3d20 [INFO] testing arhsis/firecracker/9b5b7eda8f3f8418ab5f0da24d5f367d234f3d20 against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhsis%2Ffirecracker" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/arhsis/firecracker [INFO] finished tweaking git repo https://github.com/arhsis/firecracker [INFO] tweaked toml for git repo https://github.com/arhsis/firecracker written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arhsis/firecracker on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arhsis/firecracker 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused field in patch for `kvm-bindings`: `features` [INFO] [stderr] note: configure `features` in the `dependencies` entry [INFO] [stderr] Updating git repository `https://github.com/firecracker-microvm/kvm-bindings` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/firecracker-microvm/micro-http` [INFO] [stderr] Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vm-superio v0.7.0 [INFO] [stderr] Downloaded serde-big-array v0.5.1 [INFO] [stderr] Downloaded vmm-sys-util v0.12.1 [INFO] [stderr] Downloaded device_tree v1.1.0 [INFO] [stderr] Downloaded timerfd v1.5.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded userfaultfd v0.8.1 [INFO] [stderr] Downloaded toml v0.8.11 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded clap v4.5.3 [INFO] [stderr] Downloaded toml_edit v0.22.7 [INFO] [stderr] Downloaded event-manager v0.4.0 [INFO] [stderr] Downloaded kvm-ioctls v0.16.0 [INFO] [stderr] Downloaded vm-memory v0.14.1 [INFO] [stderr] Downloaded linux-loader v0.10.0 [INFO] [stderr] Downloaded winnow v0.6.5 [INFO] [stderr] Downloaded aws-lc-rs v1.6.2 [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] [stderr] Downloaded bindgen v0.68.1 [INFO] [stderr] Downloaded vhost v0.10.0 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded vm-fdt v0.2.0 [INFO] [stderr] Downloaded crc64 v2.0.0 [INFO] [stderr] Downloaded clap_derive v4.5.3 [INFO] [stderr] Downloaded userfaultfd-sys v0.5.0 [INFO] [stderr] Downloaded userfaultfd v0.7.0 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded vm-allocator v0.1.1 [INFO] [stderr] Downloaded vm-memory v0.13.1 [INFO] [stderr] Downloaded clap-num v1.1.1 [INFO] [stderr] Downloaded strsim v0.11.0 [INFO] [stderr] Downloaded aws-lc-fips-sys v0.12.5 [INFO] [stderr] Downloaded aws-lc-sys v0.13.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1b9e9fd6e14724e258f06e7635cad90ccc6aeb66672f3ee81fa5c0a85b8073a [INFO] running `Command { std: "docker" "start" "-a" "e1b9e9fd6e14724e258f06e7635cad90ccc6aeb66672f3ee81fa5c0a85b8073a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1b9e9fd6e14724e258f06e7635cad90ccc6aeb66672f3ee81fa5c0a85b8073a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b9e9fd6e14724e258f06e7635cad90ccc6aeb66672f3ee81fa5c0a85b8073a", kill_on_drop: false }` [INFO] [stdout] e1b9e9fd6e14724e258f06e7635cad90ccc6aeb66672f3ee81fa5c0a85b8073a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b4816bc339c028e536a2e8b3cf90d4fe2affc0b0af6a9895a2480fa7490aff1 [INFO] running `Command { std: "docker" "start" "-a" "0b4816bc339c028e536a2e8b3cf90d4fe2affc0b0af6a9895a2480fa7490aff1", kill_on_drop: false }` [INFO] [stderr] warning: unused field in patch for `kvm-bindings`: `features` [INFO] [stderr] note: configure `features` in the `dependencies` entry [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling micro_http v0.1.0 (https://github.com/firecracker-microvm/micro-http#ef43cef7) [INFO] [stderr] Compiling aws-lc-rs v1.6.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling kvm-ioctls v0.16.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling vmm-sys-util v0.12.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling vm-superio v0.7.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling crc64 v2.0.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling timerfd v1.5.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling vm-memory v0.13.1 [INFO] [stderr] Compiling vm-memory v0.14.1 [INFO] [stderr] Compiling vm-allocator v0.1.1 [INFO] [stderr] Compiling clap v4.5.3 [INFO] [stderr] Compiling linux-loader v0.10.0 [INFO] [stderr] Compiling clippy-tracing v0.1.0 (/opt/rustwide/workdir/src/clippy-tracing) [INFO] [stderr] Compiling aws-lc-sys v0.13.3 [INFO] [stderr] Compiling userfaultfd-sys v0.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-big-array v0.5.1 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/src/utils) [INFO] [stderr] Compiling kvm-bindings v0.7.0 (https://github.com/firecracker-microvm/kvm-bindings?tag=v0.7.0-2#60cc04e2) [INFO] [stderr] Compiling vhost v0.10.0 [INFO] [stderr] Compiling event-manager v0.4.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/utils/src/arg_parser.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq, Eq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 16 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/src/arg_parser.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn arguments(&self) -> &Arguments { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn arguments(&self) -> &Arguments<'_> { [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] --> src/utils/src/kernel_version.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/utils/src/validators.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq, Eq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rebase-snap v1.7.0 (/opt/rustwide/workdir/src/rebase-snap) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rebase-snap/src/main.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_FileError` [INFO] [stdout] 20 | enum FileError { [INFO] [stdout] | --------- `FileError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/rebase-snap/src/main.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_RebaseSnapError` [INFO] [stdout] 38 | enum RebaseSnapError { [INFO] [stdout] | --------------- `RebaseSnapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling seccompiler v1.7.0 (/opt/rustwide/workdir/src/seccompiler) [INFO] [stderr] Compiling userfaultfd v0.7.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/seccompiler/src/lib.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_DeserializationError` [INFO] [stdout] 41 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/lib.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Eq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_InstallationError` [INFO] [stdout] 48 | pub enum InstallationError { [INFO] [stdout] | ----------------- `InstallationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/backend.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_FilterError` [INFO] [stdout] 99 | pub enum FilterError { [INFO] [stdout] | ----------- `FilterError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/backend.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_TargetArchError` [INFO] [stdout] 124 | pub enum TargetArchError { [INFO] [stdout] | --------------- `TargetArchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/compiler.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CompilationError` [INFO] [stdout] 36 | pub enum CompilationError { [INFO] [stdout] | ---------------- `CompilationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/utils/src/arg_parser.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq, Eq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 16 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/src/arg_parser.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn arguments(&self) -> &Arguments { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn arguments(&self) -> &Arguments<'_> { [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] --> src/utils/src/kernel_version.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/utils/src/validators.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq, Eq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/seccompiler_bin.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_SeccompilerError` [INFO] [stdout] 163 | enum SeccompilerError { [INFO] [stdout] | ---------------- `SeccompilerError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/backend.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_FilterError` [INFO] [stdout] 99 | pub enum FilterError { [INFO] [stdout] | ----------- `FilterError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/backend.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_TargetArchError` [INFO] [stdout] 124 | pub enum TargetArchError { [INFO] [stdout] | --------------- `TargetArchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/compiler.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CompilationError` [INFO] [stdout] 36 | pub enum CompilationError { [INFO] [stdout] | ---------------- `CompilationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/lib.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_DeserializationError` [INFO] [stdout] 41 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/lib.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Eq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_InstallationError` [INFO] [stdout] 48 | pub enum InstallationError { [INFO] [stdout] | ----------------- `InstallationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/backend.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_FilterError` [INFO] [stdout] 99 | pub enum FilterError { [INFO] [stdout] | ----------- `FilterError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/backend.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_TargetArchError` [INFO] [stdout] 124 | pub enum TargetArchError { [INFO] [stdout] | --------------- `TargetArchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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] --> src/seccompiler/src/compiler.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, PartialEq, thiserror::Error, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_CompilationError` [INFO] [stdout] 36 | pub enum CompilationError { [INFO] [stdout] | ---------------- `CompilationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling firecracker v1.7.0 (/opt/rustwide/workdir/src/firecracker) [INFO] [stderr] warning: firecracker@1.7.0: No default seccomp policy for target: x86_64-unknown-linux-gnu. Defaulting to `resources/seccomp/unimplemented.json`. [INFO] [stderr] Compiling vmm v0.1.0 (/opt/rustwide/workdir/src/vmm) [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/rate_limiter/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(kani, kani::requires(x > 0 && y > 0))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/rate_limiter/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg_attr(kani, kani::ensures( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/rate_limiter/mod.rs:531:7 [INFO] [stdout] | [INFO] [stdout] 531 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/devices/virtio/iovec.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/devices/virtio/iovec.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(not(kani))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/devices/virtio/iovec.rs:604:7 [INFO] [stdout] | [INFO] [stdout] 604 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/devices/virtio/queue.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/vmm/src/dumbo/pdu/ethernet.rs:240:7 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PartialBuffer` found for enum `vm_memory::Error` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:308:97 [INFO] [stdout] | [INFO] [stdout] 308 | let region = self.iter().next().ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))?; [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `vm_memory::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for enum `Result` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 309 | let base_addr = self [INFO] [stdout] | _________________________- [INFO] [stdout] 310 | | .get_host_address(region.start_addr()) [INFO] [stdout] 311 | | .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] | |_____________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_else` with a similar name [INFO] [stdout] | [INFO] [stdout] 311 - .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] 311 + .or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PartialBuffer` found for enum `vm_memory::Error` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:311:70 [INFO] [stdout] | [INFO] [stdout] 311 | .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `vm_memory::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PartialBuffer` found for enum `vm_memory::Error` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:346:97 [INFO] [stdout] | [INFO] [stdout] 346 | let region = self.iter().next().ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))?; [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `vm_memory::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for enum `Result` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 347 | let base_addr = self [INFO] [stdout] | _________________________- [INFO] [stdout] 348 | | .get_host_address(region.start_addr()) [INFO] [stdout] 349 | | .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] | |_____________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_else` with a similar name [INFO] [stdout] | [INFO] [stdout] 349 - .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] 349 + .or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PartialBuffer` found for enum `vm_memory::Error` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:349:70 [INFO] [stdout] | [INFO] [stdout] 349 | .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `vm_memory::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PartialBuffer` found for enum `vm_memory::Error` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:382:97 [INFO] [stdout] | [INFO] [stdout] 382 | let region = self.iter().next().ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))?; [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `vm_memory::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for enum `Result` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:385:14 [INFO] [stdout] | [INFO] [stdout] 383 | let base_ptr = self [INFO] [stdout] | ________________________- [INFO] [stdout] 384 | | .get_host_address(region.start_addr()) [INFO] [stdout] 385 | | .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *const u8; [INFO] [stdout] | |_____________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_else` with a similar name [INFO] [stdout] | [INFO] [stdout] 385 - .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *const u8; [INFO] [stdout] 385 + .or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *const u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PartialBuffer` found for enum `vm_memory::Error` in the current scope [INFO] [stdout] --> src/vmm/src/vstate/memory.rs:385:70 [INFO] [stdout] | [INFO] [stdout] 385 | .ok_or_else(|| MemoryError::VmMemoryError(VmMemoryError::PartialBuffer))? as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `vm_memory::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vmm` (lib) due to 9 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b4816bc339c028e536a2e8b3cf90d4fe2affc0b0af6a9895a2480fa7490aff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b4816bc339c028e536a2e8b3cf90d4fe2affc0b0af6a9895a2480fa7490aff1", kill_on_drop: false }` [INFO] [stdout] 0b4816bc339c028e536a2e8b3cf90d4fe2affc0b0af6a9895a2480fa7490aff1