[INFO] cloning repository https://github.com/Niedzwiedzw/betrayal_engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Niedzwiedzw/betrayal_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiedzwiedzw%2Fbetrayal_engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiedzwiedzw%2Fbetrayal_engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0fff082f770b764c6183c368b2a83c47d1fd254f
[INFO] testing Niedzwiedzw/betrayal_engine against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiedzwiedzw%2Fbetrayal_engine" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Niedzwiedzw/betrayal_engine on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Niedzwiedzw/betrayal_engine
[INFO] finished tweaking git repo https://github.com/Niedzwiedzw/betrayal_engine
[INFO] tweaked toml for git repo https://github.com/Niedzwiedzw/betrayal_engine written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/Niedzwiedzw/betrayal_engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 499b8af9bfef06841172d00e02cbe9836ff8136354a4e48588b8fee75c629247
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "499b8af9bfef06841172d00e02cbe9836ff8136354a4e48588b8fee75c629247", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "499b8af9bfef06841172d00e02cbe9836ff8136354a4e48588b8fee75c629247", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "499b8af9bfef06841172d00e02cbe9836ff8136354a4e48588b8fee75c629247", kill_on_drop: false }`
[INFO] [stdout] 499b8af9bfef06841172d00e02cbe9836ff8136354a4e48588b8fee75c629247
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e05b182ae6c91f3ddf715086570e8c5e2f1b3d0c313ce272ccc6a55ed1f74657
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e05b182ae6c91f3ddf715086570e8c5e2f1b3d0c313ce272ccc6a55ed1f74657", kill_on_drop: false }`
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling libc v0.2.92
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling proc-macro2 v1.0.24
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Compiling syn v1.0.67
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling proc-macro-hack v0.5.19
[INFO] [stderr] Compiling futures-core v0.3.15
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Compiling futures-task v0.3.15
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling proc-macro-nested v0.1.7
[INFO] [stderr] Compiling futures-channel v0.3.15
[INFO] [stderr] Compiling pin-project-lite v0.2.6
[INFO] [stderr] Compiling radium v0.5.3
[INFO] [stderr] Compiling smallvec v1.6.1
[INFO] [stderr] Compiling futures-sink v0.3.15
[INFO] [stderr] Compiling slab v0.4.3
[INFO] [stderr] Compiling adler v1.0.2
[INFO] [stderr] Compiling futures-io v0.3.15
[INFO] [stderr] Compiling wyz v0.2.0
[INFO] [stderr] Compiling funty v1.1.0
[INFO] [stderr] Compiling tap v1.0.1
[INFO] [stderr] Compiling unicode-width v0.1.8
[INFO] [stderr] Compiling hashbrown v0.11.2
[INFO] [stderr] Compiling anyhow v1.0.40
[INFO] [stderr] Compiling static_assertions v1.1.0
[INFO] [stderr] Compiling hex v0.4.3
[INFO] [stderr] Compiling once_cell v1.7.2
[INFO] [stderr] Compiling bytes v1.0.1
[INFO] [stderr] Compiling termcolor v1.1.2
[INFO] [stderr] Compiling lock_api v0.4.4
[INFO] [stderr] Compiling instant v0.1.9
[INFO] [stderr] Compiling nom v4.2.3
[INFO] [stderr] Compiling fxhash v0.2.1
[INFO] [stderr] Compiling textwrap v0.12.1
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling nom v6.1.2
[INFO] [stderr] Compiling lexical-core v0.7.6
[INFO] [stderr] Compiling crossbeam-utils v0.8.3
[INFO] [stderr] Compiling memoffset v0.6.3
[INFO] [stderr] Compiling futures-macro v0.3.15
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling futures-util v0.3.15
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Compiling rayon v1.5.1
[INFO] [stderr] Compiling tokio v1.6.1
[INFO] [stderr] Compiling bitvec v0.19.5
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling crossbeam-epoch v0.9.3
[INFO] [stderr] Compiling crossbeam-channel v0.5.1
[INFO] [stderr] Compiling crossbeam-deque v0.8.0
[INFO] [stderr] Compiling num_cpus v1.13.0
[INFO] [stderr] Compiling parking_lot_core v0.8.3
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling flate2 v1.0.20
[INFO] [stderr] Compiling signal-hook-registry v1.4.0
[INFO] [stderr] Compiling fs2 v0.4.3
[INFO] [stderr] Compiling mio v0.7.11
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling procmaps v0.4.1
[INFO] [stderr] Compiling nix v0.20.0
[INFO] [stderr] Compiling rayon-core v1.9.1
[INFO] [stderr] Compiling parking_lot v0.11.1
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling sled v0.34.6
[INFO] [stderr] Compiling procfs v0.9.1
[INFO] [stderr] Compiling tokio-macros v1.2.0
[INFO] [stderr] Compiling thiserror-impl v1.0.24
[INFO] [stderr] Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr] Compiling thiserror v1.0.24
[INFO] [stderr] Compiling clap v3.0.0-beta.2
[INFO] [stderr] Compiling futures-executor v0.3.15
[INFO] [stderr] Compiling futures v0.3.15
[INFO] [stderr] Compiling betrayal_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout] --> src/memory.rs:4:18
[INFO] [stdout] |
[INFO] [stdout] 4 | io::{Cursor, Read, Write},
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Eq`, `Ord`
[INFO] [stdout] --> src/memory.rs:8:16
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::cmp::{Eq, Ord, PartialEq, PartialOrd};
[INFO] [stdout] | ^^ ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BetrayalError`, `BetrayalResult`, `ProcessQuery`
[INFO] [stdout] --> src/neighbour_values.rs:1:27
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::{AddressValue, ProcessQuery, error::{BetrayalError, BetrayalResult}, memory::ReadFromBytes};
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `NativeEndian`, `ReadBytesExt`, `WriteBytesExt`
[INFO] [stdout] --> src/main.rs:8:17
[INFO] [stdout] |
[INFO] [stdout] 8 | use byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout] --> src/main.rs:18:25
[INFO] [stdout] |
[INFO] [stdout] 18 | io::{self, BufRead, Read},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout] --> src/main.rs:22:5
[INFO] [stdout] |
[INFO] [stdout] 22 | use io::Cursor;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `rayon::prelude::*`
[INFO] [stdout] --> src/main.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use rayon::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_lines`
[INFO] [stdout] --> src/main.rs:46:4
[INFO] [stdout] |
[INFO] [stdout] 46 | fn read_lines
(filename: P) -> io::Result>>
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `all_possible_addresses`
[INFO] [stdout] --> src/main.rs:231:8
[INFO] [stdout] |
[INFO] [stdout] 231 | fn all_possible_addresses(&self) -> BetrayalResult>> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 39 | std::io::stdout().flush();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stdout] --> src/main.rs:98:26
[INFO] [stdout] |
[INFO] [stdout] 98 | pub type AddressValue = (usize, T);
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default
[INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stdout] |
[INFO] [stdout] 98 | pub type AddressValue = (usize, T);
[INFO] [stdout] | --
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stdout] --> src/main.rs:105:33
[INFO] [stdout] |
[INFO] [stdout] 105 | pub type CurrentQueryResults = BTreeMap>;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stdout] |
[INFO] [stdout] 105 | pub type CurrentQueryResults = BTreeMap>;
[INFO] [stdout] | --
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stdout] --> src/main.rs:122:20
[INFO] [stdout] |
[INFO] [stdout] 122 | pub type Writer = (usize, T);
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stdout] |
[INFO] [stdout] 122 | pub type Writer = (usize, T);
[INFO] [stdout] | --
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] running `Command { std: "docker" "inspect" "e05b182ae6c91f3ddf715086570e8c5e2f1b3d0c313ce272ccc6a55ed1f74657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e05b182ae6c91f3ddf715086570e8c5e2f1b3d0c313ce272ccc6a55ed1f74657", kill_on_drop: false }`
[INFO] [stdout] e05b182ae6c91f3ddf715086570e8c5e2f1b3d0c313ce272ccc6a55ed1f74657
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ebc19c46479fd01375166514343d49db874efbb159065e7a1c58481933355f5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0ebc19c46479fd01375166514343d49db874efbb159065e7a1c58481933355f5", 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] Compiling betrayal_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> examples/test-program.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | std::io::stdout().flush();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout] --> src/memory.rs:4:18
[INFO] [stdout] |
[INFO] [stdout] 4 | io::{Cursor, Read, Write},
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Eq`, `Ord`
[INFO] [stdout] --> src/memory.rs:8:16
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::cmp::{Eq, Ord, PartialEq, PartialOrd};
[INFO] [stdout] | ^^ ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BetrayalError`, `BetrayalResult`, `ProcessQuery`
[INFO] [stdout] --> src/neighbour_values.rs:1:27
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::{AddressValue, ProcessQuery, error::{BetrayalError, BetrayalResult}, memory::ReadFromBytes};
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `NativeEndian`, `ReadBytesExt`, `WriteBytesExt`
[INFO] [stdout] --> src/main.rs:8:17
[INFO] [stdout] |
[INFO] [stdout] 8 | use byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout] --> src/main.rs:18:25
[INFO] [stdout] |
[INFO] [stdout] 18 | io::{self, BufRead, Read},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout] --> src/main.rs:22:5
[INFO] [stdout] |
[INFO] [stdout] 22 | use io::Cursor;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `rayon::prelude::*`
[INFO] [stdout] --> src/main.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use rayon::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_lines`
[INFO] [stdout] --> src/main.rs:46:4
[INFO] [stdout] |
[INFO] [stdout] 46 | fn read_lines(filename: P) -> io::Result>>
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `all_possible_addresses`
[INFO] [stdout] --> src/main.rs:231:8
[INFO] [stdout] |
[INFO] [stdout] 231 | fn all_possible_addresses(&self) -> BetrayalResult>> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 39 | std::io::stdout().flush();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stdout] --> src/main.rs:98:26
[INFO] [stdout] |
[INFO] [stdout] 98 | pub type AddressValue = (usize, T);
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default
[INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stdout] |
[INFO] [stdout] 98 | pub type AddressValue = (usize, T);
[INFO] [stdout] | --
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stdout] --> src/main.rs:105:33
[INFO] [stdout] |
[INFO] [stdout] 105 | pub type CurrentQueryResults = BTreeMap>;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stdout] |
[INFO] [stdout] 105 | pub type CurrentQueryResults = BTreeMap>;
[INFO] [stdout] | --
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stdout] --> src/main.rs:122:20
[INFO] [stdout] |
[INFO] [stdout] 122 | pub type Writer = (usize, T);
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stdout] |
[INFO] [stdout] 122 | pub type Writer = (usize, T);
[INFO] [stdout] | --
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.68s
[INFO] running `Command { std: "docker" "inspect" "0ebc19c46479fd01375166514343d49db874efbb159065e7a1c58481933355f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ebc19c46479fd01375166514343d49db874efbb159065e7a1c58481933355f5", kill_on_drop: false }`
[INFO] [stdout] 0ebc19c46479fd01375166514343d49db874efbb159065e7a1c58481933355f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] caa2169bbd04e677ed27a2dd74f3d91fa4c993c07c2561cd55108d8469b792d2
[INFO] running `Command { std: "docker" "start" "-a" "caa2169bbd04e677ed27a2dd74f3d91fa4c993c07c2561cd55108d8469b792d2", kill_on_drop: false }`
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr] --> examples/test-program.rs:7:5
[INFO] [stderr] |
[INFO] [stderr] 7 | std::io::stdout().flush();
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr] --> src/memory.rs:4:18
[INFO] [stderr] |
[INFO] [stderr] 4 | io::{Cursor, Read, Write},
[INFO] [stderr] | ^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `Eq`, `Ord`
[INFO] [stderr] --> src/memory.rs:8:16
[INFO] [stderr] |
[INFO] [stderr] 8 | use std::cmp::{Eq, Ord, PartialEq, PartialOrd};
[INFO] [stderr] | ^^ ^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `BetrayalError`, `BetrayalResult`, `ProcessQuery`
[INFO] [stderr] --> src/neighbour_values.rs:1:27
[INFO] [stderr] |
[INFO] [stderr] 1 | use crate::{AddressValue, ProcessQuery, error::{BetrayalError, BetrayalResult}, memory::ReadFromBytes};
[INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `NativeEndian`, `ReadBytesExt`, `WriteBytesExt`
[INFO] [stderr] --> src/main.rs:8:17
[INFO] [stderr] |
[INFO] [stderr] 8 | use byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr] --> src/main.rs:18:25
[INFO] [stderr] |
[INFO] [stderr] 18 | io::{self, BufRead, Read},
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `io::Cursor`
[INFO] [stderr] --> src/main.rs:22:5
[INFO] [stderr] |
[INFO] [stderr] 22 | use io::Cursor;
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `rayon::prelude::*`
[INFO] [stderr] --> src/main.rs:27:5
[INFO] [stderr] |
[INFO] [stderr] 27 | use rayon::prelude::*;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: function is never used: `read_lines`
[INFO] [stderr] --> src/main.rs:46:4
[INFO] [stderr] |
[INFO] [stderr] 46 | fn read_lines(filename: P) -> io::Result>>
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `all_possible_addresses`
[INFO] [stderr] --> src/main.rs:231:8
[INFO] [stderr] |
[INFO] [stderr] 231 | fn all_possible_addresses(&self) -> BetrayalResult>> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr] --> src/main.rs:39:5
[INFO] [stderr] |
[INFO] [stderr] 39 | std::io::stdout().flush();
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]
[INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stderr] --> src/main.rs:98:26
[INFO] [stderr] |
[INFO] [stderr] 98 | pub type AddressValue = (usize, T);
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(type_alias_bounds)]` on by default
[INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stderr] |
[INFO] [stderr] 98 | pub type AddressValue = (usize, T);
[INFO] [stderr] | --
[INFO] [stderr]
[INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stderr] --> src/main.rs:105:33
[INFO] [stderr] |
[INFO] [stderr] 105 | pub type CurrentQueryResults = BTreeMap>;
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stderr] |
[INFO] [stderr] 105 | pub type CurrentQueryResults = BTreeMap>;
[INFO] [stderr] | --
[INFO] [stderr]
[INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases
[INFO] [stderr] --> src/main.rs:122:20
[INFO] [stderr] |
[INFO] [stderr] 122 | pub type Writer = (usize, T);
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed
[INFO] [stderr] |
[INFO] [stderr] 122 | pub type Writer = (usize, T);
[INFO] [stderr] | --
[INFO] [stderr]
[INFO] [stderr] warning: 13 warnings emitted
[INFO] [stderr]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/betrayal_engine-c01bf82235cac2c2)
[INFO] [stdout]
[INFO] [stdout] running 4 tests
[INFO] [stdout] test commands::test_command_parsing::test_quit ... ok
[INFO] [stdout] test commands::test_command_parsing::test_filter_command ... ok
[INFO] [stdout] test commands::test_command_parsing::test_write ... ok
[INFO] [stdout] test helpers::test_helpers::test_windowed_helper ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "caa2169bbd04e677ed27a2dd74f3d91fa4c993c07c2561cd55108d8469b792d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caa2169bbd04e677ed27a2dd74f3d91fa4c993c07c2561cd55108d8469b792d2", kill_on_drop: false }`
[INFO] [stdout] caa2169bbd04e677ed27a2dd74f3d91fa4c993c07c2561cd55108d8469b792d2