[INFO] cloning repository https://github.com/qiangyt/logen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qiangyt/logen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiangyt%2Flogen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiangyt%2Flogen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 465240a477c23637a3d26362796eca59c0952e8e [INFO] checking qiangyt/logen against master#5b270e1198e911247244b035a6f06ce3af0a4420 for pr-126571-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiangyt%2Flogen" "/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/qiangyt/logen on toolchain 5b270e1198e911247244b035a6f06ce3af0a4420 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b270e1198e911247244b035a6f06ce3af0a4420" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qiangyt/logen [INFO] finished tweaking git repo https://github.com/qiangyt/logen [INFO] tweaked toml for git repo https://github.com/qiangyt/logen written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qiangyt/logen 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" "+5b270e1198e911247244b035a6f06ce3af0a4420" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag v0.2.1 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded rust-embed-utils v7.2.0 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded unicase v2.6.0 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded crc-catalog v2.1.0 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded rust-embed v6.4.0 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded tera v1.16.0 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded indexmap v1.9.0 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded serde_yaml v0.8.24 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded erased-serde v0.3.21 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded quote v1.0.19 [INFO] [stderr] Downloaded crc v3.0.0 [INFO] [stderr] Downloaded rust-embed-impl v6.2.0 [INFO] [stderr] Downloaded cpufeatures v0.2.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded ghost v0.1.5 [INFO] [stderr] Downloaded uncased v0.9.7 [INFO] [stderr] Downloaded sha2 v0.9.9 [INFO] [stderr] Downloaded num-integer v0.1.45 [INFO] [stderr] Downloaded globset v0.4.9 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded inventory v0.3.0 [INFO] [stderr] Downloaded typetag-impl v0.2.1 [INFO] [stderr] Downloaded clap_derive v3.2.7 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+5b270e1198e911247244b035a6f06ce3af0a4420" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85da544642c397c98300e87eab553c38f1aa2801b358f6bec16331f54716a9e1 [INFO] running `Command { std: "docker" "start" "-a" "85da544642c397c98300e87eab553c38f1aa2801b358f6bec16331f54716a9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85da544642c397c98300e87eab553c38f1aa2801b358f6bec16331f54716a9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85da544642c397c98300e87eab553c38f1aa2801b358f6bec16331f54716a9e1", kill_on_drop: false }` [INFO] [stdout] 85da544642c397c98300e87eab553c38f1aa2801b358f6bec16331f54716a9e1 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+5b270e1198e911247244b035a6f06ce3af0a4420" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f63d63b01235820caa9cafcd2f68ecc69027e82096319e02eb46a86241a03b82 [INFO] running `Command { std: "docker" "start" "-a" "f63d63b01235820caa9cafcd2f68ecc69027e82096319e02eb46a86241a03b82", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling quote v1.0.19 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling erased-serde v0.3.21 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking globset v0.4.9 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling rust-embed-utils v7.2.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Compiling ghost v0.1.5 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling typetag-impl v0.2.1 [INFO] [stderr] Checking rust-embed v6.4.0 [INFO] [stderr] Checking inventory v0.3.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.24 [INFO] [stderr] Checking typetag v0.2.1 [INFO] [stderr] Checking tera v1.16.0 [INFO] [stderr] Checking logen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/apps/simple.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let f = serde_yaml::from_str::(r#" [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] 9 | pub trait AppT: Sync { [INFO] [stdout] | ---- `AppT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] 9 | pub trait AppT: Sync { [INFO] [stdout] | ---- `AppT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: methods and associated constants are still usable outside the current expression, only `impl Local` and `impl dyn Local` can ever be private, and only if the type is nested in the same item 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] 9 | pub trait AppT: Sync { [INFO] [stdout] | ---- `AppT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] 9 | pub trait AppT: Sync { [INFO] [stdout] | ---- `AppT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] 9 | pub trait AppT: Sync { [INFO] [stdout] | ---- `AppT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: methods and associated constants are still usable outside the current expression, only `impl Local` and `impl dyn Local` can ever be private, and only if the type is nested in the same item 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] 9 | pub trait AppT: Sync { [INFO] [stdout] | ---- `AppT` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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/apps/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_AppT_registry` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "f63d63b01235820caa9cafcd2f68ecc69027e82096319e02eb46a86241a03b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63d63b01235820caa9cafcd2f68ecc69027e82096319e02eb46a86241a03b82", kill_on_drop: false }` [INFO] [stdout] f63d63b01235820caa9cafcd2f68ecc69027e82096319e02eb46a86241a03b82