[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded thread_local v0.3.3 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded memchr v1.0.1 [INFO] [stderr] Downloaded vec_map v0.7.0 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded atty v0.2.2 [INFO] [stderr] Downloaded bitflags v0.8.0 [INFO] [stderr] Downloaded term_size v0.2.3 [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded unicode-segmentation v1.1.0 [INFO] [stderr] Downloaded byteorder v1.0.0 [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded unreachable v0.1.1 [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded base64 v0.4.0 [INFO] [stderr] Downloaded clap v2.21.2 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 1f96f632ee5cfb504e1b72df625857c20a640717c468565f9358d8e9910eb80a [INFO] running `Command { std: "docker" "start" "-a" "1f96f632ee5cfb504e1b72df625857c20a640717c468565f9358d8e9910eb80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f96f632ee5cfb504e1b72df625857c20a640717c468565f9358d8e9910eb80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f96f632ee5cfb504e1b72df625857c20a640717c468565f9358d8e9910eb80a", kill_on_drop: false }` [INFO] [stdout] 1f96f632ee5cfb504e1b72df625857c20a640717c468565f9358d8e9910eb80a [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb10b8157911d68cd5ccb41d4defd4bd04fc729b37d19e734e437e88250dff00 [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" "fb10b8157911d68cd5ccb41d4defd4bd04fc729b37d19e734e437e88250dff00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [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 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 aho-corasick v0.6.3 [INFO] [stderr] Compiling clap v2.21.2 [INFO] [stderr] Compiling thread_local v0.3.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 30.44s [INFO] running `Command { std: "docker" "inspect" "fb10b8157911d68cd5ccb41d4defd4bd04fc729b37d19e734e437e88250dff00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb10b8157911d68cd5ccb41d4defd4bd04fc729b37d19e734e437e88250dff00", kill_on_drop: false }` [INFO] [stdout] fb10b8157911d68cd5ccb41d4defd4bd04fc729b37d19e734e437e88250dff00 [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" "+1.60.0" "test" "--frozen" "--no-run" "--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] bf8cbaa0d56ea7261dcd9a5ed3fb64401f61de24b99d3a5a8f45871a1ff22ee6 [INFO] running `Command { std: "docker" "start" "-a" "bf8cbaa0d56ea7261dcd9a5ed3fb64401f61de24b99d3a5a8f45871a1ff22ee6", kill_on_drop: false }` [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 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/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/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.36s [INFO] running `Command { std: "docker" "inspect" "bf8cbaa0d56ea7261dcd9a5ed3fb64401f61de24b99d3a5a8f45871a1ff22ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8cbaa0d56ea7261dcd9a5ed3fb64401f61de24b99d3a5a8f45871a1ff22ee6", kill_on_drop: false }` [INFO] [stdout] bf8cbaa0d56ea7261dcd9a5ed3fb64401f61de24b99d3a5a8f45871a1ff22ee6 [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" "+1.60.0" "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] 59a725f4bb787af62a25dac818a4f393b49f3e6d0a498085c57b7cdead20960d [INFO] running `Command { std: "docker" "start" "-a" "59a725f4bb787af62a25dac818a4f393b49f3e6d0a498085c57b7cdead20960d", 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.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ktmpl-7f2db664f135858c) [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::encode_secrets ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ktmpl-beacba5b1283c94b) [INFO] [stdout] test tests::missing_secret ... ok [INFO] [stderr] Doc-tests ktmpl [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.02s [INFO] [stdout] [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] [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.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59a725f4bb787af62a25dac818a4f393b49f3e6d0a498085c57b7cdead20960d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a725f4bb787af62a25dac818a4f393b49f3e6d0a498085c57b7cdead20960d", kill_on_drop: false }` [INFO] [stdout] 59a725f4bb787af62a25dac818a4f393b49f3e6d0a498085c57b7cdead20960d