[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] checking InQuicker/ktmpl against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInQuicker%2Fktmpl" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InQuicker/ktmpl on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59ed95eec6bed0a9175e55909c3508fd35572d2970e5d56b4d5be997a501fa3d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "59ed95eec6bed0a9175e55909c3508fd35572d2970e5d56b4d5be997a501fa3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59ed95eec6bed0a9175e55909c3508fd35572d2970e5d56b4d5be997a501fa3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ed95eec6bed0a9175e55909c3508fd35572d2970e5d56b4d5be997a501fa3d", kill_on_drop: false }` [INFO] [stdout] 59ed95eec6bed0a9175e55909c3508fd35572d2970e5d56b4d5be997a501fa3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f38eefc5e1417f1fa6a327bad5f47ada49069f9b0e8edc11472fa93c1129600 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f38eefc5e1417f1fa6a327bad5f47ada49069f9b0e8edc11472fa93c1129600", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking bitflags v0.8.0 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Checking base64 v0.4.0 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking clap v2.21.2 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking 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 a macro (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 a macro (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 a macro (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 a macro (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 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 a macro (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 a macro (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 a macro (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 a macro (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/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 `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: 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: 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: 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: 9 warnings emitted [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: 11 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: 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.46s [INFO] running `Command { std: "docker" "inspect" "9f38eefc5e1417f1fa6a327bad5f47ada49069f9b0e8edc11472fa93c1129600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f38eefc5e1417f1fa6a327bad5f47ada49069f9b0e8edc11472fa93c1129600", kill_on_drop: false }` [INFO] [stdout] 9f38eefc5e1417f1fa6a327bad5f47ada49069f9b0e8edc11472fa93c1129600