[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 try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanyaionova%2Fevr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanyaionova/evr on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tanyaionova/evr against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanyaionova%2Fevr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanyaionova/evr on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wait-timeout v0.1.5 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded nix v0.16.1 [INFO] [stderr] Downloaded regex v1.3.6 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95a2096651b18cc77e751d65944a20dea1e574f176d9c1624ab9638904f1ea85 [INFO] running `Command { std: "docker" "start" "-a" "95a2096651b18cc77e751d65944a20dea1e574f176d9c1624ab9638904f1ea85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a2096651b18cc77e751d65944a20dea1e574f176d9c1624ab9638904f1ea85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a2096651b18cc77e751d65944a20dea1e574f176d9c1624ab9638904f1ea85", kill_on_drop: false }` [INFO] [stdout] 95a2096651b18cc77e751d65944a20dea1e574f176d9c1624ab9638904f1ea85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba76597e9745f4d19ffbe4fb1d514bb65d5a49e6c41522d6d74818f3ca4b058b [INFO] running `Command { std: "docker" "start" "-a" "ba76597e9745f4d19ffbe4fb1d514bb65d5a49e6c41522d6d74818f3ca4b058b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [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 toml v0.5.6 [INFO] [stderr] Checking env_logger v0.7.1 [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: field `template` is never read [INFO] [stdout] --> src/backends/clang.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ClangBackend { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 13 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/backends/clang_c.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ClangCBackend { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangCBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/backends/python.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PythonBackend { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PythonBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: 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: field `template` is never read [INFO] [stdout] --> src/backends/clang.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ClangBackend { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 13 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/backends/clang_c.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ClangCBackend { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangCBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/backends/python.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PythonBackend { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PythonBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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 13.97s [INFO] running `Command { std: "docker" "inspect" "ba76597e9745f4d19ffbe4fb1d514bb65d5a49e6c41522d6d74818f3ca4b058b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba76597e9745f4d19ffbe4fb1d514bb65d5a49e6c41522d6d74818f3ca4b058b", kill_on_drop: false }` [INFO] [stdout] ba76597e9745f4d19ffbe4fb1d514bb65d5a49e6c41522d6d74818f3ca4b058b