[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInQuicker%2Fktmpl" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InQuicker/ktmpl on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cb7e0da95da433ea66077ed139b54e592a4400f72b18b59753786fa11f42323 [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" "7cb7e0da95da433ea66077ed139b54e592a4400f72b18b59753786fa11f42323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cb7e0da95da433ea66077ed139b54e592a4400f72b18b59753786fa11f42323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb7e0da95da433ea66077ed139b54e592a4400f72b18b59753786fa11f42323", kill_on_drop: false }` [INFO] [stdout] 7cb7e0da95da433ea66077ed139b54e592a4400f72b18b59753786fa11f42323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 02e0c3514ec5131215df98b616cf1a4af67e71d6820e66bab5702af3e2fefced [INFO] running `Command { std: "docker" "start" "-a" "02e0c3514ec5131215df98b616cf1a4af67e71d6820e66bab5702af3e2fefced", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling bitflags v0.8.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling base64 v0.4.0 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.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 `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.29s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02e0c3514ec5131215df98b616cf1a4af67e71d6820e66bab5702af3e2fefced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e0c3514ec5131215df98b616cf1a4af67e71d6820e66bab5702af3e2fefced", kill_on_drop: false }` [INFO] [stdout] 02e0c3514ec5131215df98b616cf1a4af67e71d6820e66bab5702af3e2fefced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16b87406425272400fdd54daa0d6f7bbe1f511564874ec3532dfb6b384ebe206 [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" "16b87406425272400fdd54daa0d6f7bbe1f511564874ec3532dfb6b384ebe206", 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] [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: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: 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: 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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.91s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ktmpl-462cd0c0ebded8e9) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ktmpl-7e1ab98ed6918546) [INFO] running `Command { std: "docker" "inspect" "16b87406425272400fdd54daa0d6f7bbe1f511564874ec3532dfb6b384ebe206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b87406425272400fdd54daa0d6f7bbe1f511564874ec3532dfb6b384ebe206", kill_on_drop: false }` [INFO] [stdout] 16b87406425272400fdd54daa0d6f7bbe1f511564874ec3532dfb6b384ebe206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8c433ede718003210f527253c1f0bdad2c33cea171910421c81ea07cee6f2cba [INFO] running `Command { std: "docker" "start" "-a" "8c433ede718003210f527253c1f0bdad2c33cea171910421c81ea07cee6f2cba", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/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::parameter_file ... ok [INFO] [stdout] test tests::encode_secrets ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ktmpl-7e1ab98ed6918546) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ktmpl [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 1.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c433ede718003210f527253c1f0bdad2c33cea171910421c81ea07cee6f2cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c433ede718003210f527253c1f0bdad2c33cea171910421c81ea07cee6f2cba", kill_on_drop: false }` [INFO] [stdout] 8c433ede718003210f527253c1f0bdad2c33cea171910421c81ea07cee6f2cba