[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] testing TheRealBluesun/novimem against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheRealBluesun%2Fnovimem" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheRealBluesun/novimem on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-19/source/Cargo.toml [INFO] crate git repo https://github.com/TheRealBluesun/novimem already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee6d61e62474465bdb7538690ffea5c8e1fd793bcb7d147552a12a90a92e461f [INFO] running `Command { std: "docker" "start" "-a" "ee6d61e62474465bdb7538690ffea5c8e1fd793bcb7d147552a12a90a92e461f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee6d61e62474465bdb7538690ffea5c8e1fd793bcb7d147552a12a90a92e461f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6d61e62474465bdb7538690ffea5c8e1fd793bcb7d147552a12a90a92e461f", kill_on_drop: false }` [INFO] [stdout] ee6d61e62474465bdb7538690ffea5c8e1fd793bcb7d147552a12a90a92e461f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84fb6374e2eb8f41164388500054e822ba79f9b85470d0a566761188e9bccc8d [INFO] running `Command { std: "docker" "start" "-a" "84fb6374e2eb8f41164388500054e822ba79f9b85470d0a566761188e9bccc8d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.64 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling png v0.15.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling novimem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GenericImage`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_str`, `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: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `execable` [INFO] [stdout] --> src/novimem/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | execable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MemRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/novimem/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `private` [INFO] [stdout] --> src/novimem/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | private: 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] --> src/novimem/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shared` [INFO] [stdout] --> src/novimem/mod.rs:26:5 [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] --> src/novimem/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump_to_file` [INFO] [stdout] --> src/novimem/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dump_to_file(&self, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "84fb6374e2eb8f41164388500054e822ba79f9b85470d0a566761188e9bccc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84fb6374e2eb8f41164388500054e822ba79f9b85470d0a566761188e9bccc8d", kill_on_drop: false }` [INFO] [stdout] 84fb6374e2eb8f41164388500054e822ba79f9b85470d0a566761188e9bccc8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e98347ef2d4fb8033b9703b278245e4f5fd0920799bba04c424a40c3541a19f5 [INFO] running `Command { std: "docker" "start" "-a" "e98347ef2d4fb8033b9703b278245e4f5fd0920799bba04c424a40c3541a19f5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling novimem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GenericImage`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_str`, `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: 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)]` 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)]` 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] error: aborting due to 2 previous errors; 6 warnings emitted [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` due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e98347ef2d4fb8033b9703b278245e4f5fd0920799bba04c424a40c3541a19f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98347ef2d4fb8033b9703b278245e4f5fd0920799bba04c424a40c3541a19f5", kill_on_drop: false }` [INFO] [stdout] e98347ef2d4fb8033b9703b278245e4f5fd0920799bba04c424a40c3541a19f5