[INFO] cloning repository https://github.com/SarthakMakhija/memcore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SarthakMakhija/memcore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthakMakhija%2Fmemcore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthakMakhija%2Fmemcore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0708541dafd5c694114b05b85f0bc701df939652 [INFO] checking SarthakMakhija/memcore against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthakMakhija%2Fmemcore" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SarthakMakhija/memcore [INFO] finished tweaking git repo https://github.com/SarthakMakhija/memcore [INFO] tweaked toml for git repo https://github.com/SarthakMakhija/memcore written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SarthakMakhija/memcore on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SarthakMakhija/memcore 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "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 fasthash v0.4.0 [INFO] [stderr] Downloaded xoroshiro128 v0.3.0 [INFO] [stderr] Downloaded fasthash-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5de4c7771a9a99411989c341eb76795076d6b6e889ced81e75cb3c9fa0510b8 [INFO] running `Command { std: "docker" "start" "-a" "e5de4c7771a9a99411989c341eb76795076d6b6e889ced81e75cb3c9fa0510b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5de4c7771a9a99411989c341eb76795076d6b6e889ced81e75cb3c9fa0510b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5de4c7771a9a99411989c341eb76795076d6b6e889ced81e75cb3c9fa0510b8", kill_on_drop: false }` [INFO] [stdout] e5de4c7771a9a99411989c341eb76795076d6b6e889ced81e75cb3c9fa0510b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e47ff4bfe71a31979f798fe8326b1a7883c94e29902a3f88238c3105cc914761 [INFO] running `Command { std: "docker" "start" "-a" "e47ff4bfe71a31979f798fe8326b1a7883c94e29902a3f88238c3105cc914761", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking xoroshiro128 v0.3.0 [INFO] [stderr] Checking fasthash v0.4.0 [INFO] [stderr] Checking memcore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/memory/segment.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `try_append`, `get`, `is_empty`, and `is_full` are never used [INFO] [stdout] --> src/memory/segment.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | impl Segment { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 7 | pub(crate) fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub(crate) fn try_append(&mut self, slice: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn get(&self, index: usize, size: usize) -> &[u8] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogOptions` is never constructed [INFO] [stdout] --> src/memory/options.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct LogOptions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `number_of_segments`, and `segment_size` are never used [INFO] [stdout] --> src/memory/options.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | impl LogOptions { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 7 | pub(crate) fn new(log_size_bytes: usize, segment_size_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub(crate) fn number_of_segments(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn segment_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/memory/log.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `try_append`, `try_get`, and `try_append_to_segment` are never used [INFO] [stdout] --> src/memory/log.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl Log { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 17 | pub(crate) fn new(options: LogOptions) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn try_append(&mut self, key_value: KeyValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn try_get(&self, key: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn try_append_to_segment(&mut self, encoded: &BytesMut) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/memory/index.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexMarker` is never constructed [INFO] [stdout] --> src/memory/index.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct IndexMarker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/index.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl IndexMarker { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 14 | pub(crate) fn new(segment_index: usize, segment_position: usize, key_value_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `get` are never used [INFO] [stdout] --> src/memory/index.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Index { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn insert(&mut self, key: Vec, value: IndexMarker) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn get(&self, key: &[u8]) -> Option<&IndexMarker> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValue` is never constructed [INFO] [stdout] --> src/memory/key_value.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct KeyValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `encode`, `decode_from`, `hash_of`, `key`, and `value` are never used [INFO] [stdout] --> src/memory/key_value.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl KeyValue { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub(crate) fn new(key: Vec, value: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn encode(&self) -> BytesMut { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn decode_from(mut buffer: BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn hash_of(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn key(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn value(&self) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SPSCQueue` is never constructed [INFO] [stdout] --> src/queue/spsc.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct SPSCQueue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_empty`, `try_enqueue`, `try_get_front`, and `pop` are never used [INFO] [stdout] --> src/queue/spsc.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SPSCQueue { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 12 | pub(crate) fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn try_enqueue(&mut self, element: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn try_get_front(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn pop(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandExecutor` is never constructed [INFO] [stdout] --> src/executor/command_executor.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct CommandExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/executor/command_executor.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl CommandExecutor { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 10 | pub(crate) fn new(log: Log) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn execute(&mut self, command: Command) -> CommandResponse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandType` is never used [INFO] [stdout] --> src/executor/command.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/executor/command.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandResponse` is never used [INFO] [stdout] --> src/executor/command.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) enum CommandResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get`, `put`, `update`, `encode`, and `decode_from` are never used [INFO] [stdout] --> src/executor/command.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 36 | pub(crate) fn get(key: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn put(key: Vec, value: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn update(key: Vec, value: Vec) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn encode(&self) -> BytesMut { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn decode_from(mut buffer: BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_put_response`, `put_response`, `is_update_response`, `update_response`, `is_get_response`, and `get_response` are never used [INFO] [stdout] --> src/executor/command.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl CommandResponse { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 95 | pub(crate) fn is_put_response(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn put_response(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn is_update_response(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn update_response(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn is_get_response(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn get_response(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.55s [INFO] running `Command { std: "docker" "inspect" "e47ff4bfe71a31979f798fe8326b1a7883c94e29902a3f88238c3105cc914761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e47ff4bfe71a31979f798fe8326b1a7883c94e29902a3f88238c3105cc914761", kill_on_drop: false }` [INFO] [stdout] e47ff4bfe71a31979f798fe8326b1a7883c94e29902a3f88238c3105cc914761