[INFO] cloning repository https://github.com/benbrittain/cornelis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benbrittain/cornelis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenbrittain%2Fcornelis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenbrittain%2Fcornelis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d99b624dfe02eb8e09aa6f0bde21a4c9559246d0 [INFO] checking benbrittain/cornelis against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenbrittain%2Fcornelis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benbrittain/cornelis on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benbrittain/cornelis [INFO] finished tweaking git repo https://github.com/benbrittain/cornelis [INFO] tweaked toml for git repo https://github.com/benbrittain/cornelis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/benbrittain/cornelis 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9062d9af93b4832bb4a490f73bb9399cbea14580a261e202157961477535a93 [INFO] running `Command { std: "docker" "start" "-a" "f9062d9af93b4832bb4a490f73bb9399cbea14580a261e202157961477535a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9062d9af93b4832bb4a490f73bb9399cbea14580a261e202157961477535a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9062d9af93b4832bb4a490f73bb9399cbea14580a261e202157961477535a93", kill_on_drop: false }` [INFO] [stdout] f9062d9af93b4832bb4a490f73bb9399cbea14580a261e202157961477535a93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f04b4501a1e093ae36b0d2db294ab52bd27a6922d8dce2dbc208046cc04431dd [INFO] running `Command { std: "docker" "start" "-a" "f04b4501a1e093ae36b0d2db294ab52bd27a6922d8dce2dbc208046cc04431dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.81 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.81 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking piet v0.3.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.8.1 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.81 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.81 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking js-sys v0.3.58 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking web-sys v0.3.58 [INFO] [stderr] Checking piet-cairo v0.3.0 [INFO] [stderr] Checking piet-common v0.3.2 [INFO] [stderr] Checking druid-shell v0.7.0 [INFO] [stderr] Checking druid v0.7.0 [INFO] [stderr] Checking cornelis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/env.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lens` [INFO] [stdout] --> src/ty.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::{Data, Lens}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RawLabel`, `Slider`, and `TextBox` [INFO] [stdout] --> src/lib.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use druid::widget::{Button, Flex, Label, RawLabel, Scroll, Slider, Split, TextBox}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) use log; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/env.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lens` [INFO] [stdout] --> src/ty.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::{Data, Lens}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RawLabel`, `Slider`, and `TextBox` [INFO] [stdout] --> src/lib.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use druid::widget::{Button, Flex, Label, RawLabel, Scroll, Slider, Split, TextBox}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) use log; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/piet_widget.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, data: &mut AppData, _env: &Env) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let mut env = env::PietEnv::new(image); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/env.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PietOp { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Pointer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Switch, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Roll, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | InNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | InChar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | OutNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PietOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `char` to `char` [INFO] [stdout] --> src/env.rs:270:34 [INFO] [stdout] | [INFO] [stdout] 270 | self.output.push(char::from_u32(val).unwrap().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [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/ty.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Data, Debug, Copy, Clone, 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_PietColor` [INFO] [stdout] 5 | pub enum PietColor { [INFO] [stdout] | --------- `PietColor` 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] error: could not compile `cornelis` (lib) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/piet_widget.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | fn event(&mut self, ctx: &mut EventCtx, event: &Event, data: &mut AppData, _env: &Env) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let mut env = env::PietEnv::new(image); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/env.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PietOp { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Pointer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Switch, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Roll, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | InNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | InChar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | OutNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PietOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `char` to `char` [INFO] [stdout] --> src/env.rs:270:34 [INFO] [stdout] | [INFO] [stdout] 270 | self.output.push(char::from_u32(val).unwrap().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [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/ty.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Data, Debug, Copy, Clone, 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_PietColor` [INFO] [stdout] 5 | pub enum PietColor { [INFO] [stdout] | --------- `PietColor` 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] error: could not compile `cornelis` (lib test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f04b4501a1e093ae36b0d2db294ab52bd27a6922d8dce2dbc208046cc04431dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04b4501a1e093ae36b0d2db294ab52bd27a6922d8dce2dbc208046cc04431dd", kill_on_drop: false }` [INFO] [stdout] f04b4501a1e093ae36b0d2db294ab52bd27a6922d8dce2dbc208046cc04431dd