[INFO] fetching crate cw_parser 0.1.3... [INFO] testing cw_parser-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cw_parser 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cw_parser 0.1.3 [INFO] finished tweaking crates.io crate cw_parser 0.1.3 [INFO] tweaked toml for crates.io crate cw_parser 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cw_parser 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 173 packages to latest compatible versions [INFO] [stderr] Adding rusoto_logs v0.47.0 (available: v0.48.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd3475f1183a433e15e75e869390b46c48a9ad2a82239afa72f2943326667639 [INFO] running `Command { std: "docker" "start" "-a" "fd3475f1183a433e15e75e869390b46c48a9ad2a82239afa72f2943326667639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd3475f1183a433e15e75e869390b46c48a9ad2a82239afa72f2943326667639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3475f1183a433e15e75e869390b46c48a9ad2a82239afa72f2943326667639", kill_on_drop: false }` [INFO] [stdout] fd3475f1183a433e15e75e869390b46c48a9ad2a82239afa72f2943326667639 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd6f5c0992a5f81ed7a9cdafde831f12aabf75964797870df8e70d683999b257 [INFO] running `Command { std: "docker" "start" "-a" "cd6f5c0992a5f81ed7a9cdafde831f12aabf75964797870df8e70d683999b257", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rusoto_core v0.47.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling recap-derive v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling recap v0.1.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rusoto_credential v0.47.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling rusoto_signature v0.47.0 [INFO] [stderr] Compiling rusoto_logs v0.47.0 [INFO] [stderr] Compiling cw_parser v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | ... time: NaiveDateTime::from_timestamp(duration.as_secs() as i64, duration.subsec_nanos()).format("%Y-%m-%dT%H:%M:%SZ").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "cd6f5c0992a5f81ed7a9cdafde831f12aabf75964797870df8e70d683999b257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6f5c0992a5f81ed7a9cdafde831f12aabf75964797870df8e70d683999b257", kill_on_drop: false }` [INFO] [stdout] cd6f5c0992a5f81ed7a9cdafde831f12aabf75964797870df8e70d683999b257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efdb9ba26bed7e9052b995cea1c93e2360c7c4a32534c587d06c0b4d36739b93 [INFO] running `Command { std: "docker" "start" "-a" "efdb9ba26bed7e9052b995cea1c93e2360c7c4a32534c587d06c0b4d36739b93", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | ... time: NaiveDateTime::from_timestamp(duration.as_secs() as i64, duration.subsec_nanos()).format("%Y-%m-%dT%H:%M:%SZ").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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] [stderr] Compiling cw_parser v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | ... time: NaiveDateTime::from_timestamp(duration.as_secs() as i64, duration.subsec_nanos()).format("%Y-%m-%dT%H:%M:%SZ").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/node.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_NodeCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct NodeCloudWatchLog { [INFO] [stdout] | ----------------- `NodeCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[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_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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/python.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_PythonCloudWatchLog` [INFO] [stdout] ... [INFO] [stdout] 15 | struct PythonCloudWatchLog { [INFO] [stdout] | ------------------- `PythonCloudWatchLog` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "efdb9ba26bed7e9052b995cea1c93e2360c7c4a32534c587d06c0b4d36739b93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efdb9ba26bed7e9052b995cea1c93e2360c7c4a32534c587d06c0b4d36739b93", kill_on_drop: false }` [INFO] [stdout] efdb9ba26bed7e9052b995cea1c93e2360c7c4a32534c587d06c0b4d36739b93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 50b50b6aa9018c7673875bcd0fc45e07f8b761eea0156d191c27a505e325bf39 [INFO] running `Command { std: "docker" "start" "-a" "50b50b6aa9018c7673875bcd0fc45e07f8b761eea0156d191c27a505e325bf39", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/lib.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | ... time: NaiveDateTime::from_timestamp(duration.as_secs() as i64, duration.subsec_nanos()).format("%Y-%m-%dT%H:%M:%SZ").to_string() [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` 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/node.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `TryFrom` is not local [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_NodeCloudWatchLog` [INFO] [stderr] ... [INFO] [stderr] 15 | struct NodeCloudWatchLog { [INFO] [stderr] | ----------------- `NodeCloudWatchLog` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Recap` (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/node.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `FromStr` is not local [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_NodeCloudWatchLog` [INFO] [stderr] ... [INFO] [stderr] 15 | struct NodeCloudWatchLog { [INFO] [stderr] | ----------------- `NodeCloudWatchLog` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Recap` (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/node.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_NodeCloudWatchLog` [INFO] [stderr] ... [INFO] [stderr] 15 | struct NodeCloudWatchLog { [INFO] [stderr] | ----------------- `NodeCloudWatchLog` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Recap` (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/python.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `TryFrom` is not local [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_PythonCloudWatchLog` [INFO] [stderr] ... [INFO] [stderr] 15 | struct PythonCloudWatchLog { [INFO] [stderr] | ------------------- `PythonCloudWatchLog` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Recap` (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/python.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `FromStr` is not local [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_PythonCloudWatchLog` [INFO] [stderr] ... [INFO] [stderr] 15 | struct PythonCloudWatchLog { [INFO] [stderr] | ------------------- `PythonCloudWatchLog` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Recap` (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/python.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_PythonCloudWatchLog` [INFO] [stderr] ... [INFO] [stderr] 15 | struct PythonCloudWatchLog { [INFO] [stderr] | ------------------- `PythonCloudWatchLog` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cw_parser` (lib) generated 7 warnings [INFO] [stderr] warning: `cw_parser` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cw_parser-46b70b92a155639e) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test dotnet::tests::test_parse_dotnet ... ok [INFO] [stdout] test python::tests::test_parse_python ... ok [INFO] [stdout] test tests::can_parse_dotnet ... ok [INFO] [stdout] test tests::cannot_parse ... ok [INFO] [stdout] test node::tests::test_parse_node_json ... ok [INFO] [stdout] test tests::can_parse_node ... ok [INFO] [stdout] test node::tests::test_parse_node_non_json ... ok [INFO] [stdout] test tests::can_parse_python ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests cw_parser [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" "50b50b6aa9018c7673875bcd0fc45e07f8b761eea0156d191c27a505e325bf39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b50b6aa9018c7673875bcd0fc45e07f8b761eea0156d191c27a505e325bf39", kill_on_drop: false }` [INFO] [stdout] 50b50b6aa9018c7673875bcd0fc45e07f8b761eea0156d191c27a505e325bf39