[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] testing smolkov/epd24rwb against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fepd24rwb" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smolkov/epd24rwb on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.3.0 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded proc-macro-error v0.2.4 [INFO] [stderr] Downloaded structopt v0.3.0 [INFO] [stderr] Downloaded embedded-graphics v0.4.9 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded async-log-attributes v1.0.1 [INFO] [stderr] Downloaded futures-join-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded spidev v0.3.0 [INFO] [stderr] Downloaded async-log v1.1.0 [INFO] [stderr] Downloaded async-task v1.0.0 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded async-std v0.99.4 [INFO] [stderr] Downloaded femme v1.2.0 [INFO] [stderr] Downloaded chrono v0.4.8 [INFO] [stderr] Downloaded image v0.22.1 [INFO] [stderr] Downloaded regex-syntax v0.6.11 [INFO] [stderr] Downloaded async-log v2.0.0 [INFO] [stderr] Downloaded paw-attributes v1.0.0 [INFO] [stderr] Downloaded regex v1.2.1 [INFO] [stderr] Downloaded nix v0.6.0 [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded profont v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.99 [INFO] [stderr] Downloaded qrcode v0.11.0 [INFO] [stderr] Downloaded cc v1.0.41 [INFO] [stderr] Downloaded futures-timer v0.3.0 [INFO] [stderr] Downloaded serde v1.0.99 [INFO] [stderr] Downloaded ssd1675 v0.1.0 [INFO] [stderr] Downloaded lock_api v0.3.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.9 [INFO] [stderr] Downloaded linux-embedded-hal v0.2.2 [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-select-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded i2cdev v0.4.2 [INFO] [stderr] Downloaded tinybmp v0.1.0 [INFO] [stderr] Downloaded tinytga v0.1.0 [INFO] [stderr] Downloaded nb v0.1.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5564fde6449dbf70aff5af1de44ee67a9592b4046881e28f257ce821de665dd7 [INFO] running `Command { std: "docker" "start" "-a" "5564fde6449dbf70aff5af1de44ee67a9592b4046881e28f257ce821de665dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5564fde6449dbf70aff5af1de44ee67a9592b4046881e28f257ce821de665dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5564fde6449dbf70aff5af1de44ee67a9592b4046881e28f257ce821de665dd7", kill_on_drop: false }` [INFO] [stdout] 5564fde6449dbf70aff5af1de44ee67a9592b4046881e28f257ce821de665dd7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 185c43d7aee81c376b716ec83c4b326713a751e21fab91359eb0b9e0967a48ee [INFO] running `Command { std: "docker" "start" "-a" "185c43d7aee81c376b716ec83c4b326713a751e21fab91359eb0b9e0967a48ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling tinybmp v0.1.0 [INFO] [stderr] Compiling tinytga v0.1.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling embedded-graphics v0.4.9 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling async-task v1.0.0 [INFO] [stderr] Compiling image v0.22.1 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling chrono v0.4.8 [INFO] [stderr] Compiling profont v0.2.0 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling ssd1675 v0.1.0 [INFO] [stderr] Compiling qrcode v0.11.0 [INFO] [stderr] Compiling i2cdev v0.4.2 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling proc-macro-error v0.2.4 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling env_logger v0.6.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 synstructure v0.10.2 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling paw-attributes v1.0.0 [INFO] [stderr] Compiling structopt v0.3.0 [INFO] [stderr] Compiling paw v1.0.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling async-log v1.1.0 [INFO] [stderr] Compiling async-log v2.0.0 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-timer v0.3.0 [INFO] [stderr] Compiling async-std v0.99.4 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling femme v1.2.0 [INFO] [stderr] Compiling 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: 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)]` 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: 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)]` on by default [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)]` 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)]` 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 25.10s [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 1` [INFO] running `Command { std: "docker" "inspect" "185c43d7aee81c376b716ec83c4b326713a751e21fab91359eb0b9e0967a48ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185c43d7aee81c376b716ec83c4b326713a751e21fab91359eb0b9e0967a48ee", kill_on_drop: false }` [INFO] [stdout] 185c43d7aee81c376b716ec83c4b326713a751e21fab91359eb0b9e0967a48ee [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 012c7d5e3e114ce4a1a3060f2bb50ffabbeb2fb382babe5b962fbbed65e4db3d [INFO] running `Command { std: "docker" "start" "-a" "012c7d5e3e114ce4a1a3060f2bb50ffabbeb2fb382babe5b962fbbed65e4db3d", kill_on_drop: false }` [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: 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)]` 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: 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)]` on by default [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)]` 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)]` 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] [stderr] Compiling epd24rwb v0.1.0 (/opt/rustwide/workdir) [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: 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: 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)]` 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: 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)]` on by default [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)]` 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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.66s [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 1` [INFO] running `Command { std: "docker" "inspect" "012c7d5e3e114ce4a1a3060f2bb50ffabbeb2fb382babe5b962fbbed65e4db3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012c7d5e3e114ce4a1a3060f2bb50ffabbeb2fb382babe5b962fbbed65e4db3d", kill_on_drop: false }` [INFO] [stdout] 012c7d5e3e114ce4a1a3060f2bb50ffabbeb2fb382babe5b962fbbed65e4db3d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2cba03b288f830f5abacdf10e9d9113da711e6d5ca5cac6d0e51e8283e8bfc3e [INFO] running `Command { std: "docker" "start" "-a" "2cba03b288f830f5abacdf10e9d9113da711e6d5ca5cac6d0e51e8283e8bfc3e", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/config.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [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 `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/config.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/lib.rs:93:47 [INFO] [stderr] | [INFO] [stderr] 93 | pub async fn draw(mut events: Receiver,msg: Receiver) -> io::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page_update` [INFO] [stderr] --> src/lib.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | let page_update = async { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_update` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/lib.rs:202:27 [INFO] [stderr] | [INFO] [stderr] 202 | Event::UpdatePage(path)=> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/lib.rs:241:20 [INFO] [stderr] | [INFO] [stderr] 241 | pub async fn start(config:config::Config,msg: Receiver ) -> io::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `draw` [INFO] [stderr] --> src/lib.rs:244:10 [INFO] [stderr] | [INFO] [stderr] 244 | let draw= task::spawn(draw(receiver,msg)); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_draw` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:247:13 [INFO] [stderr] | [INFO] [stderr] 247 | let mut event = Event::UpdatePage(PathBuf::from("./dashboard.page")); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `EpdDisplay` is never used [INFO] [stderr] --> src/lib.rs:82:6 [INFO] [stderr] | [INFO] [stderr] 82 | type EpdDisplay<'a> = ssd1675::display::Display< [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 248 | sender.send(event).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 248 | let _ = sender.send(event).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/config.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stderr] 6 | pub struct Config { [INFO] [stderr] | ------ `Config` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Serialize` (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/config.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] 6 | pub struct Config { [INFO] [stderr] | ------ `Config` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `epd24rwb` (lib) generated 12 warnings (run `cargo fix --lib -p epd24rwb` to apply 1 suggestion) [INFO] [stderr] warning: `epd24rwb` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/epd24rwb-0855ce119b2a5694) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/epd24rwb-71f48c28adfc7f13) [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" "2cba03b288f830f5abacdf10e9d9113da711e6d5ca5cac6d0e51e8283e8bfc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cba03b288f830f5abacdf10e9d9113da711e6d5ca5cac6d0e51e8283e8bfc3e", kill_on_drop: false }` [INFO] [stdout] 2cba03b288f830f5abacdf10e9d9113da711e6d5ca5cac6d0e51e8283e8bfc3e