[INFO] cloning repository https://github.com/vks/mpw-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vks/mpw-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvks%2Fmpw-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvks%2Fmpw-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab81ee4340815c607f863fba28a1ffc8d065ebb3 [INFO] building vks/mpw-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvks%2Fmpw-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vks/mpw-rs [INFO] finished tweaking git repo https://github.com/vks/mpw-rs [INFO] tweaked toml for git repo https://github.com/vks/mpw-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vks/mpw-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vks/mpw-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded fancy-regex v0.1.0 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded rayon v0.8.2 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded rayon-core v1.4.1 [INFO] [stderr] Downloaded rpassword v2.0.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded serde v1.0.78 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded data-encoding v1.2.0 [INFO] [stderr] Downloaded errno-dragonfly v0.1.1 [INFO] [stderr] Downloaded errno v0.2.4 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded untrusted v0.5.1 [INFO] [stderr] Downloaded serde_derive v1.0.78 [INFO] [stderr] Downloaded toml v0.4.6 [INFO] [stderr] Downloaded derive_builder_core v0.2.0 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded data-encoding v2.1.1 [INFO] [stderr] Downloaded derive_builder v0.5.1 [INFO] [stderr] Downloaded ring-pwhash v0.12.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded crossbeam-deque v0.2.0 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded crossbeam-utils v0.2.2 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded syn v0.15.3 [INFO] [stderr] Downloaded zxcvbn v1.0.1 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded ring v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6b7f1e6dae412e91aabf5f1f29d6f2045f4153f4b9f8d1f5928d50eeceaac4b [INFO] running `Command { std: "docker" "start" "-a" "b6b7f1e6dae412e91aabf5f1f29d6f2045f4153f4b9f8d1f5928d50eeceaac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6b7f1e6dae412e91aabf5f1f29d6f2045f4153f4b9f8d1f5928d50eeceaac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b7f1e6dae412e91aabf5f1f29d6f2045f4153f4b9f8d1f5928d50eeceaac4b", kill_on_drop: false }` [INFO] [stdout] b6b7f1e6dae412e91aabf5f1f29d6f2045f4153f4b9f8d1f5928d50eeceaac4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39ab84aa274f5aa79514ee9c37b235c5ffe7c9b7bb90a1a02c848576d4fa36cb [INFO] running `Command { std: "docker" "start" "-a" "39ab84aa274f5aa79514ee9c37b235c5ffe7c9b7bb90a1a02c848576d4fa36cb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Compiling serde v1.0.78 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling untrusted v0.5.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling data-encoding v2.1.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.3 [INFO] [stderr] Compiling rpassword v2.0.0 [INFO] [stderr] Compiling errno v0.2.4 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling data-encoding v1.2.0 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.78 [INFO] [stderr] Compiling fancy-regex v0.1.0 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling zxcvbn v1.0.1 [INFO] [stderr] Compiling ring-pwhash v0.12.0 [INFO] [stderr] Compiling mpw v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/algorithm.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | message: e.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | let (mut nonce, mut rest) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:495:25 [INFO] [stdout] | [INFO] [stdout] 495 | let (mut nonce, mut rest) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:501:18 [INFO] [stdout] | [INFO] [stdout] 501 | let (mut input, _) = rest.split_at_mut(clear_text.len()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let (nonce, mut in_out) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | let (nonce, mut in_out) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `kind` are never read [INFO] [stdout] --> src/algorithm.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 207 | // TODO: maybe rather use Cow? [INFO] [stdout] 208 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 209 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entropy_of_template` is never used [INFO] [stdout] --> src/algorithm.rs:381:4 [INFO] [stdout] | [INFO] [stdout] 381 | fn entropy_of_template(template: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id_for_buf` is never used [INFO] [stdout] --> src/algorithm.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn id_for_buf(buf: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clear_on_drop.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | Other(Errno), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Other(Errno), [INFO] [stdout] 24 + Other(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConflictingFullName` and `ConflictingStoredPasswords` are never constructed [INFO] [stdout] --> src/config.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 21 | /// Tried to merge configs for different full names. [INFO] [stdout] 22 | ConflictingFullName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | /// Tried to merge configs with conflicting stored passwords. [INFO] [stdout] 24 | ConflictingStoredPasswords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/config.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 items `new` and `merge` are never used [INFO] [stdout] --> src/config.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl<'a> SiteConfig<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 108 | /// Create a new site configuration with the given domain name. [INFO] [stdout] 109 | pub fn new(name: &'a str) -> SiteConfig<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn merge(&mut self, other: SiteConfig<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/algorithm.rs:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | panic!(format!("template too long for given password seed: {} >= {}", [INFO] [stdout] | ________________^ [INFO] [stdout] 288 | | template.len(), seed.len())); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 287 ~ panic!("template too long for given password seed: {} >= {}", [INFO] [stdout] 288 ~ template.len(), seed.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/algorithm.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | assert!(buf.len() >= PAD_LEN, make_message(PAD_LEN, buf.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 463 | assert!(buf.len() >= PAD_LEN, "{}", make_message(PAD_LEN, buf.len())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/algorithm.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(buf.len() >= len + 1, make_message(len + 1, buf.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 464 | assert!(buf.len() >= len + 1, "{}", make_message(len + 1, buf.len())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 53 | pub struct Config<'a> { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 53 | pub struct Config<'a> { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SiteConfig` [INFO] [stdout] 94 | pub struct SiteConfig<'a> { [INFO] [stdout] | ---------- `SiteConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SiteConfig` [INFO] [stdout] 94 | pub struct SiteConfig<'a> { [INFO] [stdout] | ---------- `SiteConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "39ab84aa274f5aa79514ee9c37b235c5ffe7c9b7bb90a1a02c848576d4fa36cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ab84aa274f5aa79514ee9c37b235c5ffe7c9b7bb90a1a02c848576d4fa36cb", kill_on_drop: false }` [INFO] [stdout] 39ab84aa274f5aa79514ee9c37b235c5ffe7c9b7bb90a1a02c848576d4fa36cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fa722c66cf80ee2db2f2251f843bd8c360e3cdffec61c1070d02e4de43b50dd [INFO] running `Command { std: "docker" "start" "-a" "3fa722c66cf80ee2db2f2251f843bd8c360e3cdffec61c1070d02e4de43b50dd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling mpw v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/algorithm.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | message: e.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | let (mut nonce, mut rest) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:495:25 [INFO] [stdout] | [INFO] [stdout] 495 | let (mut nonce, mut rest) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:501:18 [INFO] [stdout] | [INFO] [stdout] 501 | let (mut input, _) = rest.split_at_mut(clear_text.len()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let (nonce, mut in_out) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | let (nonce, mut in_out) = buffer.split_at_mut(NONCE_LEN); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `kind` are never read [INFO] [stdout] --> src/algorithm.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 207 | // TODO: maybe rather use Cow? [INFO] [stdout] 208 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 209 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id_for_buf` is never used [INFO] [stdout] --> src/algorithm.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn id_for_buf(buf: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clear_on_drop.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | Other(Errno), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Other(Errno), [INFO] [stdout] 24 + Other(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConflictingFullName` and `ConflictingStoredPasswords` are never constructed [INFO] [stdout] --> src/config.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 21 | /// Tried to merge configs for different full names. [INFO] [stdout] 22 | ConflictingFullName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | /// Tried to merge configs with conflicting stored passwords. [INFO] [stdout] 24 | ConflictingStoredPasswords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/config.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/config.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl<'a> SiteConfig<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn merge(&mut self, other: SiteConfig<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/algorithm.rs:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | panic!(format!("template too long for given password seed: {} >= {}", [INFO] [stdout] | ________________^ [INFO] [stdout] 288 | | template.len(), seed.len())); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 287 ~ panic!("template too long for given password seed: {} >= {}", [INFO] [stdout] 288 ~ template.len(), seed.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/algorithm.rs:463:35 [INFO] [stdout] | [INFO] [stdout] 463 | assert!(buf.len() >= PAD_LEN, make_message(PAD_LEN, buf.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 463 | assert!(buf.len() >= PAD_LEN, "{}", make_message(PAD_LEN, buf.len())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/algorithm.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | assert!(buf.len() >= len + 1, make_message(len + 1, buf.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 464 | assert!(buf.len() >= len + 1, "{}", make_message(len + 1, buf.len())); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 53 | pub struct Config<'a> { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Serialize, Deserialize, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 53 | pub struct Config<'a> { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SiteConfig` [INFO] [stdout] 94 | pub struct SiteConfig<'a> { [INFO] [stdout] | ---------- `SiteConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SiteConfig` [INFO] [stdout] 94 | pub struct SiteConfig<'a> { [INFO] [stdout] | ---------- `SiteConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_V` and up 2 bodies [INFO] [stdout] 247 | struct V { variant: SiteVariant } [INFO] [stdout] | - `V` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_T` and up 2 bodies [INFO] [stdout] 255 | struct T { type_: SiteType } [INFO] [stdout] | - `T` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 3.59s [INFO] running `Command { std: "docker" "inspect" "3fa722c66cf80ee2db2f2251f843bd8c360e3cdffec61c1070d02e4de43b50dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa722c66cf80ee2db2f2251f843bd8c360e3cdffec61c1070d02e4de43b50dd", kill_on_drop: false }` [INFO] [stdout] 3fa722c66cf80ee2db2f2251f843bd8c360e3cdffec61c1070d02e4de43b50dd