[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] ce67117d5af91f730d3a972fe6b8754dc0e8ac1d [INFO] testing nannany/didactic-funicular against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnannany%2Fdidactic-funicular" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nannany/didactic-funicular on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nannany/didactic-funicular 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" "+1.91.0" "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] Downloading crates ... [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded zerocopy v0.6.1 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded zerocopy-derive v0.3.1 [INFO] [stderr] Downloaded anyhow v1.0.55 [INFO] [stderr] Downloaded sqlparser v0.15.0 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc1b9ba39a5383f9abcbce57b53279d753dd72caae8bc3de8242c752f4137d4 [INFO] running `Command { std: "docker" "start" "-a" "6fc1b9ba39a5383f9abcbce57b53279d753dd72caae8bc3de8242c752f4137d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc1b9ba39a5383f9abcbce57b53279d753dd72caae8bc3de8242c752f4137d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc1b9ba39a5383f9abcbce57b53279d753dd72caae8bc3de8242c752f4137d4", kill_on_drop: false }` [INFO] [stdout] 6fc1b9ba39a5383f9abcbce57b53279d753dd72caae8bc3de8242c752f4137d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c651b6d56cabdf0c8af04181d99c4f2b2d592592b13a9de931c4f51fcf0b795f [INFO] running `Command { std: "docker" "start" "-a" "c651b6d56cabdf0c8af04181d99c4f2b2d592592b13a9de931c4f51fcf0b795f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling sqlparser v0.15.0 [INFO] [stderr] Compiling synstructure v0.12.6 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/branch.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/leaf.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/disk.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const 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: struct `DiskManager` is never constructed [INFO] [stdout] --> src/disk.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiskManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `valid` and `to_u64` are never used [INFO] [stdout] --> src/disk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PageId { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 20 | pub const INVALID_PAGE_ID: PageId = PageId(u64::MAX); [INFO] [stdout] 21 | pub fn valid(self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn to_u64(self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `allocate_page`, `read_page_data`, `write_page_data`, and `sync` are never used [INFO] [stdout] --> src/disk.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl DiskManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(heap_file: File) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn open(heap_file_path: impl AsRef) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn allocate_page(&mut self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] 87 | pub fn write_page_data(&mut self, page_id: PageId, data: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn sync(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/buffer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferId` is never constructed [INFO] [stdout] --> src/buffer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Page` is never used [INFO] [stdout] --> src/buffer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Page = [u8; PAGE_SIZE]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Buffer` is never constructed [INFO] [stdout] --> src/buffer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Buffer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> src/buffer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPool` is never constructed [INFO] [stdout] --> src/buffer.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct BufferPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `size`, `evict`, and `increment_id` are never used [INFO] [stdout] --> src/buffer.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl BufferPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new(pool_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn evict(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn increment_id(&self, buffer_id: BufferId) -> BufferId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [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 items `new`, `fetch_page`, `create_page`, and `flush` are never used [INFO] [stdout] --> src/buffer.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(disk: DiskManager, pool: BufferPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn fetch_page(&mut self, page_id: PageId) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn create_page(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn flush(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.52s [INFO] running `Command { std: "docker" "inspect" "c651b6d56cabdf0c8af04181d99c4f2b2d592592b13a9de931c4f51fcf0b795f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c651b6d56cabdf0c8af04181d99c4f2b2d592592b13a9de931c4f51fcf0b795f", kill_on_drop: false }` [INFO] [stdout] c651b6d56cabdf0c8af04181d99c4f2b2d592592b13a9de931c4f51fcf0b795f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f4fa463caeb2d57133f1779ba6de96501c64fd730dce2cd606d2a5f6269711 [INFO] running `Command { std: "docker" "start" "-a" "b8f4fa463caeb2d57133f1779ba6de96501c64fd730dce2cd606d2a5f6269711", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/branch.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/leaf.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [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 unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/disk.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const 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: struct `DiskManager` is never constructed [INFO] [stdout] --> src/disk.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiskManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `valid` and `to_u64` are never used [INFO] [stdout] --> src/disk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PageId { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 20 | pub const INVALID_PAGE_ID: PageId = PageId(u64::MAX); [INFO] [stdout] 21 | pub fn valid(self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn to_u64(self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `allocate_page`, `read_page_data`, `write_page_data`, and `sync` are never used [INFO] [stdout] --> src/disk.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl DiskManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(heap_file: File) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn open(heap_file_path: impl AsRef) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn allocate_page(&mut self) -> PageId { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] 87 | pub fn write_page_data(&mut self, page_id: PageId, data: &mut [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn sync(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/buffer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferId` is never constructed [INFO] [stdout] --> src/buffer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Page` is never used [INFO] [stdout] --> src/buffer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Page = [u8; PAGE_SIZE]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Buffer` is never constructed [INFO] [stdout] --> src/buffer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Buffer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> src/buffer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPool` is never constructed [INFO] [stdout] --> src/buffer.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct BufferPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `size`, `evict`, and `increment_id` are never used [INFO] [stdout] --> src/buffer.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl BufferPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new(pool_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn evict(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn increment_id(&self, buffer_id: BufferId) -> BufferId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [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 items `new`, `fetch_page`, `create_page`, and `flush` are never used [INFO] [stdout] --> src/buffer.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(disk: DiskManager, pool: BufferPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn fetch_page(&mut self, page_id: PageId) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn create_page(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn flush(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [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` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b8f4fa463caeb2d57133f1779ba6de96501c64fd730dce2cd606d2a5f6269711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f4fa463caeb2d57133f1779ba6de96501c64fd730dce2cd606d2a5f6269711", kill_on_drop: false }` [INFO] [stdout] b8f4fa463caeb2d57133f1779ba6de96501c64fd730dce2cd606d2a5f6269711