[INFO] cloning repository https://github.com/codetojoy/Scooter_Rust_WASM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codetojoy/Scooter_Rust_WASM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodetojoy%2FScooter_Rust_WASM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodetojoy%2FScooter_Rust_WASM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52ebdfaa080f95e41d51bb2c490556ac2c787d09 [INFO] testing codetojoy/Scooter_Rust_WASM against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodetojoy%2FScooter_Rust_WASM" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codetojoy/Scooter_Rust_WASM on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codetojoy/Scooter_Rust_WASM [INFO] finished tweaking git repo https://github.com/codetojoy/Scooter_Rust_WASM [INFO] tweaked toml for git repo https://github.com/codetojoy/Scooter_Rust_WASM written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codetojoy/Scooter_Rust_WASM already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.29 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.29 [INFO] [stderr] Downloaded proc-macro2 v0.4.21 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.29 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.29 [INFO] [stderr] Downloaded wasm-bindgen v0.2.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 505d6c1268f4c9bed3a78fe571041a78edc25a001e2bd60cf58cb5481ac9c90c [INFO] running `Command { std: "docker" "start" "-a" "505d6c1268f4c9bed3a78fe571041a78edc25a001e2bd60cf58cb5481ac9c90c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "505d6c1268f4c9bed3a78fe571041a78edc25a001e2bd60cf58cb5481ac9c90c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505d6c1268f4c9bed3a78fe571041a78edc25a001e2bd60cf58cb5481ac9c90c", kill_on_drop: false }` [INFO] [stdout] 505d6c1268f4c9bed3a78fe571041a78edc25a001e2bd60cf58cb5481ac9c90c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9e5ad6be68b045d8e18279fd56cd1210c8b8410618c22c8af3a6bc5c870fa5b [INFO] running `Command { std: "docker" "start" "-a" "f9e5ad6be68b045d8e18279fd56cd1210c8b8410618c22c8af3a6bc5c870fa5b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.29 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.29 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.29 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.29 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.29 [INFO] [stderr] Compiling scooter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Stats` [INFO] [stdout] 29 | pub struct Stats { [INFO] [stdout] | ----- `Stats` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / &self [INFO] [stdout] 87 | | .display [INFO] [stdout] 88 | | .draw_color(self.loc.x, self.loc.y, &self.icon, &self.color); [INFO] [stdout] | |________________________________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.29 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f9e5ad6be68b045d8e18279fd56cd1210c8b8410618c22c8af3a6bc5c870fa5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e5ad6be68b045d8e18279fd56cd1210c8b8410618c22c8af3a6bc5c870fa5b", kill_on_drop: false }` [INFO] [stdout] f9e5ad6be68b045d8e18279fd56cd1210c8b8410618c22c8af3a6bc5c870fa5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c8fcc6b78fa406020de94cc317636bbe95e7994325c3221b40f64720843a5a5 [INFO] running `Command { std: "docker" "start" "-a" "7c8fcc6b78fa406020de94cc317636bbe95e7994325c3221b40f64720843a5a5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling scooter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stdout] ... [INFO] [stdout] 19 | pub type Display; [INFO] [stdout] | ------- `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (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/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Stats` [INFO] [stdout] 29 | pub struct Stats { [INFO] [stdout] | ----- `Stats` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / &self [INFO] [stdout] 87 | | .display [INFO] [stdout] 88 | | .draw_color(self.loc.x, self.loc.y, &self.icon, &self.color); [INFO] [stdout] | |________________________________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.29 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7c8fcc6b78fa406020de94cc317636bbe95e7994325c3221b40f64720843a5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8fcc6b78fa406020de94cc317636bbe95e7994325c3221b40f64720843a5a5", kill_on_drop: false }` [INFO] [stdout] 7c8fcc6b78fa406020de94cc317636bbe95e7994325c3221b40f64720843a5a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6cbdd804de44598266c36d98f72b523bf7aa28d10c370f69aa88671836d0284e [INFO] running `Command { std: "docker" "start" "-a" "6cbdd804de44598266c36d98f72b523bf7aa28d10c370f69aa88671836d0284e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `WasmDescribe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `FromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `RefFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | -^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `JsCast` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_Display` [INFO] [stderr] ... [INFO] [stderr] 19 | pub type Display; [INFO] [stderr] | ------- `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [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 attribute macro `wasm_bindgen` (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/lib.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Stats` [INFO] [stderr] 29 | pub struct Stats { [INFO] [stderr] | ----- `Stats` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | / &self [INFO] [stderr] 87 | | .display [INFO] [stderr] 88 | | .draw_color(self.loc.x, self.loc.y, &self.icon, &self.color); [INFO] [stderr] | |________________________________________________________________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 86 | let _ = &self [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `scooter` (lib test) generated 15 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.29 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scooter-7ed67bedba47f3fb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cbdd804de44598266c36d98f72b523bf7aa28d10c370f69aa88671836d0284e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbdd804de44598266c36d98f72b523bf7aa28d10c370f69aa88671836d0284e", kill_on_drop: false }` [INFO] [stdout] 6cbdd804de44598266c36d98f72b523bf7aa28d10c370f69aa88671836d0284e