[INFO] fetching crate auto_sitemap 0.2.1... [INFO] checking auto_sitemap-0.2.1 against try#22cc29ba5b459fb386c0406b9baf3a49eb0fba39 for pr-146095 [INFO] extracting crate auto_sitemap 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate auto_sitemap 0.2.1 [INFO] finished tweaking crates.io crate auto_sitemap 0.2.1 [INFO] tweaked toml for crates.io crate auto_sitemap 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate auto_sitemap 0.2.1 on toolchain 22cc29ba5b459fb386c0406b9baf3a49eb0fba39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 322 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.8) [INFO] [stderr] Adding md5 v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.1) [INFO] [stderr] Adding spider v1.99.37 (available: v2.39.0) [INFO] [stderr] Adding xml v0.8.20 (available: v1.2.1) [INFO] [stderr] Adding yaserde v0.8.0 (available: v0.12.0) [INFO] [stderr] Adding yaserde_derive v0.8.0 (available: v0.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1976e85ae02fafbb53c84f13367f3de8adf56a3a11c4b43d13a25e45bec47dc2 [INFO] running `Command { std: "docker" "start" "-a" "1976e85ae02fafbb53c84f13367f3de8adf56a3a11c4b43d13a25e45bec47dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1976e85ae02fafbb53c84f13367f3de8adf56a3a11c4b43d13a25e45bec47dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1976e85ae02fafbb53c84f13367f3de8adf56a3a11c4b43d13a25e45bec47dc2", kill_on_drop: false }` [INFO] [stdout] 1976e85ae02fafbb53c84f13367f3de8adf56a3a11c4b43d13a25e45bec47dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38a6b198f59f7dd65e5c686d4a77292cc704030d7d273b5f813ecee9a0ce4daf [INFO] running `Command { std: "docker" "start" "-a" "38a6b198f59f7dd65e5c686d4a77292cc704030d7d273b5f813ecee9a0ce4daf", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking cookie_store v0.22.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking case_insensitive_string v0.2.10 [INFO] [stderr] Compiling fast_markup5ever v0.11.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking string_concat v0.0.1 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking xml v0.8.20 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Compiling fast_html5ever v0.26.6 [INFO] [stderr] Compiling yaserde_derive v0.8.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking yaserde v0.8.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking compression-codecs v0.4.36 [INFO] [stderr] Checking async-compression v0.4.37 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling ua_generator v0.5.44 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking spider v1.99.37 [INFO] [stderr] Checking auto_sitemap v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_SitemapSerde` [INFO] [stdout] ... [INFO] [stdout] 37 | pub struct SitemapSerde { [INFO] [stdout] | ------------ `SitemapSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_SitemapSerde` [INFO] [stdout] ... [INFO] [stdout] 37 | pub struct SitemapSerde { [INFO] [stdout] | ------------ `SitemapSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_PageSerde` [INFO] [stdout] 43 | pub struct PageSerde { [INFO] [stdout] | --------- `PageSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_PageSerde` [INFO] [stdout] 43 | pub struct PageSerde { [INFO] [stdout] | --------- `PageSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Debug, PartialEq, Clone, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_Meta` [INFO] [stdout] 225 | #[yaserde(namespace = "xhtml: http://www.w3.org/1999/xhtml")] [INFO] [stdout] 226 | pub struct Meta { [INFO] [stdout] | ---- `Meta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:224:48 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Debug, PartialEq, Clone, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_Meta` [INFO] [stdout] 225 | #[yaserde(namespace = "xhtml: http://www.w3.org/1999/xhtml")] [INFO] [stdout] 226 | pub struct Meta { [INFO] [stdout] | ---- `Meta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> tests/tests.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | lastmod: Some(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> tests/tests.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | chrono::NaiveDateTime::from_timestamp_opt(61, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_SitemapSerde` [INFO] [stdout] ... [INFO] [stdout] 37 | pub struct SitemapSerde { [INFO] [stdout] | ------------ `SitemapSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_SitemapSerde` [INFO] [stdout] ... [INFO] [stdout] 37 | pub struct SitemapSerde { [INFO] [stdout] | ------------ `SitemapSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_PageSerde` [INFO] [stdout] 43 | pub struct PageSerde { [INFO] [stdout] | --------- `PageSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, PartialEq, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_PageSerde` [INFO] [stdout] 43 | pub struct PageSerde { [INFO] [stdout] | --------- `PageSerde` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Debug, PartialEq, Clone, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_Meta` [INFO] [stdout] 225 | #[yaserde(namespace = "xhtml: http://www.w3.org/1999/xhtml")] [INFO] [stdout] 226 | pub struct Meta { [INFO] [stdout] | ---- `Meta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/xml.rs:224:48 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Debug, PartialEq, Clone, YaSerialize, YaDeserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_Meta` [INFO] [stdout] 225 | #[yaserde(namespace = "xhtml: http://www.w3.org/1999/xhtml")] [INFO] [stdout] 226 | pub struct Meta { [INFO] [stdout] | ---- `Meta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "38a6b198f59f7dd65e5c686d4a77292cc704030d7d273b5f813ecee9a0ce4daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a6b198f59f7dd65e5c686d4a77292cc704030d7d273b5f813ecee9a0ce4daf", kill_on_drop: false }` [INFO] [stdout] 38a6b198f59f7dd65e5c686d4a77292cc704030d7d273b5f813ecee9a0ce4daf