[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] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68dea06d36893e7050d554ddc802504ddc3dddff [INFO] checking ammongit/markov-music against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fmarkov-music" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ammongit/markov-music on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 532a5f6ae5e7f9ca8f34ae9bed9dc0ce6afc8a9f78c58163605897a49158e004 [INFO] running `Command { std: "docker" "start" "-a" "532a5f6ae5e7f9ca8f34ae9bed9dc0ce6afc8a9f78c58163605897a49158e004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "532a5f6ae5e7f9ca8f34ae9bed9dc0ce6afc8a9f78c58163605897a49158e004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532a5f6ae5e7f9ca8f34ae9bed9dc0ce6afc8a9f78c58163605897a49158e004", kill_on_drop: false }` [INFO] [stdout] 532a5f6ae5e7f9ca8f34ae9bed9dc0ce6afc8a9f78c58163605897a49158e004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a70176434b876bcdf6db28dc522b0e6b9e6d0592b3e01fd155400c2b0977e586 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a70176434b876bcdf6db28dc522b0e6b9e6d0592b3e01fd155400c2b0977e586", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 strsim v0.6.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking bufstream v0.1.3 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking thread-id v3.2.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling syn v0.11.11 [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 libsqlite3-sys v0.9.1 [INFO] [stderr] Checking mpd v0.0.12 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [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: 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] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^ help: use `dyn`: `dyn Rng` [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 a macro (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:25 [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:40 [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 a macro (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] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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] | ^^^ help: use `dyn`: `dyn Rng` [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] | ^^^ help: use `dyn`: `dyn Rng` [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 a macro (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:25 [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:40 [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 a macro (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: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 is never used: `random_key` [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 is never used: `roulette_wheel` [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 is never used: `modify_weight` [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 is never used: `clear` [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 is never used: `start` [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 is never used: `next` [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 is never used: `possible_next` [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 is never used: `split_cmd` [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: associated function is never used: `bind` [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 is never used: `wait` [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 is never used: `respond` [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 is never used: `set_recommend` [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 is never used: `empty_mut_str` [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 is never used: `sigmoid` [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 is never used: `random_key` [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 is never used: `roulette_wheel` [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 is never used: `modify_weight` [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 is never used: `clear` [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 is never used: `start` [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 is never used: `next` [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 is never used: `possible_next` [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 is never used: `split_cmd` [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: associated function is never used: `bind` [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 is never used: `wait` [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 is never used: `respond` [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 is never used: `set_recommend` [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 is never used: `empty_mut_str` [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 is never used: `sigmoid` [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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.42s [INFO] running `Command { std: "docker" "inspect" "a70176434b876bcdf6db28dc522b0e6b9e6d0592b3e01fd155400c2b0977e586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70176434b876bcdf6db28dc522b0e6b9e6d0592b3e01fd155400c2b0977e586", kill_on_drop: false }` [INFO] [stdout] a70176434b876bcdf6db28dc522b0e6b9e6d0592b3e01fd155400c2b0977e586