[INFO] fetching crate akashi 0.5.2... [INFO] testing akashi-0.5.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate akashi 0.5.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate akashi 0.5.2 [INFO] finished tweaking crates.io crate akashi 0.5.2 [INFO] tweaked toml for crates.io crate akashi 0.5.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate akashi 0.5.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 120 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding crossbeam v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding dashmap v2.1.1 (available: v6.1.0) [INFO] [stderr] Adding downcast-rs v1.2.1 (available: v2.0.1) [INFO] [stderr] Adding parking_lot v0.10.2 (available: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f81f3cf8c49d2a67c7454c8c7b6dbb7f35b0dd69f68128dcd4728f48b287656 [INFO] running `Command { std: "docker" "start" "-a" "7f81f3cf8c49d2a67c7454c8c7b6dbb7f35b0dd69f68128dcd4728f48b287656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f81f3cf8c49d2a67c7454c8c7b6dbb7f35b0dd69f68128dcd4728f48b287656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f81f3cf8c49d2a67c7454c8c7b6dbb7f35b0dd69f68128dcd4728f48b287656", kill_on_drop: false }` [INFO] [stdout] 7f81f3cf8c49d2a67c7454c8c7b6dbb7f35b0dd69f68128dcd4728f48b287656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3774a5b42860813712094d90150a3739093fee5b6d5f4ceaa04e7cc5c17a05af [INFO] running `Command { std: "docker" "start" "-a" "3774a5b42860813712094d90150a3739093fee5b6d5f4ceaa04e7cc5c17a05af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling dashmap-shard v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling dashmap v2.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rental v0.5.6 [INFO] [stderr] Compiling akashi v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/components/inventory.rs:113:76 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stdout] 113 + pub fn iter_ids<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/components/resource.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSubtraction` [INFO] [stdout] ... [INFO] [stdout] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stdout] | ------------------ `InvalidSubtraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/components/resource.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSubtraction` [INFO] [stdout] ... [INFO] [stdout] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stdout] | ------------------ `InvalidSubtraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidAddition` [INFO] [stdout] ... [INFO] [stdout] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stdout] | --------------- `InvalidAddition` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidAddition` [INFO] [stdout] ... [INFO] [stdout] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stdout] | --------------- `InvalidAddition` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSet` [INFO] [stdout] ... [INFO] [stdout] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stdout] | ---------- `InvalidSet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSet` [INFO] [stdout] ... [INFO] [stdout] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stdout] | ---------- `InvalidSet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSoftCapAdjustment` [INFO] [stdout] ... [INFO] [stdout] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stdout] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSoftCapAdjustment` [INFO] [stdout] ... [INFO] [stdout] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stdout] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TypeNotFoundError` [INFO] [stdout] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stdout] 29 | pub struct TypeNotFoundError { [INFO] [stdout] | ----------------- `TypeNotFoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_TypeNotFoundError` [INFO] [stdout] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stdout] 29 | pub struct TypeNotFoundError { [INFO] [stdout] | ----------------- `TypeNotFoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/component_store.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DowncastError` [INFO] [stdout] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stdout] 112 | pub struct DowncastError { [INFO] [stdout] | ------------- `DowncastError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/component_store.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DowncastError` [INFO] [stdout] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stdout] 112 | pub struct DowncastError { [INFO] [stdout] | ------------- `DowncastError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/entity.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ClearComponentsError` [INFO] [stdout] 176 | pub struct ClearComponentsError { [INFO] [stdout] | -------------------- `ClearComponentsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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 16.70s [INFO] running `Command { std: "docker" "inspect" "3774a5b42860813712094d90150a3739093fee5b6d5f4ceaa04e7cc5c17a05af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3774a5b42860813712094d90150a3739093fee5b6d5f4ceaa04e7cc5c17a05af", kill_on_drop: false }` [INFO] [stdout] 3774a5b42860813712094d90150a3739093fee5b6d5f4ceaa04e7cc5c17a05af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d866917b67e094828a843b5fc72f089d846690eda520563754c94f3e2bde07 [INFO] running `Command { std: "docker" "start" "-a" "e8d866917b67e094828a843b5fc72f089d846690eda520563754c94f3e2bde07", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/components/inventory.rs:113:76 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stdout] 113 + pub fn iter_ids<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/components/resource.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSubtraction` [INFO] [stdout] ... [INFO] [stdout] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stdout] | ------------------ `InvalidSubtraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/components/resource.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSubtraction` [INFO] [stdout] ... [INFO] [stdout] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stdout] | ------------------ `InvalidSubtraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidAddition` [INFO] [stdout] ... [INFO] [stdout] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stdout] | --------------- `InvalidAddition` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidAddition` [INFO] [stdout] ... [INFO] [stdout] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stdout] | --------------- `InvalidAddition` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSet` [INFO] [stdout] ... [INFO] [stdout] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stdout] | ---------- `InvalidSet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSet` [INFO] [stdout] ... [INFO] [stdout] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stdout] | ---------- `InvalidSet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSoftCapAdjustment` [INFO] [stdout] ... [INFO] [stdout] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stdout] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSoftCapAdjustment` [INFO] [stdout] ... [INFO] [stdout] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stdout] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TypeNotFoundError` [INFO] [stdout] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stdout] 29 | pub struct TypeNotFoundError { [INFO] [stdout] | ----------------- `TypeNotFoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_TypeNotFoundError` [INFO] [stdout] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stdout] 29 | pub struct TypeNotFoundError { [INFO] [stdout] | ----------------- `TypeNotFoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/component_store.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DowncastError` [INFO] [stdout] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stdout] 112 | pub struct DowncastError { [INFO] [stdout] | ------------- `DowncastError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/component_store.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DowncastError` [INFO] [stdout] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stdout] 112 | pub struct DowncastError { [INFO] [stdout] | ------------- `DowncastError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/entity.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ClearComponentsError` [INFO] [stdout] 176 | pub struct ClearComponentsError { [INFO] [stdout] | -------------------- `ClearComponentsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling akashi v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/components/inventory.rs:192:50 [INFO] [stdout] | [INFO] [stdout] 192 | impl Component for TestComponent {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ecs/entity_store.rs:970:60 [INFO] [stdout] | [INFO] [stdout] 970 | impl Component for TestComponent {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/inventory.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | struct TestComponent(u64); [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TestComponent` has a derived impl for the trait `Clone`, 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/components/inventory.rs:113:76 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stdout] 113 + pub fn iter_ids<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/components/inventory.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | drop(r); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut InventoryWriteRental` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 221 - drop(r); [INFO] [stdout] 221 + let _ = r; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/components/resource.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSubtraction` [INFO] [stdout] ... [INFO] [stdout] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stdout] | ------------------ `InvalidSubtraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/components/resource.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSubtraction` [INFO] [stdout] ... [INFO] [stdout] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stdout] | ------------------ `InvalidSubtraction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidAddition` [INFO] [stdout] ... [INFO] [stdout] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stdout] | --------------- `InvalidAddition` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidAddition` [INFO] [stdout] ... [INFO] [stdout] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stdout] | --------------- `InvalidAddition` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSet` [INFO] [stdout] ... [INFO] [stdout] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stdout] | ---------- `InvalidSet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSet` [INFO] [stdout] ... [INFO] [stdout] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stdout] | ---------- `InvalidSet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSoftCapAdjustment` [INFO] [stdout] ... [INFO] [stdout] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stdout] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/components/resource.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSoftCapAdjustment` [INFO] [stdout] ... [INFO] [stdout] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stdout] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TypeNotFoundError` [INFO] [stdout] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stdout] 29 | pub struct TypeNotFoundError { [INFO] [stdout] | ----------------- `TypeNotFoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_TypeNotFoundError` [INFO] [stdout] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stdout] 29 | pub struct TypeNotFoundError { [INFO] [stdout] | ----------------- `TypeNotFoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/component_store.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DowncastError` [INFO] [stdout] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stdout] 112 | pub struct DowncastError { [INFO] [stdout] | ------------- `DowncastError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/component_store.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DowncastError` [INFO] [stdout] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stdout] 112 | pub struct DowncastError { [INFO] [stdout] | ------------- `DowncastError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/ecs/entity.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ClearComponentsError` [INFO] [stdout] 176 | pub struct ClearComponentsError { [INFO] [stdout] | -------------------- `ClearComponentsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.82s [INFO] running `Command { std: "docker" "inspect" "e8d866917b67e094828a843b5fc72f089d846690eda520563754c94f3e2bde07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d866917b67e094828a843b5fc72f089d846690eda520563754c94f3e2bde07", kill_on_drop: false }` [INFO] [stdout] e8d866917b67e094828a843b5fc72f089d846690eda520563754c94f3e2bde07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2b490787daee690f4c75adf8fca95c68bd7e1b120cd70efb6bdd4307761925c5 [INFO] running `Command { std: "docker" "start" "-a" "2b490787daee690f4c75adf8fca95c68bd7e1b120cd70efb6bdd4307761925c5", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/components/inventory.rs:113:76 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stderr] | -- -- ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 113 - pub fn iter_ids<'a>(&'a self) -> impl Iterator + '_ { [INFO] [stderr] 113 + pub fn iter_ids<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:353:10 [INFO] [stderr] | [INFO] [stderr] 353 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSubtraction` [INFO] [stderr] ... [INFO] [stderr] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stderr] | ------------------ `InvalidSubtraction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:353:10 [INFO] [stderr] | [INFO] [stderr] 353 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSubtraction` [INFO] [stderr] ... [INFO] [stderr] 358 | pub struct InvalidSubtraction(i64, i64, i64); [INFO] [stderr] | ------------------ `InvalidSubtraction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:360:10 [INFO] [stderr] | [INFO] [stderr] 360 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidAddition` [INFO] [stderr] ... [INFO] [stderr] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stderr] | --------------- `InvalidAddition` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:360:10 [INFO] [stderr] | [INFO] [stderr] 360 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidAddition` [INFO] [stderr] ... [INFO] [stderr] 365 | pub struct InvalidAddition(i64, i64, i64); [INFO] [stderr] | --------------- `InvalidAddition` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:367:10 [INFO] [stderr] | [INFO] [stderr] 367 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSet` [INFO] [stderr] ... [INFO] [stderr] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stderr] | ---------- `InvalidSet` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:367:10 [INFO] [stderr] | [INFO] [stderr] 367 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSet` [INFO] [stderr] ... [INFO] [stderr] 372 | pub struct InvalidSet(i64, Option, Option); [INFO] [stderr] | ---------- `InvalidSet` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:374:10 [INFO] [stderr] | [INFO] [stderr] 374 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidSoftCapAdjustment` [INFO] [stderr] ... [INFO] [stderr] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stderr] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/components/resource.rs:374:10 [INFO] [stderr] | [INFO] [stderr] 374 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidSoftCapAdjustment` [INFO] [stderr] ... [INFO] [stderr] 379 | pub struct InvalidSoftCapAdjustment(i64, i64); [INFO] [stderr] | ------------------------ `InvalidSoftCapAdjustment` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ecs.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TypeNotFoundError` [INFO] [stderr] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stderr] 29 | pub struct TypeNotFoundError { [INFO] [stderr] | ----------------- `TypeNotFoundError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ecs.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_TypeNotFoundError` [INFO] [stderr] 28 | #[fail(display = "No handlers registered for type {}", name)] [INFO] [stderr] 29 | pub struct TypeNotFoundError { [INFO] [stderr] | ----------------- `TypeNotFoundError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ecs/component_store.rs:110:10 [INFO] [stderr] | [INFO] [stderr] 110 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DowncastError` [INFO] [stderr] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stderr] 112 | pub struct DowncastError { [INFO] [stderr] | ------------- `DowncastError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ecs/component_store.rs:110:10 [INFO] [stderr] | [INFO] [stderr] 110 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DowncastError` [INFO] [stderr] 111 | #[fail(display = "Failed to downcast to type {}", component_name)] [INFO] [stderr] 112 | pub struct DowncastError { [INFO] [stderr] | ------------- `DowncastError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ecs/entity.rs:175:10 [INFO] [stderr] | [INFO] [stderr] 175 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ClearComponentsError` [INFO] [stderr] 176 | pub struct ClearComponentsError { [INFO] [stderr] | -------------------- `ClearComponentsError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `akashi` (lib) generated 14 warnings (run `cargo fix --lib -p akashi` to apply 1 suggestion) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/components/inventory.rs:192:50 [INFO] [stderr] | [INFO] [stderr] 192 | impl Component for TestComponent {}; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/ecs/entity_store.rs:970:60 [INFO] [stderr] | [INFO] [stderr] 970 | impl Component for TestComponent {}; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/inventory.rs:191:30 [INFO] [stderr] | [INFO] [stderr] 191 | struct TestComponent(u64); [INFO] [stderr] | ------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `TestComponent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/components/inventory.rs:221:9 [INFO] [stderr] | [INFO] [stderr] 221 | drop(r); [INFO] [stderr] | ^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut InventoryWriteRental` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 221 - drop(r); [INFO] [stderr] 221 + let _ = r; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `akashi` (lib test) generated 18 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/akashi-f58d38581074c84e) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test components::resource::tests::test_checked_sub ... ok [INFO] [stdout] test components::resource::tests::test_hard_set_min ... ok [INFO] [stdout] test components::resource::tests::test_capped_add ... ok [INFO] [stdout] test components::resource::tests::test_capped_set ... ok [INFO] [stdout] test components::resource::tests::test_capped_sub ... ok [INFO] [stdout] test components::resource::tests::test_checked_add ... ok [INFO] [stdout] test components::inventory::tests::test_inv ... ok [INFO] [stdout] test components::resource::tests::test_checked_set ... ok [INFO] [stdout] test components::resource::tests::test_hard_set_max ... ok [INFO] [stdout] test card::tests::test_card_generate ... ok [INFO] [stdout] test components::card_type::tests::test_attached_card_type_load ... ok [INFO] [stdout] test components::inventory::tests::test_inv_wrapper ... ok [INFO] [stdout] test components::resource::tests::test_soft_set_max ... ok [INFO] [stdout] test components::resource::tests::test_soft_set_min ... ok [INFO] [stdout] test ecs::entity_store::tests::test_exists ... ok [INFO] [stdout] test components::card_type::tests::test_store_type ... ok [INFO] [stdout] test ecs::entity_store::tests::test_load ... ok [INFO] [stdout] test ecs::entity_store::tests::test_store ... ok [INFO] [stdout] test ecs::tests::test_build_component_manager ... ok [INFO] [stdout] test ecs::tests::test_components_exist ... ok [INFO] [stdout] test ecs::tests::test_delete_components ... ok [INFO] [stdout] test ecs::entity_store::tests::test_load_nonexistent ... ok [INFO] [stdout] test ecs::tests::test_load_store_components ... ok [INFO] [stdout] test ecs::entity_store::tests::test_handle_drop ... ok [INFO] [stdout] test ecs::entity_store::tests::test_concurrent_load ... ok [INFO] [stdout] test ecs::entity_store::tests::test_multiple_single_thread_access ... ok [INFO] [stdout] test ecs::tests::test_unregistered_type ... ok [INFO] [stdout] test ecs::entity_store::tests::test_concurrent_access ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests akashi [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::keys (line 577) ... FAILED [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::get_store (line 267) ... FAILED [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager (line 41) ... FAILED [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::get_component_manager (line 308) ... FAILED [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::delete (line 529) ... FAILED [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::hard_set_min (line 259) ... ok [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::soft_set_max (line 289) ... ok [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::soft_set_min (line 231) ... ok [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::checked_sub (line 178) ... ok [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::load (line 391) ... FAILED [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::capped_add (line 155) ... ok [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::checked_add (line 125) ... ok [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::load_mut (line 425) ... FAILED [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::hard_set_max (line 317) ... ok [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::capped_sub (line 208) ... ok [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::create (line 351) ... FAILED [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::checked_set (line 49) ... ok [INFO] [stdout] test src/components/resource.rs - components::resource::Resource::capped_set (line 87) ... ok [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::store (line 483) ... FAILED [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::register_entity (line 123) ... ok [INFO] [stdout] test src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::register_component (line 176) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::keys (line 577) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:589:43 [INFO] [stdout] | [INFO] [stdout] 15 | let card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:596:30 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(ids[0], 123456789.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::get_store (line 267) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:280:43 [INFO] [stdout] | [INFO] [stdout] 16 | let card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:286:32 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(store.exists(123456789.into()).unwrap()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager (line 41) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 32 | let mut card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(manager.exists::(123456789.into()).unwrap()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(card_ids[0], 123456789.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 51 | let handle = manager.load::(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 62 | manager.delete::(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:101:43 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(!manager.exists::(123456789.into()).unwrap()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::get_component_manager (line 308) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:327:43 [INFO] [stdout] | [INFO] [stdout] 22 | let card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::delete (line 529) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:541:43 [INFO] [stdout] | [INFO] [stdout] 15 | let card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:544:42 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(manager.exists::(123456789.into()).unwrap()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:547:34 [INFO] [stdout] | [INFO] [stdout] 21 | manager.delete::(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:549:43 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(!manager.exists::(123456789.into()).unwrap()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::load (line 391) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:403:43 [INFO] [stdout] | [INFO] [stdout] 15 | let card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:407:45 [INFO] [stdout] | [INFO] [stdout] 19 | let handle = manager.load::(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::load_mut (line 425) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:448:43 [INFO] [stdout] | [INFO] [stdout] 26 | let card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:453:57 [INFO] [stdout] | [INFO] [stdout] 31 | let mut handle = manager.load_mut::(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:462:45 [INFO] [stdout] | [INFO] [stdout] 40 | let handle = manager.load::(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::create (line 351) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:364:51 [INFO] [stdout] | [INFO] [stdout] 16 | let card: Option = manager.create(123456789.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:368:55 [INFO] [stdout] | [INFO] [stdout] 20 | let player: Option = manager.create(987654321.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::store (line 483) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:495:43 [INFO] [stdout] | [INFO] [stdout] 15 | let card: Card = manager.create(123456789.into()).unwrap(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Snowflake: From` is not satisfied [INFO] [stdout] --> src/ecs/entity_manager.rs:498:42 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(manager.exists::(123456789.into()).unwrap()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Snowflake` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] `Snowflake` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager (line 41) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::create (line 351) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::delete (line 529) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::get_component_manager (line 308) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::get_store (line 267) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::keys (line 577) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::load (line 391) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::load_mut (line 425) [INFO] [stdout] src/ecs/entity_manager.rs - ecs::entity_manager::EntityManager::store (line 483) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2b490787daee690f4c75adf8fca95c68bd7e1b120cd70efb6bdd4307761925c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b490787daee690f4c75adf8fca95c68bd7e1b120cd70efb6bdd4307761925c5", kill_on_drop: false }` [INFO] [stdout] 2b490787daee690f4c75adf8fca95c68bd7e1b120cd70efb6bdd4307761925c5