[INFO] cloning repository https://github.com/xenzh/loader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xenzh/loader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxenzh%2Floader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxenzh%2Floader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f78ec065bf979291c08bbdd899a5365470c9766 [INFO] testing xenzh/loader against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxenzh%2Floader" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xenzh/loader [INFO] finished tweaking git repo https://github.com/xenzh/loader [INFO] tweaked toml for git repo https://github.com/xenzh/loader written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xenzh/loader on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xenzh/loader 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c63fb4837d2fb7a8f4f2b21d5daa28a4878911235c595a45348e9b71cf26051 [INFO] running `Command { std: "docker" "start" "-a" "9c63fb4837d2fb7a8f4f2b21d5daa28a4878911235c595a45348e9b71cf26051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c63fb4837d2fb7a8f4f2b21d5daa28a4878911235c595a45348e9b71cf26051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c63fb4837d2fb7a8f4f2b21d5daa28a4878911235c595a45348e9b71cf26051", kill_on_drop: false }` [INFO] [stdout] 9c63fb4837d2fb7a8f4f2b21d5daa28a4878911235c595a45348e9b71cf26051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5eb68e785147d79526a7569e797db88c9e81391094a0688e5b9422aef17c6e3 [INFO] running `Command { std: "docker" "start" "-a" "c5eb68e785147d79526a7569e797db88c9e81391094a0688e5b9422aef17c6e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling rust-ini v0.12.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling simple_logger v1.0.1 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling toml v0.4.9 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling config v0.9.1 [INFO] [stderr] Compiling package v0.1.0 (/opt/rustwide/workdir/package) [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling depot v0.1.0 (/opt/rustwide/workdir/depot) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/meta/eval.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | dummy: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | dummy: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/meta/eval.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | method: &'m Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | method: &'m dyn Method, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/lib.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | Meta(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | Meta(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/lib.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | Data(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Data(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | Library(Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | Library(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/meta/mod.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn methods(&self) -> &[&Method]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn methods(&self) -> &[&dyn Method]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/meta/eval.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | fn who_returns(&self, _tgts: &[Target]) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn who_returns(&self, _tgts: &[Target]) -> impl Iterator { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> entity/src/meta/eval.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 44 | fn who_takes(&self, _tgts: &[Target]) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn who_takes(&self, _tgts: &[Target]) -> impl Iterator { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `get`, `from`, and `cond` are never read [INFO] [stdout] --> entity/src/meta/query.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 143 | get: Subject, // artist, album [INFO] [stdout] | ^^^ [INFO] [stdout] 144 | from: Object, // recenttrack, year [INFO] [stdout] | ^^^^ [INFO] [stdout] 145 | cond: Expr<(Subject, Object)>, // artist.name == "x" [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dummy` is never read [INFO] [stdout] --> entity/src/meta/eval.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Methods { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 33 | dummy: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `who_returns` and `who_takes` are never used [INFO] [stdout] --> entity/src/meta/eval.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Methods { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn who_returns(&self, _tgts: &[Target]) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn who_takes(&self, _tgts: &[Target]) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `missing_input`, and `extra_input` are never read [INFO] [stdout] --> entity/src/meta/eval.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct MethodMatch<'m> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 55 | method: &'m Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | missing_input: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | extra_input: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `obj` and `subj` are never read [INFO] [stdout] --> entity/src/meta/method.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | obj: Object, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | subj: Subject, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> entity/src/meta/method.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct FieldList { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 46 | fields: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> entity/src/meta/eval.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | fn transform(&self, methods: &Methods, from: &[Target], to: Target) -> &[MethodMatch]; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn transform(&self, methods: &Methods, from: &[Target], to: Target) -> &[MethodMatch<'_>]; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> depot/src/depot.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> depot/src/loader.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pkg: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pkg: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> depot/src/loader.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn package(&self) -> &Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | pub fn package(&self) -> &Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> depot/src/loader.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | type Factory = unsafe fn() -> *mut Package; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | type Factory = unsafe fn() -> *mut dyn Package; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-meta-package v0.1.0 (/opt/rustwide/workdir/test-meta-package) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> depot/src/error.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | Error::IoError(ref io) => io.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> depot/src/error.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | Error::CfgError(ref cfg) => cfg.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lib` is never read [INFO] [stdout] --> depot/src/loader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LoadedPackage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | lib: Library, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadedPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `components` is never read [INFO] [stdout] --> depot/src/depot.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Depot { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | loader: Loader, [INFO] [stdout] 24 | components: HashMap, C>, [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] --> depot/src/depot.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Settings` [INFO] [stdout] 15 | pub struct Settings { [INFO] [stdout] | -------- `Settings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `methods` [INFO] [stdout] --> test-meta-package/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Meta for MetaImpl {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `methods` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn methods(&self) -> &[&dyn entity::meta::method::Method] { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test-meta-package` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c5eb68e785147d79526a7569e797db88c9e81391094a0688e5b9422aef17c6e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5eb68e785147d79526a7569e797db88c9e81391094a0688e5b9422aef17c6e3", kill_on_drop: false }` [INFO] [stdout] c5eb68e785147d79526a7569e797db88c9e81391094a0688e5b9422aef17c6e3