[INFO] updating cached repository https://github.com/sueken5/chicchaidb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 051722917613fb2ede739be857be5ab3fd09fdf5 [INFO] testing sueken5/chicchaidb/051722917613fb2ede739be857be5ab3fd09fdf5 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsueken5%2Fchicchaidb" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sueken5/chicchaidb on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sueken5/chicchaidb [INFO] finished tweaking git repo https://github.com/sueken5/chicchaidb [INFO] tweaked toml for git repo https://github.com/sueken5/chicchaidb written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/sueken5/chicchaidb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8752c65305c9c1945451b09d85c08562b374e890c70ccdd731f5f77a43d9854b [INFO] running `Command { std: "docker" "start" "-a" "8752c65305c9c1945451b09d85c08562b374e890c70ccdd731f5f77a43d9854b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8752c65305c9c1945451b09d85c08562b374e890c70ccdd731f5f77a43d9854b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8752c65305c9c1945451b09d85c08562b374e890c70ccdd731f5f77a43d9854b", kill_on_drop: false }` [INFO] [stdout] 8752c65305c9c1945451b09d85c08562b374e890c70ccdd731f5f77a43d9854b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3d2df8ce590948fba04150c5f9c1f7beb09fdca62aba55207af79511b70dc6a [INFO] running `Command { std: "docker" "start" "-a" "b3d2df8ce590948fba04150c5f9c1f7beb09fdca62aba55207af79511b70dc6a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling bincode v1.1.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling chicchaidb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/mod.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - ) -> Result, Box> { [INFO] [stdout] 26 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/mod.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn insert(&mut self, key: K, value: V) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub fn insert(&mut self, key: K, value: V) -> Result<(), Box> { [INFO] [stdout] 40 + pub fn insert(&mut self, key: K, value: V) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/mod.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | fn merge(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn merge(&mut self) -> Result<(), Box> { [INFO] [stdout] 53 + fn merge(&mut self) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/mod.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn close(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn close(&mut self) -> Result<(), Box> { [INFO] [stdout] 57 + pub fn close(&mut self) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:40:62 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(file_path: String) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn new(file_path: String) -> Result, Box> { [INFO] [stdout] 40 + fn new(file_path: String) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:57:62 [INFO] [stdout] | [INFO] [stdout] 57 | fn insert(&mut self, key: K, value: V) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn insert(&mut self, key: K, value: V) -> Result<(), Box> { [INFO] [stdout] 57 + fn insert(&mut self, key: K, value: V) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:97:111 [INFO] [stdout] | [INFO] [stdout] 97 | fn new(file: &mut File, id: NodeID, width: usize, elms: Vec>) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - fn new(file: &mut File, id: NodeID, width: usize, elms: Vec>) -> Result, Box> { [INFO] [stdout] 97 + fn new(file: &mut File, id: NodeID, width: usize, elms: Vec>) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:111:119 [INFO] [stdout] | [INFO] [stdout] 111 | fn insert(&mut self, file: &mut File, count: &mut usize, elm: Elm<'d, K, V>) -> Result>, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn insert(&mut self, file: &mut File, count: &mut usize, elm: Elm<'d, K, V>) -> Result>, Box> { [INFO] [stdout] 111 + fn insert(&mut self, file: &mut File, count: &mut usize, elm: Elm<'d, K, V>) -> Result>, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:146:100 [INFO] [stdout] | [INFO] [stdout] 146 | fn balance(&mut self, file: &mut File, count: &mut usize) -> Result>, Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 - fn balance(&mut self, file: &mut File, count: &mut usize) -> Result>, Box>{ [INFO] [stdout] 146 + fn balance(&mut self, file: &mut File, count: &mut usize) -> Result>, Box>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:164:71 [INFO] [stdout] | [INFO] [stdout] 164 | fn save(file: &mut File, node: &Node<'d, K, V>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - fn save(file: &mut File, node: &Node<'d, K, V>) -> Result<(), Box> { [INFO] [stdout] 164 + fn save(file: &mut File, node: &Node<'d, K, V>) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:180:72 [INFO] [stdout] | [INFO] [stdout] 180 | fn open(file: &mut File, id: NodeID) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - fn open(file: &mut File, id: NodeID) -> Result, Box> { [INFO] [stdout] 180 + fn open(file: &mut File, id: NodeID) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:267:42 [INFO] [stdout] | [INFO] [stdout] 267 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 - ) -> Result, Box> { [INFO] [stdout] 267 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 302 | fn is_new(&self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 - fn is_new(&self) -> Result> { [INFO] [stdout] 302 + fn is_new(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:311:48 [INFO] [stdout] | [INFO] [stdout] 311 | fn initialize(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - fn initialize(&mut self) -> Result<(), Box> { [INFO] [stdout] 311 + fn initialize(&mut self) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:332:52 [INFO] [stdout] | [INFO] [stdout] 332 | fn metadata(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 - fn metadata(&mut self) -> Result> { [INFO] [stdout] 332 + fn metadata(&mut self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/disk_btree.rs:349:41 [INFO] [stdout] | [INFO] [stdout] 349 | fn mapping(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 349 - fn mapping(&self) -> Result<(), Box> { [INFO] [stdout] 349 + fn mapping(&self) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/mem_btree.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new() -> Result, Box> { [INFO] [stdout] 12 + pub fn new() -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/wal.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - ) -> Result, Box> { [INFO] [stdout] 14 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/wal.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn insert(&mut self, key: &K, value: &V) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - pub fn insert(&mut self, key: &K, value: &V) -> Result<(), Box> { [INFO] [stdout] 19 + pub fn insert(&mut self, key: &K, value: &V) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/record_file.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - ) -> Result, Box> { [INFO] [stdout] 23 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/record_file.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn is_new(&self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn is_new(&self) -> Result> { [INFO] [stdout] 38 + pub fn is_new(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/btree/record_file.rs:47:77 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, kv: &KeyValuePair<'d, K, V>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn insert(&mut self, kv: &KeyValuePair<'d, K, V>) -> Result<(), Box> { [INFO] [stdout] 47 + pub fn insert(&mut self, kv: &KeyValuePair<'d, K, V>) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/key_value.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct KeyValuePair<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `K: Deserialize<'d>` [INFO] [stdout] note: required by a bound in `KeyType` [INFO] [stdout] --> src/btree/key_value.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait KeyType<'d>: Ord + Clone + Serialize + Deserialize<'d> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `KeyType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] note: required because of the requirements on the impl of `Visitor<'de>` for `_IMPL_DESERIALIZE_FOR_KeyValuePair:: for KeyValuePair<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/disk_btree.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `K: Deserialize<'d>` [INFO] [stdout] note: required by a bound in `KeyType` [INFO] [stdout] --> src/btree/key_value.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait KeyType<'d>: Ord + Clone + Serialize + Deserialize<'d> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `KeyType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] note: required because of the requirements on the impl of `Visitor<'de>` for `_IMPL_DESERIALIZE_FOR_Node:: for Node<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/disk_btree.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `K: Deserialize<'d>` [INFO] [stdout] note: required by a bound in `KeyType` [INFO] [stdout] --> src/btree/key_value.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait KeyType<'d>: Ord + Clone + Serialize + Deserialize<'d> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `KeyType` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chicchaidb` due to 7 previous errors; 22 warnings emitted [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] note: required because of the requirements on the impl of `Visitor<'de>` for `_IMPL_DESERIALIZE_FOR_Elm:: for Elm<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3d2df8ce590948fba04150c5f9c1f7beb09fdca62aba55207af79511b70dc6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d2df8ce590948fba04150c5f9c1f7beb09fdca62aba55207af79511b70dc6a", kill_on_drop: false }` [INFO] [stdout] b3d2df8ce590948fba04150c5f9c1f7beb09fdca62aba55207af79511b70dc6a