[INFO] fetching crate khalzam 0.3.9... [INFO] testing khalzam-0.3.9 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate khalzam 0.3.9 into /workspace/builds/worker-105/source [INFO] validating manifest of crates.io crate khalzam 0.3.9 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-105/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67a9428f3bc22c129767e41abd6c59acbc4ce95008cd89de4a83f0efc452ac7b [INFO] running `Command { std: "docker" "start" "-a" "67a9428f3bc22c129767e41abd6c59acbc4ce95008cd89de4a83f0efc452ac7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67a9428f3bc22c129767e41abd6c59acbc4ce95008cd89de4a83f0efc452ac7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67a9428f3bc22c129767e41abd6c59acbc4ce95008cd89de4a83f0efc452ac7b", kill_on_drop: false }` [INFO] [stdout] 67a9428f3bc22c129767e41abd6c59acbc4ce95008cd89de4a83f0efc452ac7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a09fee16c40c643f5ec335180aa56ce00a77245b97dd621cae0cd116c6b8916 [INFO] running `Command { std: "docker" "start" "-a" "1a09fee16c40c643f5ec335180aa56ce00a77245b97dd621cae0cd116c6b8916", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [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 percent-encoding v1.0.1 [INFO] [stderr] Compiling strength_reduce v0.2.3 [INFO] [stderr] Compiling transpose v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling quote v0.6.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 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 digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [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 tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rustfft v3.0.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling postgres-protocol v0.4.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [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 26.75s [INFO] running `Command { std: "docker" "inspect" "1a09fee16c40c643f5ec335180aa56ce00a77245b97dd621cae0cd116c6b8916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a09fee16c40c643f5ec335180aa56ce00a77245b97dd621cae0cd116c6b8916", kill_on_drop: false }` [INFO] [stdout] 1a09fee16c40c643f5ec335180aa56ce00a77245b97dd621cae0cd116c6b8916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35ce54fdb13d028c8d44e61f47b37d878d48701db2907aac1428109f4006b873 [INFO] running `Command { std: "docker" "start" "-a" "35ce54fdb13d028c8d44e61f47b37d878d48701db2907aac1428109f4006b873", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.1 [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-channel v0.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.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 13.28s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/khalzam-ecb9d841e3ad624f) [INFO] running `Command { std: "docker" "inspect" "35ce54fdb13d028c8d44e61f47b37d878d48701db2907aac1428109f4006b873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ce54fdb13d028c8d44e61f47b37d878d48701db2907aac1428109f4006b873", kill_on_drop: false }` [INFO] [stdout] 35ce54fdb13d028c8d44e61f47b37d878d48701db2907aac1428109f4006b873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8cd865fc6953de582c205e9873f4e5ccd7af6c2c9f69f095b6d1ea7061e29df8 [INFO] running `Command { std: "docker" "start" "-a" "8cd865fc6953de582c205e9873f4e5ccd7af6c2c9f69f095b6d1ea7061e29df8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/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 2.00s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/khalzam-ecb9d841e3ad624f) [INFO] [stdout] [INFO] [stderr] Doc-tests khalzam [INFO] [stdout] running 3 tests [INFO] [stdout] test fingerprint::tests::test_hash ... ok [INFO] [stdout] test tests::test_get_songname ... ok [INFO] [stdout] test tests::test_check_extension ... 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] [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" "8cd865fc6953de582c205e9873f4e5ccd7af6c2c9f69f095b6d1ea7061e29df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cd865fc6953de582c205e9873f4e5ccd7af6c2c9f69f095b6d1ea7061e29df8", kill_on_drop: false }` [INFO] [stdout] 8cd865fc6953de582c205e9873f4e5ccd7af6c2c9f69f095b6d1ea7061e29df8