[INFO] crate calm 0.1.0 is already in cache [INFO] testing calm-0.1.0 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate calm 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate calm 0.1.0 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate calm 0.1.0 [INFO] finished tweaking crates.io crate calm 0.1.0 [INFO] tweaked toml for crates.io crate calm 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 125b12b335a7ae9b11294f8dfdf2718bac228c5f219ce8898d80c547c8f3ffa5 [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" "125b12b335a7ae9b11294f8dfdf2718bac228c5f219ce8898d80c547c8f3ffa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "125b12b335a7ae9b11294f8dfdf2718bac228c5f219ce8898d80c547c8f3ffa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "125b12b335a7ae9b11294f8dfdf2718bac228c5f219ce8898d80c547c8f3ffa5", kill_on_drop: false }` [INFO] [stdout] 125b12b335a7ae9b11294f8dfdf2718bac228c5f219ce8898d80c547c8f3ffa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] cc9135871a65fec74ad317be5035461a7b66d8703fc4bd9f1ff0a48ab79ccc45 [INFO] running `Command { std: "docker" "start" "-a" "cc9135871a65fec74ad317be5035461a7b66d8703fc4bd9f1ff0a48ab79ccc45", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Compiling curl-sys v0.4.34+curl-7.71.1 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling clicolors-control v0.3.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Compiling elementtree v0.5.0 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling console v0.5.0 [INFO] [stderr] Compiling indicatif v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling git2 v0.6.11 [INFO] [stderr] Compiling calm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctx.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | -> Result + 'a>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runtime<'a> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rt/common.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | fn update_env(&self, _f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rt/python.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rt/js.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | runtimes: Vec + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runtime<'a> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/cmd.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> Result> + Send + Sync + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/cmd.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> Result> + Send + Sync + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/cmd.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | mut f: Option<&mut Box Result> + Send + Sync + 'a>>, [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | mut f: Option<&mut Box Result> + Send + Sync + 'a>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | let mut cache_dir = env::home_dir().ok_or( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain! { [INFO] [stdout] 11 | | errors { [INFO] [stdout] 12 | | QuietExit(code: i32) { [INFO] [stdout] 13 | | description("calm quit") [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/report.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref IDENT_RE: Regex = Regex::new( [INFO] [stdout] 21 | | r#"(?x) [INFO] [stdout] 22 | | [\d\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}$_] [INFO] [stdout] 23 | | [\d\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}$_]* [INFO] [stdout] 24 | | "#).unwrap(); [INFO] [stdout] 25 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/cmd.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / lazy_static! { [INFO] [stdout] 221 | | static ref VAR_RE: Regex = Regex::new( [INFO] [stdout] 222 | | r"\$(\$|[a-zA-Z0-9_]+|\([^)]+\)|\{[^}]+\})").unwrap(); [INFO] [stdout] 223 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/serde.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref REGEX_RE: Regex = Regex::new( [INFO] [stdout] 16 | | r#"(?sm)^\s*/(.*)/([a-z]*)\s*$"#).unwrap(); [INFO] [stdout] 17 | | static ref LINK_RE: Regex = Regex::new( [INFO] [stdout] 18 | | r#"^(.+?)(?:\s+->\s+(.+?))?$"#).unwrap(); [INFO] [stdout] 19 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/serde.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref REGEX_RE: Regex = Regex::new( [INFO] [stdout] 16 | | r#"(?sm)^\s*/(.*)/([a-z]*)\s*$"#).unwrap(); [INFO] [stdout] 17 | | static ref LINK_RE: Regex = Regex::new( [INFO] [stdout] 18 | | r#"^(.+?)(?:\s+->\s+(.+?))?$"#).unwrap(); [INFO] [stdout] 19 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/hooks.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref HOOK_RE: Regex = Regex::new( [INFO] [stdout] 14 | | r#"(?m)^calm\s+hook\s+--exec-([\w-]+)\s+\|\|\s+exit\s+1\s*?\r?\n?"#).unwrap(); [INFO] [stdout] 15 | | } [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 item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cli.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | let mut cause = err.cause(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cli.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | cause = the_cause.cause(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left': superseded by `trim_start` [INFO] [stdout] --> src/report.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let stripped_line = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stdout] --> src/report.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | write!(f, "\n {}", style(stripped_line.trim_right()).dim())?; [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain! { [INFO] [stdout] 11 | | errors { [INFO] [stdout] 12 | | QuietExit(code: i32) { [INFO] [stdout] 13 | | description("calm quit") [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [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: variable does not need to be mutable [INFO] [stdout] --> src/tools.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(report) = opts.and_then(|mut x| x.report.as_mut()) { [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "cc9135871a65fec74ad317be5035461a7b66d8703fc4bd9f1ff0a48ab79ccc45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc9135871a65fec74ad317be5035461a7b66d8703fc4bd9f1ff0a48ab79ccc45", kill_on_drop: false }` [INFO] [stdout] cc9135871a65fec74ad317be5035461a7b66d8703fc4bd9f1ff0a48ab79ccc45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c01678635a3a1caca90beb63cda13c16d045f6da95bbea5515b5b19f5f2503 [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" "b9c01678635a3a1caca90beb63cda13c16d045f6da95bbea5515b5b19f5f2503", kill_on_drop: false }` [INFO] [stderr] Compiling calm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctx.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | -> Result + 'a>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runtime<'a> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rt/common.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | fn update_env(&self, _f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rt/python.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rt/js.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | runtimes: Vec + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runtime<'a> + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/cmd.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> Result> + Send + Sync + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/cmd.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> Result> + Send + Sync + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/cmd.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | mut f: Option<&mut Box Result> + Send + Sync + 'a>>, [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | mut f: Option<&mut Box Result> + Send + Sync + 'a>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | let mut cache_dir = env::home_dir().ok_or( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain! { [INFO] [stdout] 11 | | errors { [INFO] [stdout] 12 | | QuietExit(code: i32) { [INFO] [stdout] 13 | | description("calm quit") [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/report.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref IDENT_RE: Regex = Regex::new( [INFO] [stdout] 21 | | r#"(?x) [INFO] [stdout] 22 | | [\d\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}$_] [INFO] [stdout] 23 | | [\d\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}$_]* [INFO] [stdout] 24 | | "#).unwrap(); [INFO] [stdout] 25 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/cmd.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / lazy_static! { [INFO] [stdout] 221 | | static ref VAR_RE: Regex = Regex::new( [INFO] [stdout] 222 | | r"\$(\$|[a-zA-Z0-9_]+|\([^)]+\)|\{[^}]+\})").unwrap(); [INFO] [stdout] 223 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/serde.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref REGEX_RE: Regex = Regex::new( [INFO] [stdout] 16 | | r#"(?sm)^\s*/(.*)/([a-z]*)\s*$"#).unwrap(); [INFO] [stdout] 17 | | static ref LINK_RE: Regex = Regex::new( [INFO] [stdout] 18 | | r#"^(.+?)(?:\s+->\s+(.+?))?$"#).unwrap(); [INFO] [stdout] 19 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/serde.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | static ref REGEX_RE: Regex = Regex::new( [INFO] [stdout] 16 | | r#"(?sm)^\s*/(.*)/([a-z]*)\s*$"#).unwrap(); [INFO] [stdout] 17 | | static ref LINK_RE: Regex = Regex::new( [INFO] [stdout] 18 | | r#"^(.+?)(?:\s+->\s+(.+?))?$"#).unwrap(); [INFO] [stdout] 19 | | } [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 item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/hooks.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref HOOK_RE: Regex = Regex::new( [INFO] [stdout] 14 | | r#"(?m)^calm\s+hook\s+--exec-([\w-]+)\s+\|\|\s+exit\s+1\s*?\r?\n?"#).unwrap(); [INFO] [stdout] 15 | | } [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 item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cli.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | let mut cause = err.cause(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/cli.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | cause = the_cause.cause(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left': superseded by `trim_start` [INFO] [stdout] --> src/report.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let stripped_line = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stdout] --> src/report.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | write!(f, "\n {}", style(stripped_line.trim_right()).dim())?; [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain! { [INFO] [stdout] 11 | | errors { [INFO] [stdout] 12 | | QuietExit(code: i32) { [INFO] [stdout] 13 | | description("calm quit") [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [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: variable does not need to be mutable [INFO] [stdout] --> src/tools.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(report) = opts.and_then(|mut x| x.report.as_mut()) { [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "b9c01678635a3a1caca90beb63cda13c16d045f6da95bbea5515b5b19f5f2503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c01678635a3a1caca90beb63cda13c16d045f6da95bbea5515b5b19f5f2503", kill_on_drop: false }` [INFO] [stdout] b9c01678635a3a1caca90beb63cda13c16d045f6da95bbea5515b5b19f5f2503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92463c6b40a0b0223be0eddc6838c62c44038f961dfe97f8e012af5c0ddb7fae [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" "92463c6b40a0b0223be0eddc6838c62c44038f961dfe97f8e012af5c0ddb7fae", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ctx.rs:114:23 [INFO] [stderr] | [INFO] [stderr] 114 | -> Result + 'a>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runtime<'a> + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rt/common.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | fn update_env(&self, _f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rt/python.rs:64:34 [INFO] [stderr] | [INFO] [stderr] 64 | fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rt/js.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 59 | fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&OsStr, &OsStr)` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tools.rs:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | runtimes: Vec + 'a>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Runtime<'a> + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils/cmd.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> Result> + Send + Sync + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils/cmd.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 33 | pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> Result> + Send + Sync + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils/cmd.rs:48:48 [INFO] [stderr] | [INFO] [stderr] 48 | mut f: Option<&mut Box Result> + Send + Sync + 'a>>, [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 | mut f: Option<&mut Box Result> + Send + Sync + 'a>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/config.rs:256:29 [INFO] [stderr] | [INFO] [stderr] 256 | let mut cache_dir = env::home_dir().ok_or( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / error_chain! { [INFO] [stderr] 11 | | errors { [INFO] [stderr] 12 | | QuietExit(code: i32) { [INFO] [stderr] 13 | | description("calm quit") [INFO] [stderr] ... | [INFO] [stderr] 24 | | } [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/report.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref IDENT_RE: Regex = Regex::new( [INFO] [stderr] 21 | | r#"(?x) [INFO] [stderr] 22 | | [\d\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}$_] [INFO] [stderr] 23 | | [\d\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}$_]* [INFO] [stderr] 24 | | "#).unwrap(); [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/cmd.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 220 | / lazy_static! { [INFO] [stderr] 221 | | static ref VAR_RE: Regex = Regex::new( [INFO] [stderr] 222 | | r"\$(\$|[a-zA-Z0-9_]+|\([^)]+\)|\{[^}]+\})").unwrap(); [INFO] [stderr] 223 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/serde.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / lazy_static! { [INFO] [stderr] 15 | | static ref REGEX_RE: Regex = Regex::new( [INFO] [stderr] 16 | | r#"(?sm)^\s*/(.*)/([a-z]*)\s*$"#).unwrap(); [INFO] [stderr] 17 | | static ref LINK_RE: Regex = Regex::new( [INFO] [stderr] 18 | | r#"^(.+?)(?:\s+->\s+(.+?))?$"#).unwrap(); [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/serde.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / lazy_static! { [INFO] [stderr] 15 | | static ref REGEX_RE: Regex = Regex::new( [INFO] [stderr] 16 | | r#"(?sm)^\s*/(.*)/([a-z]*)\s*$"#).unwrap(); [INFO] [stderr] 17 | | static ref LINK_RE: Regex = Regex::new( [INFO] [stderr] 18 | | r#"^(.+?)(?:\s+->\s+(.+?))?$"#).unwrap(); [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/hooks.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | static ref HOOK_RE: Regex = Regex::new( [INFO] [stderr] 14 | | r#"(?m)^calm\s+hook\s+--exec-([\w-]+)\s+\|\|\s+exit\s+1\s*?\r?\n?"#).unwrap(); [INFO] [stderr] 15 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/cli.rs:173:25 [INFO] [stderr] | [INFO] [stderr] 173 | let mut cause = err.cause(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/cli.rs:176:27 [INFO] [stderr] | [INFO] [stderr] 176 | cause = the_cause.cause(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left': superseded by `trim_start` [INFO] [stderr] --> src/report.rs:103:42 [INFO] [stderr] | [INFO] [stderr] 103 | let stripped_line = line.trim_left(); [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/report.rs:111:57 [INFO] [stderr] | [INFO] [stderr] 111 | write!(f, "\n {}", style(stripped_line.trim_right()).dim())?; [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / error_chain! { [INFO] [stderr] 11 | | errors { [INFO] [stderr] 12 | | QuietExit(code: i32) { [INFO] [stderr] 13 | | description("calm quit") [INFO] [stderr] ... | [INFO] [stderr] 24 | | } [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/tools.rs:134:50 [INFO] [stderr] | [INFO] [stderr] 134 | if let Some(report) = opts.and_then(|mut x| x.report.as_mut()) { [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: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/calm-923a2be408ab0084 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92463c6b40a0b0223be0eddc6838c62c44038f961dfe97f8e012af5c0ddb7fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92463c6b40a0b0223be0eddc6838c62c44038f961dfe97f8e012af5c0ddb7fae", kill_on_drop: false }` [INFO] [stdout] 92463c6b40a0b0223be0eddc6838c62c44038f961dfe97f8e012af5c0ddb7fae