[INFO] cloning repository https://github.com/ttys3/rust-serde-trait-object-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ttys3/rust-serde-trait-object-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttys3%2Frust-serde-trait-object-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttys3%2Frust-serde-trait-object-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7873810a35f30f4928f065c7fdd91b92cea4dbe [INFO] checking ttys3/rust-serde-trait-object-demo against master#f57eac1bf98cb5d578e3364b64365ec398c137df for require-direct [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttys3%2Frust-serde-trait-object-demo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ttys3/rust-serde-trait-object-demo [INFO] finished tweaking git repo https://github.com/ttys3/rust-serde-trait-object-demo [INFO] tweaked toml for git repo https://github.com/ttys3/rust-serde-trait-object-demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ttys3/rust-serde-trait-object-demo on toolchain f57eac1bf98cb5d578e3364b64365ec398c137df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f57eac1bf98cb5d578e3364b64365ec398c137df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ttys3/rust-serde-trait-object-demo 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" "+f57eac1bf98cb5d578e3364b64365ec398c137df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 android-tzdata v0.1.1 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded iana-time-zone-haiku v0.1.2 [INFO] [stderr] Downloaded once_cell v1.18.0 [INFO] [stderr] Downloaded gimli v0.27.3 [INFO] [stderr] Downloaded core-foundation-sys v0.8.4 [INFO] [stderr] Downloaded serde v1.0.185 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded env_logger v0.10.0 [INFO] [stderr] Downloaded serde_fmt v1.0.3 [INFO] [stderr] Downloaded tracing-core v0.1.31 [INFO] [stderr] Downloaded itoa v1.0.9 [INFO] [stderr] Downloaded inventory v0.3.11 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.57 [INFO] [stderr] Downloaded serde_yaml v0.9.25 [INFO] [stderr] Downloaded socket2 v0.5.3 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded sval v2.6.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded errno-dragonfly v0.1.2 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded bitflags v2.4.0 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded cc v1.0.83 [INFO] [stderr] Downloaded bumpalo v3.13.0 [INFO] [stderr] Downloaded mio v0.8.8 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded hashbrown v0.14.0 [INFO] [stderr] Downloaded aho-corasick v1.0.4 [INFO] [stderr] Downloaded chrono v0.4.26 [INFO] [stderr] Downloaded object v0.31.1 [INFO] [stderr] Downloaded futures-util v0.3.28 [INFO] [stderr] Downloaded serde_json v1.0.105 [INFO] [stderr] Downloaded backtrace v0.3.68 [INFO] [stderr] Downloaded regex v1.9.3 [INFO] [stderr] Downloaded futures v0.3.28 [INFO] [stderr] Downloaded indexmap v2.0.0 [INFO] [stderr] Downloaded rustix v0.38.8 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.9 [INFO] [stderr] Downloaded lock_api v0.4.10 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded termcolor v1.2.0 [INFO] [stderr] Downloaded futures-channel v0.3.28 [INFO] [stderr] Downloaded log v0.4.20 [INFO] [stderr] Downloaded tokio v1.32.0 [INFO] [stderr] Downloaded futures-core v0.3.28 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded sval_serde v2.6.1 [INFO] [stderr] Downloaded futures-executor v0.3.28 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded value-bag-sval2 v1.4.1 [INFO] [stderr] Downloaded sval_json v2.6.1 [INFO] [stderr] Downloaded regex-automata v0.3.6 [INFO] [stderr] Downloaded ryu v1.0.15 [INFO] [stderr] Downloaded winapi-util v0.1.5 [INFO] [stderr] Downloaded value-bag-serde1 v1.4.1 [INFO] [stderr] Downloaded sval_dynamic v2.6.1 [INFO] [stderr] Downloaded sval_ref v2.6.1 [INFO] [stderr] Downloaded sval_fmt v2.6.1 [INFO] [stderr] Downloaded thiserror v1.0.47 [INFO] [stderr] Downloaded memchr v2.5.0 [INFO] [stderr] Downloaded hermit-abi v0.3.2 [INFO] [stderr] Downloaded dyn-clone v1.0.13 [INFO] [stderr] Downloaded futures-io v0.3.28 [INFO] [stderr] Downloaded futures-task v0.3.28 [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded addr2line v0.20.0 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.8 [INFO] [stderr] Downloaded pin-project-lite v0.2.12 [INFO] [stderr] Downloaded tracing v0.1.37 [INFO] [stderr] Downloaded erased-serde v0.3.29 [INFO] [stderr] Downloaded value-bag v1.4.1 [INFO] [stderr] Downloaded parking_lot v0.12.1 [INFO] [stderr] Downloaded tokio-util v0.7.8 [INFO] [stderr] Downloaded futures-sink v0.3.28 [INFO] [stderr] Downloaded adler v1.0.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.47 [INFO] [stderr] Downloaded redox_syscall v0.3.5 [INFO] [stderr] Downloaded equivalent v1.0.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.23 [INFO] [stderr] Downloaded signal-hook-registry v1.4.1 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded miniz_oxide v0.7.1 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded bytes v1.4.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.5 [INFO] [stderr] Downloaded serde_derive v1.0.185 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded typetag v0.2.13 [INFO] [stderr] Downloaded sval_buffer v2.6.1 [INFO] [stderr] Downloaded typetag-impl v0.2.13 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+f57eac1bf98cb5d578e3364b64365ec398c137df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e28942360c41ffc656928efb97f6064cd939f107390152c8dcd4b225bf8ba93 [INFO] running `Command { std: "docker" "start" "-a" "3e28942360c41ffc656928efb97f6064cd939f107390152c8dcd4b225bf8ba93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e28942360c41ffc656928efb97f6064cd939f107390152c8dcd4b225bf8ba93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e28942360c41ffc656928efb97f6064cd939f107390152c8dcd4b225bf8ba93", kill_on_drop: false }` [INFO] [stdout] 3e28942360c41ffc656928efb97f6064cd939f107390152c8dcd4b225bf8ba93 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+f57eac1bf98cb5d578e3364b64365ec398c137df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da991fe53b78b1d64221ceffbadfb41b27e948eb1de79323a8fbe94a9351c9e8 [INFO] running `Command { std: "docker" "start" "-a" "da991fe53b78b1d64221ceffbadfb41b27e948eb1de79323a8fbe94a9351c9e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling erased-serde v0.3.29 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking inventory v0.3.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dyn-clone v1.0.13 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling typetag-impl v0.2.13 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking value-bag-serde1 v1.4.1 [INFO] [stderr] Checking typetag v0.2.13 [INFO] [stderr] Checking value-bag v1.4.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking serde-trait-object-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/config_enum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/config_struct_boxed_trait.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/config_struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/config_struct.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/config_struct.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/config_enum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/config_struct_boxed_trait.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/config_struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/config_struct.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/config_struct.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut cfg = config_enum::Config::from_str().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut cfg = config_struct_boxed_trait::Config::from_str().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/config_enum.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ProviderConfigMap { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set(&mut self, provider: &str, pcfg: ProviderConfig) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [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 `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut cfg = config_enum::Config::from_str().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut cfg = config_struct_boxed_trait::Config::from_str().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/config_enum.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ProviderConfigMap { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set(&mut self, provider: &str, pcfg: ProviderConfig) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [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 `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 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/config_trait_object.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[typetag::serde(tag = "provider")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ProviderConfig_registry` [INFO] [stdout] 50 | pub trait ProviderConfig: DynClone + Send + Sync { [INFO] [stdout] | -------------- `ProviderConfig` 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: 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 attribute macro `typetag::serde` (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 20.65s [INFO] running `Command { std: "docker" "inspect" "da991fe53b78b1d64221ceffbadfb41b27e948eb1de79323a8fbe94a9351c9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da991fe53b78b1d64221ceffbadfb41b27e948eb1de79323a8fbe94a9351c9e8", kill_on_drop: false }` [INFO] [stdout] da991fe53b78b1d64221ceffbadfb41b27e948eb1de79323a8fbe94a9351c9e8