[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] testing tanyaionova/evr against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanyaionova%2Fevr" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanyaionova/evr on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0300b059168d2744960e6a446ae8ef1ad383c9f0c5021c3a6116cee01eae3a54 [INFO] running `Command { std: "docker" "start" "-a" "0300b059168d2744960e6a446ae8ef1ad383c9f0c5021c3a6116cee01eae3a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0300b059168d2744960e6a446ae8ef1ad383c9f0c5021c3a6116cee01eae3a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0300b059168d2744960e6a446ae8ef1ad383c9f0c5021c3a6116cee01eae3a54", kill_on_drop: false }` [INFO] [stdout] 0300b059168d2744960e6a446ae8ef1ad383c9f0c5021c3a6116cee01eae3a54 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcc7a18bcb465e6d738e92086b01031057c89c4dda609fc30c4daef17e4f50f1 [INFO] running `Command { std: "docker" "start" "-a" "dcc7a18bcb465e6d738e92086b01031057c89c4dda609fc30c4daef17e4f50f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.1.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling 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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [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.14s [INFO] running `Command { std: "docker" "inspect" "dcc7a18bcb465e6d738e92086b01031057c89c4dda609fc30c4daef17e4f50f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc7a18bcb465e6d738e92086b01031057c89c4dda609fc30c4daef17e4f50f1", kill_on_drop: false }` [INFO] [stdout] dcc7a18bcb465e6d738e92086b01031057c89c4dda609fc30c4daef17e4f50f1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9b4b326d2162f6ea771c504029aa69c086d9cf83bf9be826796ee4c04781185 [INFO] running `Command { std: "docker" "start" "-a" "a9b4b326d2162f6ea771c504029aa69c086d9cf83bf9be826796ee4c04781185", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [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 `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "a9b4b326d2162f6ea771c504029aa69c086d9cf83bf9be826796ee4c04781185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b4b326d2162f6ea771c504029aa69c086d9cf83bf9be826796ee4c04781185", kill_on_drop: false }` [INFO] [stdout] a9b4b326d2162f6ea771c504029aa69c086d9cf83bf9be826796ee4c04781185 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0435bdee1b60ccdfece4a4b224b9c9cce837d1e471e4fb8126b091720676cc16 [INFO] running `Command { std: "docker" "start" "-a" "0435bdee1b60ccdfece4a4b224b9c9cce837d1e471e4fb8126b091720676cc16", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/backends/clang.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/backends/clang_c.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/backends/python.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Deserialize, Default)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/conf.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `get_template` is never used [INFO] [stderr] --> src/backends/mod.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub trait Backend { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] 25 | fn get_template(&self) -> Option<&str>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `template` is never read [INFO] [stderr] --> src/backends/clang.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ClangBackend { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 13 | template: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClangBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `template` is never read [INFO] [stderr] --> src/backends/clang_c.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ClangCBackend { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 13 | template: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClangCBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `template` is never read [INFO] [stderr] --> src/backends/python.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct PythonBackend { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 11 | template: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PythonBackend` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/wait/rusage_ffi.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Rusage { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 6 | pub ru_utime: Duration, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 7 | pub ru_stime: Duration, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 8 | pub ru_maxrss: i64, [INFO] [stderr] 9 | pub ru_ixrss: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 10 | pub ru_idrss: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | pub ru_isrss: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | pub ru_minflt: i64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 13 | pub ru_majflt: i64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 14 | pub ru_nswap: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | pub ru_inblock: i64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 16 | pub ru_oublock: i64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 17 | pub ru_msgsnd: i64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 18 | pub ru_msgrcv: i64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 19 | pub ru_nsignals: i64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 20 | pub ru_nvcsw: i64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 21 | pub ru_nivcsw: i64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Rusage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/backends/clang.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClangBackend` [INFO] [stderr] 12 | pub struct ClangBackend { [INFO] [stderr] | ------------ `ClangBackend` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Deserialize` (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/backends/clang_c.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize, Default)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ClangCBackend` [INFO] [stderr] 12 | pub struct ClangCBackend { [INFO] [stderr] | ------------- `ClangCBackend` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/backends/clang_c.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | .arg(fname.clone().as_os_str()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 45 - .arg(fname.clone().as_os_str()) [INFO] [stderr] 45 + .arg(fname.as_os_str()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/backends/python.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Deserialize, Default)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PythonBackend` [INFO] [stderr] 10 | pub struct PythonBackend { [INFO] [stderr] | ------------- `PythonBackend` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Deserialize` (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/conf.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stderr] 11 | pub struct Conf { [INFO] [stderr] | ---- `Conf` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `evr` (bin "evr" test) generated 14 warnings (run `cargo fix --bin "evr" -p evr --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/evr-e6d9f88ff0cf6540) [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" "0435bdee1b60ccdfece4a4b224b9c9cce837d1e471e4fb8126b091720676cc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0435bdee1b60ccdfece4a4b224b9c9cce837d1e471e4fb8126b091720676cc16", kill_on_drop: false }` [INFO] [stdout] 0435bdee1b60ccdfece4a4b224b9c9cce837d1e471e4fb8126b091720676cc16