[INFO] cloning repository https://github.com/lichuang/lsm-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lichuang/lsm-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flichuang%2Flsm-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flichuang%2Flsm-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 454dfc1ef37ac4382e1e3fc225de7157eac56adb [INFO] testing lichuang/lsm-engine against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flichuang%2Flsm-engine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lichuang/lsm-engine [INFO] finished tweaking git repo https://github.com/lichuang/lsm-engine [INFO] tweaked toml for git repo https://github.com/lichuang/lsm-engine written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lichuang/lsm-engine on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lichuang/lsm-engine 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.14.0 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded miniz_oxide v0.8.5 [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded bincode v1.3.3 [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded tinysearch-cuckoofilter v0.4.1 [INFO] [stderr] Downloaded farmhash v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8845925207a5b3ef51f451942bf8a8e8f8b13e2a33d506ac31cfb4fce7d90a4a [INFO] running `Command { std: "docker" "start" "-a" "8845925207a5b3ef51f451942bf8a8e8f8b13e2a33d506ac31cfb4fce7d90a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8845925207a5b3ef51f451942bf8a8e8f8b13e2a33d506ac31cfb4fce7d90a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8845925207a5b3ef51f451942bf8a8e8f8b13e2a33d506ac31cfb4fce7d90a4a", kill_on_drop: false }` [INFO] [stdout] 8845925207a5b3ef51f451942bf8a8e8f8b13e2a33d506ac31cfb4fce7d90a4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d97721ccbbbf38eccf0b99ba017303d20ddaadf0d2999107b3a3b86f16a6a7a1 [INFO] running `Command { std: "docker" "start" "-a" "d97721ccbbbf38eccf0b99ba017303d20ddaadf0d2999107b3a3b86f16a6a7a1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling farmhash v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tinysearch-cuckoofilter v0.4.1 [INFO] [stderr] Compiling lsm-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find type `Error` in this scope [INFO] [stdout] --> src/mvcc/txn.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | return Err(Error::txn_error("cannot operate on committed txn")); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Error` in this scope [INFO] [stdout] --> src/mvcc/txn.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | return Err(Error::txn_error("cannot operate on committed txn")); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Error` in this scope [INFO] [stdout] --> src/mvcc/txn.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | ... return Err(Error::txn_error("serializable check failed")); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 15 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::Block` [INFO] [stdout] --> src/block/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use block::Block; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::LsmOptions` [INFO] [stdout] --> src/engine/lsm_engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use super::LsmOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memtable::Memtable` [INFO] [stdout] --> src/engine/lsm_engine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::memtable::Memtable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/engine/lsm_engine_inner.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::LsmOptions` [INFO] [stdout] --> src/engine/lsm_engine_inner.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use super::LsmOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lsm_engine::LsmEngine` [INFO] [stdout] --> src/engine/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use lsm_engine::LsmEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/table/table.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/table/table.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/table/table.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file::FileObject` [INFO] [stdout] --> src/table/mod.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) use file::FileObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table_builder::SsTableBuilder` [INFO] [stdout] --> src/table/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use table_builder::SsTableBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create` found for struct `SsTable` in the current scope [INFO] [stdout] --> src/table/table_builder.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | SsTable::create(table_meta, path.as_ref(), data) [INFO] [stdout] | ^^^^^^ function or associated item not found in `SsTable` [INFO] [stdout] | [INFO] [stdout] ::: src/table/table.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SsTable { [INFO] [stdout] | ------------------ function or associated item `create` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/engine/lsm_engine_inner.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_with_version(&self, key: &[u8], version: Version) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/engine/lsm_engine_inner.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_with_version(&self, key: &[u8], version: Version) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch` [INFO] [stdout] --> src/engine/lsm_engine_inner.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_batch>(&self, batch: &[WriteBatchRecord]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `records` [INFO] [stdout] --> src/engine/manifest.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let (manifest, records) = Manifest::recover(path)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/wal/wal.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let path = &self.path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lsm-engine` (lib) due to 4 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d97721ccbbbf38eccf0b99ba017303d20ddaadf0d2999107b3a3b86f16a6a7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97721ccbbbf38eccf0b99ba017303d20ddaadf0d2999107b3a3b86f16a6a7a1", kill_on_drop: false }` [INFO] [stdout] d97721ccbbbf38eccf0b99ba017303d20ddaadf0d2999107b3a3b86f16a6a7a1