[INFO] cloning repository https://github.com/smolkov/epd24rwb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smolkov/epd24rwb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fepd24rwb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fepd24rwb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1f5a4f1735e4d5704cb4452b7ddd7ad73762231 [INFO] checking smolkov/epd24rwb against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fepd24rwb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/smolkov/epd24rwb [INFO] finished tweaking git repo https://github.com/smolkov/epd24rwb [INFO] tweaked toml for git repo https://github.com/smolkov/epd24rwb written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smolkov/epd24rwb on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smolkov/epd24rwb 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.0 [INFO] [stderr] Downloaded structopt-derive v0.3.0 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded tinytga v0.1.0 [INFO] [stderr] Downloaded async-log-attributes v1.0.1 [INFO] [stderr] Downloaded futures-select-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded spidev v0.3.0 [INFO] [stderr] Downloaded linux-embedded-hal v0.2.2 [INFO] [stderr] Downloaded async-log v2.0.0 [INFO] [stderr] Downloaded async-task v1.0.0 [INFO] [stderr] Downloaded futures-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded js-sys v0.3.27 [INFO] [stderr] Downloaded nix v0.6.0 [INFO] [stderr] Downloaded async-std v0.99.4 [INFO] [stderr] Downloaded chrono v0.4.8 [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded qrcode v0.11.0 [INFO] [stderr] Downloaded ssd1675 v0.1.0 [INFO] [stderr] Downloaded futures-timer v0.3.0 [INFO] [stderr] Downloaded async-log v1.1.0 [INFO] [stderr] Downloaded femme v1.2.0 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded web-sys v0.3.27 [INFO] [stderr] Downloaded profont v0.2.0 [INFO] [stderr] Downloaded sysfs_gpio v0.5.4 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.50 [INFO] [stderr] Downloaded tinybmp v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.2 [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded embedded-graphics v0.4.9 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-join-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded paw-attributes v1.0.0 [INFO] [stderr] Downloaded nb v0.1.2 [INFO] [stderr] Downloaded proc-macro-error v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8834f34215e9049c4b82641a1a80971300a2d8bcf7476d1c08f6d8a0fb736a30 [INFO] running `Command { std: "docker" "start" "-a" "8834f34215e9049c4b82641a1a80971300a2d8bcf7476d1c08f6d8a0fb736a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8834f34215e9049c4b82641a1a80971300a2d8bcf7476d1c08f6d8a0fb736a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8834f34215e9049c4b82641a1a80971300a2d8bcf7476d1c08f6d8a0fb736a30", kill_on_drop: false }` [INFO] [stdout] 8834f34215e9049c4b82641a1a80971300a2d8bcf7476d1c08f6d8a0fb736a30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad6ad73be04b993f0893d8081d8eb5ad858f497366d141f1fe2af96ea8f6af7d [INFO] running `Command { std: "docker" "start" "-a" "ad6ad73be04b993f0893d8081d8eb5ad858f497366d141f1fe2af96ea8f6af7d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Checking nom v4.2.3 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking getrandom v0.1.11 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking tinytga v0.1.0 [INFO] [stderr] Checking tinybmp v0.1.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking embedded-graphics v0.4.9 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking backtrace v0.3.35 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking i2cdev v0.4.2 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Checking chrono v0.4.8 [INFO] [stderr] Checking ssd1675 v0.1.0 [INFO] [stderr] Checking linux-embedded-hal v0.2.2 [INFO] [stderr] Checking qrcode v0.11.0 [INFO] [stderr] Checking profont v0.2.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling proc-macro-error v0.2.4 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling structopt-derive v0.3.0 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling paw-attributes v1.0.0 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking async-log v1.1.0 [INFO] [stderr] Checking async-log v2.0.0 [INFO] [stderr] Checking structopt v0.3.0 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-timer v0.3.0 [INFO] [stderr] Checking async-std v0.99.4 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking femme v1.2.0 [INFO] [stderr] Checking epd24rwb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [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 `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/config.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/config.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [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 `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/config.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut event = Event::UpdatePage(PathBuf::from("./dashboard.page")); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn draw(mut events: Receiver,msg: Receiver) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_update` [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let page_update = async { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | Event::UpdatePage(path)=> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | pub async fn start(config:config::Config,msg: Receiver ) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw` [INFO] [stdout] --> src/lib.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | let draw= task::spawn(draw(receiver,msg)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EpdDisplay` is never used [INFO] [stdout] --> src/lib.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | type EpdDisplay<'a> = ssd1675::display::Display< [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut event = Event::UpdatePage(PathBuf::from("./dashboard.page")); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn draw(mut events: Receiver,msg: Receiver) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_update` [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let page_update = async { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | Event::UpdatePage(path)=> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | sender.send(event).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = sender.send(event).await; [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/config.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/config.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | pub async fn start(config:config::Config,msg: Receiver ) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw` [INFO] [stdout] --> src/lib.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | let draw= task::spawn(draw(receiver,msg)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EpdDisplay` is never used [INFO] [stdout] --> src/lib.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | type EpdDisplay<'a> = ssd1675::display::Display< [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | sender.send(event).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = sender.send(event).await; [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/config.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/config.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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 45.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 18` [INFO] running `Command { std: "docker" "inspect" "ad6ad73be04b993f0893d8081d8eb5ad858f497366d141f1fe2af96ea8f6af7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6ad73be04b993f0893d8081d8eb5ad858f497366d141f1fe2af96ea8f6af7d", kill_on_drop: false }` [INFO] [stdout] ad6ad73be04b993f0893d8081d8eb5ad858f497366d141f1fe2af96ea8f6af7d