[INFO] cloning repository https://github.com/InQuicker/ktmpl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InQuicker/ktmpl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInQuicker%2Fktmpl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInQuicker%2Fktmpl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f81e85cd81b5cc54e43ba3c98cb742b5f3635c7b [INFO] building InQuicker/ktmpl against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInQuicker%2Fktmpl" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InQuicker/ktmpl on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/InQuicker/ktmpl [INFO] finished tweaking git repo https://github.com/InQuicker/ktmpl [INFO] tweaked toml for git repo https://github.com/InQuicker/ktmpl written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/InQuicker/ktmpl 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] Downloading crates ... [INFO] [stderr] Downloaded term_size v0.2.3 [INFO] [stderr] Downloaded bitflags v0.8.0 [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded clap v2.21.2 [INFO] [stderr] Downloaded base64 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fec337148eeafad8ec03b2e7f25f60747f5748f1050847d64f8507b81d8c8d1e [INFO] running `Command { std: "docker" "start" "-a" "fec337148eeafad8ec03b2e7f25f60747f5748f1050847d64f8507b81d8c8d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec337148eeafad8ec03b2e7f25f60747f5748f1050847d64f8507b81d8c8d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec337148eeafad8ec03b2e7f25f60747f5748f1050847d64f8507b81d8c8d1e", kill_on_drop: false }` [INFO] [stdout] fec337148eeafad8ec03b2e7f25f60747f5748f1050847d64f8507b81d8c8d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07eef5dcb54b971b1c101d68d790f6ee4fa468e2e23caeb5077f8af2d256245a [INFO] running `Command { std: "docker" "start" "-a" "07eef5dcb54b971b1c101d68d790f6ee4fa468e2e23caeb5077f8af2d256245a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling bitflags v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling base64 v0.4.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling clap v2.21.2 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling ktmpl v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stdout] 42 | | ).expect("Failed to compile regex."); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stdout] 42 | | ).expect("Failed to compile regex."); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref STRING_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 47 | | r"\$\(([^\)]*)\)" [INFO] [stdout] 48 | | ).expect("Failed to compile regex."); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref STRING_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 47 | | r"\$\(([^\)]*)\)" [INFO] [stdout] 48 | | ).expect("Failed to compile regex."); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parameter.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let mut file = File::open(file_path).map_err(|err| err.description().to_owned())?; [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/parameter.rs:47:58 [INFO] [stdout] | [INFO] [stdout] 47 | file.read_to_string(&mut contents).map_err(|err| err.description().to_owned())?; [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/parameter.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | .map_err(|err| err.description().to_owned())?; [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/template.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | .map_err(|err| err.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut hash = match object { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `display_name`, `parameter_type`, and `required` are never read [INFO] [stdout] --> src/parameter.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] 15 | pub parameter_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub required: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/main.rs:114:70 [INFO] [stdout] | [INFO] [stdout] 114 | stdin().read_to_string(&mut template_data).map_err(|err| err.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/main.rs:116:63 [INFO] [stdout] | [INFO] [stdout] 116 | let mut file = File::open(filename).map_err(|err| err.description().to_owned())?; [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/main.rs:117:67 [INFO] [stdout] | [INFO] [stdout] 117 | file.read_to_string(&mut template_data).map_err(|err| err.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.0 [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" "07eef5dcb54b971b1c101d68d790f6ee4fa468e2e23caeb5077f8af2d256245a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07eef5dcb54b971b1c101d68d790f6ee4fa468e2e23caeb5077f8af2d256245a", kill_on_drop: false }` [INFO] [stdout] 07eef5dcb54b971b1c101d68d790f6ee4fa468e2e23caeb5077f8af2d256245a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06fc07b21f810148db78e95c01657ca5394cc7777c0413b6b821b1e82ffbe8c3 [INFO] running `Command { std: "docker" "start" "-a" "06fc07b21f810148db78e95c01657ca5394cc7777c0413b6b821b1e82ffbe8c3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ktmpl v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stdout] 42 | | ).expect("Failed to compile regex."); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stdout] 42 | | ).expect("Failed to compile regex."); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref STRING_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 47 | | r"\$\(([^\)]*)\)" [INFO] [stdout] 48 | | ).expect("Failed to compile regex."); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref STRING_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 47 | | r"\$\(([^\)]*)\)" [INFO] [stdout] 48 | | ).expect("Failed to compile regex."); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parameter.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let mut file = File::open(file_path).map_err(|err| err.description().to_owned())?; [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/parameter.rs:47:58 [INFO] [stdout] | [INFO] [stdout] 47 | file.read_to_string(&mut contents).map_err(|err| err.description().to_owned())?; [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/parameter.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | .map_err(|err| err.description().to_owned())?; [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/template.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | .map_err(|err| err.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut hash = match object { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `display_name`, `parameter_type`, and `required` are never read [INFO] [stdout] --> src/parameter.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] 15 | pub parameter_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub required: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/main.rs:114:70 [INFO] [stdout] | [INFO] [stdout] 114 | stdin().read_to_string(&mut template_data).map_err(|err| err.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/main.rs:116:63 [INFO] [stdout] | [INFO] [stdout] 116 | let mut file = File::open(filename).map_err(|err| err.description().to_owned())?; [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/main.rs:117:67 [INFO] [stdout] | [INFO] [stdout] 117 | file.read_to_string(&mut template_data).map_err(|err| err.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stdout] 42 | | ).expect("Failed to compile regex."); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stdout] 42 | | ).expect("Failed to compile regex."); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref STRING_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 47 | | r"\$\(([^\)]*)\)" [INFO] [stdout] 48 | | ).expect("Failed to compile regex."); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref STRING_INTERPOLATION: Regex = Regex::new( [INFO] [stdout] 47 | | r"\$\(([^\)]*)\)" [INFO] [stdout] 48 | | ).expect("Failed to compile regex."); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parameter.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let mut file = File::open(file_path).map_err(|err| err.description().to_owned())?; [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/parameter.rs:47:58 [INFO] [stdout] | [INFO] [stdout] 47 | file.read_to_string(&mut contents).map_err(|err| err.description().to_owned())?; [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/parameter.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | .map_err(|err| err.description().to_owned())?; [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/template.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | .map_err(|err| err.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/lib.rs:158:50 [INFO] [stdout] | [INFO] [stdout] 158 | processed_template.lines().map(|l| l.trim_right()).collect::>().join("\n"), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 158 | processed_template.lines().map(|l| l.trim_end()).collect::>().join("\n"), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/lib.rs:231:50 [INFO] [stdout] | [INFO] [stdout] 231 | processed_template.lines().map(|l| l.trim_right()).collect::>().join("\n"), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 231 | processed_template.lines().map(|l| l.trim_end()).collect::>().join("\n"), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut hash = match object { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `display_name`, `parameter_type`, and `required` are never read [INFO] [stdout] --> src/parameter.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] 15 | pub parameter_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub required: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.0 [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" "06fc07b21f810148db78e95c01657ca5394cc7777c0413b6b821b1e82ffbe8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06fc07b21f810148db78e95c01657ca5394cc7777c0413b6b821b1e82ffbe8c3", kill_on_drop: false }` [INFO] [stdout] 06fc07b21f810148db78e95c01657ca5394cc7777c0413b6b821b1e82ffbe8c3