[INFO] cloning repository https://github.com/mdlayher/nbd-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdlayher/nbd-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdlayher%2Fnbd-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdlayher%2Fnbd-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f16928160359c5a80074868b50de4f082849dff7
[INFO] testing mdlayher/nbd-rs against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdlayher%2Fnbd-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mdlayher/nbd-rs
[INFO] finished tweaking git repo https://github.com/mdlayher/nbd-rs
[INFO] tweaked toml for git repo https://github.com/mdlayher/nbd-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mdlayher/nbd-rs on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mdlayher/nbd-rs 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded stderrlog v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3a58dd4248bf00ff90ddd7e20cdd7a87d1422d12cb044a77800aeb50c165a8cb
[INFO] running `Command { std: "docker" "start" "-a" "3a58dd4248bf00ff90ddd7e20cdd7a87d1422d12cb044a77800aeb50c165a8cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a58dd4248bf00ff90ddd7e20cdd7a87d1422d12cb044a77800aeb50c165a8cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a58dd4248bf00ff90ddd7e20cdd7a87d1422d12cb044a77800aeb50c165a8cb", kill_on_drop: false }`
[INFO] [stdout] 3a58dd4248bf00ff90ddd7e20cdd7a87d1422d12cb044a77800aeb50c165a8cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1cb2d19e9deadbde79de5113c837e72a38a26886889e57977bc862bfa92792ad
[INFO] running `Command { std: "docker" "start" "-a" "1cb2d19e9deadbde79de5113c837e72a38a26886889e57977bc862bfa92792ad", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] Compiling libc v0.2.112
[INFO] [stderr] Compiling proc-macro2 v1.0.36
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling syn v1.0.84
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling parking_lot_core v0.8.5
[INFO] [stderr] Compiling memoffset v0.6.5
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling smallvec v1.7.0
[INFO] [stderr] Compiling memchr v2.4.1
[INFO] [stderr] Compiling pin-project-lite v0.2.7
[INFO] [stderr] Compiling once_cell v1.9.0
[INFO] [stderr] Compiling instant v0.1.12
[INFO] [stderr] Compiling lock_api v0.4.5
[INFO] [stderr] Compiling bytes v1.1.0
[INFO] [stderr] Compiling thread_local v1.0.1
[INFO] [stderr] Compiling termcolor v1.1.2
[INFO] [stderr] Compiling quote v1.0.14
[INFO] [stderr] Compiling signal-hook-registry v1.4.0
[INFO] [stderr] Compiling mio v0.7.14
[INFO] [stderr] Compiling num_cpus v1.13.1
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling nix v0.23.1
[INFO] [stderr] Compiling parking_lot v0.11.2
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling stderrlog v0.5.1
[INFO] [stderr] Compiling tokio-macros v1.7.0
[INFO] [stderr] Compiling num-derive v0.3.3
[INFO] [stderr] Compiling tokio v1.15.0
[INFO] [stderr] Compiling mdl-nbd v0.1.0 (/opt/rustwide/workdir/mdl-nbd)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> mdl-nbd/src/handshake/frame.rs:262:30
[INFO] [stdout] |
[INFO] [stdout] 262 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OptionCode`
[INFO] [stdout] 263 | pub(crate) enum OptionCode {
[INFO] [stdout] | ---------- `OptionCode` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/handshake/frame.rs:444:30
[INFO] [stdout] |
[INFO] [stdout] 444 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_InfoType`
[INFO] [stdout] 445 | pub(crate) enum InfoType {
[INFO] [stdout] | -------- `InfoType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> mdl-nbd/src/transmit/device.rs:26:29
[INFO] [stdout] |
[INFO] [stdout] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option {
[INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> mdl-nbd/src/transmit/frame.rs:21:17
[INFO] [stdout] |
[INFO] [stdout] 21 | #[derive(Debug, FromPrimitive)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Errno`
[INFO] [stdout] 22 | pub(crate) enum Errno {
[INFO] [stdout] | ----- `Errno` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/transmit/frame.rs:99:30
[INFO] [stdout] |
[INFO] [stdout] 99 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MagicType`
[INFO] [stdout] 100 | pub(crate) enum MagicType {
[INFO] [stdout] | --------- `MagicType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/transmit/frame.rs:107:30
[INFO] [stdout] |
[INFO] [stdout] 107 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoType`
[INFO] [stdout] 108 | pub(crate) enum IoType {
[INFO] [stdout] | ------ `IoType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling mdl-nbd-demo v0.1.0 (/opt/rustwide/workdir/mdl-nbd-demo)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "1cb2d19e9deadbde79de5113c837e72a38a26886889e57977bc862bfa92792ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cb2d19e9deadbde79de5113c837e72a38a26886889e57977bc862bfa92792ad", kill_on_drop: false }`
[INFO] [stdout] 1cb2d19e9deadbde79de5113c837e72a38a26886889e57977bc862bfa92792ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ba6e253d728b94d047ddb11c8a08a2350086dbf543e239dfb73636b992edb85
[INFO] running `Command { std: "docker" "start" "-a" "7ba6e253d728b94d047ddb11c8a08a2350086dbf543e239dfb73636b992edb85", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> mdl-nbd/src/handshake/frame.rs:262:30
[INFO] [stdout] |
[INFO] [stdout] 262 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OptionCode`
[INFO] [stdout] 263 | pub(crate) enum OptionCode {
[INFO] [stdout] | ---------- `OptionCode` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/handshake/frame.rs:444:30
[INFO] [stdout] |
[INFO] [stdout] 444 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_InfoType`
[INFO] [stdout] 445 | pub(crate) enum InfoType {
[INFO] [stdout] | -------- `InfoType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> mdl-nbd/src/transmit/device.rs:26:29
[INFO] [stdout] |
[INFO] [stdout] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option {
[INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> mdl-nbd/src/transmit/frame.rs:21:17
[INFO] [stdout] |
[INFO] [stdout] 21 | #[derive(Debug, FromPrimitive)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Errno`
[INFO] [stdout] 22 | pub(crate) enum Errno {
[INFO] [stdout] | ----- `Errno` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/transmit/frame.rs:99:30
[INFO] [stdout] |
[INFO] [stdout] 99 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MagicType`
[INFO] [stdout] 100 | pub(crate) enum MagicType {
[INFO] [stdout] | --------- `MagicType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/transmit/frame.rs:107:30
[INFO] [stdout] |
[INFO] [stdout] 107 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoType`
[INFO] [stdout] 108 | pub(crate) enum IoType {
[INFO] [stdout] | ------ `IoType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling mdl-nbd v0.1.0 (/opt/rustwide/workdir/mdl-nbd)
[INFO] [stderr] Compiling mdl-nbd-demo v0.1.0 (/opt/rustwide/workdir/mdl-nbd-demo)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> mdl-nbd/src/handshake/frame.rs:262:30
[INFO] [stdout] |
[INFO] [stdout] 262 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OptionCode`
[INFO] [stdout] 263 | pub(crate) enum OptionCode {
[INFO] [stdout] | ---------- `OptionCode` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/handshake/frame.rs:444:30
[INFO] [stdout] |
[INFO] [stdout] 444 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_InfoType`
[INFO] [stdout] 445 | pub(crate) enum InfoType {
[INFO] [stdout] | -------- `InfoType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> mdl-nbd/src/transmit/device.rs:26:29
[INFO] [stdout] |
[INFO] [stdout] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option {
[INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> mdl-nbd/src/transmit/frame.rs:21:17
[INFO] [stdout] |
[INFO] [stdout] 21 | #[derive(Debug, FromPrimitive)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Errno`
[INFO] [stdout] 22 | pub(crate) enum Errno {
[INFO] [stdout] | ----- `Errno` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/transmit/frame.rs:99:30
[INFO] [stdout] |
[INFO] [stdout] 99 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MagicType`
[INFO] [stdout] 100 | pub(crate) enum MagicType {
[INFO] [stdout] | --------- `MagicType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> mdl-nbd/src/transmit/frame.rs:107:30
[INFO] [stdout] |
[INFO] [stdout] 107 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoType`
[INFO] [stdout] 108 | pub(crate) enum IoType {
[INFO] [stdout] | ------ `IoType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.82s
[INFO] running `Command { std: "docker" "inspect" "7ba6e253d728b94d047ddb11c8a08a2350086dbf543e239dfb73636b992edb85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ba6e253d728b94d047ddb11c8a08a2350086dbf543e239dfb73636b992edb85", kill_on_drop: false }`
[INFO] [stdout] 7ba6e253d728b94d047ddb11c8a08a2350086dbf543e239dfb73636b992edb85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a22b37988a620a584d32996b9830e6e75c206bbd2e05996985f34a8583ab92d6
[INFO] running `Command { std: "docker" "start" "-a" "a22b37988a620a584d32996b9830e6e75c206bbd2e05996985f34a8583ab92d6", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> mdl-nbd/src/handshake/frame.rs:262:30
[INFO] [stderr] |
[INFO] [stderr] 262 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr] | ^------------
[INFO] [stderr] | |
[INFO] [stderr] | `FromPrimitive` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OptionCode`
[INFO] [stderr] 263 | pub(crate) enum OptionCode {
[INFO] [stderr] | ---------- `OptionCode` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> mdl-nbd/src/handshake/frame.rs:444:30
[INFO] [stderr] |
[INFO] [stderr] 444 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr] | ^------------
[INFO] [stderr] | |
[INFO] [stderr] | `FromPrimitive` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_InfoType`
[INFO] [stderr] 445 | pub(crate) enum InfoType {
[INFO] [stderr] | -------- `InfoType` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> mdl-nbd/src/transmit/device.rs:26:29
[INFO] [stderr] |
[INFO] [stderr] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option {
[INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 26 | pub(crate) fn handle_io(&mut self, req: Frame, buf: &mut [u8]) -> Option> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> mdl-nbd/src/transmit/frame.rs:21:17
[INFO] [stderr] |
[INFO] [stderr] 21 | #[derive(Debug, FromPrimitive)]
[INFO] [stderr] | ^------------
[INFO] [stderr] | |
[INFO] [stderr] | `FromPrimitive` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Errno`
[INFO] [stderr] 22 | pub(crate) enum Errno {
[INFO] [stderr] | ----- `Errno` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> mdl-nbd/src/transmit/frame.rs:99:30
[INFO] [stderr] |
[INFO] [stderr] 99 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr] | ^------------
[INFO] [stderr] | |
[INFO] [stderr] | `FromPrimitive` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MagicType`
[INFO] [stderr] 100 | pub(crate) enum MagicType {
[INFO] [stderr] | --------- `MagicType` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> mdl-nbd/src/transmit/frame.rs:107:30
[INFO] [stderr] |
[INFO] [stderr] 107 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr] | ^------------
[INFO] [stderr] | |
[INFO] [stderr] | `FromPrimitive` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoType`
[INFO] [stderr] 108 | pub(crate) enum IoType {
[INFO] [stderr] | ------ `IoType` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: `mdl-nbd` (lib) generated 6 warnings
[INFO] [stderr] warning: `mdl-nbd` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mdl_nbd-7db4280a11822150)
[INFO] [stdout]
[INFO] [stdout] running 24 tests
[INFO] [stdout] test handshake::frame::invalid_tests::client_options_go_utf8 ... ok
[INFO] [stdout] test handshake::frame::invalid_tests::client_options_magic ... ok
[INFO] [stdout] test handshake::frame::invalid_tests::client_options_short ... ok
[INFO] [stdout] test handshake::frame::valid_tests::client_options_abort_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::client_options_info_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_handshake_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_abort_full ... ok
[INFO] [stdout] test handshake::frame::valid_tests::client_options_list_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_abort_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_abort_short ... ok
[INFO] [stdout] test handshake::frame::invalid_tests::client_options_go_info_request ... ok
[INFO] [stdout] test handshake::frame::valid_tests::client_options_go_full ... ok
[INFO] [stdout] test handshake::frame::valid_tests::client_options_go_minimal ... ok
[INFO] [stdout] test handshake::frame::valid_tests::client_options_info_minimal ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_info_minimal ... ok
[INFO] [stdout] test handshake::frame::valid_tests::client_options_go_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_list_full ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_none ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_unsupported_options_none ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_handshake_full ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_unsupported_options_roundtrip ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_unknown ... ok
[INFO] [stdout] test handshake::frame::valid_tests::server_options_go_full ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout]
[INFO] [stderr] Running tests/connection.rs (/opt/rustwide/target/debug/deps/connection-548f1051de34c9fe)
[INFO] [stdout]
[INFO] [stdout] running 2 tests
[INFO] [stdout] test info ... ok
[INFO] [stderr] Running unittests src/client.rs (/opt/rustwide/target/debug/deps/mdl_nbd_client-210738c983533e3f)
[INFO] [stdout] test go ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Running unittests src/server.rs (/opt/rustwide/target/debug/deps/mdl_nbd_server-fd83262d60e6ba4f)
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Doc-tests mdl_nbd
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "a22b37988a620a584d32996b9830e6e75c206bbd2e05996985f34a8583ab92d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a22b37988a620a584d32996b9830e6e75c206bbd2e05996985f34a8583ab92d6", kill_on_drop: false }`
[INFO] [stdout] a22b37988a620a584d32996b9830e6e75c206bbd2e05996985f34a8583ab92d6