[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/7d2cd3403d82477f1236ab58d257cfe03243e8e4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolySync%2Fcargo-culture" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PolySync/cargo-culture on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-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-0-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/cargo-culture/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/cargo-culture-kit/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74cf5b257ca8626022256f2508c505fbf30f1c1aa886d13fbfccb9114048f1e1 [INFO] running `Command { std: "docker" "start" "-a" "74cf5b257ca8626022256f2508c505fbf30f1c1aa886d13fbfccb9114048f1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74cf5b257ca8626022256f2508c505fbf30f1c1aa886d13fbfccb9114048f1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74cf5b257ca8626022256f2508c505fbf30f1c1aa886d13fbfccb9114048f1e1", kill_on_drop: false }` [INFO] [stdout] 74cf5b257ca8626022256f2508c505fbf30f1c1aa886d13fbfccb9114048f1e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c633eef8427ef09e64a55b8beba48464dd16f1150c5d683befd059aafea8462f [INFO] running `Command { std: "docker" "start" "-a" "c633eef8427ef09e64a55b8beba48464dd16f1150c5d683befd059aafea8462f", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/cargo-culture-kit/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/cargo-culture/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.6.1 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.14.4 [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 rusty-fork v0.2.0 [INFO] [stderr] Checking proptest v0.7.2 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.9 [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 structopt v0.2.10 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_json v1.0.22 [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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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/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/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/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/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: 21 warnings emitted [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] [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: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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> cargo-culture-kit/src/rules/passes_multiple_tests.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 176 | let mut file = File::create(file_path).expect("Could not make target file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | file.write_all(b"\n}\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-culture-kit` (lib test) due to 2 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c633eef8427ef09e64a55b8beba48464dd16f1150c5d683befd059aafea8462f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c633eef8427ef09e64a55b8beba48464dd16f1150c5d683befd059aafea8462f", kill_on_drop: false }` [INFO] [stdout] c633eef8427ef09e64a55b8beba48464dd16f1150c5d683befd059aafea8462f