[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] testing InQuicker/ktmpl against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInQuicker%2Fktmpl" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InQuicker/ktmpl on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-17/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d38cf777986ea2e0bd14d65fed1b66f6287019a3c720276d0770b4543bc122ab [INFO] running `Command { std: "docker" "start" "-a" "d38cf777986ea2e0bd14d65fed1b66f6287019a3c720276d0770b4543bc122ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d38cf777986ea2e0bd14d65fed1b66f6287019a3c720276d0770b4543bc122ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d38cf777986ea2e0bd14d65fed1b66f6287019a3c720276d0770b4543bc122ab", kill_on_drop: false }` [INFO] [stdout] d38cf777986ea2e0bd14d65fed1b66f6287019a3c720276d0770b4543bc122ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6d1dd267d574dfd4df4b15c143137e254493f3d21c04cbab94ea3566ae600a4 [INFO] running `Command { std: "docker" "start" "-a" "b6d1dd267d574dfd4df4b15c143137e254493f3d21c04cbab94ea3566ae600a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling bitflags v0.8.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling base64 v0.4.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling clap v2.21.2 [INFO] [stderr] Compiling aho-corasick v0.6.3 [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 `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 associated function `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 associated function `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 associated function `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: 9 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/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 associated function `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 associated function `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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.97s [INFO] running `Command { std: "docker" "inspect" "b6d1dd267d574dfd4df4b15c143137e254493f3d21c04cbab94ea3566ae600a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d1dd267d574dfd4df4b15c143137e254493f3d21c04cbab94ea3566ae600a4", kill_on_drop: false }` [INFO] [stdout] b6d1dd267d574dfd4df4b15c143137e254493f3d21c04cbab94ea3566ae600a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe41c503e566722b16d933adb14181a579e929f713ea7015b9c5d2eedb5a432e [INFO] running `Command { std: "docker" "start" "-a" "fe41c503e566722b16d933adb14181a579e929f713ea7015b9c5d2eedb5a432e", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 associated function `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 associated function `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 associated function `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] [stderr] Compiling ktmpl v0.7.0 (/opt/rustwide/workdir) [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe41c503e566722b16d933adb14181a579e929f713ea7015b9c5d2eedb5a432e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe41c503e566722b16d933adb14181a579e929f713ea7015b9c5d2eedb5a432e", kill_on_drop: false }` [INFO] [stdout] fe41c503e566722b16d933adb14181a579e929f713ea7015b9c5d2eedb5a432e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 86bbd29827a0daa46264495875e2b61ecb7c86ef663fdacd3e70b9175970974d [INFO] running `Command { std: "docker" "start" "-a" "86bbd29827a0daa46264495875e2b61ecb7c86ef663fdacd3e70b9175970974d", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/processor.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | / lazy_static! { [INFO] [stderr] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stderr] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stderr] 42 | | ).expect("Failed to compile regex."); [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/processor.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | / lazy_static! { [INFO] [stderr] 40 | | static ref LITERAL_INTERPOLATION: Regex = Regex::new( [INFO] [stderr] 41 | | r"\$\({2}([^\)]*)\){2}" [INFO] [stderr] 42 | | ).expect("Failed to compile regex."); [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/processor.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | / lazy_static! { [INFO] [stderr] 46 | | static ref STRING_INTERPOLATION: Regex = Regex::new( [INFO] [stderr] 47 | | r"\$\(([^\)]*)\)" [INFO] [stderr] 48 | | ).expect("Failed to compile regex."); [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parameter.rs:44:60 [INFO] [stderr] | [INFO] [stderr] 44 | let mut file = File::open(file_path).map_err(|err| err.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parameter.rs:47:58 [INFO] [stderr] | [INFO] [stderr] 47 | file.read_to_string(&mut contents).map_err(|err| err.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parameter.rs:55:28 [INFO] [stderr] | [INFO] [stderr] 55 | .map_err(|err| err.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/template.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | .map_err(|err| err.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/template.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | let mut hash = match object { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/lib.rs:158:50 [INFO] [stderr] | [INFO] [stderr] 158 | processed_template.lines().map(|l| l.trim_right()).collect::>().join("\n"), [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/lib.rs:231:50 [INFO] [stderr] | [INFO] [stderr] 231 | processed_template.lines().map(|l| l.trim_right()).collect::>().join("\n"), [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: `ktmpl` (lib) generated 9 warnings (1 duplicate) [INFO] [stderr] warning: `ktmpl` (lib test) generated 11 warnings (9 duplicates) [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:114:70 [INFO] [stderr] | [INFO] [stderr] 114 | stdin().read_to_string(&mut template_data).map_err(|err| err.description().to_owned())?; [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/main.rs:116:63 [INFO] [stderr] | [INFO] [stderr] 116 | let mut file = File::open(filename).map_err(|err| err.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:117:67 [INFO] [stderr] | [INFO] [stderr] 117 | file.read_to_string(&mut template_data).map_err(|err| err.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ktmpl` (bin "ktmpl" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ktmpl-462cd0c0ebded8e9) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::missing_secret ... ok [INFO] [stdout] test tests::encode_secrets ... ok [INFO] [stdout] test tests::parameter_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 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/ktmpl-7e1ab98ed6918546) [INFO] [stdout] [INFO] [stderr] Doc-tests ktmpl [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 1 test [INFO] [stdout] test src/lib.rs - (line 9) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "86bbd29827a0daa46264495875e2b61ecb7c86ef663fdacd3e70b9175970974d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86bbd29827a0daa46264495875e2b61ecb7c86ef663fdacd3e70b9175970974d", kill_on_drop: false }` [INFO] [stdout] 86bbd29827a0daa46264495875e2b61ecb7c86ef663fdacd3e70b9175970974d