[INFO] cloning repository https://github.com/TheRealBluesun/novimem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheRealBluesun/novimem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealBluesun%2Fnovimem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealBluesun%2Fnovimem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a8c998ffe5b310ed91c89f8caac9c99345e1604 [INFO] checking TheRealBluesun/novimem against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealBluesun%2Fnovimem" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheRealBluesun/novimem [INFO] finished tweaking git repo https://github.com/TheRealBluesun/novimem [INFO] tweaked toml for git repo https://github.com/TheRealBluesun/novimem written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheRealBluesun/novimem on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheRealBluesun/novimem 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking TheRealBluesun/novimem against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealBluesun%2Fnovimem" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheRealBluesun/novimem [INFO] finished tweaking git repo https://github.com/TheRealBluesun/novimem [INFO] tweaked toml for git repo https://github.com/TheRealBluesun/novimem written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheRealBluesun/novimem on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheRealBluesun/novimem 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.103 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded serde v1.0.103 [INFO] [stderr] Downloaded serde_json v1.0.42 [INFO] [stderr] Downloaded png v0.15.1 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded libc v0.2.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 340fdfa137f5c2b1a1a2be238156dc9a95afeef0d527ec6e1bf308e44a289a4c [INFO] running `Command { std: "docker" "start" "-a" "340fdfa137f5c2b1a1a2be238156dc9a95afeef0d527ec6e1bf308e44a289a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "340fdfa137f5c2b1a1a2be238156dc9a95afeef0d527ec6e1bf308e44a289a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340fdfa137f5c2b1a1a2be238156dc9a95afeef0d527ec6e1bf308e44a289a4c", kill_on_drop: false }` [INFO] [stdout] 340fdfa137f5c2b1a1a2be238156dc9a95afeef0d527ec6e1bf308e44a289a4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe6e1600c83daca072886927a0fd97b8a924dfedd2a81b0102c316b409f7225 [INFO] running `Command { std: "docker" "start" "-a" "ffe6e1600c83daca072886927a0fd97b8a924dfedd2a81b0102c316b409f7225", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling libc v0.2.64 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking png v0.15.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking novimem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GenericImage` and `RgbImage` [INFO] [stdout] --> src/novimem/mem_image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_str` and `to_string` [INFO] [stdout] --> src/novimem/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{from_str, to_string}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/novimem/mod.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone, Serialize, Deserialize)] [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: unused imports: `GenericImage` and `RgbImage` [INFO] [stdout] --> src/novimem/mem_image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/novimem/mod.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone, Serialize, Deserialize)] [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 imports: `from_str` and `to_string` [INFO] [stdout] --> src/novimem/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{from_str, to_string}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/novimem/mod.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone, Serialize, Deserialize)] [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/novimem/mod.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone, Serialize, Deserialize)] [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 import: `GenericImageView` [INFO] [stdout] --> src/novimem/mem_image.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/novimem/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/novimem/mem_image.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/novimem/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/novimem/mod.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | .filter_map(|(i, (a, v))| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/novimem/mod.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | .filter_map(|(i, (a, v))| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | if let Some(mut procs) = ProcSearch::search(search_str) { [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: fields `execable`, `private`, and `shared` are never read [INFO] [stdout] --> src/novimem/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct MemRegion { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | execable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | private: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | shared: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump_to_file` is never used [INFO] [stdout] --> src/novimem/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MemRegion { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 31 | pub fn dump_to_file(&self, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResult` is never constructed [INFO] [stdout] --> src/novimem/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct SearchResult { [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/novimem/mod.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SearchResult` [INFO] [stdout] 43 | struct SearchResult { [INFO] [stdout] | ------------ `SearchResult` 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/novimem/mod.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SearchResult` [INFO] [stdout] 43 | struct SearchResult { [INFO] [stdout] | ------------ `SearchResult` 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | if let Some(mut procs) = ProcSearch::search(search_str) { [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] error[E0502]: cannot borrow `m` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 301 | let old_results = m.results(); [INFO] [stdout] | - immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 308 | m.clear_results(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 313 | assert!(old_results.contains(result)); [INFO] [stdout] | ----------- immutable borrow later captured here by closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `m` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 301 | let old_results = m.results(); [INFO] [stdout] | - immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 309 | m.search(&newval.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 313 | assert!(old_results.contains(result)); [INFO] [stdout] | ----------- immutable borrow later captured here by closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `novimem` (bin "novimem" test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ffe6e1600c83daca072886927a0fd97b8a924dfedd2a81b0102c316b409f7225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe6e1600c83daca072886927a0fd97b8a924dfedd2a81b0102c316b409f7225", kill_on_drop: false }` [INFO] [stdout] ffe6e1600c83daca072886927a0fd97b8a924dfedd2a81b0102c316b409f7225