[INFO] cloning repository kirugan/little-database [INFO] running `"git" "clone" "--bare" "git://github.com/kirugan/little-database.git" "work/cache/sources/gh/kirugan/little-database"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/kirugan/little-database'... [INFO] running `"git" "clone" "work/cache/sources/gh/kirugan/little-database" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kirugan/little-database"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kirugan/little-database'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kirugan/little-database" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kirugan/little-database"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kirugan/little-database'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 794bfe2c40fb82e985fe66d129b40c33cc5c0b89 [INFO] sha for GitHub repo kirugan/little-database: 794bfe2c40fb82e985fe66d129b40c33cc5c0b89 [INFO] validating manifest of kirugan/little-database on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of kirugan/little-database on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing kirugan/little-database [INFO] finished frobbing kirugan/little-database [INFO] frobbed toml for kirugan/little-database written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kirugan/little-database/Cargo.toml [INFO] started frobbing kirugan/little-database [INFO] finished frobbing kirugan/little-database [INFO] frobbed toml for kirugan/little-database written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kirugan/little-database/Cargo.toml [INFO] crate kirugan/little-database already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] testing kirugan/little-database against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kirugan/little-database:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] c216db11073de6e3e1a1af13549a751da503a53f5e3f77c1c773168e955e09c9 [INFO] running `"docker" "start" "-a" "c216db11073de6e3e1a1af13549a751da503a53f5e3f77c1c773168e955e09c9"` [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling RustLearning v0.1.0 (/opt/crater/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[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] 9 | let block = manager.read_block(0)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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: Could not compile `RustLearning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c216db11073de6e3e1a1af13549a751da503a53f5e3f77c1c773168e955e09c9"` [INFO] running `"docker" "rm" "-f" "c216db11073de6e3e1a1af13549a751da503a53f5e3f77c1c773168e955e09c9"` [INFO] [stdout] c216db11073de6e3e1a1af13549a751da503a53f5e3f77c1c773168e955e09c9