[INFO] fetching crate pf_sandbox_lib 0.3.1... [INFO] checking pf_sandbox_lib-0.3.1 against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] extracting crate pf_sandbox_lib 0.3.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pf_sandbox_lib 0.3.1 on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 318 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.1) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.22) [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.2) [INFO] [stderr] Adding treeflection_derive v0.3.2 (available: v0.4.0) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.17.0) [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.11) [INFO] [stderr] Adding winit_input_helper v0.2.1 (available: v0.16.0) [INFO] [stderr] Adding zip v0.5.13 (available: v4.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.13.0 [INFO] [stderr] Downloaded winit_input_helper v0.2.1 [INFO] [stderr] Downloaded treeflection v0.1.35 [INFO] [stderr] Downloaded os_type v2.6.0 [INFO] [stderr] Downloaded gilrs-core v0.1.0 [INFO] [stderr] Downloaded treeflection_derive v0.3.2 [INFO] [stderr] Downloaded strum v0.13.0 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded winit v0.18.1 [INFO] [stderr] Downloaded nix v0.11.1 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef41e42ae24f31a1ca60fc2f85815ade3f6795f878ff5908813f45e41c90a856 [INFO] running `Command { std: "docker" "start" "-a" "ef41e42ae24f31a1ca60fc2f85815ade3f6795f878ff5908813f45e41c90a856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef41e42ae24f31a1ca60fc2f85815ade3f6795f878ff5908813f45e41c90a856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef41e42ae24f31a1ca60fc2f85815ade3f6795f878ff5908813f45e41c90a856", kill_on_drop: false }` [INFO] [stdout] ef41e42ae24f31a1ca60fc2f85815ade3f6795f878ff5908813f45e41c90a856 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 382bb5a601375cd95e38e9be3c56683fa3e4ada4037907494124947e20d480d0 [INFO] running `Command { std: "docker" "start" "-a" "382bb5a601375cd95e38e9be3c56683fa3e4ada4037907494124947e20d480d0", kill_on_drop: false }` [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking serde_json v1.0.141 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling pf_sandbox_lib v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking os_type v2.6.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking strum v0.13.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling strum_macros v0.13.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking treeflection v0.1.35 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [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 bzip2 v0.4.4 [INFO] [stderr] Checking zip v0.5.13 [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: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: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: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: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 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fighter.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_colboxes_and_links(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fighter.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn get_colboxes_and_links(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 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 25.85s [INFO] running `Command { std: "docker" "inspect" "382bb5a601375cd95e38e9be3c56683fa3e4ada4037907494124947e20d480d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382bb5a601375cd95e38e9be3c56683fa3e4ada4037907494124947e20d480d0", kill_on_drop: false }` [INFO] [stdout] 382bb5a601375cd95e38e9be3c56683fa3e4ada4037907494124947e20d480d0