[INFO] fetching crate solana-kvstore 0.19.1... [INFO] checking solana-kvstore-0.19.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate solana-kvstore 0.19.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate solana-kvstore 0.19.1 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate solana-kvstore 0.19.1 [INFO] finished tweaking crates.io crate solana-kvstore 0.19.1 [INFO] tweaked toml for crates.io crate solana-kvstore 0.19.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99c0c0ba2d14de2aa72620c597f4bf2c8070e63d449c5c1dbcce2d5a8b23f4aa [INFO] running `Command { std: "docker" "start" "-a" "99c0c0ba2d14de2aa72620c597f4bf2c8070e63d449c5c1dbcce2d5a8b23f4aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99c0c0ba2d14de2aa72620c597f4bf2c8070e63d449c5c1dbcce2d5a8b23f4aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c0c0ba2d14de2aa72620c597f4bf2c8070e63d449c5c1dbcce2d5a8b23f4aa", kill_on_drop: false }` [INFO] [stdout] 99c0c0ba2d14de2aa72620c597f4bf2c8070e63d449c5c1dbcce2d5a8b23f4aa [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86d2b07340c3af3a05b99b38ef68e8d4567b97b596e17bd5b8609f7b5a8eadd0 [INFO] running `Command { std: "docker" "start" "-a" "86d2b07340c3af3a05b99b38ef68e8d4567b97b596e17bd5b8609f7b5a8eadd0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [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 crc v1.8.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking solana-kvstore v0.19.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/sstable.rs:381:35 [INFO] [stdout] | [INFO] [stdout] 381 | let bincode_config = bincode::config(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/sstable.rs:381:35 [INFO] [stdout] | [INFO] [stdout] 381 | let bincode_config = bincode::config(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `memtable` does not live long enough [INFO] [stdout] --> src/lib.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 207 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 212 | let (memtable, tables) = (self.mem.read().unwrap(), self.tables.read().unwrap()); [INFO] [stdout] | -------- binding `memtable` declared here [INFO] [stdout] 213 | [INFO] [stdout] 214 | storage::range(&memtable.values, &*tables, range) [INFO] [stdout] | ----------------^^^^^^^^------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `memtable` is borrowed for `'1` [INFO] [stdout] 215 | } [INFO] [stdout] | - `memtable` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tables` does not live long enough [INFO] [stdout] --> src/lib.rs:214:44 [INFO] [stdout] | [INFO] [stdout] 207 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 212 | let (memtable, tables) = (self.mem.read().unwrap(), self.tables.read().unwrap()); [INFO] [stdout] | ------ binding `tables` declared here [INFO] [stdout] 213 | [INFO] [stdout] 214 | storage::range(&memtable.values, &*tables, range) [INFO] [stdout] | -----------------------------------^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `tables` is borrowed for `'1` [INFO] [stdout] 215 | } [INFO] [stdout] | - `tables` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `memtable` does not live long enough [INFO] [stdout] --> src/lib.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 207 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 212 | let (memtable, tables) = (self.mem.read().unwrap(), self.tables.read().unwrap()); [INFO] [stdout] | -------- binding `memtable` declared here [INFO] [stdout] 213 | [INFO] [stdout] 214 | storage::range(&memtable.values, &*tables, range) [INFO] [stdout] | ----------------^^^^^^^^------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `memtable` is borrowed for `'1` [INFO] [stdout] 215 | } [INFO] [stdout] | - `memtable` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tables` does not live long enough [INFO] [stdout] --> src/lib.rs:214:44 [INFO] [stdout] | [INFO] [stdout] 207 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 212 | let (memtable, tables) = (self.mem.read().unwrap(), self.tables.read().unwrap()); [INFO] [stdout] | ------ binding `tables` declared here [INFO] [stdout] 213 | [INFO] [stdout] 214 | storage::range(&memtable.values, &*tables, range) [INFO] [stdout] | -----------------------------------^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `tables` is borrowed for `'1` [INFO] [stdout] 215 | } [INFO] [stdout] | - `tables` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `range` does not live long enough [INFO] [stdout] --> src/storage.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 119 | tables: &[BTreeMap], [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 120 | range: std::ops::RangeInclusive, [INFO] [stdout] | ----- binding `range` declared here [INFO] [stdout] ... [INFO] [stdout] 132 | let iter = sst.range(&range)?; [INFO] [stdout] | ^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(rows) [INFO] [stdout] | -------- opaque type requires that `range` is borrowed for `'1` [INFO] [stdout] 142 | } [INFO] [stdout] | - `range` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `range` does not live long enough [INFO] [stdout] --> src/storage.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 119 | tables: &[BTreeMap], [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 120 | range: std::ops::RangeInclusive, [INFO] [stdout] | ----- binding `range` declared here [INFO] [stdout] ... [INFO] [stdout] 132 | let iter = sst.range(&range)?; [INFO] [stdout] | ^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(rows) [INFO] [stdout] | -------- opaque type requires that `range` is borrowed for `'1` [INFO] [stdout] 142 | } [INFO] [stdout] | - `range` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fill` [INFO] [stdout] --> src/sstable.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::io_utils::{Fill, MemMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-kvstore` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Fill` [INFO] [stdout] --> src/sstable.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::io_utils::{Fill, MemMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-kvstore` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86d2b07340c3af3a05b99b38ef68e8d4567b97b596e17bd5b8609f7b5a8eadd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d2b07340c3af3a05b99b38ef68e8d4567b97b596e17bd5b8609f7b5a8eadd0", kill_on_drop: false }` [INFO] [stdout] 86d2b07340c3af3a05b99b38ef68e8d4567b97b596e17bd5b8609f7b5a8eadd0