[INFO] cloning repository https://github.com/nannany/didactic-funicular [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nannany/didactic-funicular" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnannany%2Fdidactic-funicular", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnannany%2Fdidactic-funicular'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78ac7f18013776b48011dbdfd3181076afbcbabe [INFO] testing nannany/didactic-funicular against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnannany%2Fdidactic-funicular" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nannany/didactic-funicular on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nannany/didactic-funicular [INFO] finished tweaking git repo https://github.com/nannany/didactic-funicular [INFO] tweaked toml for git repo https://github.com/nannany/didactic-funicular written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/nannany/didactic-funicular already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy v0.6.1 [INFO] [stderr] Downloaded zerocopy-derive v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 1bad098ed87121f33bf7617e576ae9c41dd2d533e1f355b65a50a072764e4d44 [INFO] running `Command { std: "docker" "start" "-a" "1bad098ed87121f33bf7617e576ae9c41dd2d533e1f355b65a50a072764e4d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bad098ed87121f33bf7617e576ae9c41dd2d533e1f355b65a50a072764e4d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bad098ed87121f33bf7617e576ae9c41dd2d533e1f355b65a50a072764e4d44", kill_on_drop: false }` [INFO] [stdout] 1bad098ed87121f33bf7617e576ae9c41dd2d533e1f355b65a50a072764e4d44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edaaeaeee36aba0dd377721fc54459b9ed2e3e591bb8a9cd3503d22ec8a223fb [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" "edaaeaeee36aba0dd377721fc54459b9ed2e3e591bb8a9cd3503d22ec8a223fb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling zerocopy-derive v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zerocopy v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling didactic-funicular v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `DiskManager` [INFO] [stdout] --> src/disk.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiskManager { [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: `valid` [INFO] [stdout] --> src/disk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn valid(self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_u64` [INFO] [stdout] --> src/disk.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn to_u64(self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/disk.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(heap_file: File) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/disk.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn open(heap_file_path: impl AsRef) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_page` [INFO] [stdout] --> src/disk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn allocate_page(&mut self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_page_data` [INFO] [stdout] --> src/disk.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn read_page_data(&mut self, page_id: PageId, data: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_page_data` [INFO] [stdout] --> src/disk.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn write_page_data(&mut self, page_id: PageId, data: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sync` [INFO] [stdout] --> src/disk.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn sync(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoFreeBuffer` [INFO] [stdout] --> src/buffer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NoFreeBuffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/buffer.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `usage_count` [INFO] [stdout] --> src/buffer.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | usage_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/buffer.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/buffer.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | buffer: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/buffer.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_victim_id` [INFO] [stdout] --> src/buffer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | next_victim_id: BufferId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/buffer.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(pool_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/buffer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evict` [INFO] [stdout] --> src/buffer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn evict(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_id` [INFO] [stdout] --> src/buffer.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn increment_id(&self, buffer_id: BufferId) -> BufferId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BufferPoolManager` [INFO] [stdout] --> src/buffer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/buffer.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(disk: DiskManager, pool: BufferPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_page` [INFO] [stdout] --> src/buffer.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn fetch_page(&mut self, page_id: PageId) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_page` [INFO] [stdout] --> src/buffer.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn create_page(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/buffer.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn flush(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.01s [INFO] running `Command { std: "docker" "inspect" "edaaeaeee36aba0dd377721fc54459b9ed2e3e591bb8a9cd3503d22ec8a223fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edaaeaeee36aba0dd377721fc54459b9ed2e3e591bb8a9cd3503d22ec8a223fb", kill_on_drop: false }` [INFO] [stdout] edaaeaeee36aba0dd377721fc54459b9ed2e3e591bb8a9cd3503d22ec8a223fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e48fe78cc6002be85ce90e358c56cf2ecaf0614390e29b832265b0bf61b47b4 [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" "6e48fe78cc6002be85ce90e358c56cf2ecaf0614390e29b832265b0bf61b47b4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling didactic-funicular v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/btree.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | use tempfile::tempfile; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DiskManager` [INFO] [stdout] --> src/disk.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiskManager { [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: `valid` [INFO] [stdout] --> src/disk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn valid(self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_u64` [INFO] [stdout] --> src/disk.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn to_u64(self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/disk.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(heap_file: File) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/disk.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn open(heap_file_path: impl AsRef) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_page` [INFO] [stdout] --> src/disk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn allocate_page(&mut self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_page_data` [INFO] [stdout] --> src/disk.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn read_page_data(&mut self, page_id: PageId, data: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_page_data` [INFO] [stdout] --> src/disk.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn write_page_data(&mut self, page_id: PageId, data: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sync` [INFO] [stdout] --> src/disk.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn sync(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoFreeBuffer` [INFO] [stdout] --> src/buffer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NoFreeBuffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/buffer.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `usage_count` [INFO] [stdout] --> src/buffer.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | usage_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/buffer.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/buffer.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | buffer: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/buffer.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_victim_id` [INFO] [stdout] --> src/buffer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | next_victim_id: BufferId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/buffer.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(pool_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/buffer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evict` [INFO] [stdout] --> src/buffer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn evict(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_id` [INFO] [stdout] --> src/buffer.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn increment_id(&self, buffer_id: BufferId) -> BufferId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BufferPoolManager` [INFO] [stdout] --> src/buffer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/buffer.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(disk: DiskManager, pool: BufferPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_page` [INFO] [stdout] --> src/buffer.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn fetch_page(&mut self, page_id: PageId) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_page` [INFO] [stdout] --> src/buffer.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn create_page(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/buffer.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn flush(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `didactic-funicular` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6e48fe78cc6002be85ce90e358c56cf2ecaf0614390e29b832265b0bf61b47b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e48fe78cc6002be85ce90e358c56cf2ecaf0614390e29b832265b0bf61b47b4", kill_on_drop: false }` [INFO] [stdout] 6e48fe78cc6002be85ce90e358c56cf2ecaf0614390e29b832265b0bf61b47b4