[INFO] fetching crate calm 0.1.0... [INFO] checking calm-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate calm 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate calm 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 130 packages [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 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.34.0) [INFO] [stderr] Adding owning_ref v0.3.3 (latest: v0.4.1) [INFO] [stderr] Adding parking_lot v0.4.8 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.2.14 (latest: v0.9.9) [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.35) [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 redox_syscall v0.4.1 (latest: v0.5.1) [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.58) [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] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded parking_lot v0.4.8 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.6 [INFO] [stderr] Downloaded term_size v0.3.2 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded console v0.5.0 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded string_cache v0.8.7 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.23 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded cmake v0.1.50 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded console v0.15.8 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded derive-error-chain v0.10.1 [INFO] [stderr] Downloaded dotenv v0.10.1 [INFO] [stderr] Downloaded phf_shared v0.10.0 [INFO] [stderr] Downloaded precomputed-hash v0.1.1 [INFO] [stderr] Downloaded if_chain v0.1.3 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded libgit2-sys v0.6.19 [INFO] [stderr] Downloaded clicolors-control v0.3.2 [INFO] [stderr] Downloaded elementtree v0.5.0 [INFO] [stderr] Downloaded git2 v0.6.11 [INFO] [stderr] Downloaded indicatif v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a42964ba75fb600de3d5d26de5c3ef48d106ebabaf607bd9b5dc735c5a33a743 [INFO] running `Command { std: "docker" "start" "-a" "a42964ba75fb600de3d5d26de5c3ef48d106ebabaf607bd9b5dc735c5a33a743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a42964ba75fb600de3d5d26de5c3ef48d106ebabaf607bd9b5dc735c5a33a743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42964ba75fb600de3d5d26de5c3ef48d106ebabaf607bd9b5dc735c5a33a743", kill_on_drop: false }` [INFO] [stdout] a42964ba75fb600de3d5d26de5c3ef48d106ebabaf607bd9b5dc735c5a33a743 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fa57cb53f4122d0a483ec3cc7e96b8d3e39a0fa00cd67a452df13acbeaa3863 [INFO] running `Command { std: "docker" "start" "-a" "7fa57cb53f4122d0a483ec3cc7e96b8d3e39a0fa00cd67a452df13acbeaa3863", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking clicolors-control v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking which v1.0.5 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking if_chain v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking indicatif v0.6.0 [INFO] [stderr] Checking console v0.5.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking elementtree v0.5.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Checking git2 v0.6.11 [INFO] [stderr] Checking calm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> src/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_yaml; [INFO] [stdout] | ------------------------ the item `serde_yaml` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> src/errors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_yaml; [INFO] [stdout] | ------------------------ the item `serde_yaml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/errors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `elementtree` is imported redundantly [INFO] [stdout] --> src/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use elementtree; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate elementtree; [INFO] [stdout] | ------------------------- the item `elementtree` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/tools.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `crossbeam` is imported redundantly [INFO] [stdout] --> src/utils/cmd.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crossbeam; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate crossbeam; [INFO] [stdout] | ----------------------- the item `crossbeam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glob` is imported redundantly [INFO] [stdout] --> src/utils/serde.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use glob; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate glob; [INFO] [stdout] | ------------------ the item `glob` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/utils/whatchanged.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/utils/hooks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [INFO] [stdout] [INFO] [stdout] [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: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> src/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_yaml; [INFO] [stdout] | ------------------------ the item `serde_yaml` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] = 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 + '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 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub on_stderr: Option Result> + Send + Sync + 'a>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> src/errors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_yaml; [INFO] [stdout] | ------------------------ the item `serde_yaml` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/errors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `elementtree` is imported redundantly [INFO] [stdout] --> src/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use elementtree; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate elementtree; [INFO] [stdout] | ------------------------- the item `elementtree` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/tools.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `crossbeam` is imported redundantly [INFO] [stdout] --> src/utils/cmd.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crossbeam; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate crossbeam; [INFO] [stdout] | ----------------------- the item `crossbeam` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glob` is imported redundantly [INFO] [stdout] --> src/utils/serde.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use glob; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate glob; [INFO] [stdout] | ------------------ the item `glob` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/utils/whatchanged.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/utils/hooks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | mut f: Option<&mut Box 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: 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 [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 [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: 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: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 | -> Result + 'a>> [INFO] [stdout] | +++ [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 + '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] = 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 + '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 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | mut f: Option<&mut Box 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: 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 [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 [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: 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: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 | -> Result + '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::::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::::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: 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::::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::::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, [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, [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: 37 warnings emitted [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, [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, [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.19s [INFO] running `Command { std: "docker" "inspect" "7fa57cb53f4122d0a483ec3cc7e96b8d3e39a0fa00cd67a452df13acbeaa3863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fa57cb53f4122d0a483ec3cc7e96b8d3e39a0fa00cd67a452df13acbeaa3863", kill_on_drop: false }` [INFO] [stdout] 7fa57cb53f4122d0a483ec3cc7e96b8d3e39a0fa00cd67a452df13acbeaa3863