[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 master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsueken5%2Fchicchaidb" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sueken5/chicchaidb on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.26 [INFO] [stderr] Downloaded bincode v1.1.2 [INFO] [stderr] Downloaded serde v1.0.88 [INFO] [stderr] Downloaded serde_derive v1.0.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07c62bccb108e5a0663c39b5f0de54af3e29856bb5d3f9679e6718bf628b7b0a [INFO] running `Command { std: "docker" "start" "-a" "07c62bccb108e5a0663c39b5f0de54af3e29856bb5d3f9679e6718bf628b7b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07c62bccb108e5a0663c39b5f0de54af3e29856bb5d3f9679e6718bf628b7b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c62bccb108e5a0663c39b5f0de54af3e29856bb5d3f9679e6718bf628b7b0a", kill_on_drop: false }` [INFO] [stdout] 07c62bccb108e5a0663c39b5f0de54af3e29856bb5d3f9679e6718bf628b7b0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de4b449e5844cb645732db16f97cc67106a87e06824901c76f5cc22f2cd83f40 [INFO] running `Command { std: "docker" "start" "-a" "de4b449e5844cb645732db16f97cc67106a87e06824901c76f5cc22f2cd83f40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling byteorder v1.3.1 [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: the item `Write` is imported redundantly [INFO] [stdout] --> src/btree/disk_btree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/btree/disk_btree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | use std::io::SeekFrom; [INFO] [stdout] 13 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Read` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/btree/disk_btree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/btree/disk_btree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | use std::io::SeekFrom; [INFO] [stdout] 13 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Read` is already imported here [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, kv: &KeyValuePair<'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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/mod.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, kv: &KeyValuePair<'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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn close(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'d>` [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'d>` found [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub struct KeyValuePair<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [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] = 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: cannot satisfy `K: Deserialize<'d>` [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'d>` found [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub struct KeyValuePair<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [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] = 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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub struct KeyValuePair<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `_IMPL_DESERIALIZE_FOR_KeyValuePair:: for KeyValuePair<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub struct KeyValuePair<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `_IMPL_DESERIALIZE_FOR_KeyValuePair:: for KeyValuePair<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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: cannot satisfy `K: Deserialize<'d>` [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'d>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [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] = 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: cannot satisfy `K: Deserialize<'d>` [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'d>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [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] = 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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `_IMPL_DESERIALIZE_FOR_Node:: for Node<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `_IMPL_DESERIALIZE_FOR_Node:: for Node<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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: cannot satisfy `K: Deserialize<'d>` [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'d>` found [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [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] = 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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `_IMPL_DESERIALIZE_FOR_Elm:: for Elm<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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: cannot satisfy `K: Deserialize<'d>` [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'d>` found [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [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] = 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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `_IMPL_DESERIALIZE_FOR_Elm:: for Elm<'d, K, V>>::deserialize::__Visitor<'de, 'd, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub struct KeyValuePair<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `_IMPL_DESERIALIZE_FOR_KeyValuePair:: for KeyValuePair<'d, K, V>>::deserialize::__Visitor` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `__Visitor` [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub struct KeyValuePair<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `_IMPL_DESERIALIZE_FOR_KeyValuePair:: for KeyValuePair<'d, K, V>>::deserialize::__Visitor` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `__Visitor` [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[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 13 - key: &'d K, [INFO] [stdout] 13 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 14 - value: &'d V, [INFO] [stdout] 14 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 13 - key: &'d K, [INFO] [stdout] 13 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 13 - key: &'d K, [INFO] [stdout] 13 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 14 - value: &'d V, [INFO] [stdout] 14 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 14 - value: &'d V, [INFO] [stdout] 14 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0277]: the trait bound `&V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 13 - key: &'d K, [INFO] [stdout] 13 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 14 - value: &'d V, [INFO] [stdout] 14 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0277]: the trait bound `&V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0308]: mismatched types [INFO] [stdout] --> src/btree/key_value.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> KeyValuePair<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] 18 | pub fn new(key: K, value: V) -> Self { [INFO] [stdout] 19 | KeyValuePair { key, value } [INFO] [stdout] | ^^^ expected `&K`, found type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | KeyValuePair { key: &key, value } [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/key_value.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> KeyValuePair<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] 18 | pub fn new(key: K, value: V) -> Self { [INFO] [stdout] 19 | KeyValuePair { key, value } [INFO] [stdout] | ^^^^^ expected `&V`, found type parameter `V` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | KeyValuePair { key, value: &value } [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/key_value.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> KeyValuePair<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] 18 | pub fn new(key: K, value: V) -> Self { [INFO] [stdout] 19 | KeyValuePair { key, value } [INFO] [stdout] | ^^^ expected `&K`, found type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | KeyValuePair { key: &key, value } [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/key_value.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> KeyValuePair<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] 18 | pub fn new(key: K, value: V) -> Self { [INFO] [stdout] 19 | KeyValuePair { key, value } [INFO] [stdout] | ^^^^^ expected `&V`, found type parameter `V` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | KeyValuePair { key, value: &value } [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `_IMPL_DESERIALIZE_FOR_Node:: for Node<'d, K, V>>::deserialize::__Visitor` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `__Visitor` [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | elms: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `Elm<'d, K, V>` to implement `Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `_IMPL_DESERIALIZE_FOR_Node:: for Node<'d, K, V>>::deserialize::__Visitor` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `__Visitor` [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | elms: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `Elm<'d, K, V>` to implement `Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | elms: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `Elm<'d, K, V>` to implement `Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | elms: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | struct Node<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required for `Elm<'d, K, V>` to implement `Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [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: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `_IMPL_DESERIALIZE_FOR_Elm:: for Elm<'d, K, V>>::deserialize::__Visitor` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `__Visitor` [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[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 211 - key: &'d K, [INFO] [stdout] 211 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 212 - value: &'d V, [INFO] [stdout] 212 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 211 - key: &'d K, [INFO] [stdout] 211 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 212 - value: &'d V, [INFO] [stdout] 212 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'_>` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` found [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | struct Elm<'d, K: KeyType<'d>, V: ValueType<'d>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `_IMPL_DESERIALIZE_FOR_Elm:: for Elm<'d, K, V>>::deserialize::__Visitor` [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `__Visitor` [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[E0277]: the trait bound `&K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0277]: the trait bound `&V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 211 - key: &'d K, [INFO] [stdout] 211 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1699:12 [INFO] [stdout] | [INFO] [stdout] 1697 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1698 | where [INFO] [stdout] 1699 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 212 - value: &'d V, [INFO] [stdout] 212 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | key: &'d K, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 211 - key: &'d K, [INFO] [stdout] 211 + key: K, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&'d V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | value: &'d V, [INFO] [stdout] | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&'d V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/de/mod.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1836 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1837 | where [INFO] [stdout] 1838 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 212 - value: &'d V, [INFO] [stdout] 212 + value: V, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/disk_btree.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 217 | impl <'d, K: KeyType<'d>, V: ValueType<'d>> Elm<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 220 | key, [INFO] [stdout] | ^^^ expected `&K`, found type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 220 | key: &key, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/disk_btree.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 217 | impl <'d, K: KeyType<'d>, V: ValueType<'d>> Elm<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 221 | value, [INFO] [stdout] | ^^^^^ expected `&V`, found type parameter `V` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 221 | value: &value, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&K: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0277]: the trait bound `&V: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/btree/disk_btree.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&V` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `key_value::serde::private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.88/src/private/de.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [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[E0308]: mismatched types [INFO] [stdout] --> src/btree/disk_btree.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 217 | impl <'d, K: KeyType<'d>, V: ValueType<'d>> Elm<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 220 | key, [INFO] [stdout] | ^^^ expected `&K`, found type parameter `K` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 220 | key: &key, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/disk_btree.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 217 | impl <'d, K: KeyType<'d>, V: ValueType<'d>> Elm<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 221 | value, [INFO] [stdout] | ^^^^^ expected `&V`, found type parameter `V` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 221 | value: &value, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/mem_btree.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> MemBtree<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 14 | map: BTreeMap::::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `BTreeMap<&K, &V>`, found `BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap<&_, &_>` [INFO] [stdout] found struct `BTreeMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/mem_btree.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> MemBtree<'d, K, V> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 14 | map: BTreeMap::::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `BTreeMap<&K, &V>`, found `BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap<&_, &_>` [INFO] [stdout] found struct `BTreeMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/btree/mem_btree.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> MemBtree<'d, K, V> { [INFO] [stdout] | - - found this type parameter [INFO] [stdout] | | [INFO] [stdout] | found this type parameter [INFO] [stdout] ... [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&K`, found type parameter `K` [INFO] [stdout] --> src/btree/mem_btree.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^ [INFO] [stdout] = note: expected reference `&'d _` [INFO] [stdout] found type parameter `_` [INFO] [stdout] note: expected `&V`, found type parameter `V` [INFO] [stdout] --> src/btree/mem_btree.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected reference `&'d _` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: the return type of this call is `V` due to the type of the argument passed [INFO] [stdout] --> src/btree/mem_btree.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:984:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(&key, value); [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, &value); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/mem_btree.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> MemBtree<'d, K, V> { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, key: K) -> Option<&V> { [INFO] [stdout] | ---------- expected `std::option::Option<&V>` because of return type [INFO] [stdout] 25 | self.map.get(&key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option<&V>`, found `Option<&&V>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&_>` [INFO] [stdout] found enum `std::option::Option<&&_>` [INFO] [stdout] help: use `std::option::Option::copied` to copy the value inside the `std::option::Option` [INFO] [stdout] | [INFO] [stdout] 25 | self.map.get(&key).copied() [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | println!("err {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | println!("err {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/btree/mem_btree.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> MemBtree<'d, K, V> { [INFO] [stdout] | - - found this type parameter [INFO] [stdout] | | [INFO] [stdout] | found this type parameter [INFO] [stdout] ... [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&K`, found type parameter `K` [INFO] [stdout] --> src/btree/mem_btree.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^ [INFO] [stdout] = note: expected reference `&'d _` [INFO] [stdout] found type parameter `_` [INFO] [stdout] note: expected `&V`, found type parameter `V` [INFO] [stdout] --> src/btree/mem_btree.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected reference `&'d _` [INFO] [stdout] found type parameter `_` [INFO] [stdout] help: the return type of this call is `V` due to the type of the argument passed [INFO] [stdout] --> src/btree/mem_btree.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:984:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(&key, value); [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 21 | self.map.insert(key, &value); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/btree/mem_btree.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'d, K: KeyType<'d>, V: ValueType<'d>> MemBtree<'d, K, V> { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, key: K) -> Option<&V> { [INFO] [stdout] | ---------- expected `std::option::Option<&V>` because of return type [INFO] [stdout] 25 | self.map.get(&key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option<&V>`, found `Option<&&V>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&_>` [INFO] [stdout] found enum `std::option::Option<&&_>` [INFO] [stdout] help: use `std::option::Option::copied` to copy the value inside the `std::option::Option` [INFO] [stdout] | [INFO] [stdout] 25 | self.map.get(&key).copied() [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | println!("err {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `elms` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/btree/disk_btree.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | elms.push(e); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 63 | let mut elms = Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | println!("err {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Err(_)` not covered [INFO] [stdout] --> src/btree/disk_btree.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | match node.insert(file, count, elm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Err(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `Result>, Box>` defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:502:1 [INFO] [stdout] ::: /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:511:5 [INFO] [stdout] | [INFO] [stdout] = note: not covered [INFO] [stdout] = note: the matched value is of type `Result>, Box>` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 140 ~ }, [INFO] [stdout] 141 + Err(_) => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `elms` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/btree/disk_btree.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | elms.push(e); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 63 | let mut elms = Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/btree/disk_btree.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut left = Node::<'d, K, V>::new(file, NodeID(*count), self.width, left_elms)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `buff` does not live long enough [INFO] [stdout] --> src/btree/disk_btree.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 96 | impl <'d, K: KeyType<'d>, V: ValueType<'d>> Node<'d, K, V> { [INFO] [stdout] | -- lifetime `'d` defined here [INFO] [stdout] ... [INFO] [stdout] 181 | let mut buff = vec![0; BLOCK_SIZE]; [INFO] [stdout] | -------- binding `buff` declared here [INFO] [stdout] ... [INFO] [stdout] 184 | match deserialize(&buff) { [INFO] [stdout] | ------------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `buff` is borrowed for `'d` [INFO] [stdout] ... [INFO] [stdout] 188 | } [INFO] [stdout] | - `buff` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0005]: refutable pattern in local binding [INFO] [stdout] --> src/btree/disk_btree.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let Some(e) = self.elms.last(); [INFO] [stdout] | ^^^^^^^ pattern `None` not covered [INFO] [stdout] | [INFO] [stdout] = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html [INFO] [stdout] = note: the matched value is of type `std::option::Option<&Elm<'_, K, V>>` [INFO] [stdout] help: you might want to use `let else` to handle the variant that isn't matched [INFO] [stdout] | [INFO] [stdout] 198 | let Some(e) = self.elms.last() else { todo!() }; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Err(_)` not covered [INFO] [stdout] --> src/btree/disk_btree.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | match node.insert(file, count, elm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Err(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `Result>, Box>` defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:502:1 [INFO] [stdout] ::: /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:511:5 [INFO] [stdout] | [INFO] [stdout] = note: not covered [INFO] [stdout] = note: the matched value is of type `Result>, Box>` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 140 ~ }, [INFO] [stdout] 141 + Err(_) => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/btree/disk_btree.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut left = Node::<'d, K, V>::new(file, NodeID(*count), self.width, left_elms)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `buff` does not live long enough [INFO] [stdout] --> src/btree/disk_btree.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 96 | impl <'d, K: KeyType<'d>, V: ValueType<'d>> Node<'d, K, V> { [INFO] [stdout] | -- lifetime `'d` defined here [INFO] [stdout] ... [INFO] [stdout] 181 | let mut buff = vec![0; BLOCK_SIZE]; [INFO] [stdout] | -------- binding `buff` declared here [INFO] [stdout] ... [INFO] [stdout] 184 | match deserialize(&buff) { [INFO] [stdout] | ------------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `buff` is borrowed for `'d` [INFO] [stdout] ... [INFO] [stdout] 188 | } [INFO] [stdout] | - `buff` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0005]: refutable pattern in local binding [INFO] [stdout] --> src/btree/disk_btree.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let Some(e) = self.elms.last(); [INFO] [stdout] | ^^^^^^^ pattern `None` not covered [INFO] [stdout] | [INFO] [stdout] = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html [INFO] [stdout] = note: the matched value is of type `std::option::Option<&Elm<'_, K, V>>` [INFO] [stdout] help: you might want to use `let else` to handle the variant that isn't matched [INFO] [stdout] | [INFO] [stdout] 198 | let Some(e) = self.elms.last() else { todo!() }; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0005, E0277, E0283, E0308, E0596, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chicchaidb` (bin "chicchaidb") due to 35 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 34 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0005, E0277, E0283, E0308, E0596, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chicchaidb` (bin "chicchaidb" test) due to 35 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "de4b449e5844cb645732db16f97cc67106a87e06824901c76f5cc22f2cd83f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4b449e5844cb645732db16f97cc67106a87e06824901c76f5cc22f2cd83f40", kill_on_drop: false }` [INFO] [stdout] de4b449e5844cb645732db16f97cc67106a87e06824901c76f5cc22f2cd83f40 [INFO] checking sueken5/chicchaidb against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsueken5%2Fchicchaidb" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sueken5/chicchaidb on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a295ecf4cc6f36895720981de7cf153ee9897eaea42c0f1aa4f61b15ae124092 [INFO] running `Command { std: "docker" "start" "-a" "a295ecf4cc6f36895720981de7cf153ee9897eaea42c0f1aa4f61b15ae124092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a295ecf4cc6f36895720981de7cf153ee9897eaea42c0f1aa4f61b15ae124092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a295ecf4cc6f36895720981de7cf153ee9897eaea42c0f1aa4f61b15ae124092", kill_on_drop: false }` [INFO] [stdout] a295ecf4cc6f36895720981de7cf153ee9897eaea42c0f1aa4f61b15ae124092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e47afbc52f9881315a34dae609f1b15e32b0f3786ef8ead3926bbba955e7745 [INFO] running `Command { std: "docker" "start" "-a" "5e47afbc52f9881315a34dae609f1b15e32b0f3786ef8ead3926bbba955e7745", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "5e47afbc52f9881315a34dae609f1b15e32b0f3786ef8ead3926bbba955e7745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e47afbc52f9881315a34dae609f1b15e32b0f3786ef8ead3926bbba955e7745", kill_on_drop: false }` [INFO] [stdout] 5e47afbc52f9881315a34dae609f1b15e32b0f3786ef8ead3926bbba955e7745