[INFO] cloning repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ammongit/markov-music" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fmarkov-music", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fmarkov-music'... [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ammongit/markov-music [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68dea06d36893e7050d554ddc802504ddc3dddff [INFO] checking ammongit/markov-music against master#af7ab3447079fddc51c6c7749b160d24769f7c16 for pr-99413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fmarkov-music" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ammongit/markov-music on toolchain af7ab3447079fddc51c6c7749b160d24769f7c16 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af7ab3447079fddc51c6c7749b160d24769f7c16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ammongit/markov-music [INFO] finished tweaking git repo https://github.com/ammongit/markov-music [INFO] tweaked toml for git repo https://github.com/ammongit/markov-music written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ammongit/markov-music already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af7ab3447079fddc51c6c7749b160d24769f7c16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+af7ab3447079fddc51c6c7749b160d24769f7c16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de28dd2ffee0b413651d82e747ae7464bd71088bad5ec34a36c529ea596e005c [INFO] running `Command { std: "docker" "start" "-a" "de28dd2ffee0b413651d82e747ae7464bd71088bad5ec34a36c529ea596e005c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de28dd2ffee0b413651d82e747ae7464bd71088bad5ec34a36c529ea596e005c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de28dd2ffee0b413651d82e747ae7464bd71088bad5ec34a36c529ea596e005c", kill_on_drop: false }` [INFO] [stdout] de28dd2ffee0b413651d82e747ae7464bd71088bad5ec34a36c529ea596e005c [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+af7ab3447079fddc51c6c7749b160d24769f7c16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae843de7d2cf387bc5e75e44e524e8495eb090b391cc37845c5c30976d7104f4 [INFO] running `Command { std: "docker" "start" "-a" "ae843de7d2cf387bc5e75e44e524e8495eb090b391cc37845c5c30976d7104f4", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking bufstream v0.1.3 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling libsqlite3-sys v0.9.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking thread-id v3.2.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking simple-logging v2.0.1 [INFO] [stderr] Checking textwrap v0.7.0 [INFO] [stderr] Checking clap v2.26.0 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Checking mpd v0.0.12 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking diesel v1.1.1 [INFO] [stderr] Checking serde v1.0.11 [INFO] [stderr] Checking toml v0.4.4 [INFO] [stderr] Checking markov-music v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref DEFAULT_CONFIG_PATH: PathBuf = { [INFO] [stdout] 31 | | let mut dir = match env::var_os("XDG_CONFIG_HOME") { [INFO] [stdout] 32 | | Some(dir) => PathBuf::from(dir), [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | write!(f, "{}", StdError::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/utils.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | pub static ref HOME_DIR: PathBuf = env::home_dir().expect("Unable to get home directory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | pub static ref HOME_DIR: PathBuf = env::home_dir().expect("Unable to get home directory"); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choose.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] 29 + pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut dyn Rng) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choose.rs:34:77 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] 34 + pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut dyn Rng) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 57 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/markov.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn start(&self, rng: &mut Rng) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn start(&self, rng: &mut Rng) -> Option<&T> { [INFO] [stdout] 64 + pub fn start(&self, rng: &mut dyn Rng) -> Option<&T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/markov.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn next(&self, current: &U, rng: &mut Rng) -> Option<&T> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - pub fn next(&self, current: &U, rng: &mut Rng) -> Option<&T> [INFO] [stdout] 68 + pub fn next(&self, current: &U, rng: &mut dyn Rng) -> Option<&T> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref DEFAULT_CONFIG_PATH: PathBuf = { [INFO] [stdout] 31 | | let mut dir = match env::var_os("XDG_CONFIG_HOME") { [INFO] [stdout] 32 | | Some(dir) => PathBuf::from(dir), [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | write!(f, "{}", StdError::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/utils.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | pub static ref HOME_DIR: PathBuf = env::home_dir().expect("Unable to get home directory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | pub static ref HOME_DIR: PathBuf = env::home_dir().expect("Unable to get home directory"); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choose.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] 29 + pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut dyn Rng) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/choose.rs:34:77 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] 34 + pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut dyn Rng) -> Option<&'a K> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 57 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/markov.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn start(&self, rng: &mut Rng) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn start(&self, rng: &mut Rng) -> Option<&T> { [INFO] [stdout] 64 + pub fn start(&self, rng: &mut dyn Rng) -> Option<&T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/markov.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn next(&self, current: &U, rng: &mut Rng) -> Option<&T> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - pub fn next(&self, current: &U, rng: &mut Rng) -> Option<&T> [INFO] [stdout] 68 + pub fn next(&self, current: &U, rng: &mut dyn Rng) -> Option<&T> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | IntParse(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | Utf8(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | TomlDe(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | MpdParse(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | MpdProto(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | MpdServer(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | IntParse(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | Utf8(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | TomlDe(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | MpdParse(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | MpdProto(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | MpdServer(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_key` is never used [INFO] [stdout] --> src/choose.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roulette_wheel` is never used [INFO] [stdout] --> src/choose.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `modify_weight` is never used [INFO] [stdout] --> src/markov.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn modify_weight(&mut self, prev: T, next: T, diff: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/markov.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn clear(&mut self, item: &U) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/markov.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn start(&self, rng: &mut Rng) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next` is never used [INFO] [stdout] --> src/markov.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn next(&self, current: &U, rng: &mut Rng) -> Option<&T> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `possible_next` is never used [INFO] [stdout] --> src/markov.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn possible_next(&self, current: &U) -> Option<&HashMap> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_cmd` is never used [INFO] [stdout] --> src/socket.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn split_cmd(command: &mut str) -> (&mut str, &mut str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket` is never read [INFO] [stdout] --> src/socket.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SocketServer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 37 | socket: UnixDatagram, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocketServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bind` is never used [INFO] [stdout] --> src/socket.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bind(config: &DaemonConfig) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `wait` is never used [INFO] [stdout] --> src/socket.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn wait(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `respond` is never used [INFO] [stdout] --> src/socket.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn respond(&self, command: &mut str) -> Result<&'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_recommend` is never used [INFO] [stdout] --> src/socket.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn set_recommend(&self, arg: &mut str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_mut_str` is never used [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn empty_mut_str() -> &'static mut str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigmoid` is never used [INFO] [stdout] --> src/utils.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sigmoid(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_key` is never used [INFO] [stdout] --> src/choose.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn random_key<'a, K: Eq + Hash, V>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roulette_wheel` is never used [INFO] [stdout] --> src/choose.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn roulette_wheel<'a, K: Eq + Hash>(map: &'a HashMap, rng: &mut Rng) -> Option<&'a K> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `modify_weight` is never used [INFO] [stdout] --> src/markov.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn modify_weight(&mut self, prev: T, next: T, diff: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/markov.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn clear(&mut self, item: &U) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/markov.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn start(&self, rng: &mut Rng) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next` is never used [INFO] [stdout] --> src/markov.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn next(&self, current: &U, rng: &mut Rng) -> Option<&T> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `possible_next` is never used [INFO] [stdout] --> src/markov.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn possible_next(&self, current: &U) -> Option<&HashMap> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_cmd` is never used [INFO] [stdout] --> src/socket.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn split_cmd(command: &mut str) -> (&mut str, &mut str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket` is never read [INFO] [stdout] --> src/socket.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SocketServer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 37 | socket: UnixDatagram, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocketServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bind` is never used [INFO] [stdout] --> src/socket.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bind(config: &DaemonConfig) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `wait` is never used [INFO] [stdout] --> src/socket.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn wait(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `respond` is never used [INFO] [stdout] --> src/socket.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn respond(&self, command: &mut str) -> Result<&'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_recommend` is never used [INFO] [stdout] --> src/socket.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn set_recommend(&self, arg: &mut str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_mut_str` is never used [INFO] [stdout] --> src/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn empty_mut_str() -> &'static mut str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigmoid` is never used [INFO] [stdout] --> src/utils.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sigmoid(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.46s [INFO] running `Command { std: "docker" "inspect" "ae843de7d2cf387bc5e75e44e524e8495eb090b391cc37845c5c30976d7104f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae843de7d2cf387bc5e75e44e524e8495eb090b391cc37845c5c30976d7104f4", kill_on_drop: false }` [INFO] [stdout] ae843de7d2cf387bc5e75e44e524e8495eb090b391cc37845c5c30976d7104f4