[INFO] cloning repository https://github.com/chitoroagad/database-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chitoroagad/database-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchitoroagad%2Fdatabase-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchitoroagad%2Fdatabase-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 312ed40bc7f366cb351270e0cc832364fe5aaff3
[INFO] checking chitoroagad/database-rs against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchitoroagad%2Fdatabase-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chitoroagad/database-rs
[INFO] finished tweaking git repo https://github.com/chitoroagad/database-rs
[INFO] tweaked toml for git repo https://github.com/chitoroagad/database-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chitoroagad/database-rs on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chitoroagad/database-rs 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b
[INFO] running `Command { std: "docker" "start" "1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rng v0.1.0 (/opt/rustwide/workdir/crates/rng)
[INFO] [stderr]     Checking database-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `BTREE_PAGE_SIZE` is never used
[INFO] [stdout]  --> src/b_tree.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const BTREE_PAGE_SIZE: usize = 4096;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BTREE_MAX_KEY_SIZE` is never used
[INFO] [stdout]  --> src/b_tree.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const BTREE_MAX_KEY_SIZE: u64 = 1000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BTREE_MAX_VAL_SIZE` is never used
[INFO] [stdout]  --> src/b_tree.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const BTREE_MAX_VAL_SIZE: u64 = 3000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BTREE_MAX_NODE_SIZE` is never used
[INFO] [stdout]  --> src/b_tree.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const BTREE_MAX_NODE_SIZE: u64 = 4 + 1 * 8 + 1 * 2 + 4 + BTREE_MAX_KEY_SIZE + BTREE_MAX_VAL_SIZE;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BNode` is never constructed
[INFO] [stdout]   --> src/b_tree.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub struct BNode<'a> {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/b_tree.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |     impl<'a> BNode<'a> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 24 |         pub fn new(data: &'a mut [u8; BTREE_PAGE_SIZE]) -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         fn btype(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         fn nkeys(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |         pub fn set_header(self, btype: u16, nkeys: u16) {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |         pub fn get_ptr(self, idx: u16) -> u64 {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |         pub fn set_ptr(self, idx: u16, val: u64) {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |         pub fn get_offset(&self, idx: u16) -> u16 {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |         pub fn kv_pos(&self, idx: u16) -> u16 {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |         pub fn get_key(self, idx: u16) -> &'a [u8] {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_as_num` is never used
[INFO] [stdout]   --> src/b_tree.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn slice_as_num(slice: &[u8], index: Range<usize>) -> Option<u16> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BNode` is never constructed
[INFO] [stdout]   --> src/b_tree.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub struct BNode<'a> {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/b_tree.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |     impl<'a> BNode<'a> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 24 |         pub fn new(data: &'a mut [u8; BTREE_PAGE_SIZE]) -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         fn btype(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         fn nkeys(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |         pub fn set_header(self, btype: u16, nkeys: u16) {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |         pub fn get_ptr(self, idx: u16) -> u64 {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |         pub fn set_ptr(self, idx: u16, val: u64) {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |         pub fn get_offset(&self, idx: u16) -> u16 {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |         pub fn kv_pos(&self, idx: u16) -> u16 {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |         pub fn get_key(self, idx: u16) -> &'a [u8] {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_as_num` is never used
[INFO] [stdout]   --> src/b_tree.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn slice_as_num(slice: &[u8], index: Range<usize>) -> Option<u16> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b", kill_on_drop: false }`
[INFO] [stdout] 1e965ace88827955ff841a07ea2c17dc54fc4dd9453be974a8509ecf6727476b
