[INFO] fetching crate tinge 0.1.0... [INFO] testing tinge-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tinge 0.1.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tinge 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-logger v0.2.0 [INFO] [stderr] Downloaded tinge_lib v0.1.0 [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded c_vec v2.0.0 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.43 [INFO] [stderr] Downloaded rodio v0.18.1 [INFO] [stderr] Downloaded ndk-sys v0.5.0+25.2.9519653 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded sdl2 v0.36.0 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded keyframe v1.1.1 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded dasp_sample v0.11.0 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded coreaudio-rs v0.11.3 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded crossterm v0.22.1 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] [stderr] Downloaded ndk v0.8.0 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded encoding_rs v0.8.34 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded oboe v0.6.1 [INFO] [stderr] Downloaded windows-core v0.54.0 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded ogg v0.8.0 [INFO] [stderr] Downloaded bytemuck v1.16.3 [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded keyframe_derive v1.0.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.60 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded alsa v0.9.0 [INFO] [stderr] Downloaded indexmap v2.4.0 [INFO] [stderr] Downloaded cpal v0.15.3 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded lewton v0.10.2 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded oboe-sys v0.6.1 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded pkg-config v0.3.30 [INFO] [stderr] Downloaded alsa-sys v0.3.1 [INFO] [stderr] Downloaded coreaudio-sys v0.2.15 [INFO] [stderr] Downloaded mach2 v0.4.2 [INFO] [stderr] Downloaded ndk-context v0.1.1 [INFO] [stderr] Downloaded arrayvec v0.7.4 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded rust_pixel v0.4.5 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded cc v1.1.11 [INFO] [stderr] Downloaded symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded sdl2-sys v0.36.0 [INFO] [stderr] Downloaded windows v0.54.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 619a1f236f7f2bdd75cb7c3bdf17d4c52429e69085654307b2789c8519e13945 [INFO] running `Command { std: "docker" "start" "-a" "619a1f236f7f2bdd75cb7c3bdf17d4c52429e69085654307b2789c8519e13945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "619a1f236f7f2bdd75cb7c3bdf17d4c52429e69085654307b2789c8519e13945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "619a1f236f7f2bdd75cb7c3bdf17d4c52429e69085654307b2789c8519e13945", kill_on_drop: false }` [INFO] [stdout] 619a1f236f7f2bdd75cb7c3bdf17d4c52429e69085654307b2789c8519e13945 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94a0f2cd8accd3b856e76867865606b3dc6494d7e1f4b9eea66cb623287eeac4 [INFO] running `Command { std: "docker" "start" "-a" "94a0f2cd8accd3b856e76867865606b3dc6494d7e1f4b9eea66cb623287eeac4", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling keyframe v1.1.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling keyframe_derive v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [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 zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling js-sys v0.3.70 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [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 log4rs v1.3.0 [INFO] [stderr] Compiling web-sys v0.3.70 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.43 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [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 57.34s [INFO] running `Command { std: "docker" "inspect" "94a0f2cd8accd3b856e76867865606b3dc6494d7e1f4b9eea66cb623287eeac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a0f2cd8accd3b856e76867865606b3dc6494d7e1f4b9eea66cb623287eeac4", kill_on_drop: false }` [INFO] [stdout] 94a0f2cd8accd3b856e76867865606b3dc6494d7e1f4b9eea66cb623287eeac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae5c016f9bc43f43246a5bde30b0b988e73b769fb71bf9f5be8a1dde3d9e5578 [INFO] running `Command { std: "docker" "start" "-a" "ae5c016f9bc43f43246a5bde30b0b988e73b769fb71bf9f5be8a1dde3d9e5578", 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 1.21s [INFO] running `Command { std: "docker" "inspect" "ae5c016f9bc43f43246a5bde30b0b988e73b769fb71bf9f5be8a1dde3d9e5578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5c016f9bc43f43246a5bde30b0b988e73b769fb71bf9f5be8a1dde3d9e5578", kill_on_drop: false }` [INFO] [stdout] ae5c016f9bc43f43246a5bde30b0b988e73b769fb71bf9f5be8a1dde3d9e5578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d74b0092656f0e1d6a7453f002ce41523a4bd5b2c4520d032a0ad8141845fee [INFO] running `Command { std: "docker" "start" "-a" "3d74b0092656f0e1d6a7453f002ce41523a4bd5b2c4520d032a0ad8141845fee", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/model.rs:45:41 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `sdl` and `term` [INFO] [stderr] = 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] [stderr] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` 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] --> src/model.rs:45:41 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug, Clone, Copy, PartialEq, 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_TingeState` [INFO] [stderr] 46 | pub enum TingeState { [INFO] [stderr] | ---------- `TingeState` 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: `tinge` (lib) generated 2 warnings [INFO] [stderr] warning: `tinge` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tinge-45677943ff850d96) [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/main.rs (/opt/rustwide/target/debug/deps/tinge-893f13d20b7e4c0b) [INFO] [stdout] [INFO] [stderr] Doc-tests tinge [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] [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" "3d74b0092656f0e1d6a7453f002ce41523a4bd5b2c4520d032a0ad8141845fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d74b0092656f0e1d6a7453f002ce41523a4bd5b2c4520d032a0ad8141845fee", kill_on_drop: false }` [INFO] [stdout] 3d74b0092656f0e1d6a7453f002ce41523a4bd5b2c4520d032a0ad8141845fee