[INFO] fetching crate tinge 0.1.0... [INFO] building tinge-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate tinge 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tinge 0.1.0 [INFO] finished tweaking crates.io crate tinge 0.1.0 [INFO] tweaked toml for crates.io crate tinge 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tinge 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tinge 0.1.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.93 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.93 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Downloaded wasm-bindgen v0.2.93 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.93 [INFO] [stderr] Downloaded proc-macro2 v1.0.86 [INFO] [stderr] Downloaded web-sys v0.3.70 [INFO] [stderr] Downloaded ordered-float v2.10.1 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded keyframe v1.1.1 [INFO] [stderr] Downloaded tinge_lib v0.1.0 [INFO] [stderr] Downloaded serde v1.0.207 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] [stderr] Downloaded arc-swap v1.7.1 [INFO] [stderr] Downloaded crossterm v0.22.1 [INFO] [stderr] Downloaded ndk-sys v0.5.0+25.2.9519653 [INFO] [stderr] Downloaded chrono v0.4.38 [INFO] [stderr] Downloaded unicode-width v0.1.13 [INFO] [stderr] Downloaded sdl2 v0.36.0 [INFO] [stderr] Downloaded indexmap v2.4.0 [INFO] [stderr] Downloaded toml_edit v0.21.1 [INFO] [stderr] Downloaded bindgen v0.69.4 [INFO] [stderr] Downloaded ndk v0.8.0 [INFO] [stderr] Downloaded regex-syntax v0.8.4 [INFO] [stderr] Downloaded libm v0.2.8 [INFO] [stderr] Downloaded cc v1.1.11 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded lewton v0.10.2 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] [stderr] Downloaded rodio v0.18.1 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded alsa v0.9.0 [INFO] [stderr] Downloaded libc v0.2.155 [INFO] [stderr] Downloaded cpal v0.15.3 [INFO] [stderr] Downloaded encoding_rs v0.8.34 [INFO] [stderr] Downloaded keyframe_derive v1.0.0 [INFO] [stderr] Downloaded regex-automata v0.4.7 [INFO] [stderr] Downloaded alsa-sys v0.3.1 [INFO] [stderr] Downloaded coreaudio-sys v0.2.15 [INFO] [stderr] Downloaded coreaudio-rs v0.11.3 [INFO] [stderr] Downloaded dasp_sample v0.11.0 [INFO] [stderr] Downloaded oboe-sys v0.6.1 [INFO] [stderr] Downloaded oboe v0.6.1 [INFO] [stderr] Downloaded ogg v0.8.0 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded c_vec v2.0.0 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.207 [INFO] [stderr] Downloaded redox_syscall v0.5.3 [INFO] [stderr] Downloaded mach2 v0.4.2 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded proc-macro-crate v3.1.0 [INFO] [stderr] Downloaded windows-result v0.1.2 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded tinyvec v1.8.0 [INFO] [stderr] Downloaded bytemuck v1.16.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.63 [INFO] [stderr] Downloaded thiserror v1.0.63 [INFO] [stderr] Downloaded wasm-logger v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.43 [INFO] [stderr] Downloaded js-sys v0.3.70 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded iana-time-zone v0.1.60 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded rust_pixel v0.4.5 [INFO] [stderr] Downloaded sdl2-sys v0.36.0 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22398efbd2b81a0642bb03e710dc9debd8fb5cd760fc94ecd29803d4ea618130 [INFO] running `Command { std: "docker" "start" "-a" "22398efbd2b81a0642bb03e710dc9debd8fb5cd760fc94ecd29803d4ea618130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22398efbd2b81a0642bb03e710dc9debd8fb5cd760fc94ecd29803d4ea618130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22398efbd2b81a0642bb03e710dc9debd8fb5cd760fc94ecd29803d4ea618130", kill_on_drop: false }` [INFO] [stdout] 22398efbd2b81a0642bb03e710dc9debd8fb5cd760fc94ecd29803d4ea618130 [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" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 033a9702bdd5026bcbd76461d16632d28e51306d3a5efaac6635529a1cd26bdf [INFO] running `Command { std: "docker" "start" "-a" "033a9702bdd5026bcbd76461d16632d28e51306d3a5efaac6635529a1cd26bdf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling keyframe v1.1.1 [INFO] [stderr] Compiling keyframe_derive v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling js-sys v0.3.70 [INFO] [stderr] Compiling web-sys v0.3.70 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.43 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.22.1 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.18.1 [INFO] [stderr] Compiling rust_pixel v0.4.5 [INFO] [stderr] Compiling tinge_lib v0.1.0 [INFO] [stderr] Compiling tinge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/model.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sdl` and `term` [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: `#[warn(unexpected_cfgs)]` 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] --> src/model.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, 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_TingeState` [INFO] [stdout] 46 | pub enum TingeState { [INFO] [stdout] | ---------- `TingeState` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "033a9702bdd5026bcbd76461d16632d28e51306d3a5efaac6635529a1cd26bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033a9702bdd5026bcbd76461d16632d28e51306d3a5efaac6635529a1cd26bdf", kill_on_drop: false }` [INFO] [stdout] 033a9702bdd5026bcbd76461d16632d28e51306d3a5efaac6635529a1cd26bdf [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" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7486f5ef5152f5129a850e3d6c50959f903b6d83e06618a29108093d60c90a4f [INFO] running `Command { std: "docker" "start" "-a" "7486f5ef5152f5129a850e3d6c50959f903b6d83e06618a29108093d60c90a4f", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/model.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sdl` and `term` [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: `#[warn(unexpected_cfgs)]` 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] --> src/model.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, 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_TingeState` [INFO] [stdout] 46 | pub enum TingeState { [INFO] [stdout] | ---------- `TingeState` 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] [stderr] Compiling tinge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/model.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sdl` and `term` [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: `#[warn(unexpected_cfgs)]` 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] --> src/model.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, 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_TingeState` [INFO] [stdout] 46 | pub enum TingeState { [INFO] [stdout] | ---------- `TingeState` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "7486f5ef5152f5129a850e3d6c50959f903b6d83e06618a29108093d60c90a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7486f5ef5152f5129a850e3d6c50959f903b6d83e06618a29108093d60c90a4f", kill_on_drop: false }` [INFO] [stdout] 7486f5ef5152f5129a850e3d6c50959f903b6d83e06618a29108093d60c90a4f