[INFO] cloning repository https://github.com/mmmpa/learning_storage_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmmpa/learning_storage_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_storage_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_storage_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bdb87c206a45be350d7c41228ada15cb36e06ce [INFO] testing mmmpa/learning_storage_engine against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmmpa%2Flearning_storage_engine" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmmpa/learning_storage_engine on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmmpa/learning_storage_engine [INFO] finished tweaking git repo https://github.com/mmmpa/learning_storage_engine [INFO] tweaked toml for git repo https://github.com/mmmpa/learning_storage_engine written to /workspace/builds/worker-82/source/Cargo.toml [INFO] crate git repo https://github.com/mmmpa/learning_storage_engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e136f445209ad2df0eb9f6ca9a5afacdd8cdc70dbeba65e9f664c9d00c303dc9 [INFO] running `Command { std: "docker" "start" "-a" "e136f445209ad2df0eb9f6ca9a5afacdd8cdc70dbeba65e9f664c9d00c303dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e136f445209ad2df0eb9f6ca9a5afacdd8cdc70dbeba65e9f664c9d00c303dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e136f445209ad2df0eb9f6ca9a5afacdd8cdc70dbeba65e9f664c9d00c303dc9", kill_on_drop: false }` [INFO] [stdout] e136f445209ad2df0eb9f6ca9a5afacdd8cdc70dbeba65e9f664c9d00c303dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c797fdaa05f3ba121dc9e4d7698c0c05ca06424220be482a76add5a704493a47 [INFO] running `Command { std: "docker" "start" "-a" "c797fdaa05f3ba121dc9e4d7698c0c05ca06424220be482a76add5a704493a47", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling intrusive-collections v0.7.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling learning_storage_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `ReadDir` [INFO] [stdout] --> src/hash_index_compaction.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{OpenOptions, ReadDir, DirEntry, File}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/hash_index_compaction.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `replace` [INFO] [stdout] --> src/hash_index_compaction.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem::{swap, replace}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intrusive_collections::rbtree::RBTree` [INFO] [stdout] --> src/log_structured_merged_tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use intrusive_collections::rbtree::RBTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyAdapter`, `RBTreeLink` [INFO] [stdout] --> src/log_structured_merged_tree.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use intrusive_collections::{RBTreeLink, KeyAdapter}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RangeBounds` [INFO] [stdout] --> src/log_structured_merged_tree.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::{RangeBounds, Range}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `learning_storage_engine` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[macro_use] [INFO] [stdout] 2 | | extern crate intrusive_collections; [INFO] [stdout] 3 | | use std::fmt::Debug; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning_storage_engine` due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c797fdaa05f3ba121dc9e4d7698c0c05ca06424220be482a76add5a704493a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c797fdaa05f3ba121dc9e4d7698c0c05ca06424220be482a76add5a704493a47", kill_on_drop: false }` [INFO] [stdout] c797fdaa05f3ba121dc9e4d7698c0c05ca06424220be482a76add5a704493a47