[INFO] fetching crate calm 0.1.0...
[INFO] testing calm-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate calm 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate calm 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 124 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding aho-corasick v0.6.10 (latest: v1.1.3)
[INFO] [stderr]       Adding bitflags v0.9.1 (latest: v2.5.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding clap v2.34.0 (latest: v4.5.4)
[INFO] [stderr]       Adding clicolors-control v0.3.2 (latest: v1.0.1)
[INFO] [stderr]       Adding console v0.5.0 (latest: v0.15.8)
[INFO] [stderr]       Adding crossbeam v0.2.12 (latest: v0.8.4)
[INFO] [stderr]       Adding derive-error-chain v0.10.1 (latest: v0.11.2)
[INFO] [stderr]       Adding dotenv v0.10.1 (latest: v0.15.0)
[INFO] [stderr]       Adding dtoa v0.4.8 (latest: v1.0.9)
[INFO] [stderr]       Adding elementtree v0.5.0 (latest: v1.2.3)
[INFO] [stderr]       Adding encode_unicode v0.3.6 (latest: v1.0.0)
[INFO] [stderr]       Adding error-chain v0.10.0 (latest: v0.12.4)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding git2 v0.6.11 (latest: v0.18.3)
[INFO] [stderr]       Adding glob v0.2.11 (latest: v0.3.1)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding idna v0.1.5 (latest: v0.5.0)
[INFO] [stderr]       Adding if_chain v0.1.3 (latest: v1.0.2)
[INFO] [stderr]       Adding indicatif v0.6.0 (latest: v0.17.8)
[INFO] [stderr]       Adding lazy_static v0.2.11 (latest: v1.4.0)
[INFO] [stderr]       Adding libgit2-sys v0.6.19 (latest: v0.16.2+1.7.2)
[INFO] [stderr]       Adding libssh2-sys v0.2.23 (latest: v0.3.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding owning_ref v0.3.3 (latest: v0.4.1)
[INFO] [stderr]       Adding parking_lot v0.4.8 (latest: v0.12.3)
[INFO] [stderr]       Adding parking_lot_core v0.2.14 (latest: v0.9.10)
[INFO] [stderr]       Adding percent-encoding v1.0.1 (latest: v2.3.1)
[INFO] [stderr]       Adding phf_shared v0.10.0 (latest: v0.11.2)
[INFO] [stderr]       Adding quote v0.3.15 (latest: v1.0.36)
[INFO] [stderr]       Adding rand v0.4.6 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_core v0.3.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_core v0.4.2 (latest: v0.6.4)
[INFO] [stderr]       Adding rdrand v0.4.0 (latest: v0.8.3)
[INFO] [stderr]       Adding regex v0.2.11 (latest: v1.10.4)
[INFO] [stderr]       Adding regex-syntax v0.5.6 (latest: v0.8.3)
[INFO] [stderr]       Adding same-file v0.1.3 (latest: v1.0.6)
[INFO] [stderr]       Adding serde_yaml v0.7.5 (latest: v0.9.34+deprecated)
[INFO] [stderr]       Adding sha1 v0.2.0 (latest: v0.10.6)
[INFO] [stderr]       Adding siphasher v0.3.11 (latest: v1.0.1)
[INFO] [stderr]       Adding smallvec v0.6.14 (latest: v1.13.2)
[INFO] [stderr]       Adding strsim v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v0.11.11 (latest: v2.0.66)
[INFO] [stderr]       Adding termios v0.2.2 (latest: v0.3.3)
[INFO] [stderr]       Adding textwrap v0.11.0 (latest: v0.16.1)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding ucd-util v0.1.10 (latest: v0.2.1)
[INFO] [stderr]       Adding unicode-xid v0.0.4 (latest: v0.2.4)
[INFO] [stderr]       Adding url v1.7.2 (latest: v2.5.0)
[INFO] [stderr]       Adding walkdir v1.0.7 (latest: v2.5.0)
[INFO] [stderr]       Adding which v1.0.5 (latest: v6.0.1)
[INFO] [stderr]       Adding winapi v0.2.8 (latest: v0.3.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded same-file v0.1.3
[INFO] [stderr]   Downloaded sha1 v0.2.0
[INFO] [stderr]   Downloaded derive-error-chain v0.10.1
[INFO] [stderr]   Downloaded clicolors-control v1.0.1
[INFO] [stderr]   Downloaded dotenv v0.10.1
[INFO] [stderr]   Downloaded clicolors-control v0.3.2
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded walkdir v1.0.7
[INFO] [stderr]   Downloaded elementtree v0.5.0
[INFO] [stderr]   Downloaded termios v0.2.2
[INFO] [stderr]   Downloaded console v0.5.0
[INFO] [stderr]   Downloaded crossbeam v0.2.12
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded ucd-util v0.1.10
[INFO] [stderr]   Downloaded serde_yaml v0.7.5
[INFO] [stderr]   Downloaded if_chain v0.1.3
[INFO] [stderr]   Downloaded indicatif v0.6.0
[INFO] [stderr]   Downloaded which v1.0.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0a7e7b574d6f56121ceb4633d679f42aa0c8501c1047b0d5bb8d2c5e9c88257
[INFO] running `Command { std: "docker" "start" "-a" "a0a7e7b574d6f56121ceb4633d679f42aa0c8501c1047b0d5bb8d2c5e9c88257", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0a7e7b574d6f56121ceb4633d679f42aa0c8501c1047b0d5bb8d2c5e9c88257", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0a7e7b574d6f56121ceb4633d679f42aa0c8501c1047b0d5bb8d2c5e9c88257", kill_on_drop: false }`
[INFO] [stdout] a0a7e7b574d6f56121ceb4633d679f42aa0c8501c1047b0d5bb8d2c5e9c88257
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d24073181e27cb6cd15fc1bc1d1421e21e6a52107f61f1f687533df8edd9c24f
[INFO] running `Command { std: "docker" "start" "-a" "d24073181e27cb6cd15fc1bc1d1421e21e6a52107f61f1f687533df8edd9c24f", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling clicolors-control v1.0.1
[INFO] [stderr]    Compiling term_size v0.3.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling clicolors-control v0.3.2
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling termios v0.2.2
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling parking_lot_core v0.2.14
[INFO] [stderr]    Compiling xml-rs v0.8.20
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling same-file v0.1.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling walkdir v1.0.7
[INFO] [stderr]    Compiling parking_lot v0.4.8
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling which v1.0.5
[INFO] [stderr]    Compiling sha1 v0.2.0
[INFO] [stderr]    Compiling crossbeam v0.2.12
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling if_chain v0.1.3
[INFO] [stderr]    Compiling libz-sys v1.1.18
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling libgit2-sys v0.6.19
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling addr2line v0.21.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 serde_derive v1.0.202
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling serde_yaml v0.7.5
[INFO] [stderr]    Compiling elementtree v0.5.0
[INFO] [stderr]    Compiling error-chain v0.10.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 may be unexpected on Windows. 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 method `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` which comes from the expansion of the macro `error_chain` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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/tools.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |     runtimes: Vec<Box<Runtime<'a> + '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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     runtimes: Vec<Box<dyn Runtime<'a> + 'a>>,
[INFO] [stdout]    |                       +++
[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<Box<FnMut(&str) -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub on_stdout: Option<Box<dyn FnMut(&str) -> Result<Cow<'static, str>> + 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<Box<FnMut(&str) -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub on_stderr: Option<Box<dyn FnMut(&str) -> Result<Cow<'static, str>> + 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:48:48
[INFO] [stdout]    |
[INFO] [stdout] 48 |                           mut f: Option<&mut Box<FnMut(&str)
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 49 | |                             -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 |                         mut f: Option<&mut Box<dyn FnMut(&str)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[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/ctx.rs:114:23
[INFO] [stdout]     |
[INFO] [stdout] 114 |         -> Result<Box<Runtime<'a> + '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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 114 |         -> Result<Box<dyn Runtime<'a> + 'a>>
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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 method `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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl 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]     |                                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 let stripped_line = line.trim_start();
[INFO] [stdout]     |                                          ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl 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]     |                                                         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 write!(f, "\n  {}", style(stripped_line.trim_end()).dim())?;
[INFO] [stdout]     |                                                         ~~~~~~~~
[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: fields `patterns` and `run` are never read
[INFO] [stdout]    --> src/config.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct Rule {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 105 |     patterns: Vec<String>,
[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]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> src/config.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct ConfigValues {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     rules: Vec<Rule>,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filename` is never read
[INFO] [stdout]    --> src/config.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct Config {
[INFO] [stdout]     |            ------ field in this struct
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `config` and `type_name` are never used
[INFO] [stdout]   --> src/rt/common.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Runtime<'a>: Debug + Sync {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn config(&'a self) -> &'a RuntimeConfig;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn type_name(&self) -> &str;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/utils/hooks.rs:42:22
[INFO] [stdout]    |
[INFO] [stdout] 42 |             for m in HOOK_RE.captures(&contents) {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 42 |             while let Some(m) = HOOK_RE.captures(&contents) {
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~ ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 42 |             if let Some(m) = HOOK_RE.captures(&contents) {
[INFO] [stdout]    |             ~~~~~~~~~~~~ ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.58s
[INFO] running `Command { std: "docker" "inspect" "d24073181e27cb6cd15fc1bc1d1421e21e6a52107f61f1f687533df8edd9c24f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d24073181e27cb6cd15fc1bc1d1421e21e6a52107f61f1f687533df8edd9c24f", kill_on_drop: false }`
[INFO] [stdout] d24073181e27cb6cd15fc1bc1d1421e21e6a52107f61f1f687533df8edd9c24f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91b2dccd7090a25d9251a1b7132e0dd60e67050f002ee233e590f61a66d70f21
[INFO] running `Command { std: "docker" "start" "-a" "91b2dccd7090a25d9251a1b7132e0dd60e67050f002ee233e590f61a66d70f21", 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 may be unexpected on Windows. 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 method `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` which comes from the expansion of the macro `error_chain` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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/tools.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |     runtimes: Vec<Box<Runtime<'a> + '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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     runtimes: Vec<Box<dyn Runtime<'a> + 'a>>,
[INFO] [stdout]    |                       +++
[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<Box<FnMut(&str) -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub on_stdout: Option<Box<dyn FnMut(&str) -> Result<Cow<'static, str>> + 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<Box<FnMut(&str) -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub on_stderr: Option<Box<dyn FnMut(&str) -> Result<Cow<'static, str>> + 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:48:48
[INFO] [stdout]    |
[INFO] [stdout] 48 |                           mut f: Option<&mut Box<FnMut(&str)
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 49 | |                             -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 |                         mut f: Option<&mut Box<dyn FnMut(&str)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[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/ctx.rs:114:23
[INFO] [stdout]     |
[INFO] [stdout] 114 |         -> Result<Box<Runtime<'a> + '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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 114 |         -> Result<Box<dyn Runtime<'a> + 'a>>
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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 method `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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl 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]     |                                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 let stripped_line = line.trim_start();
[INFO] [stdout]     |                                          ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl 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]     |                                                         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 write!(f, "\n  {}", style(stripped_line.trim_end()).dim())?;
[INFO] [stdout]     |                                                         ~~~~~~~~
[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: fields `patterns` and `run` are never read
[INFO] [stdout]    --> src/config.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct Rule {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 105 |     patterns: Vec<String>,
[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]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> src/config.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct ConfigValues {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     rules: Vec<Rule>,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filename` is never read
[INFO] [stdout]    --> src/config.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct Config {
[INFO] [stdout]     |            ------ field in this struct
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `config` and `type_name` are never used
[INFO] [stdout]   --> src/rt/common.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Runtime<'a>: Debug + Sync {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn config(&'a self) -> &'a RuntimeConfig;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn type_name(&self) -> &str;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/utils/hooks.rs:42:22
[INFO] [stdout]    |
[INFO] [stdout] 42 |             for m in HOOK_RE.captures(&contents) {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 42 |             while let Some(m) = HOOK_RE.captures(&contents) {
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~ ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 42 |             if let Some(m) = HOOK_RE.captures(&contents) {
[INFO] [stdout]    |             ~~~~~~~~~~~~ ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "91b2dccd7090a25d9251a1b7132e0dd60e67050f002ee233e590f61a66d70f21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91b2dccd7090a25d9251a1b7132e0dd60e67050f002ee233e590f61a66d70f21", kill_on_drop: false }`
[INFO] [stdout] 91b2dccd7090a25d9251a1b7132e0dd60e67050f002ee233e590f61a66d70f21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f32b4deba3fe0b795e7fb4ba8c4021f70972929121c8ddf0e60a17108562ed34
[INFO] running `Command { std: "docker" "start" "-a" "f32b4deba3fe0b795e7fb4ba8c4021f70972929121c8ddf0e60a17108562ed34", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. 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 method `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` which comes from the expansion of the macro `error_chain` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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` which comes from the expansion of the macro `lazy_static` (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/tools.rs:24:23
[INFO] [stderr]    |
[INFO] [stderr] 24 |     runtimes: Vec<Box<Runtime<'a> + '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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 24 |     runtimes: Vec<Box<dyn Runtime<'a> + 'a>>,
[INFO] [stderr]    |                       +++
[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<Box<FnMut(&str) -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 32 |     pub on_stdout: Option<Box<dyn FnMut(&str) -> Result<Cow<'static, str>> + 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<Box<FnMut(&str) -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub on_stderr: Option<Box<dyn FnMut(&str) -> Result<Cow<'static, str>> + Send + Sync + 'a>>,
[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<FnMut(&str)
[INFO] [stderr]    |  ________________________________________________^
[INFO] [stderr] 49 | |                             -> Result<Cow<'static, str>> + 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 48 |                         mut f: Option<&mut Box<dyn FnMut(&str)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]    |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]    |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]    |
[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/ctx.rs:114:23
[INFO] [stderr]     |
[INFO] [stderr] 114 |         -> Result<Box<Runtime<'a> + '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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is an object-safe trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 114 |         -> Result<Box<dyn Runtime<'a> + 'a>>
[INFO] [stderr]     |                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `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 method `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 method `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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl 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]     |                                          ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]     |
[INFO] [stderr] 103 |                 let stripped_line = line.trim_start();
[INFO] [stderr]     |                                          ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl 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]     |                                                         ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]     |
[INFO] [stderr] 111 |                 write!(f, "\n  {}", style(stripped_line.trim_end()).dim())?;
[INFO] [stderr]     |                                                         ~~~~~~~~
[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: fields `patterns` and `run` are never read
[INFO] [stderr]    --> src/config.rs:105:5
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub struct Rule {
[INFO] [stderr]     |            ---- fields in this struct
[INFO] [stderr] 105 |     patterns: Vec<String>,
[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]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `rules` is never read
[INFO] [stderr]    --> src/config.rs:114:5
[INFO] [stderr]     |
[INFO] [stderr] 110 | pub struct ConfigValues {
[INFO] [stderr]     |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 114 |     rules: Vec<Rule>,
[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] 
[INFO] [stderr] warning: field `filename` is never read
[INFO] [stderr]    --> src/config.rs:119:5
[INFO] [stderr]     |
[INFO] [stderr] 118 | pub struct Config {
[INFO] [stderr]     |            ------ field in this struct
[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] 
[INFO] [stderr] warning: methods `config` and `type_name` are never used
[INFO] [stderr]   --> src/rt/common.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub trait Runtime<'a>: Debug + Sync {
[INFO] [stderr]    |           ------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn config(&'a self) -> &'a RuntimeConfig;
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     fn type_name(&self) -> &str;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stderr]   --> src/utils/hooks.rs:42:22
[INFO] [stderr]    |
[INFO] [stderr] 42 |             for m in HOOK_RE.captures(&contents) {
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stderr] help: to check pattern in a loop use `while let`
[INFO] [stderr]    |
[INFO] [stderr] 42 |             while let Some(m) = HOOK_RE.captures(&contents) {
[INFO] [stderr]    |             ~~~~~~~~~~~~~~~ ~~~
[INFO] [stderr] help: consider using `if let` to clear intent
[INFO] [stderr]    |
[INFO] [stderr] 42 |             if let Some(m) = HOOK_RE.captures(&contents) {
[INFO] [stderr]    |             ~~~~~~~~~~~~ ~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `calm` (bin "calm" test) generated 26 warnings (1 duplicate) (run `cargo fix --bin "calm" --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/calm-1b1a6df1a0659d94)
[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" "f32b4deba3fe0b795e7fb4ba8c4021f70972929121c8ddf0e60a17108562ed34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f32b4deba3fe0b795e7fb4ba8c4021f70972929121c8ddf0e60a17108562ed34", kill_on_drop: false }`
[INFO] [stdout] f32b4deba3fe0b795e7fb4ba8c4021f70972929121c8ddf0e60a17108562ed34
