[INFO] updating cached repository https://github.com/kirugan/little-database
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 794bfe2c40fb82e985fe66d129b40c33cc5c0b89
[INFO] checking kirugan/little-database against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirugan%2Flittle-database" "/workspace/builds/worker-11/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kirugan/little-database on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/kirugan/little-database
[INFO] finished tweaking git repo https://github.com/kirugan/little-database
[INFO] tweaked toml for git repo https://github.com/kirugan/little-database written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/kirugan/little-database already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 73babfa3c511e240f0650bccb40175792377837e690c63c4dba04414d75ee432
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "73babfa3c511e240f0650bccb40175792377837e690c63c4dba04414d75ee432"`
[INFO] [stderr]     Checking mio v0.6.16
[INFO] [stderr]     Checking tokio-io v0.1.10
[INFO] [stderr]     Checking tokio-threadpool v0.1.8
[INFO] [stderr]     Checking parking_lot_core v0.3.1
[INFO] [stderr]     Checking parking_lot v0.6.4
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking tokio-fs v0.1.4
[INFO] [stderr]     Checking tokio-reactor v0.1.6
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking tokio-udp v0.1.2
[INFO] [stderr]     Checking tokio-uds v0.2.3
[INFO] [stderr]     Checking tokio-tcp v0.1.2
[INFO] [stderr]     Checking tokio v0.1.11
[INFO] [stderr]     Checking RustLearning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BufferPool`
[INFO] [stderr]   --> src/main.rs:11:16
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let pool = BufferPool::new();
[INFO] [stderr]    |                ^^^^^^^^^^ use of undeclared type or module `BufferPool`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `int` in this scope
[INFO] [stderr]  --> src/main.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | type OID = int;
[INFO] [stderr]   |            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `page` in this scope
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     page = pool.get_page(0);
[INFO] [stderr]    |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BufferPool`
[INFO] [stderr]   --> src/main.rs:11:16
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let pool = BufferPool::new();
[INFO] [stderr]    |                ^^^^^^^^^^ use of undeclared type or module `BufferPool`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `int` in this scope
[INFO] [stderr]  --> src/main.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | type OID = int;
[INFO] [stderr]   |            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `page` in this scope
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     page = pool.get_page(0);
[INFO] [stderr]    |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stderr]   --> src/main.rs:9:17
[INFO] [stderr]    |
[INFO] [stderr] 7  | / fn main() {
[INFO] [stderr] 8  | |     let mut manager = block_manager::BlockManager::open("H:\\RustLearning\\commit.log", 4026).unwrap();
[INFO] [stderr] 9  | |     let block = manager.read_block(0)?;
[INFO] [stderr]    | |                 ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stderr] 10 | |
[INFO] [stderr] ...  |
[INFO] [stderr] 18 | |     println!("done")
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stderr]    = note: required by `std::ops::Try::from_error`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stderr]   --> src/main.rs:9:17
[INFO] [stderr]    |
[INFO] [stderr] 7  | / fn main() {
[INFO] [stderr] 8  | |     let mut manager = block_manager::BlockManager::open("H:\\RustLearning\\commit.log", 4026).unwrap();
[INFO] [stderr] 9  | |     let block = manager.read_block(0)?;
[INFO] [stderr]    | |                 ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stderr] 10 | |
[INFO] [stderr] ...  |
[INFO] [stderr] 18 | |     println!("done")
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stderr]    = note: required by `std::ops::Try::from_error`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `RustLearning`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `RustLearning`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "73babfa3c511e240f0650bccb40175792377837e690c63c4dba04414d75ee432"`
[INFO] running `"docker" "rm" "-f" "73babfa3c511e240f0650bccb40175792377837e690c63c4dba04414d75ee432"`
[INFO] [stdout] 73babfa3c511e240f0650bccb40175792377837e690c63c4dba04414d75ee432
