[INFO] cloning repository https://github.com/leshow/rust_mnemonic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leshow/rust_mnemonic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleshow%2Frust_mnemonic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleshow%2Frust_mnemonic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 698ab998972f881f23b2fa9e45819e744c9869c6 [INFO] testing leshow/rust_mnemonic against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleshow%2Frust_mnemonic" "/workspace/builds/worker-75/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leshow/rust_mnemonic on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leshow/rust_mnemonic [INFO] finished tweaking git repo https://github.com/leshow/rust_mnemonic [INFO] tweaked toml for git repo https://github.com/leshow/rust_mnemonic written to /workspace/builds/worker-75/source/Cargo.toml [INFO] crate git repo https://github.com/leshow/rust_mnemonic already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2522b181eab0c8cfc47c637acad1594876e62bb033b596376644851d40b27147 [INFO] running `Command { std: "docker" "start" "-a" "2522b181eab0c8cfc47c637acad1594876e62bb033b596376644851d40b27147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2522b181eab0c8cfc47c637acad1594876e62bb033b596376644851d40b27147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2522b181eab0c8cfc47c637acad1594876e62bb033b596376644851d40b27147", kill_on_drop: false }` [INFO] [stdout] 2522b181eab0c8cfc47c637acad1594876e62bb033b596376644851d40b27147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9023b27a5f18f4cacabf7ec1e45ef549278477fcfcecbff2f5cb4e52f5b22341 [INFO] running `Command { std: "docker" "start" "-a" "9023b27a5f18f4cacabf7ec1e45ef549278477fcfcecbff2f5cb4e52f5b22341", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling serde v1.0.55 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling getopts v0.2.17 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.10 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling serde_json v1.0.17 [INFO] [stderr] Compiling serde_derive v1.0.55 [INFO] [stderr] Compiling rust_mnemonic v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mnemonic.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/mnemonic.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | Serde(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/settings.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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/mnemonic.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/mnemonic.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | Serde(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PBKDF2_KEY_LEN` [INFO] [stdout] --> src/mnemonic.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | static PBKDF2_KEY_LEN: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DIGEST_ALG` [INFO] [stdout] --> src/mnemonic.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | static DIGEST_ALG: &digest::Algorithm = &digest::SHA512; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_seed` [INFO] [stdout] --> src/mnemonic.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_seed(&self, mnemonic: M, seed_value: S) -> Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `salt` [INFO] [stdout] --> src/mnemonic.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn salt>(&self, username: S) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/mnemonic.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn to_json(&self, wordslist: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Num` [INFO] [stdout] --> src/settings.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Num(u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/settings.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.69s [INFO] running `Command { std: "docker" "inspect" "9023b27a5f18f4cacabf7ec1e45ef549278477fcfcecbff2f5cb4e52f5b22341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9023b27a5f18f4cacabf7ec1e45ef549278477fcfcecbff2f5cb4e52f5b22341", kill_on_drop: false }` [INFO] [stdout] 9023b27a5f18f4cacabf7ec1e45ef549278477fcfcecbff2f5cb4e52f5b22341 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0c950874e04bec1828ec2564c18508fef98eba241b4e3291dd1ef487cb4435f [INFO] running `Command { std: "docker" "start" "-a" "f0c950874e04bec1828ec2564c18508fef98eba241b4e3291dd1ef487cb4435f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_mnemonic v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mnemonic.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/mnemonic.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | Serde(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/settings.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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/mnemonic.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/mnemonic.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | Serde(ref err) => err.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/mnemonic.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/mnemonic.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | Serde(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PBKDF2_KEY_LEN` [INFO] [stdout] --> src/mnemonic.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | static PBKDF2_KEY_LEN: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DIGEST_ALG` [INFO] [stdout] --> src/mnemonic.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | static DIGEST_ALG: &digest::Algorithm = &digest::SHA512; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_seed` [INFO] [stdout] --> src/mnemonic.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_seed(&self, mnemonic: M, seed_value: S) -> Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `salt` [INFO] [stdout] --> src/mnemonic.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn salt>(&self, username: S) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/mnemonic.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn to_json(&self, wordslist: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Num` [INFO] [stdout] --> src/settings.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Num(u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/settings.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/settings.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 27 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 30.46s [INFO] running `Command { std: "docker" "inspect" "f0c950874e04bec1828ec2564c18508fef98eba241b4e3291dd1ef487cb4435f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c950874e04bec1828ec2564c18508fef98eba241b4e3291dd1ef487cb4435f", kill_on_drop: false }` [INFO] [stdout] f0c950874e04bec1828ec2564c18508fef98eba241b4e3291dd1ef487cb4435f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 385381b2d4404975483d90f0c995b264dcf170bae8325a0af34c06eed20615c1 [INFO] running `Command { std: "docker" "start" "-a" "385381b2d4404975483d90f0c995b264dcf170bae8325a0af34c06eed20615c1", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/mnemonic.rs:133:32 [INFO] [stderr] | [INFO] [stderr] 133 | Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/mnemonic.rs:134:35 [INFO] [stderr] | [INFO] [stderr] 134 | Serde(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/settings.rs:27:30 [INFO] [stderr] | [INFO] [stderr] 27 | Err(f) => panic!(f.to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 27 | Err(f) => panic!("{}", f.to_string()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `rust_mnemonic` (lib) generated 3 warnings [INFO] [stderr] warning: `rust_mnemonic` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: static is never used: `PBKDF2_KEY_LEN` [INFO] [stderr] --> src/mnemonic.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | static PBKDF2_KEY_LEN: usize = 64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static is never used: `DIGEST_ALG` [INFO] [stderr] --> src/mnemonic.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | static DIGEST_ALG: &digest::Algorithm = &digest::SHA512; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_seed` [INFO] [stderr] --> src/mnemonic.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn to_seed(&self, mnemonic: M, seed_value: S) -> Vec [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `salt` [INFO] [stderr] --> src/mnemonic.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | fn salt>(&self, username: S) -> Vec { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_json` [INFO] [stderr] --> src/mnemonic.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn to_json(&self, wordslist: &[String]) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Num` [INFO] [stderr] --> src/settings.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Num(u8), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_mnemonic` (bin "rmnemonic" test) generated 9 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lib-85ca5915c51c8441) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rmnemonic-7f4e71a6e6f89c43) [INFO] [stdout] [INFO] [stderr] Doc-tests lib [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "385381b2d4404975483d90f0c995b264dcf170bae8325a0af34c06eed20615c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "385381b2d4404975483d90f0c995b264dcf170bae8325a0af34c06eed20615c1", kill_on_drop: false }` [INFO] [stdout] 385381b2d4404975483d90f0c995b264dcf170bae8325a0af34c06eed20615c1