[INFO] cloning repository https://github.com/CaseyManning/s2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CaseyManning/s2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaseyManning%2Fs2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaseyManning%2Fs2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcda661823dc1e95ead718ddb93b6773a5e8f56a [INFO] testing CaseyManning/s2 against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaseyManning%2Fs2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CaseyManning/s2 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/CaseyManning/s2 [INFO] finished tweaking git repo https://github.com/CaseyManning/s2 [INFO] tweaked toml for git repo https://github.com/CaseyManning/s2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CaseyManning/s2 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: unused manifest key: build [INFO] [stderr] Updating git repository `https://github.com/noocene/vessels` [INFO] [stderr] Updating git repository `https://github.com/noocene/predicated-ordered` [INFO] [stderr] Updating git repository `https://github.com/noocene/setwaker` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.58 [INFO] [stderr] Downloaded serde-bench v0.0.7 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.58 [INFO] [stderr] Downloaded wasmer-runtime v0.11.0 [INFO] [stderr] Downloaded erased-serde v0.3.10 [INFO] [stderr] Downloaded half v1.5.0 [INFO] [stderr] Downloaded backtrace v0.3.41 [INFO] [stderr] Downloaded ndarray v0.13.0 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded cranelift-codegen v0.44.0 [INFO] [stderr] Downloaded web-sys v0.3.35 [INFO] [stderr] Downloaded wasmparser v0.39.3 [INFO] [stderr] Downloaded ws v0.9.1 [INFO] [stderr] Downloaded js-sys v0.3.35 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.44.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.44.0 [INFO] [stderr] Downloaded cranelift-native v0.44.0 [INFO] [stderr] Downloaded target-lexicon v0.8.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.8 [INFO] [stderr] Downloaded raw-cpuid v6.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen v0.2.58 [INFO] [stderr] Downloaded wasmer-clif-fork-frontend v0.44.0 [INFO] [stderr] Downloaded cranelift-bforest v0.44.0 [INFO] [stderr] Downloaded wasmer-win-exception-handler v0.11.0 [INFO] [stderr] Downloaded wasmer-clif-fork-wasm v0.44.0 [INFO] [stderr] Downloaded anyhow v1.0.26 [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded wasmer-runtime-core v0.11.0 [INFO] [stderr] Downloaded serde_cbor v0.10.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.11 [INFO] [stderr] Downloaded thiserror v1.0.11 [INFO] [stderr] Downloaded cranelift-entity v0.44.0 [INFO] [stderr] Downloaded wasmer-clif-backend v0.11.0 [INFO] [stderr] Downloaded weak-table v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.58 [INFO] [stderr] Downloaded errno v0.2.4 [INFO] [stderr] Downloaded page_size v0.4.2 [INFO] [stderr] Downloaded serde_bytes v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1a1e40d345d4cb132498c1f01c54d6b61d3e444438d37b11c34884dcb00b0582 [INFO] running `Command { std: "docker" "start" "-a" "1a1e40d345d4cb132498c1f01c54d6b61d3e444438d37b11c34884dcb00b0582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a1e40d345d4cb132498c1f01c54d6b61d3e444438d37b11c34884dcb00b0582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1e40d345d4cb132498c1f01c54d6b61d3e444438d37b11c34884dcb00b0582", kill_on_drop: false }` [INFO] [stdout] 1a1e40d345d4cb132498c1f01c54d6b61d3e444438d37b11c34884dcb00b0582 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cd8bc3d16952f42517479db2bd747843e0792f12f456aac94de5e2b40874e179 [INFO] running `Command { std: "docker" "start" "-a" "cd8bc3d16952f42517479db2bd747843e0792f12f456aac94de5e2b40874e179", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.58 [INFO] [stderr] Compiling cranelift-entity v0.44.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling cranelift-codegen-shared v0.44.0 [INFO] [stderr] Compiling bumpalo v3.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.44.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cranelift-bforest v0.44.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling wasmparser v0.39.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.58 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling errno v0.2.4 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.41 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling wasmer-runtime-core v0.11.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling half v1.5.0 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling weak-table v0.2.3 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling cranelift-codegen v0.44.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling derive v0.1.0 (https://github.com/noocene/vessels#8ecf1ea5) [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.58 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling web-sys v0.3.35 [INFO] [stderr] Compiling js-sys v0.3.35 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling predicated_ordered v0.1.0 (https://github.com/noocene/predicated-ordered#cb892d11) [INFO] [stderr] Compiling setwaker v0.1.0 (https://github.com/noocene/setwaker#b60fab74) [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_bytes v0.11.3 [INFO] [stderr] Compiling serde-bench v0.0.7 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling erased-serde v0.3.10 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Compiling wasmer-clif-fork-frontend v0.44.0 [INFO] [stderr] Compiling cranelift-native v0.44.0 [INFO] [stderr] Compiling wasmer-clif-fork-wasm v0.44.0 [INFO] [stderr] Compiling wasmer-clif-backend v0.11.0 [INFO] [stderr] Compiling wasmer-runtime v0.11.0 [INFO] [stderr] Compiling vessels v0.1.0 (https://github.com/noocene/vessels#8ecf1ea5) [INFO] [stderr] Compiling wasmTest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::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 `::vessels::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `wasmTest` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `wasm_test` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Serialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVED_Shim` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_vessels_Kind_FOR_DERIVED_Shim` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::Kind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::Kind` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 `::vessels::Kind` which comes from the expansion of the attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Reflected` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Trait` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HtmlCanvasElement`, `MouseEvent`, `console::log_1`, and `window` [INFO] [stdout] --> src/player.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{console::log_1, window, CanvasRenderingContext2d, HtmlCanvasElement, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/player.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn update(&mut self, elapsed: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/player.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn foo(self, context: &CanvasRenderingContext2d) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `foo` is never used [INFO] [stdout] --> src/player.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn foo(self, context: &CanvasRenderingContext2d) {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `plyr` should have an upper case name [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | static ref plyr: Mutex = Mutex::new(Player::new(50.0, 50.0)); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PLYR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::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 `::vessels::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | register(|| Hasher::new().unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | register(|| ::new().unwrap()); [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/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Serialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVED_Shim` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_vessels_Kind_FOR_DERIVED_Shim` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::Kind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::Kind` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 `::vessels::Kind` which comes from the expansion of the attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Reflected` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Trait` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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 1m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.44.0, nom v4.2.3, wasm-bindgen v0.2.58 [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" "cd8bc3d16952f42517479db2bd747843e0792f12f456aac94de5e2b40874e179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8bc3d16952f42517479db2bd747843e0792f12f456aac94de5e2b40874e179", kill_on_drop: false }` [INFO] [stdout] cd8bc3d16952f42517479db2bd747843e0792f12f456aac94de5e2b40874e179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4fb701db7a4ff33c67030b4713baab6f6fdaa78c83b73df31612a336dbcd08c6 [INFO] running `Command { std: "docker" "start" "-a" "4fb701db7a4ff33c67030b4713baab6f6fdaa78c83b73df31612a336dbcd08c6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::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 `::vessels::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `wasmTest` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `wasm_test` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Serialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVED_Shim` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_vessels_Kind_FOR_DERIVED_Shim` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::Kind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::Kind` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 `::vessels::Kind` which comes from the expansion of the attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Reflected` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Trait` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmTest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HtmlCanvasElement`, `MouseEvent`, `console::log_1`, and `window` [INFO] [stdout] --> src/player.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{console::log_1, window, CanvasRenderingContext2d, HtmlCanvasElement, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::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 `::vessels::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::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 `::vessels::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/player.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn update(&mut self, elapsed: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/player.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn foo(self, context: &CanvasRenderingContext2d) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [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 `::vessels::serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `foo` is never used [INFO] [stdout] --> src/player.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn foo(self, context: &CanvasRenderingContext2d) {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `plyr` should have an upper case name [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | static ref plyr: Mutex = Mutex::new(Player::new(50.0, 50.0)); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PLYR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | register(|| Hasher::new().unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | register(|| ::new().unwrap()); [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/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Serialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVED_Shim` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_vessels_Kind_FOR_DERIVED_Shim` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::Kind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::Kind` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 `::vessels::Kind` which comes from the expansion of the attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Reflected` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Trait` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Serialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVE_Items` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::vessels::serde::Deserialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `_DERIVED_Shim` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_vessels_Kind_FOR_DERIVED_Shim` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::vessels::Kind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::vessels::Kind` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 `::vessels::Kind` which comes from the expansion of the attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Reflected` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Trait` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[object] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `State` is not local [INFO] [stdout] | `Kind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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 1.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.44.0, nom v4.2.3, wasm-bindgen v0.2.58 [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" "4fb701db7a4ff33c67030b4713baab6f6fdaa78c83b73df31612a336dbcd08c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb701db7a4ff33c67030b4713baab6f6fdaa78c83b73df31612a336dbcd08c6", kill_on_drop: false }` [INFO] [stdout] 4fb701db7a4ff33c67030b4713baab6f6fdaa78c83b73df31612a336dbcd08c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 551b68baf9248df3d20cf160bf5b4b2c41a35cf882d1bc7151bfb33970edd4a4 [INFO] running `Command { std: "docker" "start" "-a" "551b68baf9248df3d20cf160bf5b4b2c41a35cf882d1bc7151bfb33970edd4a4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [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 `::vessels::serde::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `::vessels::serde::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 `::vessels::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [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 `::vessels::serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `::vessels::serde::Deserialize` 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: this warning originates in the derive macro `::vessels::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: crate `wasmTest` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `wasm_test` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [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:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `_DERIVE_Items` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `::vessels::serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `::vessels::serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `::vessels::serde::Serialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `_DERIVE_Items` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR__DERIVE_Items` and up 3 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `::vessels::serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `::vessels::serde::Deserialize` 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 `::vessels::serde::Deserialize` which comes from the expansion of the derive macro `::vessels::Kind` (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:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `_DERIVED_Shim` is not local [INFO] [stderr] | `Kind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_vessels_Kind_FOR_DERIVED_Shim` and up 3 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `::vessels::Kind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `::vessels::Kind` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 `::vessels::Kind` which comes from the expansion of the attribute macro `object` (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:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `State` is not local [INFO] [stderr] | `Reflected` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `State` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `State` is not local [INFO] [stderr] | `Trait` is not local [INFO] [stderr] | `State` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (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:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[object] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Box` is not local [INFO] [stderr] | `State` is not local [INFO] [stderr] | `Kind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPLEMENT_PROTOCOL_FOR_State` [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `object` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `object` may come from an old version of the `derive` crate, try updating your dependency with `cargo update -p 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 attribute macro `object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `wasmTest` (lib) generated 10 warnings [INFO] [stderr] warning: `wasmTest` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: unused imports: `HtmlCanvasElement`, `MouseEvent`, `console::log_1`, and `window` [INFO] [stderr] --> src/player.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use web_sys::{console::log_1, window, CanvasRenderingContext2d, HtmlCanvasElement, MouseEvent}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `elapsed` [INFO] [stderr] --> src/player.rs:14:30 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn update(&mut self, elapsed: f64) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/player.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn foo(self, context: &CanvasRenderingContext2d) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: method `foo` is never used [INFO] [stderr] --> src/player.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Player { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn foo(self, context: &CanvasRenderingContext2d) {} [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `plyr` should have an upper case name [INFO] [stderr] --> src/main.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | static ref plyr: Mutex = Mutex::new(Player::new(50.0, 50.0)); [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `PLYR` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: found module declaration for lib.rs [INFO] [stderr] --> src/server.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | mod lib; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lib.rs is the root of this crate's library target [INFO] [stderr] = help: to refer to it from other targets, use the library's name as the path [INFO] [stderr] = note: `#[warn(special_module_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | register(|| Hasher::new().unwrap()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 | register(|| ::new().unwrap()); [INFO] [stderr] | ++++ + [INFO] [stderr] [INFO] [stderr] warning: `wasmTest` (bin "wasmTest" test) generated 6 warnings (run `cargo fix --bin "wasmTest" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `wasmTest` (bin "server" test) generated 11 warnings (9 duplicates) (run `cargo fix --bin "server" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.44.0, nom v4.2.3, wasm-bindgen v0.2.58 [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/wasmTest-422b2d4b82698c08) [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] [stderr] Running unittests src/server.rs (/opt/rustwide/target/debug/deps/server-b5b01a760e81de58) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wasmTest-f98df14d05549dd8) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests wasmTest [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] [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" "551b68baf9248df3d20cf160bf5b4b2c41a35cf882d1bc7151bfb33970edd4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551b68baf9248df3d20cf160bf5b4b2c41a35cf882d1bc7151bfb33970edd4a4", kill_on_drop: false }` [INFO] [stdout] 551b68baf9248df3d20cf160bf5b4b2c41a35cf882d1bc7151bfb33970edd4a4