[INFO] cloning repository https://github.com/ThunderRe/toydb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThunderRe/toydb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThunderRe%2Ftoydb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThunderRe%2Ftoydb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a7e771a1de484c1ba148a1924a720fbc02965ae [INFO] building ThunderRe/toydb against master#c52b9c10bfb5164015eb977ff498e0597ae63eb1 for pr-97025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThunderRe%2Ftoydb" "/workspace/builds/worker-55/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-55/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThunderRe/toydb on toolchain c52b9c10bfb5164015eb977ff498e0597ae63eb1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c52b9c10bfb5164015eb977ff498e0597ae63eb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThunderRe/toydb [INFO] finished tweaking git repo https://github.com/ThunderRe/toydb [INFO] tweaked toml for git repo https://github.com/ThunderRe/toydb written to /workspace/builds/worker-55/source/Cargo.toml [INFO] crate git repo https://github.com/ThunderRe/toydb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c52b9c10bfb5164015eb977ff498e0597ae63eb1" "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 fd-lock v2.0.0 [INFO] [stderr] Downloaded rustyline-derive v0.4.0 [INFO] [stderr] Downloaded goldenfile v1.1.0 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded rustyline v8.2.0 [INFO] [stderr] Downloaded tokio v1.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c52b9c10bfb5164015eb977ff498e0597ae63eb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f45b8377e197d8f2400703698c33a8b3f12f1f230bfd78938c4ea59b83f922c4 [INFO] running `Command { std: "docker" "start" "-a" "f45b8377e197d8f2400703698c33a8b3f12f1f230bfd78938c4ea59b83f922c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f45b8377e197d8f2400703698c33a8b3f12f1f230bfd78938c4ea59b83f922c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45b8377e197d8f2400703698c33a8b3f12f1f230bfd78938c4ea59b83f922c4", kill_on_drop: false }` [INFO] [stdout] f45b8377e197d8f2400703698c33a8b3f12f1f230bfd78938c4ea59b83f922c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c52b9c10bfb5164015eb977ff498e0597ae63eb1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c77e8346260b5184f8eb72a26f54dc4301c953e687f7ae4bc16f29fa8389cad6 [INFO] running `Command { std: "docker" "start" "-a" "c77e8346260b5184f8eb72a26f54dc4301c953e687f7ae4bc16f29fa8389cad6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling fd-lock v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rustyline v8.2.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.10 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling rustyline-derive v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling educe v0.4.18 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tokio-serde v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling toydb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `header_page` [INFO] [stdout] --> src/storage/relational/buffer_pool.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | header_page: HeaderPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_flushes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | num_flushes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_log` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn write_log(&mut self, log_data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_log` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn read_log(&mut self, offset: u64, buf: &mut [u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_num_flushes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_num_flushes(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_num_writes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_num_writes(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_log_size` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_log_size(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_record` [INFO] [stdout] --> src/storage/relational/page.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn insert_record(&mut self, name: &str, root_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_record` [INFO] [stdout] --> src/storage/relational/page.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn delete_record(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_record` [INFO] [stdout] --> src/storage/relational/page.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn update_record(&mut self, name: &str, root_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_root_id` [INFO] [stdout] --> src/storage/relational/page.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_root_id(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_record_count` [INFO] [stdout] --> src/storage/relational/page.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_record_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_record_num` [INFO] [stdout] --> src/storage/relational/page.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | fn find_record_num(&self, name: &str) -> Result> { [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 4m 39s [INFO] running `Command { std: "docker" "inspect" "c77e8346260b5184f8eb72a26f54dc4301c953e687f7ae4bc16f29fa8389cad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c77e8346260b5184f8eb72a26f54dc4301c953e687f7ae4bc16f29fa8389cad6", kill_on_drop: false }` [INFO] [stdout] c77e8346260b5184f8eb72a26f54dc4301c953e687f7ae4bc16f29fa8389cad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c52b9c10bfb5164015eb977ff498e0597ae63eb1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34746c383656f07728a6dec5c84ace6cda93fec0dfe55f29a6215e80355c293c [INFO] running `Command { std: "docker" "start" "-a" "34746c383656f07728a6dec5c84ace6cda93fec0dfe55f29a6215e80355c293c", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stdout] warning: field is never read: `header_page` [INFO] [stdout] --> src/storage/relational/buffer_pool.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | header_page: HeaderPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_flushes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | num_flushes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_log` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn write_log(&mut self, log_data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_log` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn read_log(&mut self, offset: u64, buf: &mut [u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_num_flushes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_num_flushes(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_num_writes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_num_writes(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_log_size` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_log_size(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_record` [INFO] [stdout] --> src/storage/relational/page.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn insert_record(&mut self, name: &str, root_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_record` [INFO] [stdout] --> src/storage/relational/page.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn delete_record(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_record` [INFO] [stdout] --> src/storage/relational/page.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn update_record(&mut self, name: &str, root_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_root_id` [INFO] [stdout] --> src/storage/relational/page.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_root_id(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_record_count` [INFO] [stdout] --> src/storage/relational/page.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_record_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_record_num` [INFO] [stdout] --> src/storage/relational/page.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | fn find_record_num(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling goldenfile v1.1.0 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling toydb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `header_page` [INFO] [stdout] --> src/storage/relational/buffer_pool.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | header_page: HeaderPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_flushes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | num_flushes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_log` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn write_log(&mut self, log_data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_log` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn read_log(&mut self, offset: u64, buf: &mut [u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_num_flushes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_num_flushes(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_num_writes` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_num_writes(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_log_size` [INFO] [stdout] --> src/storage/relational/disk_manager.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_log_size(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_record` [INFO] [stdout] --> src/storage/relational/page.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn delete_record(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_record` [INFO] [stdout] --> src/storage/relational/page.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn update_record(&mut self, name: &str, root_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 46.30s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/toydb-27a1498233a9e7ab) [INFO] [stderr] Executable unittests src/bin/bank.rs (/opt/rustwide/target/debug/deps/bank-a8ac723a7d39130e) [INFO] [stderr] Executable unittests src/bin/toydb.rs (/opt/rustwide/target/debug/deps/toydb-8f201c8114cba51d) [INFO] [stderr] Executable unittests src/bin/toysql.rs (/opt/rustwide/target/debug/deps/toysql-45d452f96de38fe5) [INFO] [stderr] Executable tests/setup.rs (/opt/rustwide/target/debug/deps/setup-8abcef5682dd8a3f) [INFO] [stderr] Executable tests/tests.rs (/opt/rustwide/target/debug/deps/tests-fe7df6b1128666d8) [INFO] running `Command { std: "docker" "inspect" "34746c383656f07728a6dec5c84ace6cda93fec0dfe55f29a6215e80355c293c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34746c383656f07728a6dec5c84ace6cda93fec0dfe55f29a6215e80355c293c", kill_on_drop: false }` [INFO] [stdout] 34746c383656f07728a6dec5c84ace6cda93fec0dfe55f29a6215e80355c293c