[INFO] cloning repository https://github.com/tanyaionova/evr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanyaionova/evr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanyaionova%2Fevr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanyaionova%2Fevr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81d318ab62b4742eaf2b8f6a1e5270cf2f76f8b3 [INFO] checking tanyaionova/evr against master#18a029cfe8e761533634bda8fe8a14e30280a21b for pr-139646 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanyaionova%2Fevr" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tanyaionova/evr on toolchain 18a029cfe8e761533634bda8fe8a14e30280a21b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tanyaionova/evr [INFO] finished tweaking git repo https://github.com/tanyaionova/evr [INFO] tweaked toml for git repo https://github.com/tanyaionova/evr written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tanyaionova/evr 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" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20ab81e1b2d3c681fc569eaa2ae4cea8b1c66eca8a386686d01023a6e8500e67 [INFO] running `Command { std: "docker" "start" "-a" "20ab81e1b2d3c681fc569eaa2ae4cea8b1c66eca8a386686d01023a6e8500e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20ab81e1b2d3c681fc569eaa2ae4cea8b1c66eca8a386686d01023a6e8500e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ab81e1b2d3c681fc569eaa2ae4cea8b1c66eca8a386686d01023a6e8500e67", kill_on_drop: false }` [INFO] [stdout] 20ab81e1b2d3c681fc569eaa2ae4cea8b1c66eca8a386686d01023a6e8500e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f511f303568fff68f33d5edf9f167eabfbd3402a23c61da9927474d94f50df76 [INFO] running `Command { std: "docker" "start" "-a" "f511f303568fff68f33d5edf9f167eabfbd3402a23c61da9927474d94f50df76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking evr v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/backends/clang.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `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/backends/clang_c.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `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/backends/python.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Deserialize, Default)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `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/conf.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `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/backends/clang.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `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/backends/clang_c.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `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/backends/python.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Deserialize, Default)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `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/conf.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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 `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_template` is never used [INFO] [stdout] --> src/backends/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait Backend { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 25 | fn get_template(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/wait/rusage_ffi.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Rusage { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub ru_utime: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub ru_stime: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub ru_maxrss: i64, [INFO] [stdout] 9 | pub ru_ixrss: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub ru_idrss: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub ru_isrss: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub ru_minflt: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub ru_majflt: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub ru_nswap: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub ru_inblock: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub ru_oublock: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub ru_msgsnd: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub ru_msgrcv: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub ru_nsignals: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub ru_nvcsw: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub ru_nivcsw: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rusage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/backends/clang.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClangBackend` [INFO] [stdout] 12 | pub struct ClangBackend { [INFO] [stdout] | ------------ `ClangBackend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/backends/clang_c.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClangCBackend` [INFO] [stdout] 12 | pub struct ClangCBackend { [INFO] [stdout] | ------------- `ClangCBackend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_template` is never used [INFO] [stdout] --> src/backends/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait Backend { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 25 | fn get_template(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/wait/rusage_ffi.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Rusage { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub ru_utime: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub ru_stime: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub ru_maxrss: i64, [INFO] [stdout] 9 | pub ru_ixrss: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub ru_idrss: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub ru_isrss: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub ru_minflt: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub ru_majflt: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub ru_nswap: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub ru_inblock: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub ru_oublock: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub ru_msgsnd: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub ru_msgrcv: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub ru_nsignals: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub ru_nvcsw: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub ru_nivcsw: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rusage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/backends/clang.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClangBackend` [INFO] [stdout] 12 | pub struct ClangBackend { [INFO] [stdout] | ------------ `ClangBackend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/backends/clang_c.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClangCBackend` [INFO] [stdout] 12 | pub struct ClangCBackend { [INFO] [stdout] | ------------- `ClangCBackend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Deserialize` (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/backends/clang_c.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | .arg(fname.clone().as_os_str()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 45 - .arg(fname.clone().as_os_str()) [INFO] [stdout] 45 + .arg(fname.as_os_str()) [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/backends/python.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Deserialize, Default)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PythonBackend` [INFO] [stdout] 10 | pub struct PythonBackend { [INFO] [stdout] | ------------- `PythonBackend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Deserialize` (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/backends/clang_c.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | .arg(fname.clone().as_os_str()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 45 - .arg(fname.clone().as_os_str()) [INFO] [stdout] 45 + .arg(fname.as_os_str()) [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/backends/python.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Deserialize, Default)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PythonBackend` [INFO] [stdout] 10 | pub struct PythonBackend { [INFO] [stdout] | ------------- `PythonBackend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Deserialize` (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/conf.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 11 | pub struct Conf { [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Deserialize` (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/conf.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 11 | pub struct Conf { [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `Deserialize` (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 23.38s [INFO] running `Command { std: "docker" "inspect" "f511f303568fff68f33d5edf9f167eabfbd3402a23c61da9927474d94f50df76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f511f303568fff68f33d5edf9f167eabfbd3402a23c61da9927474d94f50df76", kill_on_drop: false }` [INFO] [stdout] f511f303568fff68f33d5edf9f167eabfbd3402a23c61da9927474d94f50df76