[INFO] cloning repository https://github.com/nharring/kv_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nharring/kv_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnharring%2Fkv_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnharring%2Fkv_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 994de072c08357a136bc7d70bee213cbe638f6b4 [INFO] testing nharring/kv_server against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnharring%2Fkv_server" "/workspace/builds/worker-83/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-83/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nharring/kv_server on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nharring/kv_server [INFO] finished tweaking git repo https://github.com/nharring/kv_server [INFO] tweaked toml for git repo https://github.com/nharring/kv_server written to /workspace/builds/worker-83/source/Cargo.toml [INFO] crate git repo https://github.com/nharring/kv_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4cf435c310e28d90cd29ae92c53b405a4707146f3413e7a64ed03ca7514a982 [INFO] running `Command { std: "docker" "start" "-a" "e4cf435c310e28d90cd29ae92c53b405a4707146f3413e7a64ed03ca7514a982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4cf435c310e28d90cd29ae92c53b405a4707146f3413e7a64ed03ca7514a982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4cf435c310e28d90cd29ae92c53b405a4707146f3413e7a64ed03ca7514a982", kill_on_drop: false }` [INFO] [stdout] e4cf435c310e28d90cd29ae92c53b405a4707146f3413e7a64ed03ca7514a982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b7d5f8d180e672345469c05ee18b9a95f85f51dad6e31cf65d693fedec941f [INFO] running `Command { std: "docker" "start" "-a" "38b7d5f8d180e672345469c05ee18b9a95f85f51dad6e31cf65d693fedec941f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.28 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling integer-encoding v1.0.3 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling threadpool v1.4.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling thrift v0.0.4 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling textwrap v0.6.0 [INFO] [stderr] Compiling clap v2.25.1 [INFO] [stderr] Compiling kv_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:234:45 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:266:52 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:325:36 [INFO] [stdout] | [INFO] [stdout] 325 | fn i_prot_mut(&mut self) -> &mut TInputProtocol { &mut self._i_prot } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:326:36 [INFO] [stdout] | [INFO] [stdout] 326 | fn o_prot_mut(&mut self) -> &mut TOutputProtocol { &mut self._o_prot } [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:465:73 [INFO] [stdout] | [INFO] [stdout] 465 | fn process_set_key(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:465:102 [INFO] [stdout] | [INFO] [stdout] 465 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:468:73 [INFO] [stdout] | [INFO] [stdout] 468 | fn process_get_val(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:468:102 [INFO] [stdout] | [INFO] [stdout] 468 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:471:73 [INFO] [stdout] | [INFO] [stdout] 471 | fn process_get_obj(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:471:102 [INFO] [stdout] | [INFO] [stdout] 471 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:474:73 [INFO] [stdout] | [INFO] [stdout] 474 | fn process_del_key(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:474:102 [INFO] [stdout] | [INFO] [stdout] 474 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:482:107 [INFO] [stdout] | [INFO] [stdout] 482 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:482:136 [INFO] [stdout] | [INFO] [stdout] 482 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:545:107 [INFO] [stdout] | [INFO] [stdout] 545 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:545:136 [INFO] [stdout] | [INFO] [stdout] 545 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:613:107 [INFO] [stdout] | [INFO] [stdout] 613 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:613:136 [INFO] [stdout] | [INFO] [stdout] 613 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:681:107 [INFO] [stdout] | [INFO] [stdout] 681 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:681:136 [INFO] [stdout] | [INFO] [stdout] 681 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:721:34 [INFO] [stdout] | [INFO] [stdout] 721 | fn process(&self, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:721:63 [INFO] [stdout] | [INFO] [stdout] 721 | fn process(&self, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:763:41 [INFO] [stdout] | [INFO] [stdout] 763 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:790:48 [INFO] [stdout] | [INFO] [stdout] 790 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:812:41 [INFO] [stdout] | [INFO] [stdout] 812 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:844:48 [INFO] [stdout] | [INFO] [stdout] 844 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:894:41 [INFO] [stdout] | [INFO] [stdout] 894 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:921:48 [INFO] [stdout] | [INFO] [stdout] 921 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:944:41 [INFO] [stdout] | [INFO] [stdout] 944 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:982:48 [INFO] [stdout] | [INFO] [stdout] 982 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1042:41 [INFO] [stdout] | [INFO] [stdout] 1042 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1069:48 [INFO] [stdout] | [INFO] [stdout] 1069 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1092:41 [INFO] [stdout] | [INFO] [stdout] 1092 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1130:48 [INFO] [stdout] | [INFO] [stdout] 1130 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1190:41 [INFO] [stdout] | [INFO] [stdout] 1190 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1217:48 [INFO] [stdout] | [INFO] [stdout] 1217 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1237:41 [INFO] [stdout] | [INFO] [stdout] 1237 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1256:48 [INFO] [stdout] | [INFO] [stdout] 1256 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceException` [INFO] [stdout] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use kv_server::{KeyNotFound, ServiceException}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let i_prot_fact: Box = Box::new(TCompactInputProtocolFactory::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocolFactory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let o_prot_fact: Box = Box::new(TCompactOutputProtocolFactory::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocolFactory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | usr_err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:532:19 [INFO] [stdout] | [INFO] [stdout] 532 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:579:27 [INFO] [stdout] | [INFO] [stdout] 579 | usr_err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:600:19 [INFO] [stdout] | [INFO] [stdout] 600 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:647:27 [INFO] [stdout] | [INFO] [stdout] 647 | usr_err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:668:19 [INFO] [stdout] | [INFO] [stdout] 668 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:705:19 [INFO] [stdout] | [INFO] [stdout] 705 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kv_server.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(key: F1, value: F2) -> KVObject where F1: Into>, F2: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kv_server.rs:319:10 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn new(input_protocol: IP, output_protocol: OP) -> KVServerSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "38b7d5f8d180e672345469c05ee18b9a95f85f51dad6e31cf65d693fedec941f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b7d5f8d180e672345469c05ee18b9a95f85f51dad6e31cf65d693fedec941f", kill_on_drop: false }` [INFO] [stdout] 38b7d5f8d180e672345469c05ee18b9a95f85f51dad6e31cf65d693fedec941f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6afe8db5f14de4fddc0da73b8180b04adcaa65397c4526d8b48f25a27b5bb94c [INFO] running `Command { std: "docker" "start" "-a" "6afe8db5f14de4fddc0da73b8180b04adcaa65397c4526d8b48f25a27b5bb94c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling kv_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:234:45 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:266:52 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:325:36 [INFO] [stdout] | [INFO] [stdout] 325 | fn i_prot_mut(&mut self) -> &mut TInputProtocol { &mut self._i_prot } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:326:36 [INFO] [stdout] | [INFO] [stdout] 326 | fn o_prot_mut(&mut self) -> &mut TOutputProtocol { &mut self._o_prot } [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:465:73 [INFO] [stdout] | [INFO] [stdout] 465 | fn process_set_key(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:465:102 [INFO] [stdout] | [INFO] [stdout] 465 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:468:73 [INFO] [stdout] | [INFO] [stdout] 468 | fn process_get_val(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:468:102 [INFO] [stdout] | [INFO] [stdout] 468 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:471:73 [INFO] [stdout] | [INFO] [stdout] 471 | fn process_get_obj(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:471:102 [INFO] [stdout] | [INFO] [stdout] 471 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:474:73 [INFO] [stdout] | [INFO] [stdout] 474 | fn process_del_key(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:474:102 [INFO] [stdout] | [INFO] [stdout] 474 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:482:107 [INFO] [stdout] | [INFO] [stdout] 482 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:482:136 [INFO] [stdout] | [INFO] [stdout] 482 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:545:107 [INFO] [stdout] | [INFO] [stdout] 545 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:545:136 [INFO] [stdout] | [INFO] [stdout] 545 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:613:107 [INFO] [stdout] | [INFO] [stdout] 613 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:613:136 [INFO] [stdout] | [INFO] [stdout] 613 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:681:107 [INFO] [stdout] | [INFO] [stdout] 681 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:681:136 [INFO] [stdout] | [INFO] [stdout] 681 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:721:34 [INFO] [stdout] | [INFO] [stdout] 721 | fn process(&self, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:721:63 [INFO] [stdout] | [INFO] [stdout] 721 | fn process(&self, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:763:41 [INFO] [stdout] | [INFO] [stdout] 763 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:790:48 [INFO] [stdout] | [INFO] [stdout] 790 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:812:41 [INFO] [stdout] | [INFO] [stdout] 812 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:844:48 [INFO] [stdout] | [INFO] [stdout] 844 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:894:41 [INFO] [stdout] | [INFO] [stdout] 894 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:921:48 [INFO] [stdout] | [INFO] [stdout] 921 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:944:41 [INFO] [stdout] | [INFO] [stdout] 944 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:982:48 [INFO] [stdout] | [INFO] [stdout] 982 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1042:41 [INFO] [stdout] | [INFO] [stdout] 1042 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1069:48 [INFO] [stdout] | [INFO] [stdout] 1069 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1092:41 [INFO] [stdout] | [INFO] [stdout] 1092 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1130:48 [INFO] [stdout] | [INFO] [stdout] 1130 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1190:41 [INFO] [stdout] | [INFO] [stdout] 1190 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1217:48 [INFO] [stdout] | [INFO] [stdout] 1217 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1237:41 [INFO] [stdout] | [INFO] [stdout] 1237 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/kv_server.rs:1256:48 [INFO] [stdout] | [INFO] [stdout] 1256 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceException` [INFO] [stdout] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use kv_server::{KeyNotFound, ServiceException}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let i_prot_fact: Box = Box::new(TCompactInputProtocolFactory::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocolFactory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let o_prot_fact: Box = Box::new(TCompactOutputProtocolFactory::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocolFactory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | usr_err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:532:19 [INFO] [stdout] | [INFO] [stdout] 532 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:579:27 [INFO] [stdout] | [INFO] [stdout] 579 | usr_err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:600:19 [INFO] [stdout] | [INFO] [stdout] 600 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:647:27 [INFO] [stdout] | [INFO] [stdout] 647 | usr_err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:668:19 [INFO] [stdout] | [INFO] [stdout] 668 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/kv_server.rs:705:19 [INFO] [stdout] | [INFO] [stdout] 705 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kv_server.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(key: F1, value: F2) -> KVObject where F1: Into>, F2: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kv_server.rs:319:10 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn new(input_protocol: IP, output_protocol: OP) -> KVServerSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.03s [INFO] running `Command { std: "docker" "inspect" "6afe8db5f14de4fddc0da73b8180b04adcaa65397c4526d8b48f25a27b5bb94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6afe8db5f14de4fddc0da73b8180b04adcaa65397c4526d8b48f25a27b5bb94c", kill_on_drop: false }` [INFO] [stdout] 6afe8db5f14de4fddc0da73b8180b04adcaa65397c4526d8b48f25a27b5bb94c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c3fbe8b92a7b1cb9ec4a99ac70c0fe2fe17d321872249d60fc0637921a1a91f [INFO] running `Command { std: "docker" "start" "-a" "7c3fbe8b92a7b1cb9ec4a99ac70c0fe2fe17d321872249d60fc0637921a1a91f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:75:52 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:134:45 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:166:52 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:234:45 [INFO] [stderr] | [INFO] [stderr] 234 | pub fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:266:52 [INFO] [stderr] | [INFO] [stderr] 266 | pub fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:325:36 [INFO] [stderr] | [INFO] [stderr] 325 | fn i_prot_mut(&mut self) -> &mut TInputProtocol { &mut self._i_prot } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:326:36 [INFO] [stderr] | [INFO] [stderr] 326 | fn o_prot_mut(&mut self) -> &mut TOutputProtocol { &mut self._o_prot } [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:465:73 [INFO] [stderr] | [INFO] [stderr] 465 | fn process_set_key(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:465:102 [INFO] [stderr] | [INFO] [stderr] 465 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:468:73 [INFO] [stderr] | [INFO] [stderr] 468 | fn process_get_val(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:468:102 [INFO] [stderr] | [INFO] [stderr] 468 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:471:73 [INFO] [stderr] | [INFO] [stderr] 471 | fn process_get_obj(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:471:102 [INFO] [stderr] | [INFO] [stderr] 471 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:474:73 [INFO] [stderr] | [INFO] [stderr] 474 | fn process_del_key(&self, incoming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<(... [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:474:102 [INFO] [stderr] | [INFO] [stderr] 474 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:482:107 [INFO] [stderr] | [INFO] [stderr] 482 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:482:136 [INFO] [stderr] | [INFO] [stderr] 482 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:545:107 [INFO] [stderr] | [INFO] [stderr] 545 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:545:136 [INFO] [stderr] | [INFO] [stderr] 545 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:613:107 [INFO] [stderr] | [INFO] [stderr] 613 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:613:136 [INFO] [stderr] | [INFO] [stderr] 613 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:681:107 [INFO] [stderr] | [INFO] [stderr] 681 | ...oming_sequence_number: i32, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:681:136 [INFO] [stderr] | [INFO] [stderr] 681 | ...prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:721:34 [INFO] [stderr] | [INFO] [stderr] 721 | fn process(&self, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:721:63 [INFO] [stderr] | [INFO] [stderr] 721 | fn process(&self, i_prot: &mut TInputProtocol, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:763:41 [INFO] [stderr] | [INFO] [stderr] 763 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:790:48 [INFO] [stderr] | [INFO] [stderr] 790 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:812:41 [INFO] [stderr] | [INFO] [stderr] 812 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:844:48 [INFO] [stderr] | [INFO] [stderr] 844 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:894:41 [INFO] [stderr] | [INFO] [stderr] 894 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:921:48 [INFO] [stderr] | [INFO] [stderr] 921 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:944:41 [INFO] [stderr] | [INFO] [stderr] 944 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:982:48 [INFO] [stderr] | [INFO] [stderr] 982 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1042:41 [INFO] [stderr] | [INFO] [stderr] 1042 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1069:48 [INFO] [stderr] | [INFO] [stderr] 1069 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1092:41 [INFO] [stderr] | [INFO] [stderr] 1092 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1130:48 [INFO] [stderr] | [INFO] [stderr] 1130 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1190:41 [INFO] [stderr] | [INFO] [stderr] 1190 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1217:48 [INFO] [stderr] | [INFO] [stderr] 1217 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1237:41 [INFO] [stderr] | [INFO] [stderr] 1237 | fn read_from_in_protocol(i_prot: &mut TInputProtocol) -> thrift::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kv_server.rs:1256:48 [INFO] [stderr] | [INFO] [stderr] 1256 | fn write_to_out_protocol(&self, o_prot: &mut TOutputProtocol) -> thrift::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocol` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused import: `ServiceException` [INFO] [stderr] --> src/main.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | use kv_server::{KeyNotFound, ServiceException}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:39:26 [INFO] [stderr] | [INFO] [stderr] 39 | let i_prot_fact: Box = Box::new(TCompactInputProtocolFactory::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TInputProtocolFactory` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:42:26 [INFO] [stderr] | [INFO] [stderr] 42 | let o_prot_fact: Box = Box::new(TCompactOutputProtocolFactory::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TOutputProtocolFactory` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:113:10 [INFO] [stderr] | [INFO] [stderr] 113 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:213:10 [INFO] [stderr] | [INFO] [stderr] 213 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:511:27 [INFO] [stderr] | [INFO] [stderr] 511 | usr_err.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:532:19 [INFO] [stderr] | [INFO] [stderr] 532 | e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:579:27 [INFO] [stderr] | [INFO] [stderr] 579 | usr_err.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:600:19 [INFO] [stderr] | [INFO] [stderr] 600 | e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:647:27 [INFO] [stderr] | [INFO] [stderr] 647 | usr_err.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:668:19 [INFO] [stderr] | [INFO] [stderr] 668 | e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/kv_server.rs:705:19 [INFO] [stderr] | [INFO] [stderr] 705 | e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/kv_server.rs:228:10 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn new(key: F1, value: F2) -> KVObject where F1: Into>, F2: Into> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/kv_server.rs:319:10 [INFO] [stderr] | [INFO] [stderr] 319 | pub fn new(input_protocol: IP, output_protocol: OP) -> KVServerSyncClient { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `kv_server` (bin "kv_server" test) generated 56 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/kv_server-a0ea15efc1f5b92b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7c3fbe8b92a7b1cb9ec4a99ac70c0fe2fe17d321872249d60fc0637921a1a91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3fbe8b92a7b1cb9ec4a99ac70c0fe2fe17d321872249d60fc0637921a1a91f", kill_on_drop: false }` [INFO] [stdout] 7c3fbe8b92a7b1cb9ec4a99ac70c0fe2fe17d321872249d60fc0637921a1a91f