[INFO] cloning repository https://github.com/PolySync/cargo-culture [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PolySync/cargo-culture" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolySync%2Fcargo-culture", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolySync%2Fcargo-culture'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d2cd3403d82477f1236ab58d257cfe03243e8e4 [INFO] checking PolySync/cargo-culture against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolySync%2Fcargo-culture" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PolySync/cargo-culture 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] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/PolySync/cargo-culture [INFO] finished tweaking git repo https://github.com/PolySync/cargo-culture [INFO] tweaked toml for git repo https://github.com/PolySync/cargo-culture written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/PolySync/cargo-culture already has a lockfile, it will not be regenerated [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 tempfile v3.0.2 [INFO] [stderr] Downloaded structopt v0.2.10 [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded structopt-derive v0.2.10 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.70 [INFO] [stderr] Downloaded dtoa v0.4.3 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded cargo_metadata v0.5.8 [INFO] [stderr] Downloaded serde v1.0.70 [INFO] [stderr] Downloaded regex-syntax v0.6.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded regex v1.0.1 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded serde_json v1.0.22 [INFO] [stderr] Downloaded proptest v0.7.2 [INFO] [stderr] Downloaded aho-corasick v0.6.6 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded bit-set v0.5.0 [INFO] [stderr] Downloaded lazy_static v1.0.1 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded wait-timeout v0.1.5 [INFO] [stderr] Downloaded syn v0.14.4 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded colored v1.6.1 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded rusty-fork v0.2.0 [INFO] [stderr] Downloaded atty v0.2.10 [INFO] [stderr] Downloaded proc-macro2 v0.4.6 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [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] 185b04f7b9df528d4c38160c7919342681207d8063289c523be54d8b4699ad2e [INFO] running `Command { std: "docker" "start" "-a" "185b04f7b9df528d4c38160c7919342681207d8063289c523be54d8b4699ad2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "185b04f7b9df528d4c38160c7919342681207d8063289c523be54d8b4699ad2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185b04f7b9df528d4c38160c7919342681207d8063289c523be54d8b4699ad2e", kill_on_drop: false }` [INFO] [stdout] 185b04f7b9df528d4c38160c7919342681207d8063289c523be54d8b4699ad2e [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] 313651c90687238ac1782ec136f852cce40c622bb93fdf732b2e1d5c19c07700 [INFO] running `Command { std: "docker" "start" "-a" "313651c90687238ac1782ec136f852cce40c622bb93fdf732b2e1d5c19c07700", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking rusty-fork v0.2.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking proptest v0.7.2 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking cargo_metadata v0.5.8 [INFO] [stderr] Checking cargo-culture-kit v1.0.0 (/opt/rustwide/workdir/cargo-culture-kit) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/exit_code.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cargo-culture-kit/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / lazy_static! { [INFO] [stdout] 109 | | static ref WARNING_JSON: Regex = Regex::new(".*\"level\":\"warning\".*") [INFO] [stdout] 110 | | .expect("Failed to create BuildsCleanlyWithoutWarningsOrErrors regex."); [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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] --> cargo-culture-kit/src/rules/has_continuous_integration_file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref HAS_CONTINUOUS_INTEGRATION_FILE: Regex = [INFO] [stdout] 20 | | Regex::new(r"^(?i)(appveyor|\.appveyor|\.drone|\.gitlab-ci|\.travis)\.ya?ml$") [INFO] [stdout] 21 | | .expect("Failed to create HasContinuousIntegrationFile regex."); [INFO] [stdout] 22 | | } [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] --> cargo-culture-kit/src/rules/has_contributing_file.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref HAS_CONTRIBUTING_FILE: Regex = [INFO] [stdout] 22 | | Regex::new(r"^(?i)CONTRIBUTING").expect("Failed to create HasContributingFile regex."); [INFO] [stdout] 23 | | } [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] --> cargo-culture-kit/src/rules/has_license_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_LICENSE_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^(?i)LICENSE").expect("Failed to create HasLicenseFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_readme_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_README_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^README\.?.*").expect("Failed to create HasReadmeFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_rustfmt_file.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref HAS_RUSTFMT_FILE: Regex = [INFO] [stdout] 25 | | Regex::new(r"^\.?(legacy-)?rustfmt.toml$").expect("Failed to create HasRustfmtFile regex."); [INFO] [stdout] 26 | | } [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] --> cargo-culture-kit/src/rules/passes_multiple_tests.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref TEST_RESULT_NUM_PASSED: Regex = [INFO] [stdout] 30 | | Regex::new(r"(?m)^test result: ok. (?P\d+) passed;") [INFO] [stdout] 31 | | .expect("Failed to create regex for PassesMultipleTests."); [INFO] [stdout] 32 | | } [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] --> cargo-culture-kit/src/rules/uses_property_based_test_library.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref USES_PROPERTY_BASED_TEST_LIBRARY: Regex = [INFO] [stdout] 42 | | Regex::new(r"^(?i)(proptest|quickcheck|suppositions).*") [INFO] [stdout] 43 | | .expect("Failed to create UsesPropertyBasedTestLibrary regex."); [INFO] [stdout] 44 | | } [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] --> cargo-culture-kit/src/rules/mod.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | pub print_output: &'a mut Write, [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] 82 | pub print_output: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | rules: &[&Rule], [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] 227 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | rules: &[&Rule], [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] 267 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | rule: &Rule, [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] 397 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | available_rules: &'rules [&Rule], [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] 87 | available_rules: &'rules [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result, FilterError> { [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] 88 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | available_rules: &'r [&Rule], [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] 128 | available_rules: &'r [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Result, FilterError> { [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] 130 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn default_rules() -> Vec> { [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] 87 | pub fn default_rules() -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | print_output: &mut Write, [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] 118 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | print_output: &mut Write, [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] 161 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 155 | use std::fs::{create_dir_all, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/exit_code.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cargo-culture-kit/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cargo_metadata` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | use cargo_metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cargo-culture-kit/src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | extern crate cargo_metadata; [INFO] [stdout] | ---------------------------- the item `cargo_metadata` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | let mut rules: Vec<&Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [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] 131 | let mut rules: Vec<&dyn Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / lazy_static! { [INFO] [stdout] 109 | | static ref WARNING_JSON: Regex = Regex::new(".*\"level\":\"warning\".*") [INFO] [stdout] 110 | | .expect("Failed to create BuildsCleanlyWithoutWarningsOrErrors regex."); [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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] --> cargo-culture-kit/src/lib.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> cargo-culture-kit/src/rules/has_continuous_integration_file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref HAS_CONTINUOUS_INTEGRATION_FILE: Regex = [INFO] [stdout] 20 | | Regex::new(r"^(?i)(appveyor|\.appveyor|\.drone|\.gitlab-ci|\.travis)\.ya?ml$") [INFO] [stdout] 21 | | .expect("Failed to create HasContinuousIntegrationFile regex."); [INFO] [stdout] 22 | | } [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] --> cargo-culture-kit/src/rules/has_contributing_file.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref HAS_CONTRIBUTING_FILE: Regex = [INFO] [stdout] 22 | | Regex::new(r"^(?i)CONTRIBUTING").expect("Failed to create HasContributingFile regex."); [INFO] [stdout] 23 | | } [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] --> cargo-culture-kit/src/rules/has_license_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_LICENSE_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^(?i)LICENSE").expect("Failed to create HasLicenseFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_readme_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_README_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^README\.?.*").expect("Failed to create HasReadmeFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_rustfmt_file.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref HAS_RUSTFMT_FILE: Regex = [INFO] [stdout] 25 | | Regex::new(r"^\.?(legacy-)?rustfmt.toml$").expect("Failed to create HasRustfmtFile regex."); [INFO] [stdout] 26 | | } [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] --> cargo-culture-kit/src/rules/passes_multiple_tests.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref TEST_RESULT_NUM_PASSED: Regex = [INFO] [stdout] 30 | | Regex::new(r"(?m)^test result: ok. (?P\d+) passed;") [INFO] [stdout] 31 | | .expect("Failed to create regex for PassesMultipleTests."); [INFO] [stdout] 32 | | } [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] --> cargo-culture-kit/src/rules/uses_property_based_test_library.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref USES_PROPERTY_BASED_TEST_LIBRARY: Regex = [INFO] [stdout] 42 | | Regex::new(r"^(?i)(proptest|quickcheck|suppositions).*") [INFO] [stdout] 43 | | .expect("Failed to create UsesPropertyBasedTestLibrary regex."); [INFO] [stdout] 44 | | } [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] --> cargo-culture-kit/src/rules/mod.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | pub print_output: &'a mut Write, [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] 82 | pub print_output: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | rules: &[&Rule], [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] 227 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | rules: &[&Rule], [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] 267 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | rule: &Rule, [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] 397 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | available_rules: &'rules [&Rule], [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] 87 | available_rules: &'rules [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result, FilterError> { [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] 88 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | available_rules: &'r [&Rule], [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] 128 | available_rules: &'r [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Result, FilterError> { [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] 130 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn default_rules() -> Vec> { [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] 87 | pub fn default_rules() -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | print_output: &mut Write, [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] 118 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | print_output: &mut Write, [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] 161 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | rule: &Rule, [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] 137 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | rule: &Rule, [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] 147 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:497:64 [INFO] [stdout] | [INFO] [stdout] 497 | fn arb_rule()(rule in arb_predetermined_rule()) -> Box { [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] 497 | fn arb_rule()(rule in arb_predetermined_rule()) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:503:60 [INFO] [stdout] | [INFO] [stdout] 503 | fn arb_vec_of_rules() -> VecStrategy>> { [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] 503 | fn arb_vec_of_rules() -> VecStrategy>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cargo-culture v1.0.0 (/opt/rustwide/workdir/cargo-culture) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | let mut rules: Vec<&Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [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] 131 | let mut rules: Vec<&dyn Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | let raw_rules: &[&Rule] = &[&rule_a, &rule_b]; [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] 270 | let raw_rules: &[&dyn Rule] = &[&rule_a, &rule_b]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let raw_rules: &[&Rule] = &[&rule_a, &rule_b]; [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] 296 | let raw_rules: &[&dyn Rule] = &[&rule_a, &rule_b]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> cargo-culture/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> cargo-culture/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [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] --> cargo-culture/src/main.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] --> cargo-culture/src/main.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | let home = env::home_dir().unwrap_or(PathBuf::from("/home/user")); [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] --> cargo-culture/src/main.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:498:24 [INFO] [stdout] | [INFO] [stdout] 498 | let b: Box = Box::new(rule); [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] 498 | let b: Box = Box::new(rule); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:538:64 [INFO] [stdout] | [INFO] [stdout] 538 | ... .collect::>() [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] 538 | .collect::>() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `print_output` is never read [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct OutcomeCapture { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 131 | pub outcome: RuleOutcome, [INFO] [stdout] 132 | pub print_output: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "313651c90687238ac1782ec136f852cce40c622bb93fdf732b2e1d5c19c07700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313651c90687238ac1782ec136f852cce40c622bb93fdf732b2e1d5c19c07700", kill_on_drop: false }` [INFO] [stdout] 313651c90687238ac1782ec136f852cce40c622bb93fdf732b2e1d5c19c07700 [INFO] checking PolySync/cargo-culture against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolySync%2Fcargo-culture" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PolySync/cargo-culture on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/PolySync/cargo-culture [INFO] finished tweaking git repo https://github.com/PolySync/cargo-culture [INFO] tweaked toml for git repo https://github.com/PolySync/cargo-culture written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PolySync/cargo-culture already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b26d23da19b863899e1068dba1dcc0d5439b2fa89fd236ed6df4a3418973d277 [INFO] running `Command { std: "docker" "start" "-a" "b26d23da19b863899e1068dba1dcc0d5439b2fa89fd236ed6df4a3418973d277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b26d23da19b863899e1068dba1dcc0d5439b2fa89fd236ed6df4a3418973d277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26d23da19b863899e1068dba1dcc0d5439b2fa89fd236ed6df4a3418973d277", kill_on_drop: false }` [INFO] [stdout] b26d23da19b863899e1068dba1dcc0d5439b2fa89fd236ed6df4a3418973d277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94e21ae687d95294e501fc06d6a266255a79dd0bb413fd3001e1049d4279674f [INFO] running `Command { std: "docker" "start" "-a" "94e21ae687d95294e501fc06d6a266255a79dd0bb413fd3001e1049d4279674f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking regex-syntax v0.6.1 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking rusty-fork v0.2.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking proptest v0.7.2 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking cargo_metadata v0.5.8 [INFO] [stderr] Checking cargo-culture-kit v1.0.0 (/opt/rustwide/workdir/cargo-culture-kit) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/exit_code.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cargo-culture-kit/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / lazy_static! { [INFO] [stdout] 109 | | static ref WARNING_JSON: Regex = Regex::new(".*\"level\":\"warning\".*") [INFO] [stdout] 110 | | .expect("Failed to create BuildsCleanlyWithoutWarningsOrErrors regex."); [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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] --> cargo-culture-kit/src/rules/has_continuous_integration_file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref HAS_CONTINUOUS_INTEGRATION_FILE: Regex = [INFO] [stdout] 20 | | Regex::new(r"^(?i)(appveyor|\.appveyor|\.drone|\.gitlab-ci|\.travis)\.ya?ml$") [INFO] [stdout] 21 | | .expect("Failed to create HasContinuousIntegrationFile regex."); [INFO] [stdout] 22 | | } [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] --> cargo-culture-kit/src/rules/has_contributing_file.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref HAS_CONTRIBUTING_FILE: Regex = [INFO] [stdout] 22 | | Regex::new(r"^(?i)CONTRIBUTING").expect("Failed to create HasContributingFile regex."); [INFO] [stdout] 23 | | } [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] --> cargo-culture-kit/src/rules/has_license_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_LICENSE_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^(?i)LICENSE").expect("Failed to create HasLicenseFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_readme_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_README_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^README\.?.*").expect("Failed to create HasReadmeFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_rustfmt_file.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref HAS_RUSTFMT_FILE: Regex = [INFO] [stdout] 25 | | Regex::new(r"^\.?(legacy-)?rustfmt.toml$").expect("Failed to create HasRustfmtFile regex."); [INFO] [stdout] 26 | | } [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] --> cargo-culture-kit/src/rules/passes_multiple_tests.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref TEST_RESULT_NUM_PASSED: Regex = [INFO] [stdout] 30 | | Regex::new(r"(?m)^test result: ok. (?P\d+) passed;") [INFO] [stdout] 31 | | .expect("Failed to create regex for PassesMultipleTests."); [INFO] [stdout] 32 | | } [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] --> cargo-culture-kit/src/rules/uses_property_based_test_library.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref USES_PROPERTY_BASED_TEST_LIBRARY: Regex = [INFO] [stdout] 42 | | Regex::new(r"^(?i)(proptest|quickcheck|suppositions).*") [INFO] [stdout] 43 | | .expect("Failed to create UsesPropertyBasedTestLibrary regex."); [INFO] [stdout] 44 | | } [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] --> cargo-culture-kit/src/rules/mod.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | pub print_output: &'a mut Write, [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] 82 | pub print_output: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | rules: &[&Rule], [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] 227 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | rules: &[&Rule], [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] 267 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | rule: &Rule, [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] 397 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | available_rules: &'rules [&Rule], [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] 87 | available_rules: &'rules [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result, FilterError> { [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] 88 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | available_rules: &'r [&Rule], [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] 128 | available_rules: &'r [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Result, FilterError> { [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] 130 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn default_rules() -> Vec> { [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] 87 | pub fn default_rules() -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | print_output: &mut Write, [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] 118 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | print_output: &mut Write, [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] 161 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined 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] --> cargo-culture-kit/src/checklist.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | let mut rules: Vec<&Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [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] 131 | let mut rules: Vec<&dyn Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 155 | use std::fs::{create_dir_all, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/exit_code.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cargo-culture-kit/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cargo_metadata` is imported redundantly [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | use cargo_metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: cargo-culture-kit/src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | extern crate cargo_metadata; [INFO] [stdout] | ---------------------------- the item `cargo_metadata` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / lazy_static! { [INFO] [stdout] 109 | | static ref WARNING_JSON: Regex = Regex::new(".*\"level\":\"warning\".*") [INFO] [stdout] 110 | | .expect("Failed to create BuildsCleanlyWithoutWarningsOrErrors regex."); [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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] --> cargo-culture-kit/src/rules/has_continuous_integration_file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref HAS_CONTINUOUS_INTEGRATION_FILE: Regex = [INFO] [stdout] 20 | | Regex::new(r"^(?i)(appveyor|\.appveyor|\.drone|\.gitlab-ci|\.travis)\.ya?ml$") [INFO] [stdout] 21 | | .expect("Failed to create HasContinuousIntegrationFile regex."); [INFO] [stdout] 22 | | } [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] --> cargo-culture-kit/src/rules/has_contributing_file.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref HAS_CONTRIBUTING_FILE: Regex = [INFO] [stdout] 22 | | Regex::new(r"^(?i)CONTRIBUTING").expect("Failed to create HasContributingFile regex."); [INFO] [stdout] 23 | | } [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] --> cargo-culture-kit/src/rules/has_license_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_LICENSE_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^(?i)LICENSE").expect("Failed to create HasLicenseFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_readme_file.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref HAS_README_FILE: Regex = [INFO] [stdout] 17 | | Regex::new(r"^README\.?.*").expect("Failed to create HasReadmeFile regex."); [INFO] [stdout] 18 | | } [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] --> cargo-culture-kit/src/rules/has_rustfmt_file.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref HAS_RUSTFMT_FILE: Regex = [INFO] [stdout] 25 | | Regex::new(r"^\.?(legacy-)?rustfmt.toml$").expect("Failed to create HasRustfmtFile regex."); [INFO] [stdout] 26 | | } [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] --> cargo-culture-kit/src/rules/passes_multiple_tests.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref TEST_RESULT_NUM_PASSED: Regex = [INFO] [stdout] 30 | | Regex::new(r"(?m)^test result: ok. (?P\d+) passed;") [INFO] [stdout] 31 | | .expect("Failed to create regex for PassesMultipleTests."); [INFO] [stdout] 32 | | } [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] --> cargo-culture-kit/src/rules/uses_property_based_test_library.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref USES_PROPERTY_BASED_TEST_LIBRARY: Regex = [INFO] [stdout] 42 | | Regex::new(r"^(?i)(proptest|quickcheck|suppositions).*") [INFO] [stdout] 43 | | .expect("Failed to create UsesPropertyBasedTestLibrary regex."); [INFO] [stdout] 44 | | } [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] --> cargo-culture-kit/src/rules/mod.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | pub print_output: &'a mut Write, [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] 82 | pub print_output: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | rules: &[&Rule], [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] 227 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | rules: &[&Rule], [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] 267 | rules: &[&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | rule: &Rule, [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] 397 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | available_rules: &'rules [&Rule], [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] 87 | available_rules: &'rules [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result, FilterError> { [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] 88 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | available_rules: &'r [&Rule], [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] 128 | available_rules: &'r [&dyn Rule], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Result, FilterError> { [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] 130 | ) -> Result, FilterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn default_rules() -> Vec> { [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] 87 | pub fn default_rules() -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | print_output: &mut Write, [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] 118 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/builds_cleanly_without_warnings_or_errors.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | print_output: &mut Write, [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] 161 | print_output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | rule: &Rule, [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] 137 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | rule: &Rule, [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] 147 | rule: &dyn Rule, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:497:64 [INFO] [stdout] | [INFO] [stdout] 497 | fn arb_rule()(rule in arb_predetermined_rule()) -> Box { [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] 497 | fn arb_rule()(rule in arb_predetermined_rule()) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:503:60 [INFO] [stdout] | [INFO] [stdout] 503 | fn arb_vec_of_rules() -> VecStrategy>> { [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] 503 | fn arb_vec_of_rules() -> VecStrategy>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cargo-culture v1.0.0 (/opt/rustwide/workdir/cargo-culture) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | let mut rules: Vec<&Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [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] 131 | let mut rules: Vec<&dyn Rule> = Vec::with_capacity(desired_rule_descriptions.len()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | let raw_rules: &[&Rule] = &[&rule_a, &rule_b]; [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] 270 | let raw_rules: &[&dyn Rule] = &[&rule_a, &rule_b]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/checklist.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let raw_rules: &[&Rule] = &[&rule_a, &rule_b]; [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] 296 | let raw_rules: &[&dyn Rule] = &[&rule_a, &rule_b]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> cargo-culture/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> cargo-culture/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] --> cargo-culture/src/main.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | let home = env::home_dir().unwrap_or(PathBuf::from("/home/user")); [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] --> cargo-culture/src/main.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture/src/main.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 125 | let rules_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [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] 174 | let rule_refs = rules.iter().map(|r| r.as_ref()).collect::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:498:24 [INFO] [stdout] | [INFO] [stdout] 498 | let b: Box = Box::new(rule); [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] 498 | let b: Box = Box::new(rule); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cargo-culture-kit/src/lib.rs:538:64 [INFO] [stdout] | [INFO] [stdout] 538 | ... .collect::>() [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] 538 | .collect::>() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `print_output` is never read [INFO] [stdout] --> cargo-culture-kit/src/rules/mod.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct OutcomeCapture { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 131 | pub outcome: RuleOutcome, [INFO] [stdout] 132 | pub print_output: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "94e21ae687d95294e501fc06d6a266255a79dd0bb413fd3001e1049d4279674f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94e21ae687d95294e501fc06d6a266255a79dd0bb413fd3001e1049d4279674f", kill_on_drop: false }` [INFO] [stdout] 94e21ae687d95294e501fc06d6a266255a79dd0bb413fd3001e1049d4279674f