[INFO] fetching crate redb 3.1.3... [INFO] testing redb-3.1.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate redb 3.1.3 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate redb 3.1.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate redb 3.1.3 [INFO] tweaked toml for crates.io crate redb 3.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate redb 3.1.3 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 crates.io crate redb 3.1.3 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fef531f1e2ef0c4219bb17fe2c03602b97c7e7e010a804d70fa4c821879a5b50 [INFO] running `Command { std: "docker" "start" "-a" "fef531f1e2ef0c4219bb17fe2c03602b97c7e7e010a804d70fa4c821879a5b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef531f1e2ef0c4219bb17fe2c03602b97c7e7e010a804d70fa4c821879a5b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef531f1e2ef0c4219bb17fe2c03602b97c7e7e010a804d70fa4c821879a5b50", kill_on_drop: false }` [INFO] [stdout] fef531f1e2ef0c4219bb17fe2c03602b97c7e7e010a804d70fa4c821879a5b50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d66206fc90337445af08d06089bd582ca6144445c035ed1c9d17a5ac66d34e2e [INFO] running `Command { std: "docker" "start" "-a" "d66206fc90337445af08d06089bd582ca6144445c035ed1c9d17a5ac66d34e2e", kill_on_drop: false }` [INFO] [stderr] Compiling redb v3.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.59s [INFO] running `Command { std: "docker" "inspect" "d66206fc90337445af08d06089bd582ca6144445c035ed1c9d17a5ac66d34e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66206fc90337445af08d06089bd582ca6144445c035ed1c9d17a5ac66d34e2e", kill_on_drop: false }` [INFO] [stdout] d66206fc90337445af08d06089bd582ca6144445c035ed1c9d17a5ac66d34e2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baed8ec934aec05638341d72badb0080b381a94332fdd6735a0decae5516aa21 [INFO] running `Command { std: "docker" "start" "-a" "baed8ec934aec05638341d72badb0080b381a94332fdd6735a0decae5516aa21", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling redb v2.6.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling redb v3.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `redb_derive` [INFO] [stdout] --> examples/derive_value_impl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use redb_derive::{Key, Value}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `redb_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `redb_derive`, use `cargo add redb_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> examples/derive_value_impl.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use redb::{Database, Error, ReadableDatabase, TableDefinition, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | const TABLE: TableDefinition = TableDefinition::new("my_data"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `TableDefinition` [INFO] [stdout] --> src/db.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct TableDefinition<'a, K: Key + 'static, V: Value + 'static> { [INFO] [stdout] | ^^^ required by this bound in `TableDefinition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | const TABLE: TableDefinition = TableDefinition::new("my_data"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `TableDefinition` [INFO] [stdout] --> src/db.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct TableDefinition<'a, K: Key + 'static, V: Value + 'static> { [INFO] [stdout] | ^^^ required by this bound in `TableDefinition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | let mut table = write_txn.open_table(TABLE)?; [INFO] [stdout] | ---------- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `WriteTransaction::open_table` [INFO] [stdout] --> src/transactions.rs:1264:32 [INFO] [stdout] | [INFO] [stdout] 1264 | pub fn open_table<'txn, K: Key + 'static, V: Value + 'static>( [INFO] [stdout] | ^^^ required by this bound in `WriteTransaction::open_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut table = write_txn.open_table(TABLE)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `Table` [INFO] [stdout] --> src/table.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Table<'txn, K: Key + 'static, V: Value + 'static> { [INFO] [stdout] | ^^^ required by this bound in `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut table = write_txn.open_table(TABLE)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `Table` [INFO] [stdout] --> src/table.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Table<'txn, K: Key + 'static, V: Value + 'static> { [INFO] [stdout] | ^^^ required by this bound in `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `Table<'_, SomeKey, u64>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | -------------- doesn't satisfy `SomeKey: Key` [INFO] [stdout] ... [INFO] [stdout] 22 | table.insert(key.clone(), 0)?; [INFO] [stdout] | ^^^^^^ method cannot be called on `Table<'_, SomeKey, u64>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SomeKey: Key` [INFO] [stdout] note: the trait `Key` must be implemented [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | let table = read_txn.open_table(TABLE)?; [INFO] [stdout] | ---------- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `ReadTransaction::open_table` [INFO] [stdout] --> src/transactions.rs:2046:26 [INFO] [stdout] | [INFO] [stdout] 2046 | pub fn open_table( [INFO] [stdout] | ^^^ required by this bound in `ReadTransaction::open_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let table = read_txn.open_table(TABLE)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `ReadOnlyTable` [INFO] [stdout] --> src/table.rs:473:29 [INFO] [stdout] | [INFO] [stdout] 473 | pub struct ReadOnlyTable { [INFO] [stdout] | ^^^ required by this bound in `ReadOnlyTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeKey: Key` is not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let table = read_txn.open_table(TABLE)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Key` is not implemented for `SomeKey` [INFO] [stdout] --> examples/derive_value_impl.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `redb` in the dependency graph [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.0/src/types.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Key: Value { [INFO] [stdout] | -------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = help: the following other types implement trait `Key`: [INFO] [stdout] &[u8; N] [INFO] [stdout] &[u8] [INFO] [stdout] &str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 35 others [INFO] [stdout] note: required by a bound in `ReadOnlyTable` [INFO] [stdout] --> src/table.rs:473:29 [INFO] [stdout] | [INFO] [stdout] 473 | pub struct ReadOnlyTable { [INFO] [stdout] | ^^^ required by this bound in `ReadOnlyTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `ReadOnlyTable`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive_value_impl.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct SomeKey { [INFO] [stdout] | -------------- doesn't satisfy `SomeKey: Key` [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(table.get(&key)?.unwrap().value(), 0); [INFO] [stdout] | ^^^ method cannot be called on `ReadOnlyTable` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SomeKey: Key` [INFO] [stdout] note: the trait `Key` must be implemented [INFO] [stdout] --> src/types.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | pub trait Key: Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redb::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> tests/integration_tests.rs:965:27 [INFO] [stdout] | [INFO] [stdout] 965 | let mut value = t.insert_reserve(&723904, 2246).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redb::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> tests/integration_tests.rs:983:27 [INFO] [stdout] | [INFO] [stdout] 983 | let mut value = t.insert_reserve(&118749, 817).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redb::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> tests/integration_tests.rs:992:27 [INFO] [stdout] | [INFO] [stdout] 992 | let mut value = t.insert_reserve(&65373, 1807).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `redb` (example "derive_value_impl") due to 11 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `redb::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> tests/integration_tests.rs:1008:27 [INFO] [stdout] | [INFO] [stdout] 1008 | let mut value = t.insert_reserve(&118749, 2494).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redb::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> tests/integration_tests.rs:1021:27 [INFO] [stdout] | [INFO] [stdout] 1021 | let mut value = t.insert_reserve(&429469, 667).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redb::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> tests/integration_tests.rs:1024:27 [INFO] [stdout] | [INFO] [stdout] 1024 | let mut value = t.insert_reserve(&266845, 1614).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redb::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> tests/basic_tests.rs:985:34 [INFO] [stdout] | [INFO] [stdout] 985 | let mut reserved = table.insert_reserve("hello", value.len()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `table::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> src/db.rs:1364:27 [INFO] [stdout] | [INFO] [stdout] 1364 | let _ = table.insert_reserve(118821, 360).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `table::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> src/db.rs:1471:15 [INFO] [stdout] | [INFO] [stdout] 1471 | t.insert_reserve(&660503, 489).unwrap().as_mut().fill(0xFF); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `table::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> src/db.rs:1596:15 [INFO] [stdout] | [INFO] [stdout] 1596 | t.insert_reserve(&744037, 3645).unwrap().as_mut().fill(0xFF); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `table::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> src/db.rs:1604:15 [INFO] [stdout] | [INFO] [stdout] 1604 | t.insert_reserve(&118749, 734).unwrap().as_mut().fill(0xFF); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `table::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> src/tree_store/page_store/header.rs:661:35 [INFO] [stdout] | [INFO] [stdout] 661 | let mut value = table.insert_reserve("hello", 5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `table::Table::<'_, K, V>::insert_reserve`: The returned guard must be dropped before the transaction commits, otherwise data loss may occur. This is fixed in the 4.0 release. [INFO] [stdout] --> src/tree_store/page_store/header.rs:669:35 [INFO] [stdout] | [INFO] [stdout] 669 | let mut value = table.insert_reserve("hello2", 5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "baed8ec934aec05638341d72badb0080b381a94332fdd6735a0decae5516aa21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baed8ec934aec05638341d72badb0080b381a94332fdd6735a0decae5516aa21", kill_on_drop: false }` [INFO] [stdout] baed8ec934aec05638341d72badb0080b381a94332fdd6735a0decae5516aa21