[INFO] cloning repository https://github.com/rafaeelaudibert/TrabalhoFinalCPD
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafaeelaudibert/TrabalhoFinalCPD" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeelaudibert%2FTrabalhoFinalCPD", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeelaudibert%2FTrabalhoFinalCPD'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f8c56f67aab282cf586faef405d3b3a008eb3b49
[INFO] testing rafaeelaudibert/TrabalhoFinalCPD against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeelaudibert%2FTrabalhoFinalCPD" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rafaeelaudibert/TrabalhoFinalCPD on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rafaeelaudibert/TrabalhoFinalCPD
[INFO] finished tweaking git repo https://github.com/rafaeelaudibert/TrabalhoFinalCPD
[INFO] tweaked toml for git repo https://github.com/rafaeelaudibert/TrabalhoFinalCPD written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/rafaeelaudibert/TrabalhoFinalCPD already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 859f5564456c092d9c62bc0ad1356c60b3fae1912b7606bfae1488aea3c9be18
[INFO] running `Command { std: "docker" "start" "-a" "859f5564456c092d9c62bc0ad1356c60b3fae1912b7606bfae1488aea3c9be18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "859f5564456c092d9c62bc0ad1356c60b3fae1912b7606bfae1488aea3c9be18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "859f5564456c092d9c62bc0ad1356c60b3fae1912b7606bfae1488aea3c9be18", kill_on_drop: false }`
[INFO] [stdout] 859f5564456c092d9c62bc0ad1356c60b3fae1912b7606bfae1488aea3c9be18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0bdd1afce1285fbf294ce7f78c5cf720fee2b0c8746677f7507d6c8e92f4bf4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e0bdd1afce1285fbf294ce7f78c5cf720fee2b0c8746677f7507d6c8e92f4bf4", kill_on_drop: false }`
[INFO] [stderr]    Compiling encode_unicode v0.3.5
[INFO] [stderr]    Compiling text_io v0.1.7
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]    Compiling term v0.5.1
[INFO] [stderr]    Compiling csv-core v0.1.4
[INFO] [stderr]    Compiling csv v1.0.2
[INFO] [stderr]    Compiling prettytable-rs v0.8.0
[INFO] [stderr]    Compiling trabalho_final_cpd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:28:64
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 - pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 28 + pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:179:105
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                                                                                         ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 179 - pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 179 + pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:466:21
[INFO] [stdout]     |
[INFO] [stdout] 466 | ) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                     ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 466 - ) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 466 + ) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:523:71
[INFO] [stdout]     |
[INFO] [stdout] 523 | pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 523 - pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 523 + pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:537:42
[INFO] [stdout]     |
[INFO] [stdout] 537 | pub fn reparse_tries() -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 537 - pub fn reparse_tries() -> Result<(), Box<error::Error>> {
[INFO] [stdout] 537 + pub fn reparse_tries() -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:14:86
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                                                      ^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<Error>> {
[INFO] [stdout] 14 + pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/trie.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ) -> Result<(), Box<error::Error>> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 43 +     ) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/trie.rs:101:65
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<error::Error>> {
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 101 -     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<error::Error>> {
[INFO] [stdout] 101 +     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/trie.rs:182:70
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 182 -     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 182 +     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/trie.rs:257:39
[INFO] [stdout]     |
[INFO] [stdout] 257 |     ) -> Result<Option<Vec<u32>>, Box<error::Error>> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 257 -     ) -> Result<Option<Vec<u32>>, Box<error::Error>> {
[INFO] [stdout] 257 +     ) -> Result<Option<Vec<u32>>, Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:314:21
[INFO] [stdout]     |
[INFO] [stdout] 314 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "name_trie.bin", prefix_search).unwrap() {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:330:25
[INFO] [stdout]     |
[INFO] [stdout] 330 |             if let Some(mut entry_positions) =
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "role_trie.bin", prefix_search).unwrap() {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:382:25
[INFO] [stdout]     |
[INFO] [stdout] 382 |             if let Some(mut entry_positions) =
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:418:21
[INFO] [stdout]     |
[INFO] [stdout] 418 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "agency_trie.bin", prefix_search).unwrap() {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:434:25
[INFO] [stdout]     |
[INFO] [stdout] 434 |             if let Some(mut entry_positions) =
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.23s
[INFO] running `Command { std: "docker" "inspect" "e0bdd1afce1285fbf294ce7f78c5cf720fee2b0c8746677f7507d6c8e92f4bf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0bdd1afce1285fbf294ce7f78c5cf720fee2b0c8746677f7507d6c8e92f4bf4", kill_on_drop: false }`
[INFO] [stdout] e0bdd1afce1285fbf294ce7f78c5cf720fee2b0c8746677f7507d6c8e92f4bf4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bf1c3e8e2cb37a2f36ecb537ff71be68682a139db711d8d20cdafbf6ad0f051e
[INFO] running `Command { std: "docker" "start" "-a" "bf1c3e8e2cb37a2f36ecb537ff71be68682a139db711d8d20cdafbf6ad0f051e", kill_on_drop: false }`
[INFO] [stderr]    Compiling trabalho_final_cpd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:28:64
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 - pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 28 + pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:179:105
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                                                                                         ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 179 - pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 179 + pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:466:21
[INFO] [stdout]     |
[INFO] [stdout] 466 | ) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                     ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 466 - ) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 466 + ) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:523:71
[INFO] [stdout]     |
[INFO] [stdout] 523 | pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 523 - pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 523 + pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/cli.rs:537:42
[INFO] [stdout]     |
[INFO] [stdout] 537 | pub fn reparse_tries() -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 537 - pub fn reparse_tries() -> Result<(), Box<error::Error>> {
[INFO] [stdout] 537 + pub fn reparse_tries() -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:14:86
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                                                      ^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<Error>> {
[INFO] [stdout] 14 + pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/trie.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ) -> Result<(), Box<error::Error>> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 -     ) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 43 +     ) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/trie.rs:101:65
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<error::Error>> {
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 101 -     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<error::Error>> {
[INFO] [stdout] 101 +     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/trie.rs:182:70
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<error::Error>> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 182 -     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<error::Error>> {
[INFO] [stdout] 182 +     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/trie.rs:257:39
[INFO] [stdout]     |
[INFO] [stdout] 257 |     ) -> Result<Option<Vec<u32>>, Box<error::Error>> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 257 -     ) -> Result<Option<Vec<u32>>, Box<error::Error>> {
[INFO] [stdout] 257 +     ) -> Result<Option<Vec<u32>>, Box<dyn error::Error>> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:314:21
[INFO] [stdout]     |
[INFO] [stdout] 314 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "name_trie.bin", prefix_search).unwrap() {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:330:25
[INFO] [stdout]     |
[INFO] [stdout] 330 |             if let Some(mut entry_positions) =
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "role_trie.bin", prefix_search).unwrap() {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:382:25
[INFO] [stdout]     |
[INFO] [stdout] 382 |             if let Some(mut entry_positions) =
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:418:21
[INFO] [stdout]     |
[INFO] [stdout] 418 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "agency_trie.bin", prefix_search).unwrap() {
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:434:25
[INFO] [stdout]     |
[INFO] [stdout] 434 |             if let Some(mut entry_positions) =
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.72s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/trabalho_final_cpd-7c46da74b4aa6f47)
[INFO] running `Command { std: "docker" "inspect" "bf1c3e8e2cb37a2f36ecb537ff71be68682a139db711d8d20cdafbf6ad0f051e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf1c3e8e2cb37a2f36ecb537ff71be68682a139db711d8d20cdafbf6ad0f051e", kill_on_drop: false }`
[INFO] [stdout] bf1c3e8e2cb37a2f36ecb537ff71be68682a139db711d8d20cdafbf6ad0f051e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 044e5a127a75f8a91189350645a925d1a9a424dee559b5469d8d377ef5d89f84
[INFO] running `Command { std: "docker" "start" "-a" "044e5a127a75f8a91189350645a925d1a9a424dee559b5469d8d377ef5d89f84", 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] [stdout] 
[INFO] [stderr]   --> src/cli.rs:28:64
[INFO] [stdout] running 0 tests
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 28 | pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<error::Error>> {
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]    |                                                                ^^^^^^^^^^^^
[INFO] [stdout] 
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 28 - pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<error::Error>> {
[INFO] [stderr] 28 + pub fn interactive_mode(prefix_search: bool) -> Result<(), Box<dyn error::Error>> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/cli.rs:179:105
[INFO] [stderr]     |
[INFO] [stderr] 179 | pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<error::Error>> {
[INFO] [stderr]     |                                                                                                         ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 179 - pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<error::Error>> {
[INFO] [stderr] 179 + pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box<dyn error::Error>> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/cli.rs:466:21
[INFO] [stderr]     |
[INFO] [stderr] 466 | ) -> Result<(), Box<error::Error>> {
[INFO] [stderr]     |                     ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 466 - ) -> Result<(), Box<error::Error>> {
[INFO] [stderr] 466 + ) -> Result<(), Box<dyn error::Error>> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/cli.rs:523:71
[INFO] [stderr]     |
[INFO] [stderr] 523 | pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<error::Error>> {
[INFO] [stderr]     |                                                                       ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 523 - pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<error::Error>> {
[INFO] [stderr] 523 + pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box<dyn error::Error>> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/cli.rs:537:42
[INFO] [stderr]     |
[INFO] [stderr] 537 | pub fn reparse_tries() -> Result<(), Box<error::Error>> {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 537 - pub fn reparse_tries() -> Result<(), Box<error::Error>> {
[INFO] [stderr] 537 + pub fn reparse_tries() -> Result<(), Box<dyn error::Error>> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parser.rs:14:86
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<Error>> {
[INFO] [stderr]    |                                                                                      ^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 14 - pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<Error>> {
[INFO] [stderr] 14 + pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/trie.rs:43:25
[INFO] [stderr]    |
[INFO] [stderr] 43 |     ) -> Result<(), Box<error::Error>> {
[INFO] [stderr]    |                         ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 43 -     ) -> Result<(), Box<error::Error>> {
[INFO] [stderr] 43 +     ) -> Result<(), Box<dyn error::Error>> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/trie.rs:101:65
[INFO] [stderr]     |
[INFO] [stderr] 101 |     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<error::Error>> {
[INFO] [stderr]     |                                                                 ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 101 -     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<error::Error>> {
[INFO] [stderr] 101 +     pub fn new_from_file(trie_file: String) -> Result<Trie, Box<dyn error::Error>> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/trie.rs:182:70
[INFO] [stderr]     |
[INFO] [stderr] 182 |     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<error::Error>> {
[INFO] [stderr]     |                                                                      ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 182 -     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<error::Error>> {
[INFO] [stderr] 182 +     pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box<dyn error::Error>> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/trie.rs:257:39
[INFO] [stderr]     |
[INFO] [stderr] 257 |     ) -> Result<Option<Vec<u32>>, Box<error::Error>> {
[INFO] [stderr]     |                                       ^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 257 -     ) -> Result<Option<Vec<u32>>, Box<error::Error>> {
[INFO] [stderr] 257 +     ) -> Result<Option<Vec<u32>>, Box<dyn error::Error>> {
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cli.rs:314:21
[INFO] [stderr]     |
[INFO] [stderr] 314 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "name_trie.bin", prefix_search).unwrap() {
[INFO] [stderr]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cli.rs:330:25
[INFO] [stderr]     |
[INFO] [stderr] 330 |             if let Some(mut entry_positions) =
[INFO] [stderr]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cli.rs:366:21
[INFO] [stderr]     |
[INFO] [stderr] 366 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "role_trie.bin", prefix_search).unwrap() {
[INFO] [stderr]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cli.rs:382:25
[INFO] [stderr]     |
[INFO] [stderr] 382 |             if let Some(mut entry_positions) =
[INFO] [stderr]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cli.rs:418:21
[INFO] [stderr]     |
[INFO] [stderr] 418 |         if let Some(mut entry_positions) = trie::Trie::at_from_file(&piece, "agency_trie.bin", prefix_search).unwrap() {
[INFO] [stderr]     |                     ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cli.rs:434:25
[INFO] [stderr]     |
[INFO] [stderr] 434 |             if let Some(mut entry_positions) =
[INFO] [stderr]     |                         ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `trabalho_final_cpd` (bin "trabalho_final_cpd" test) generated 16 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trabalho_final_cpd-7c46da74b4aa6f47)
[INFO] running `Command { std: "docker" "inspect" "044e5a127a75f8a91189350645a925d1a9a424dee559b5469d8d377ef5d89f84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "044e5a127a75f8a91189350645a925d1a9a424dee559b5469d8d377ef5d89f84", kill_on_drop: false }`
[INFO] [stdout] 044e5a127a75f8a91189350645a925d1a9a424dee559b5469d8d377ef5d89f84
