[INFO] fetching crate pf_sandbox_lib 0.3.1... [INFO] checking pf_sandbox_lib-0.3.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate pf_sandbox_lib 0.3.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pf_sandbox_lib 0.3.1 [INFO] finished tweaking crates.io crate pf_sandbox_lib 0.3.1 [INFO] tweaked toml for crates.io crate pf_sandbox_lib 0.3.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pf_sandbox_lib 0.3.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 319 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding gilrs-core v0.1.0 (available: v0.6.4) [INFO] [stderr] Adding num-derive v0.2.5 (available: v0.4.2) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.9) [INFO] [stderr] Adding strum v0.13.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.13.0 (available: v0.27.2) [INFO] [stderr] Adding toml v0.4.10 (available: v0.9.5) [INFO] [stderr] Adding treeflection_derive v0.3.2 (available: v0.4.0) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winit v0.18.1 (available: v0.30.12) [INFO] [stderr] Adding winit_input_helper v0.2.1 (available: v0.16.0) [INFO] [stderr] Adding zip v0.5.13 (available: v4.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.13.0 [INFO] [stderr] Downloaded strum_macros v0.13.0 [INFO] [stderr] Downloaded gilrs-core v0.1.0 [INFO] [stderr] Downloaded os_type v2.6.0 [INFO] [stderr] Downloaded treeflection v0.1.35 [INFO] [stderr] Downloaded cocoa v0.18.5 [INFO] [stderr] Downloaded winit_input_helper v0.2.1 [INFO] [stderr] Downloaded treeflection_derive v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d86d73f652a536f70f99e12a16494077b4591a871acf95506f3583594c0444ab [INFO] running `Command { std: "docker" "start" "-a" "d86d73f652a536f70f99e12a16494077b4591a871acf95506f3583594c0444ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d86d73f652a536f70f99e12a16494077b4591a871acf95506f3583594c0444ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d86d73f652a536f70f99e12a16494077b4591a871acf95506f3583594c0444ab", kill_on_drop: false }` [INFO] [stdout] d86d73f652a536f70f99e12a16494077b4591a871acf95506f3583594c0444ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 439d6c59f778b8a4bf86383d9f79ca3f425f732ad9dd76683fcefbae27b35e9d [INFO] running `Command { std: "docker" "start" "-a" "439d6c59f778b8a4bf86383d9f79ca3f425f732ad9dd76683fcefbae27b35e9d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.6.3 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking libudev-sys v0.1.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Compiling pf_sandbox_lib v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking strum v0.13.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking treeflection v0.1.35 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking os_type v2.6.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling strum_macros v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking gilrs-core v0.1.0 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Compiling treeflection_derive v0.3.2 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking winit_input_helper v0.2.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fighter.rs:523:35 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fighter.rs:523:48 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fighter.rs:523:35 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fighter.rs:523:48 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handler.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handler.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handler.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | panic::set_hook(Box::new(move |panic_info: &PanicInfo| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handler.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | panic::set_hook(Box::new(move |panic_info: &PanicInfo| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `env_logger::Builder::parse`: use `parse_filters` instead. [INFO] [stdout] --> src/logger.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | Builder::new().format(format).parse(&env_var).init() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `env_logger::Builder::parse`: use `parse_filters` instead. [INFO] [stdout] --> src/logger.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | Builder::new().format(format).parse(&env_var).init() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fighter.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_colboxes_and_links(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_colboxes_and_links(&self) -> Vec> { [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/fighter.rs:523:35 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Action` [INFO] [stdout] 524 | pub enum Action { [INFO] [stdout] | ------ `Action` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/fighter.rs:523:48 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Action` [INFO] [stdout] 524 | pub enum Action { [INFO] [stdout] | ------ `Action` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fighter.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_colboxes_and_links(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_colboxes_and_links(&self) -> Vec> { [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/fighter.rs:523:35 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Action` [INFO] [stdout] 524 | pub enum Action { [INFO] [stdout] | ------ `Action` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (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/fighter.rs:523:48 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Clone, PartialEq, Debug, ToPrimitive, FromPrimitive, EnumIter, Serialize, Deserialize, Node)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Action` [INFO] [stdout] 524 | pub enum Action { [INFO] [stdout] | ------ `Action` 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 `dev` profile [unoptimized + debuginfo] target(s) in 56.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: winit v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "439d6c59f778b8a4bf86383d9f79ca3f425f732ad9dd76683fcefbae27b35e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439d6c59f778b8a4bf86383d9f79ca3f425f732ad9dd76683fcefbae27b35e9d", kill_on_drop: false }` [INFO] [stdout] 439d6c59f778b8a4bf86383d9f79ca3f425f732ad9dd76683fcefbae27b35e9d