[INFO] fetching crate khalzam 0.3.9... [INFO] testing khalzam-0.3.9 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate khalzam 0.3.9 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate khalzam 0.3.9 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate khalzam 0.3.9 [INFO] finished tweaking crates.io crate khalzam 0.3.9 [INFO] tweaked toml for crates.io crate khalzam 0.3.9 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b142fcf20ac5b4083828405419b83446c862106289a5f3780414e9fc122bcb [INFO] running `Command { std: "docker" "start" "-a" "d0b142fcf20ac5b4083828405419b83446c862106289a5f3780414e9fc122bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b142fcf20ac5b4083828405419b83446c862106289a5f3780414e9fc122bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b142fcf20ac5b4083828405419b83446c862106289a5f3780414e9fc122bcb", kill_on_drop: false }` [INFO] [stdout] d0b142fcf20ac5b4083828405419b83446c862106289a5f3780414e9fc122bcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d1ad250b5f14fb234bbdd16f1088da76807d4a8525385cda3fe36370b196c0c [INFO] running `Command { std: "docker" "start" "-a" "8d1ad250b5f14fb234bbdd16f1088da76807d4a8525385cda3fe36370b196c0c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rent_to_own v0.1.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling strength_reduce v0.2.3 [INFO] [stderr] Compiling transpose v0.1.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rustfft v3.0.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling postgres-protocol v0.4.1 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_state_machine_future v0.2.0 [INFO] [stderr] Compiling state_machine_future v0.2.0 [INFO] [stderr] Compiling tokio-postgres v0.4.0-rc.3 [INFO] [stderr] Compiling postgres v0.16.0-rc.2 [INFO] [stderr] Compiling r2d2_postgres v0.15.0-rc.1 [INFO] [stderr] Compiling khalzam v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | fn check_extension(filename: &str) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stdout] 69 + fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | fn get_songname(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn get_songname(filename: &str) -> Result> { [INFO] [stdout] 86 + fn get_songname(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] 40 + pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] 49 + pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] 60 + pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] 9 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] 11 + fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | fn delete(&self, song: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn delete(&self, song: &str) -> Result>; [INFO] [stdout] 13 + fn delete(&self, song: &str) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fingerprint.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] 53 + fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fingerprint.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] 30 + pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:51:73 [INFO] [stdout] | [INFO] [stdout] 51 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] 51 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:71:72 [INFO] [stdout] | [INFO] [stdout] 71 | fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] 71 + fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:131:53 [INFO] [stdout] | [INFO] [stdout] 131 | fn delete(&self, song: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 - fn delete(&self, song: &str) -> Result> { [INFO] [stdout] 131 + fn delete(&self, song: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.93s [INFO] running `Command { std: "docker" "inspect" "8d1ad250b5f14fb234bbdd16f1088da76807d4a8525385cda3fe36370b196c0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1ad250b5f14fb234bbdd16f1088da76807d4a8525385cda3fe36370b196c0c", kill_on_drop: false }` [INFO] [stdout] 8d1ad250b5f14fb234bbdd16f1088da76807d4a8525385cda3fe36370b196c0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0329069d48d7ce0c74a70227b2b7d44ba79fc99bb2208b70005b4b1d19a6721f [INFO] running `Command { std: "docker" "start" "-a" "0329069d48d7ce0c74a70227b2b7d44ba79fc99bb2208b70005b4b1d19a6721f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | fn check_extension(filename: &str) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stdout] 69 + fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | fn get_songname(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn get_songname(filename: &str) -> Result> { [INFO] [stdout] 86 + fn get_songname(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] 40 + pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] 49 + pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] 60 + pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] 9 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] 11 + fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | fn delete(&self, song: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn delete(&self, song: &str) -> Result>; [INFO] [stdout] 13 + fn delete(&self, song: &str) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fingerprint.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] 53 + fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fingerprint.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] 30 + pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:51:73 [INFO] [stdout] | [INFO] [stdout] 51 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] 51 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:71:72 [INFO] [stdout] | [INFO] [stdout] 71 | fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] 71 + fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:131:53 [INFO] [stdout] | [INFO] [stdout] 131 | fn delete(&self, song: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 - fn delete(&self, song: &str) -> Result> { [INFO] [stdout] 131 + fn delete(&self, song: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling khalzam v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | fn check_extension(filename: &str) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stdout] 69 + fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | fn get_songname(filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn get_songname(filename: &str) -> Result> { [INFO] [stdout] 86 + fn get_songname(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] 40 + pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] 49 + pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] 60 + pub fn delete(&self, songname: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] 9 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] 11 + fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | fn delete(&self, song: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn delete(&self, song: &str) -> Result>; [INFO] [stdout] 13 + fn delete(&self, song: &str) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fingerprint.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] 53 + fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fingerprint.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] 30 + pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:51:73 [INFO] [stdout] | [INFO] [stdout] 51 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] 51 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:71:72 [INFO] [stdout] | [INFO] [stdout] 71 | fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] 71 + fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/pg.rs:131:53 [INFO] [stdout] | [INFO] [stdout] 131 | fn delete(&self, song: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 - fn delete(&self, song: &str) -> Result> { [INFO] [stdout] 131 + fn delete(&self, song: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.35s [INFO] running `Command { std: "docker" "inspect" "0329069d48d7ce0c74a70227b2b7d44ba79fc99bb2208b70005b4b1d19a6721f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0329069d48d7ce0c74a70227b2b7d44ba79fc99bb2208b70005b4b1d19a6721f", kill_on_drop: false }` [INFO] [stdout] 0329069d48d7ce0c74a70227b2b7d44ba79fc99bb2208b70005b4b1d19a6721f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aebdd1918f51ab6fba44927783e5b7d8083766e6f26cb7fe5b9156bd58c7aca9 [INFO] running `Command { std: "docker" "start" "-a" "aebdd1918f51ab6fba44927783e5b7d8083766e6f26cb7fe5b9156bd58c7aca9", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:69:54 [INFO] [stderr] | [INFO] [stderr] 69 | fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 - fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stderr] 69 + fn check_extension(filename: &str) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:86:55 [INFO] [stderr] | [INFO] [stderr] 86 | fn get_songname(filename: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 86 - fn get_songname(filename: &str) -> Result> { [INFO] [stderr] 86 + fn get_songname(filename: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:40:57 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stderr] 40 + pub fn add(&self, filename: &str) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:49:67 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stderr] 49 + pub fn recognize(&self, filename: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:60:64 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn delete(&self, songname: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 60 - pub fn delete(&self, songname: &str) -> Result> { [INFO] [stderr] 60 + pub fn delete(&self, songname: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/db/mod.rs:9:73 [INFO] [stderr] | [INFO] [stderr] 9 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stderr] 9 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/db/mod.rs:11:72 [INFO] [stderr] | [INFO] [stderr] 11 | fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stderr] 11 + fn find(&self, hash_array: &[usize]) -> Result, Box>; // It may be better to replace String result with generic. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/db/mod.rs:13:53 [INFO] [stderr] | [INFO] [stderr] 13 | fn delete(&self, song: &str) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - fn delete(&self, song: &str) -> Result>; [INFO] [stderr] 13 + fn delete(&self, song: &str) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fingerprint.rs:53:55 [INFO] [stderr] | [INFO] [stderr] 53 | fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stderr] 53 + fn decode_mp3(filename: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fingerprint.rs:30:78 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stderr] 30 + pub fn calc_fingerprint(&self, filename: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/db/pg.rs:51:73 [INFO] [stderr] | [INFO] [stderr] 51 | fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stderr] 51 + fn index(&self, song: &str, hash_array: &[usize]) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/db/pg.rs:71:72 [INFO] [stderr] | [INFO] [stderr] 71 | fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 - fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stderr] 71 + fn find(&self, hash_array: &[usize]) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/db/pg.rs:131:53 [INFO] [stderr] | [INFO] [stderr] 131 | fn delete(&self, song: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 131 - fn delete(&self, song: &str) -> Result> { [INFO] [stderr] 131 + fn delete(&self, song: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `khalzam` (lib) generated 13 warnings [INFO] [stderr] warning: `khalzam` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/khalzam-a5b71e3794a002d6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test fingerprint::tests::test_hash ... ok [INFO] [stdout] test tests::test_check_extension ... ok [INFO] [stdout] test tests::test_get_songname ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests khalzam [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" "aebdd1918f51ab6fba44927783e5b7d8083766e6f26cb7fe5b9156bd58c7aca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aebdd1918f51ab6fba44927783e5b7d8083766e6f26cb7fe5b9156bd58c7aca9", kill_on_drop: false }` [INFO] [stdout] aebdd1918f51ab6fba44927783e5b7d8083766e6f26cb7fe5b9156bd58c7aca9