[INFO] cloning repository https://github.com/OJFord/passbase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OJFord/passbase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOJFord%2Fpassbase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOJFord%2Fpassbase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c5b59b7bd876d07d31a86e8b8892d97a4b13f02 [INFO] testing OJFord/passbase against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOJFord%2Fpassbase" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OJFord/passbase on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OJFord/passbase [INFO] finished tweaking git repo https://github.com/OJFord/passbase [INFO] tweaked toml for git repo https://github.com/OJFord/passbase written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/OJFord/passbase 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing OJFord/passbase against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOJFord%2Fpassbase" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OJFord/passbase on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OJFord/passbase [INFO] finished tweaking git repo https://github.com/OJFord/passbase [INFO] tweaked toml for git repo https://github.com/OJFord/passbase written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OJFord/passbase 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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_codegen v0.8.23 [INFO] [stderr] Downloaded os_type v2.2.0 [INFO] [stderr] Downloaded serde_derive v0.8.23 [INFO] [stderr] Downloaded serde_codegen_internals v0.11.3 [INFO] [stderr] Downloaded dtoa v0.2.2 [INFO] [stderr] Downloaded serde_json v0.8.6 [INFO] [stderr] Downloaded itoa v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68a6ff201b3b0ead0ec4cd46ed1daca153fe67f61e82f746185d7b4ea13ed69a [INFO] running `Command { std: "docker" "start" "-a" "68a6ff201b3b0ead0ec4cd46ed1daca153fe67f61e82f746185d7b4ea13ed69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68a6ff201b3b0ead0ec4cd46ed1daca153fe67f61e82f746185d7b4ea13ed69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a6ff201b3b0ead0ec4cd46ed1daca153fe67f61e82f746185d7b4ea13ed69a", kill_on_drop: false }` [INFO] [stdout] 68a6ff201b3b0ead0ec4cd46ed1daca153fe67f61e82f746185d7b4ea13ed69a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21e8ac6ec99a3262e7d9c0d4d1adb2cf3985fc8521cb0fc130e73eaae40e9d39 [INFO] running `Command { std: "docker" "start" "-a" "21e8ac6ec99a3262e7d9c0d4d1adb2cf3985fc8521cb0fc130e73eaae40e9d39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling serde_codegen_internals v0.11.3 [INFO] [stderr] Compiling serde_codegen v0.8.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_json v0.8.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling serde_derive v0.8.23 [INFO] [stderr] Compiling os_type v2.2.0 [INFO] [stderr] Compiling passbase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stdout] 24 + static ref ACCEPTED_SPECIALS_HASH: HashSet = ACCEPTED_SPECIAL_CHARS.chars().collect(); [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/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let path = env::home_dir() [INFO] [stdout] | ^^^^^^^^ [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/crud.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | panic!("Failed: {}", why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | format!("A file {} already exists in KBFS!", config::KBFS_DATA_DIR) [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 122 - format!("A file {} already exists in KBFS!", config::KBFS_DATA_DIR) [INFO] [stdout] 122 + "A file {} already exists in KBFS!", config::KBFS_DATA_DIR [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | format!("Password for {} already exists!", tag) [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 40 - format!("Password for {} already exists!", tag) [INFO] [stdout] 40 + "Password for {} already exists!", tag [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(file.is_file(), format!("No password exists for {}", tag)); [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 71 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stdout] 71 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(file.is_file(), format!("No password exists for {}", tag)); [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 91 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stdout] 91 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(file.is_file(), format!("No password exists for {}", tag)); [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stdout] 108 + assert!(file.is_file(), "No password exists for {}", tag); [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 10.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "21e8ac6ec99a3262e7d9c0d4d1adb2cf3985fc8521cb0fc130e73eaae40e9d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e8ac6ec99a3262e7d9c0d4d1adb2cf3985fc8521cb0fc130e73eaae40e9d39", kill_on_drop: false }` [INFO] [stdout] 21e8ac6ec99a3262e7d9c0d4d1adb2cf3985fc8521cb0fc130e73eaae40e9d39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3710422442cb6d207c0b2f594dc458e1964425b93cbd33a1b1c55b7d5c2a9167 [INFO] running `Command { std: "docker" "start" "-a" "3710422442cb6d207c0b2f594dc458e1964425b93cbd33a1b1c55b7d5c2a9167", kill_on_drop: false }` [INFO] [stderr] Compiling passbase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stdout] 24 + static ref ACCEPTED_SPECIALS_HASH: HashSet = ACCEPTED_SPECIAL_CHARS.chars().collect(); [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/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let path = env::home_dir() [INFO] [stdout] | ^^^^^^^^ [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/crud.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | panic!("Failed: {}", why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | format!("A file {} already exists in KBFS!", config::KBFS_DATA_DIR) [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 122 - format!("A file {} already exists in KBFS!", config::KBFS_DATA_DIR) [INFO] [stdout] 122 + "A file {} already exists in KBFS!", config::KBFS_DATA_DIR [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | format!("Password for {} already exists!", tag) [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 40 - format!("Password for {} already exists!", tag) [INFO] [stdout] 40 + "Password for {} already exists!", tag [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(file.is_file(), format!("No password exists for {}", tag)); [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 71 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stdout] 71 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(file.is_file(), format!("No password exists for {}", tag)); [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 91 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stdout] 91 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crud.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(file.is_file(), format!("No password exists for {}", tag)); [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] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 108 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stdout] 108 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3710422442cb6d207c0b2f594dc458e1964425b93cbd33a1b1c55b7d5c2a9167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3710422442cb6d207c0b2f594dc458e1964425b93cbd33a1b1c55b7d5c2a9167", kill_on_drop: false }` [INFO] [stdout] 3710422442cb6d207c0b2f594dc458e1964425b93cbd33a1b1c55b7d5c2a9167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eba6d816ad242e35985d39ac8afb475d4d32ad0e00ad546e74b7f6ff0a3fd1cf [INFO] running `Command { std: "docker" "start" "-a" "eba6d816ad242e35985d39ac8afb475d4d32ad0e00ad546e74b7f6ff0a3fd1cf", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:24:56 [INFO] [stderr] | [INFO] [stderr] 24 | static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 24 - static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stderr] 24 + static ref ACCEPTED_SPECIALS_HASH: HashSet = ACCEPTED_SPECIAL_CHARS.chars().collect(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | static ref ACCEPTED_SPECIALS_HASH: HashSet = { ACCEPTED_SPECIAL_CHARS.chars().collect() }; [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/config.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | let path = env::home_dir() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/crud.rs:47:38 [INFO] [stderr] | [INFO] [stderr] 47 | panic!("Failed: {}", why.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | format!("A file {} already exists in KBFS!", config::KBFS_DATA_DIR) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 122 - format!("A file {} already exists in KBFS!", config::KBFS_DATA_DIR) [INFO] [stderr] 122 + "A file {} already exists in KBFS!", config::KBFS_DATA_DIR [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crud.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | format!("Password for {} already exists!", tag) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 40 - format!("Password for {} already exists!", tag) [INFO] [stderr] 40 + "Password for {} already exists!", tag [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crud.rs:71:29 [INFO] [stderr] | [INFO] [stderr] 71 | assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 71 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stderr] 71 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crud.rs:91:29 [INFO] [stderr] | [INFO] [stderr] 91 | assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 91 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stderr] 91 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crud.rs:108:29 [INFO] [stderr] | [INFO] [stderr] 108 | assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 108 - assert!(file.is_file(), format!("No password exists for {}", tag)); [INFO] [stderr] 108 + assert!(file.is_file(), "No password exists for {}", tag); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `passbase` (bin "passbase" test) generated 9 warnings (run `cargo fix --bin "passbase" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/passbase-9587fb797b9dbe4c) [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" "eba6d816ad242e35985d39ac8afb475d4d32ad0e00ad546e74b7f6ff0a3fd1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba6d816ad242e35985d39ac8afb475d4d32ad0e00ad546e74b7f6ff0a3fd1cf", kill_on_drop: false }` [INFO] [stdout] eba6d816ad242e35985d39ac8afb475d4d32ad0e00ad546e74b7f6ff0a3fd1cf