[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 d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-25 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsueken5%2Fchicchaidb" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sueken5/chicchaidb on toolchain d0ab665d12770dbaae620b539ee4319b83445f45 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154 [INFO] running `Command { std: "docker" "start" "c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling bincode v1.1.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Checking chicchaidb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/key_value.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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: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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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: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 a dyn-compatible 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: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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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: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 a dyn-compatible 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: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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn close(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/key_value.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/key_value.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/btree/disk_btree.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning 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 `__Visitor<'_, '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] | ^^^^^^^^^^^ type parameter would need to implement `Visitor<'de>` [INFO] [stdout] = help: consider manually implementing `Visitor<'de>` to avoid undesired bounds caused by "imperfect derives" [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] note: required by a bound in `deserialize_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.88/src/de/mod.rs:1113:12 [INFO] [stdout] | [INFO] [stdout] 1106 | fn deserialize_struct( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1113 | V: Visitor<'de>; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Deserializer::deserialize_struct` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chicchaidb-9383009f2ad913a1.long-type-8502017121422129563.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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] [stderr] [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 a dyn-compatible 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] [stderr] thread 'rustc' (307) panicked at /rustc-dev/d0ab665d12770dbaae620b539ee4319b83445f45/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [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 a dyn-compatible 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] [stderr] Box [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | fn open(file: &mut File, id: NodeID) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x762f26bfa766 - <::print::DisplayBacktrace as core[6c52508f0c02959d]::fmt::Display>::fmt [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn is_new(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1: 0x762f27211266 - core[6c52508f0c02959d]::fmt::write [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 | fn initialize(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 2: 0x762f26c0f9cc - ::write_fmt [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 | fn metadata(&mut self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 3: 0x762f26bcc3ea - std[7ad685695f4d6cf5]::panicking::default_hook::{closure#0} [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 349 | fn mapping(&self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 4: 0x762f26bece83 - std[7ad685695f4d6cf5]::panicking::default_hook [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 5: 0x762f25b61d9b - std[7ad685695f4d6cf5]::panicking::update_hook::>::{closure#0} [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 6: 0x762f26bed322 - std[7ad685695f4d6cf5]::panicking::panic_with_hook [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 a dyn-compatible 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] [stderr] 7: 0x762f25b8f211 - std[7ad685695f4d6cf5]::panicking::begin_panic::::{closure#0} [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 8: 0x762f25b88496 - std[7ad685695f4d6cf5]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn is_new(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 9: 0x762f25b8830b - std[7ad685695f4d6cf5]::panicking::begin_panic:: [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 a dyn-compatible 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] [stderr] 10: 0x762f25b9a2b1 - ::emit_producing_guarantee [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 11: 0x762f260e742c - ::span_bug:: [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 a dyn-compatible 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] [stderr] 12: 0x762f26114cc6 - rustc_middle[2aa2a767de9dd2c8]::util::bug::opt_span_bug_fmt::::{closure#0} [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn merge(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 13: 0x762f26114e52 - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn close(&mut self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 14: 0x762f261007db - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [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] [stderr] 15: 0x762f23b36968 - rustc_middle[2aa2a767de9dd2c8]::util::bug::span_bug_fmt:: [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] [stderr] 16: 0x762f281260ff - >::from_solver_error [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 `__Visitor<'_, '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] | ^^^^^^^^^^^ type parameter would need to implement `Visitor<'de>` [INFO] [stdout] = help: consider manually implementing `Visitor<'de>` to avoid undesired bounds caused by "imperfect derives" [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] note: required by a bound in `deserialize_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.88/src/de/mod.rs:1113:12 [INFO] [stdout] | [INFO] [stdout] 1106 | fn deserialize_struct( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1113 | V: Visitor<'de>; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Deserializer::deserialize_struct` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chicchaidb-9383009f2ad913a1.long-type-4487651976149997643.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] [stderr] 17: 0x762f2837f5f0 - rustc_hir_typeck[8d509ae61df4e243]::typeck_with_inspect::{closure#0} [INFO] [stdout] error: internal compiler error: /rustc-dev/d0ab665d12770dbaae620b539ee4319b83445f45/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: did not expect successful goal when collecting ambiguity errors for `Binder { value: TraitPredicate(> as btree::key_value::serde::Deserialize<'_>>, polarity:Positive), bound_vars: [] }` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error: internal compiler error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 18: 0x762f28375d30 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::invoke_provider_fn::__rust_begin_short_backtrace [INFO] [stderr] 19: 0x762f276073a2 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::, rustc_middle[2aa2a767de9dd2c8]::dep_graph::graph::DepNodeIndex>, false> [INFO] [stderr] 20: 0x762f27606d43 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 21: 0x762f2760943a - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 22: 0x762f27608dde - rustc_hir_analysis[6eaddeebc319b468]::check_crate [INFO] [stderr] 23: 0x762f27604835 - rustc_interface[d37ca650b06bbb81]::passes::analysis [INFO] [stderr] 24: 0x762f283340c7 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::>, false> [INFO] [stderr] 25: 0x762f28333da9 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::analysis::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 26: 0x762f2830529b - rustc_interface[d37ca650b06bbb81]::interface::run_compiler::<(), rustc_driver_impl[e64b0af94f25cc15]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 27: 0x762f282ea43a - std[7ad685695f4d6cf5]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 28: 0x762f282ea1ed - ::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[6c52508f0c02959d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 29: 0x762f282ee610 - ::new::thread_start [INFO] [stderr] 30: 0x762f2207baa4 - [INFO] [stderr] 31: 0x762f22108a64 - clone [INFO] [stderr] 32: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2026-07-23T01_19_11-304.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.99.0-nightly (d0ab665d1 2026-07-17) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck_root] type-checking `btree::disk_btree::_IMPL_DESERIALIZE_FOR_Node::::deserialize::::visit_seq` [INFO] [stderr] #1 [analysis] running analysis passes on crate `chicchaidb` [INFO] [stderr] end of query stack [INFO] [stderr] [INFO] [stderr] thread 'rustc' (307) panicked at /rustc-dev/d0ab665d12770dbaae620b539ee4319b83445f45/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x762f26bfa766 - <::print::DisplayBacktrace as core[6c52508f0c02959d]::fmt::Display>::fmt [INFO] [stderr] 1: 0x762f27211266 - core[6c52508f0c02959d]::fmt::write [INFO] [stderr] 2: 0x762f26c0f9cc - ::write_fmt [INFO] [stderr] 3: 0x762f26bcc3ea - std[7ad685695f4d6cf5]::panicking::default_hook::{closure#0} [INFO] [stderr] 4: 0x762f26bece83 - std[7ad685695f4d6cf5]::panicking::default_hook [INFO] [stderr] 5: 0x762f25b61d9b - std[7ad685695f4d6cf5]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 6: 0x762f26bed322 - std[7ad685695f4d6cf5]::panicking::panic_with_hook [INFO] [stderr] 7: 0x762f25b8f211 - std[7ad685695f4d6cf5]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 8: 0x762f25b88496 - std[7ad685695f4d6cf5]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 9: 0x762f25b8830b - std[7ad685695f4d6cf5]::panicking::begin_panic:: [INFO] [stderr] 10: 0x762f25b9a2b1 - ::emit_producing_guarantee [INFO] [stderr] 11: 0x762f260e742c - ::span_bug:: [INFO] [stderr] 12: 0x762f26114cc6 - rustc_middle[2aa2a767de9dd2c8]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 13: 0x762f26114e52 - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 14: 0x762f261007db - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 15: 0x762f23b36968 - rustc_middle[2aa2a767de9dd2c8]::util::bug::span_bug_fmt:: [INFO] [stderr] 16: 0x762f281260ff - >::from_solver_error [INFO] [stderr] 17: 0x762f2837f5f0 - rustc_hir_typeck[8d509ae61df4e243]::typeck_with_inspect::{closure#0} [INFO] [stderr] 18: 0x762f28375d30 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::invoke_provider_fn::__rust_begin_short_backtrace [INFO] [stderr] 19: 0x762f276073a2 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::, rustc_middle[2aa2a767de9dd2c8]::dep_graph::graph::DepNodeIndex>, false> [INFO] [stderr] 20: 0x762f27606d43 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 21: 0x762f2760943a - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 22: 0x762f27608dde - rustc_hir_analysis[6eaddeebc319b468]::check_crate [INFO] [stderr] 23: 0x762f27604835 - rustc_interface[d37ca650b06bbb81]::passes::analysis [INFO] [stderr] 24: 0x762f283340c7 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::>, false> [INFO] [stderr] 25: 0x762f28333da9 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::analysis::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 26: 0x762f2830529b - rustc_interface[d37ca650b06bbb81]::interface::run_compiler::<(), rustc_driver_impl[e64b0af94f25cc15]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 27: 0x762f282ea43a - std[7ad685695f4d6cf5]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 28: 0x762f282ea1ed - ::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[6c52508f0c02959d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 29: 0x762f282ee610 - ::new::thread_start [INFO] [stderr] 30: 0x762f2207baa4 - [INFO] [stderr] 31: 0x762f22108a64 - clone [INFO] [stderr] 32: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2026-07-23T01_19_11-304.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.99.0-nightly (d0ab665d1 2026-07-17) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck_root] type-checking `btree::disk_btree::_IMPL_DESERIALIZE_FOR_Node::::deserialize::::visit_map` [INFO] [stderr] #1 [analysis] running analysis passes on crate `chicchaidb` [INFO] [stderr] end of query stack [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 `__Visitor<'_, '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] | ^^^^^^^^^^^ type parameter would need to implement `Visitor<'de>` [INFO] [stdout] = help: consider manually implementing `Visitor<'de>` to avoid undesired bounds caused by "imperfect derives" [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] note: required by a bound in `deserialize_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.88/src/de/mod.rs:1113:12 [INFO] [stdout] | [INFO] [stdout] 1106 | fn deserialize_struct( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1113 | V: Visitor<'de>; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Deserializer::deserialize_struct` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chicchaidb-cd789794c1ee67ee.long-type-3982703514018828960.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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-1949cf8c6b5b557f/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[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 `__Visitor<'_, '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] | ^^^^^^^^^^^ type parameter would need to implement `Visitor<'de>` [INFO] [stdout] = help: consider manually implementing `Visitor<'de>` to avoid undesired bounds caused by "imperfect derives" [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] note: required by a bound in `deserialize_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.88/src/de/mod.rs:1113:12 [INFO] [stdout] | [INFO] [stdout] 1106 | fn deserialize_struct( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1113 | V: Visitor<'de>; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Deserializer::deserialize_struct` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chicchaidb-9383009f2ad913a1.long-type-9491150568982243580.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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 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-1949cf8c6b5b557f/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/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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[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-1949cf8c6b5b557f/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 `&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-1949cf8c6b5b557f/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 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-1949cf8c6b5b557f/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 `&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-1949cf8c6b5b557f/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 `&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-1949cf8c6b5b557f/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[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-1949cf8c6b5b557f/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] [stderr] [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] [stderr] thread 'rustc' (311) panicked at /rustc-dev/d0ab665d12770dbaae620b539ee4319b83445f45/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [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] [stderr] Box [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/d0ab665d12770dbaae620b539ee4319b83445f45/library/alloc/src/collections/btree/map.rs:1045:11 [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] [stderr] stack backtrace: [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 `Option<&_>` [INFO] [stdout] found enum `Option<&&_>` [INFO] [stdout] help: try using `.map(|v| &**v)` to convert `std::option::Option<&&V>` to `std::option::Option<&V>` [INFO] [stdout] | [INFO] [stdout] 25 | self.map.get(&key).map(|v| &**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: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 `__Visitor<'_, '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] | ^^^^^^^^^^^ type parameter would need to implement `Visitor<'de>` [INFO] [stdout] = help: consider manually implementing `Visitor<'de>` to avoid undesired bounds caused by "imperfect derives" [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] note: required by a bound in `deserialize_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.88/src/de/mod.rs:1113:12 [INFO] [stdout] | [INFO] [stdout] 1106 | fn deserialize_struct( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1113 | V: Visitor<'de>; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Deserializer::deserialize_struct` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chicchaidb-cd789794c1ee67ee.long-type-3439304542535013308.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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: internal compiler error: /rustc-dev/d0ab665d12770dbaae620b539ee4319b83445f45/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: did not expect successful goal when collecting ambiguity errors for `Binder { value: TraitPredicate(> as btree::key_value::serde::Deserialize<'_>>, polarity:Positive), bound_vars: [] }` [INFO] [stdout] --> src/btree/disk_btree.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error: internal compiler error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] Some errors have detailed explanations: E0277, E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] 0: 0x708c9a9fa766 - <::print::DisplayBacktrace as core[6c52508f0c02959d]::fmt::Display>::fmt [INFO] [stderr] 1: 0x708c9b011266 - core[6c52508f0c02959d]::fmt::write [INFO] [stderr] 2: 0x708c9aa0f9cc - ::write_fmt [INFO] [stderr] 3: 0x708c9a9cc3ea - std[7ad685695f4d6cf5]::panicking::default_hook::{closure#0} [INFO] [stderr] 4: 0x708c9a9ece83 - std[7ad685695f4d6cf5]::panicking::default_hook [INFO] [stderr] 5: 0x708c99961d9b - std[7ad685695f4d6cf5]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 6: 0x708c9a9ed322 - std[7ad685695f4d6cf5]::panicking::panic_with_hook [INFO] [stderr] 7: 0x708c9998f211 - std[7ad685695f4d6cf5]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 8: 0x708c99988496 - std[7ad685695f4d6cf5]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 9: 0x708c9998830b - std[7ad685695f4d6cf5]::panicking::begin_panic:: [INFO] [stderr] 10: 0x708c9999a2b1 - ::emit_producing_guarantee [INFO] [stderr] 11: 0x708c99ee742c - ::span_bug:: [INFO] [stderr] 12: 0x708c99f14cc6 - rustc_middle[2aa2a767de9dd2c8]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 13: 0x708c99f14e52 - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 14: 0x708c99f007db - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 15: 0x708c97936968 - rustc_middle[2aa2a767de9dd2c8]::util::bug::span_bug_fmt:: [INFO] [stderr] 16: 0x708c9bf260ff - >::from_solver_error [INFO] [stderr] 17: 0x708c9c17f5f0 - rustc_hir_typeck[8d509ae61df4e243]::typeck_with_inspect::{closure#0} [INFO] [stderr] 18: 0x708c9c175d30 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::invoke_provider_fn::__rust_begin_short_backtrace [INFO] [stderr] 19: 0x708c9b4073a2 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::, rustc_middle[2aa2a767de9dd2c8]::dep_graph::graph::DepNodeIndex>, false> [INFO] [stderr] 20: 0x708c9b406d43 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 21: 0x708c9b40943a - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 22: 0x708c9b408dde - rustc_hir_analysis[6eaddeebc319b468]::check_crate [INFO] [stderr] 23: 0x708c9b404835 - rustc_interface[d37ca650b06bbb81]::passes::analysis [INFO] [stderr] 24: 0x708c9c1340c7 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::>, false> [INFO] [stderr] 25: 0x708c9c133da9 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::analysis::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 26: 0x708c9c10529b - rustc_interface[d37ca650b06bbb81]::interface::run_compiler::<(), rustc_driver_impl[e64b0af94f25cc15]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 27: 0x708c9c0ea43a - std[7ad685695f4d6cf5]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 28: 0x708c9c0ea1ed - ::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[6c52508f0c02959d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 29: 0x708c9c0ee610 - ::new::thread_start [INFO] [stderr] 30: 0x708c95e8aaa4 - [INFO] [stderr] 31: 0x708c95f17a64 - clone [INFO] [stderr] 32: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2026-07-23T01_19_11-308.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.99.0-nightly (d0ab665d1 2026-07-17) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck_root] type-checking `btree::disk_btree::_IMPL_DESERIALIZE_FOR_Node::::deserialize::::visit_seq` [INFO] [stderr] #1 [analysis] running analysis passes on crate `chicchaidb` [INFO] [stderr] end of query stack [INFO] [stderr] [INFO] [stderr] thread 'rustc' (311) panicked at /rustc-dev/d0ab665d12770dbaae620b539ee4319b83445f45/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x708c9a9fa766 - <::print::DisplayBacktrace as core[6c52508f0c02959d]::fmt::Display>::fmt [INFO] [stderr] 1: 0x708c9b011266 - core[6c52508f0c02959d]::fmt::write [INFO] [stderr] 2: 0x708c9aa0f9cc - ::write_fmt [INFO] [stderr] 3: 0x708c9a9cc3ea - std[7ad685695f4d6cf5]::panicking::default_hook::{closure#0} [INFO] [stderr] 4: 0x708c9a9ece83 - std[7ad685695f4d6cf5]::panicking::default_hook [INFO] [stderr] 5: 0x708c99961d9b - std[7ad685695f4d6cf5]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 6: 0x708c9a9ed322 - std[7ad685695f4d6cf5]::panicking::panic_with_hook [INFO] [stderr] 7: 0x708c9998f211 - std[7ad685695f4d6cf5]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 8: 0x708c99988496 - std[7ad685695f4d6cf5]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 9: 0x708c9998830b - std[7ad685695f4d6cf5]::panicking::begin_panic:: [INFO] [stderr] 10: 0x708c9999a2b1 - ::emit_producing_guarantee [INFO] [stderr] 11: 0x708c99ee742c - ::span_bug:: [INFO] [stderr] 12: 0x708c99f14cc6 - rustc_middle[2aa2a767de9dd2c8]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 13: 0x708c99f14e52 - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 14: 0x708c99f007db - rustc_middle[2aa2a767de9dd2c8]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 15: 0x708c97936968 - rustc_middle[2aa2a767de9dd2c8]::util::bug::span_bug_fmt:: [INFO] [stderr] 16: 0x708c9bf260ff - >::from_solver_error [INFO] [stderr] 17: 0x708c9c17f5f0 - rustc_hir_typeck[8d509ae61df4e243]::typeck_with_inspect::{closure#0} [INFO] [stderr] error: could not compile `chicchaidb` (bin "chicchaidb" test) due to 22 previous errors; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] 18: 0x708c9c175d30 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::invoke_provider_fn::__rust_begin_short_backtrace [INFO] [stderr] 19: 0x708c9b4073a2 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::, rustc_middle[2aa2a767de9dd2c8]::dep_graph::graph::DepNodeIndex>, false> [INFO] [stderr] 20: 0x708c9b406d43 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::typeck_root::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 21: 0x708c9b40943a - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 22: 0x708c9b408dde - rustc_hir_analysis[6eaddeebc319b468]::check_crate [INFO] [stderr] 23: 0x708c9b404835 - rustc_interface[d37ca650b06bbb81]::passes::analysis [INFO] [stderr] 24: 0x708c9c1340c7 - rustc_query_impl[aa3a6e7b7cb6bf]::execution::try_execute_query::>, false> [INFO] [stderr] 25: 0x708c9c133da9 - rustc_query_impl[aa3a6e7b7cb6bf]::query_impl::analysis::execute_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 26: 0x708c9c10529b - rustc_interface[d37ca650b06bbb81]::interface::run_compiler::<(), rustc_driver_impl[e64b0af94f25cc15]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 27: 0x708c9c0ea43a - std[7ad685695f4d6cf5]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 28: 0x708c9c0ea1ed - ::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[6c52508f0c02959d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 29: 0x708c9c0ee610 - ::new::thread_start [INFO] [stderr] 30: 0x708c95e8aaa4 - [INFO] [stderr] 31: 0x708c95f17a64 - clone [INFO] [stderr] 32: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2026-07-23T01_19_11-308.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.99.0-nightly (d0ab665d1 2026-07-17) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck_root] type-checking `btree::disk_btree::_IMPL_DESERIALIZE_FOR_Node::::deserialize::::visit_map` [INFO] [stderr] #1 [analysis] running analysis passes on crate `chicchaidb` [INFO] [stderr] end of query stack [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 `__Visitor<'_, '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] | ^^^^^^^^^^^ type parameter would need to implement `Visitor<'de>` [INFO] [stdout] = help: consider manually implementing `Visitor<'de>` to avoid undesired bounds caused by "imperfect derives" [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] note: required by a bound in `deserialize_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.88/src/de/mod.rs:1113:12 [INFO] [stdout] | [INFO] [stdout] 1106 | fn deserialize_struct( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1113 | V: Visitor<'de>; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Deserializer::deserialize_struct` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chicchaidb-cd789794c1ee67ee.long-type-15440488923150480073.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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[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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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]: 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/d0ab665d12770dbaae620b539ee4319b83445f45/library/alloc/src/collections/btree/map.rs:1045:11 [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 `Option<&_>` [INFO] [stdout] found enum `Option<&&_>` [INFO] [stdout] help: try using `.map(|v| &**v)` to convert `std::option::Option<&&V>` to `std::option::Option<&V>` [INFO] [stdout] | [INFO] [stdout] 25 | self.map.get(&key).map(|v| &**v) [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] Some errors have detailed explanations: E0277, E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chicchaidb` (bin "chicchaidb") due to 22 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154", kill_on_drop: false }` [INFO] [stdout] c0d129c917bf9b26fb2fb26d7d83781009149134f419e8460f74fc019bd0b154