[INFO] cloning repository https://github.com/dust1/relationaldb-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dust1/relationaldb-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdust1%2Frelationaldb-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdust1%2Frelationaldb-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b9d7cabb7accd40eadb30d94e2f5fc2ee777fea [INFO] building dust1/relationaldb-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdust1%2Frelationaldb-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dust1/relationaldb-rs [INFO] finished tweaking git repo https://github.com/dust1/relationaldb-rs [INFO] tweaked toml for git repo https://github.com/dust1/relationaldb-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dust1/relationaldb-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dust1/relationaldb-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-ordinalize v3.1.10 [INFO] [stderr] Downloaded tokio-serde v0.8.0 [INFO] [stderr] Downloaded tokio-stream v0.1.6 [INFO] [stderr] Downloaded error-code v2.3.0 [INFO] [stderr] Downloaded str-buf v1.0.5 [INFO] [stderr] Downloaded fd-lock v2.0.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded serde v1.0.131 [INFO] [stderr] Downloaded clipboard-win v4.2.2 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded serde_derive v1.0.131 [INFO] [stderr] Downloaded config v0.11.0 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded ppv-lite86 v0.2.15 [INFO] [stderr] Downloaded rustyline v8.2.0 [INFO] [stderr] Downloaded serde_json v1.0.73 [INFO] [stderr] Downloaded num-bigint v0.4.3 [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded clap v2.33.4 [INFO] [stderr] Downloaded educe v0.4.18 [INFO] [stderr] Downloaded proc-macro2 v1.0.34 [INFO] [stderr] Downloaded rustyline-derive v0.4.0 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] [stderr] Downloaded tokio v1.6.4 [INFO] [stderr] Downloaded serde-hjson v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14eee8cac18b8594cba999cddef19dea0053bb1bebe1431e2e5d520b656d9664 [INFO] running `Command { std: "docker" "start" "-a" "14eee8cac18b8594cba999cddef19dea0053bb1bebe1431e2e5d520b656d9664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14eee8cac18b8594cba999cddef19dea0053bb1bebe1431e2e5d520b656d9664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14eee8cac18b8594cba999cddef19dea0053bb1bebe1431e2e5d520b656d9664", kill_on_drop: false }` [INFO] [stdout] 14eee8cac18b8594cba999cddef19dea0053bb1bebe1431e2e5d520b656d9664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e01c3ac98bad126d8e6836a78bec0d43fc9eef12a78a923f157a8713259e6b9b [INFO] running `Command { std: "docker" "start" "-a" "e01c3ac98bad126d8e6836a78bec0d43fc9eef12a78a923f157a8713259e6b9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tokio v1.6.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling clap v2.33.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling enum-ordinalize v3.1.10 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling educe v0.4.18 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling rustyline v8.2.0 [INFO] [stderr] Compiling tokio-serde v0.8.0 [INFO] [stderr] Compiling rustyline-derive v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling relationaldb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::fetch_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn fetch_page(&mut self, page_id: usize) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::fetch_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::new_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_page(&mut self) -> Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::new_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `::fetch_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | fn fetch_page(&mut self, page_id: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::fetch_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `::new_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | fn new_page(&mut self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::new_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const PAGE_SIZE: usize = 1024 * 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClockReplacer` is never constructed [INFO] [stdout] --> src/storage/clock_replacer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ClockReplacer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `un_pin`, `pin`, `victim`, and `size` are never used [INFO] [stdout] --> src/storage/clock_replacer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ClockReplacer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(num_pages: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn un_pin(&mut self, frame_id: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn pin(&mut self, frame_id: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn victim(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DiskManager` is never used [INFO] [stdout] --> src/storage/disk_manager.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait DiskManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageDevice` is never constructed [INFO] [stdout] --> src/storage/disk_manager.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PageDevice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> src/storage/disk_manager.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PageDevice { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 23 | pub fn open(dir: &Path) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolCache` is never constructed [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PoolManager` is never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait PoolManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allocate_page`, `deallocate_page`, `validate_page_id`, and `check_queue` are never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(pool_size: usize, disk_manager: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn allocate_page(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn deallocate_page(&mut self, _page_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn validate_page_id(&self, page_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn check_queue(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `read`, and `sync` are never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl BufferPoolCache { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 145 | [INFO] [stdout] 146 | pub fn create(page_id: usize, disk_manager: Arc) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn read(page_id: usize, disk_manager: Arc) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn sync(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | disk_manager.write_page(page_id, &page_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = disk_manager.write_page(page_id, &page_data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | self.disk_manager.write_page(self.page_id, &self.cache); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 179 | let _ = self.disk_manager.write_page(self.page_id, &self.cache); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "e01c3ac98bad126d8e6836a78bec0d43fc9eef12a78a923f157a8713259e6b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01c3ac98bad126d8e6836a78bec0d43fc9eef12a78a923f157a8713259e6b9b", kill_on_drop: false }` [INFO] [stdout] e01c3ac98bad126d8e6836a78bec0d43fc9eef12a78a923f157a8713259e6b9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50b37160f3eeacf7c1fe28cfafccad584f7f1db98bc98369959b97319f6a8d68 [INFO] running `Command { std: "docker" "start" "-a" "50b37160f3eeacf7c1fe28cfafccad584f7f1db98bc98369959b97319f6a8d68", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::fetch_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn fetch_page(&mut self, page_id: usize) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::fetch_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::new_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_page(&mut self) -> Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::new_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `::fetch_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | fn fetch_page(&mut self, page_id: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::fetch_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `::new_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | fn new_page(&mut self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::new_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const PAGE_SIZE: usize = 1024 * 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClockReplacer` is never constructed [INFO] [stdout] --> src/storage/clock_replacer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ClockReplacer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `un_pin`, `pin`, `victim`, and `size` are never used [INFO] [stdout] --> src/storage/clock_replacer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ClockReplacer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(num_pages: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn un_pin(&mut self, frame_id: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn pin(&mut self, frame_id: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn victim(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DiskManager` is never used [INFO] [stdout] --> src/storage/disk_manager.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait DiskManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageDevice` is never constructed [INFO] [stdout] --> src/storage/disk_manager.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PageDevice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `open` is never used [INFO] [stdout] --> src/storage/disk_manager.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PageDevice { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 23 | pub fn open(dir: &Path) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolCache` is never constructed [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PoolManager` is never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait PoolManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allocate_page`, `deallocate_page`, `validate_page_id`, and `check_queue` are never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(pool_size: usize, disk_manager: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn allocate_page(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn deallocate_page(&mut self, _page_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn validate_page_id(&self, page_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn check_queue(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `read`, and `sync` are never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl BufferPoolCache { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 145 | [INFO] [stdout] 146 | pub fn create(page_id: usize, disk_manager: Arc) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn read(page_id: usize, disk_manager: Arc) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn sync(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | disk_manager.write_page(page_id, &page_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = disk_manager.write_page(page_id, &page_data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | self.disk_manager.write_page(self.page_id, &self.cache); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 179 | let _ = self.disk_manager.write_page(self.page_id, &self.cache); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling relationaldb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `table_page_5` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mut table_page_5 = buffer_pool_manager.new_page(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_page_5` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut table_page_5 = buffer_pool_manager.new_page(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::fetch_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn fetch_page(&mut self, page_id: usize) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::fetch_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::new_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_page(&mut self) -> Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::new_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `::fetch_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | fn fetch_page(&mut self, page_id: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::fetch_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `::new_page` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | fn new_page(&mut self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::new_page` is reachable at visibility `pub(in crate::storage)` [INFO] [stdout] | [INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct BufferPoolCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_page` and `flush_all_page` are never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait PoolManager { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 31 | fn delete_page(&mut self, page_id: usize); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | fn flush_all_page(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deallocate_page` is never used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn deallocate_page(&mut self, _page_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | disk_manager.write_page(page_id, &page_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = disk_manager.write_page(page_id, &page_data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/storage/buffer_pool_manager.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | self.disk_manager.write_page(self.page_id, &self.cache); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 179 | let _ = self.disk_manager.write_page(self.page_id, &self.cache); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "50b37160f3eeacf7c1fe28cfafccad584f7f1db98bc98369959b97319f6a8d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b37160f3eeacf7c1fe28cfafccad584f7f1db98bc98369959b97319f6a8d68", kill_on_drop: false }` [INFO] [stdout] 50b37160f3eeacf7c1fe28cfafccad584f7f1db98bc98369959b97319f6a8d68