[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 master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaeelaudibert%2FTrabalhoFinalCPD" "/workspace/builds/worker-97/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-97/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafaeelaudibert/TrabalhoFinalCPD on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-97/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" "+62efba8a050c64249dab942951bb28f710208bc8" "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-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea6220ee18ee96fb240a8b22bba420d67a42ab677a5d881be2548a297a41d256 [INFO] running `Command { std: "docker" "start" "-a" "ea6220ee18ee96fb240a8b22bba420d67a42ab677a5d881be2548a297a41d256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea6220ee18ee96fb240a8b22bba420d67a42ab677a5d881be2548a297a41d256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6220ee18ee96fb240a8b22bba420d67a42ab677a5d881be2548a297a41d256", kill_on_drop: false }` [INFO] [stdout] ea6220ee18ee96fb240a8b22bba420d67a42ab677a5d881be2548a297a41d256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff170a10229745d5ac6c254fcf272a416d5568f38caa3f77e8f3e664a534c5e [INFO] running `Command { std: "docker" "start" "-a" "cff170a10229745d5ac6c254fcf272a416d5568f38caa3f77e8f3e664a534c5e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling encode_unicode v0.3.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling clap v2.32.0 [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> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:179:105 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:523:71 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:537:42 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn reparse_tries() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/parser.rs:14:86 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/trie.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:101:65 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn new_from_file(trie_file: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:182:70 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:257:39 [INFO] [stdout] | [INFO] [stdout] 257 | ) -> Result>, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: 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 12.76s [INFO] running `Command { std: "docker" "inspect" "cff170a10229745d5ac6c254fcf272a416d5568f38caa3f77e8f3e664a534c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff170a10229745d5ac6c254fcf272a416d5568f38caa3f77e8f3e664a534c5e", kill_on_drop: false }` [INFO] [stdout] cff170a10229745d5ac6c254fcf272a416d5568f38caa3f77e8f3e664a534c5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e63fee9f49621c76d6c872abf01c97abc1226ec2c25c8a5f5faa121653c68d9a [INFO] running `Command { std: "docker" "start" "-a" "e63fee9f49621c76d6c872abf01c97abc1226ec2c25c8a5f5faa121653c68d9a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:179:105 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:523:71 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:537:42 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn reparse_tries() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/parser.rs:14:86 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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/trie.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:101:65 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn new_from_file(trie_file: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:182:70 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:257:39 [INFO] [stdout] | [INFO] [stdout] 257 | ) -> Result>, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: 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 4.40s [INFO] running `Command { std: "docker" "inspect" "e63fee9f49621c76d6c872abf01c97abc1226ec2c25c8a5f5faa121653c68d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e63fee9f49621c76d6c872abf01c97abc1226ec2c25c8a5f5faa121653c68d9a", kill_on_drop: false }` [INFO] [stdout] e63fee9f49621c76d6c872abf01c97abc1226ec2c25c8a5f5faa121653c68d9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb3364ee8b1dd9577e08408ddabc66402a91eab543e10ef1165c046494d51e86 [INFO] running `Command { std: "docker" "start" "-a" "fb3364ee8b1dd9577e08408ddabc66402a91eab543e10ef1165c046494d51e86", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:28:64 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn interactive_mode(prefix_search: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:179:105 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn search_on_database(matches: clap::ArgMatches, prefix_search : bool, or : bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:466:21 [INFO] [stderr] | [INFO] [stderr] 466 | ) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:523:71 [INFO] [stderr] | [INFO] [stderr] 523 | pub fn parse_csv_files(mut csv_files: clap::Values) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/cli.rs:537:42 [INFO] [stderr] | [INFO] [stderr] 537 | pub fn reparse_tries() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/parser.rs:14:86 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn generate_database_files(salary_file: &str, info_file: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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/trie.rs:43:25 [INFO] [stderr] | [INFO] [stderr] 43 | ) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:101:65 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn new_from_file(trie_file: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:182:70 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn save_to_file(&mut self, filename: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trie.rs:257:39 [INFO] [stderr] | [INFO] [stderr] 257 | ) -> Result>, Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: 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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/trabalho_final_cpd-e65e592c32bf2238) [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" "fb3364ee8b1dd9577e08408ddabc66402a91eab543e10ef1165c046494d51e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3364ee8b1dd9577e08408ddabc66402a91eab543e10ef1165c046494d51e86", kill_on_drop: false }` [INFO] [stdout] fb3364ee8b1dd9577e08408ddabc66402a91eab543e10ef1165c046494d51e86