[INFO] cloning repository https://github.com/sueken5/chicchaidb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sueken5/chicchaidb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsueken5%2Fchicchaidb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsueken5%2Fchicchaidb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 051722917613fb2ede739be857be5ab3fd09fdf5 [INFO] checking sueken5/chicchaidb against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsueken5%2Fchicchaidb" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sueken5/chicchaidb on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccfab3ea5d3f2932fd33dfcd85fcb315f0123f6d1a60b2a1a835bbd1f731ef55 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ccfab3ea5d3f2932fd33dfcd85fcb315f0123f6d1a60b2a1a835bbd1f731ef55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccfab3ea5d3f2932fd33dfcd85fcb315f0123f6d1a60b2a1a835bbd1f731ef55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccfab3ea5d3f2932fd33dfcd85fcb315f0123f6d1a60b2a1a835bbd1f731ef55", kill_on_drop: false }` [INFO] [stdout] ccfab3ea5d3f2932fd33dfcd85fcb315f0123f6d1a60b2a1a835bbd1f731ef55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7f7b9d26351e244f50cbedc30c74b96a82e98f8c29bc110641584245bd2536f6 [INFO] running `Command { std: "docker" "start" "-a" "7f7b9d26351e244f50cbedc30c74b96a82e98f8c29bc110641584245bd2536f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling autocfg v0.1.2 [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] Checking chicchaidb v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/key_value.rs:12:32 [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] 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] [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] = note: this error originates in a derive macro (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] ::: 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] = note: cannot satisfy `K: Deserialize<'d>` [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] = note: this error originates in a derive macro (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] ::: 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] = note: cannot satisfy `K: Deserialize<'d>` [INFO] [stdout] [INFO] [stdout] [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] = note: this error originates in a derive macro (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] [stderr] error: could not compile `chicchaidb` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/btree/key_value.rs:12:32 [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] 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] [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] = note: this error originates in a derive macro (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] ::: 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] = note: cannot satisfy `K: Deserialize<'d>` [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] = note: this error originates in a derive macro (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] ::: 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] = note: cannot satisfy `K: Deserialize<'d>` [INFO] [stdout] [INFO] [stdout] [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] = note: this error originates in a derive macro (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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7f7b9d26351e244f50cbedc30c74b96a82e98f8c29bc110641584245bd2536f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7b9d26351e244f50cbedc30c74b96a82e98f8c29bc110641584245bd2536f6", kill_on_drop: false }` [INFO] [stdout] 7f7b9d26351e244f50cbedc30c74b96a82e98f8c29bc110641584245bd2536f6