[INFO] cloning repository https://github.com/gurleen/allsport-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gurleen/allsport-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgurleen%2Fallsport-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgurleen%2Fallsport-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d62a736aaa8d7b67b5d91468d6a0f4dce825c50b [INFO] building gurleen/allsport-reader against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgurleen%2Fallsport-reader" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/gurleen/allsport-reader [INFO] finished tweaking git repo https://github.com/gurleen/allsport-reader [INFO] tweaked toml for git repo https://github.com/gurleen/allsport-reader written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gurleen/allsport-reader on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gurleen/allsport-reader 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mach2 v0.4.1 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded recap-derive v0.1.2 [INFO] [stderr] Downloaded recap v0.1.2 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded tungstenite v0.17.3 [INFO] [stderr] Downloaded anstyle-parse v0.2.2 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded home v0.5.5 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.2 [INFO] [stderr] Downloaded http v0.2.10 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded serialport v4.2.2 [INFO] [stderr] Downloaded terminfo v0.8.0 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded tokio v1.34.0 [INFO] [stderr] Downloaded errno v0.3.6 [INFO] [stderr] Downloaded rust_socketio v0.4.3 [INFO] [stderr] Downloaded clearscreen v2.0.1 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] [stderr] Downloaded rust_engineio v0.4.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb3de37e8fd7e7a265909e1662731c7ca696411b98aa16ac1c0ae6ce4ee72680 [INFO] running `Command { std: "docker" "start" "-a" "bb3de37e8fd7e7a265909e1662731c7ca696411b98aa16ac1c0ae6ce4ee72680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb3de37e8fd7e7a265909e1662731c7ca696411b98aa16ac1c0ae6ce4ee72680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3de37e8fd7e7a265909e1662731c7ca696411b98aa16ac1c0ae6ce4ee72680", kill_on_drop: false }` [INFO] [stdout] bb3de37e8fd7e7a265909e1662731c7ca696411b98aa16ac1c0ae6ce4ee72680 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 494688ff86a5af6b3f9ac056e66fd725da470ef5c86dd915becc4865e88e3107 [INFO] running `Command { std: "docker" "start" "-a" "494688ff86a5af6b3f9ac056e66fd725da470ef5c86dd915becc4865e88e3107", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling http v0.2.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling serialport v4.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling clearscreen v2.0.1 [INFO] [stderr] Compiling recap-derive v0.1.2 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling recap v0.1.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling rust_engineio v0.4.3 [INFO] [stderr] Compiling rust_socketio v0.4.3 [INFO] [stderr] Compiling allsport v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `TryFrom` is not local [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_AllSportUpdate` [INFO] [stdout] ... [INFO] [stdout] 27 | struct AllSportUpdate { [INFO] [stdout] | -------------- `AllSportUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_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 `Recap` (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/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_AllSportUpdate` [INFO] [stdout] ... [INFO] [stdout] 27 | struct AllSportUpdate { [INFO] [stdout] | -------------- `AllSportUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_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 `Recap` (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/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_AllSportUpdate` [INFO] [stdout] ... [INFO] [stdout] 27 | struct AllSportUpdate { [INFO] [stdout] | -------------- `AllSportUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_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 `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | println!("{} = {}", key.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "494688ff86a5af6b3f9ac056e66fd725da470ef5c86dd915becc4865e88e3107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494688ff86a5af6b3f9ac056e66fd725da470ef5c86dd915becc4865e88e3107", kill_on_drop: false }` [INFO] [stdout] 494688ff86a5af6b3f9ac056e66fd725da470ef5c86dd915becc4865e88e3107 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 907c0d332de7c5967c7259aeb195336a081b43287dbc636aa39884c2b3345a31 [INFO] running `Command { std: "docker" "start" "-a" "907c0d332de7c5967c7259aeb195336a081b43287dbc636aa39884c2b3345a31", kill_on_drop: false }` [INFO] [stderr] Compiling allsport v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `TryFrom` is not local [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_AllSportUpdate` [INFO] [stdout] ... [INFO] [stdout] 27 | struct AllSportUpdate { [INFO] [stdout] | -------------- `AllSportUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_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 `Recap` (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/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_AllSportUpdate` [INFO] [stdout] ... [INFO] [stdout] 27 | struct AllSportUpdate { [INFO] [stdout] | -------------- `AllSportUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_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 `Recap` (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/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_AllSportUpdate` [INFO] [stdout] ... [INFO] [stdout] 27 | struct AllSportUpdate { [INFO] [stdout] | -------------- `AllSportUpdate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_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 `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | println!("{} = {}", key.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "907c0d332de7c5967c7259aeb195336a081b43287dbc636aa39884c2b3345a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907c0d332de7c5967c7259aeb195336a081b43287dbc636aa39884c2b3345a31", kill_on_drop: false }` [INFO] [stdout] 907c0d332de7c5967c7259aeb195336a081b43287dbc636aa39884c2b3345a31