[INFO] fetching crate calm 0.1.0... [INFO] testing calm-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate calm 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate calm 0.1.0 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 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded elementtree v0.5.0 [INFO] [stderr] Downloaded parking_lot v0.4.8 [INFO] [stderr] Downloaded clicolors-control v0.3.2 [INFO] [stderr] Downloaded indicatif v0.6.0 [INFO] [stderr] Downloaded console v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e9a00d22bf06a3659b1b10b19ae415b827c31961a0c30147472775ac57e379e [INFO] running `Command { std: "docker" "start" "-a" "8e9a00d22bf06a3659b1b10b19ae415b827c31961a0c30147472775ac57e379e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e9a00d22bf06a3659b1b10b19ae415b827c31961a0c30147472775ac57e379e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9a00d22bf06a3659b1b10b19ae415b827c31961a0c30147472775ac57e379e", kill_on_drop: false }` [INFO] [stdout] 8e9a00d22bf06a3659b1b10b19ae415b827c31961a0c30147472775ac57e379e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c2370b95a03a65997f0b96c412cfc93e80eb798350bf0f1e7690a443287e841 [INFO] running `Command { std: "docker" "start" "-a" "1c2370b95a03a65997f0b96c412cfc93e80eb798350bf0f1e7690a443287e841", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling curl-sys v0.4.53+curl-7.82.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling clicolors-control v0.3.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling indicatif v0.6.0 [INFO] [stderr] Compiling console v0.5.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling elementtree v0.5.0 [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: use of deprecated function `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:34 [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 associated function `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 the macro `error_chain_processed` (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/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 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/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 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/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 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/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 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/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] 32 + pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] 33 + pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - runtimes: Vec + 'a>>, [INFO] [stdout] 24 + runtimes: Vec + 'a>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - -> Result + 'a>> [INFO] [stdout] 114 + -> Result + 'a>> [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - fn update_env(&self, _f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] 32 + fn update_env(&self, _f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] 64 + fn update_env(&self, f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] 59 + fn update_env(&self, f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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 associated function `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 associated function `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 associated function `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 associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 the macro `error_chain_processed` (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: field is never read: `patterns` [INFO] [stdout] --> src/config.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `run` [INFO] [stdout] --> src/config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | run: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rules` [INFO] [stdout] --> src/config.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConfigValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/config.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | filename: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.50s [INFO] running `Command { std: "docker" "inspect" "1c2370b95a03a65997f0b96c412cfc93e80eb798350bf0f1e7690a443287e841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2370b95a03a65997f0b96c412cfc93e80eb798350bf0f1e7690a443287e841", kill_on_drop: false }` [INFO] [stdout] 1c2370b95a03a65997f0b96c412cfc93e80eb798350bf0f1e7690a443287e841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c4f22ba09182f46debe7a7b20611ddb3496d7b6f2a433f51b9ddd60012a874 [INFO] running `Command { std: "docker" "start" "-a" "17c4f22ba09182f46debe7a7b20611ddb3496d7b6f2a433f51b9ddd60012a874", kill_on_drop: false }` [INFO] [stderr] Compiling calm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `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:34 [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 associated function `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 the macro `error_chain_processed` (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/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 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/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 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/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 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/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 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/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] 32 + pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] 33 + pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - runtimes: Vec + 'a>>, [INFO] [stdout] 24 + runtimes: Vec + 'a>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - -> Result + 'a>> [INFO] [stdout] 114 + -> Result + 'a>> [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - fn update_env(&self, _f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] 32 + fn update_env(&self, _f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] 64 + fn update_env(&self, f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] 59 + fn update_env(&self, f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stdout] | [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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 associated function `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 associated function `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 associated function `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 associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 the macro `error_chain_processed` (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: field is never read: `patterns` [INFO] [stdout] --> src/config.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `run` [INFO] [stdout] --> src/config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | run: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rules` [INFO] [stdout] --> src/config.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | rules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConfigValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/config.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | filename: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/config.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "17c4f22ba09182f46debe7a7b20611ddb3496d7b6f2a433f51b9ddd60012a874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c4f22ba09182f46debe7a7b20611ddb3496d7b6f2a433f51b9ddd60012a874", kill_on_drop: false }` [INFO] [stdout] 17c4f22ba09182f46debe7a7b20611ddb3496d7b6f2a433f51b9ddd60012a874 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a307735eb27f609ed48fcb87c289cb13bff8f5fb604893433274cdbe3a4dfd6 [INFO] running `Command { std: "docker" "start" "-a" "1a307735eb27f609ed48fcb87c289cb13bff8f5fb604893433274cdbe3a4dfd6", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `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:34 [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 associated function `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 the macro `error_chain_processed` (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/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 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/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 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/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 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/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stderr] 32 + pub on_stdout: Option Result> + Send + Sync + 'a>>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stderr] 33 + pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - runtimes: Vec + 'a>>, [INFO] [stderr] 24 + runtimes: Vec + 'a>>, [INFO] [stderr] | [INFO] [stderr] [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] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 114 - -> Result + 'a>> [INFO] [stderr] 114 + -> Result + 'a>> [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - fn update_env(&self, _f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] 32 + fn update_env(&self, _f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] 64 + fn update_env(&self, f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 - fn update_env(&self, f: &mut FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] 59 + fn update_env(&self, f: &mut dyn FnMut(&OsStr, &OsStr)) -> Result<()> { [INFO] [stderr] | [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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 associated function `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 associated function `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 associated function `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 associated function: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 the macro `error_chain_processed` (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: field is never read: `patterns` [INFO] [stderr] --> src/config.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | patterns: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/config.rs:103:23 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `run` [INFO] [stderr] --> src/config.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | run: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/config.rs:103:23 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rules` [INFO] [stderr] --> src/config.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | rules: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConfigValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/config.rs:109:23 [INFO] [stderr] | [INFO] [stderr] 109 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `filename` [INFO] [stderr] --> src/config.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | filename: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/config.rs:117:23 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `calm` (bin "calm" test) generated 25 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/calm-9c7ad88fde7ca678) [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] running `Command { std: "docker" "inspect" "1a307735eb27f609ed48fcb87c289cb13bff8f5fb604893433274cdbe3a4dfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a307735eb27f609ed48fcb87c289cb13bff8f5fb604893433274cdbe3a4dfd6", kill_on_drop: false }` [INFO] [stdout] 1a307735eb27f609ed48fcb87c289cb13bff8f5fb604893433274cdbe3a4dfd6