[INFO] fetching crate cargo-rpm 0.8.0... [INFO] checking cargo-rpm-0.8.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cargo-rpm 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate cargo-rpm 0.8.0 [INFO] finished tweaking crates.io crate cargo-rpm 0.8.0 [INFO] tweaked toml for crates.io crate cargo-rpm 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-rpm 0.8.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-rpm 0.8.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdb62d32b123fa66791e740ef22bc5899e89076bf6f4e777f8614b247c3e863f [INFO] running `Command { std: "docker" "start" "-a" "bdb62d32b123fa66791e740ef22bc5899e89076bf6f4e777f8614b247c3e863f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdb62d32b123fa66791e740ef22bc5899e89076bf6f4e777f8614b247c3e863f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb62d32b123fa66791e740ef22bc5899e89076bf6f4e777f8614b247c3e863f", kill_on_drop: false }` [INFO] [stdout] bdb62d32b123fa66791e740ef22bc5899e89076bf6f4e777f8614b247c3e863f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07e05e1844a655866e75ddacd7e46d570a8f84eae45c0c0f19a2a433fc93c09d [INFO] running `Command { std: "docker" "start" "-a" "07e05e1844a655866e75ddacd7e46d570a8f84eae45c0c0f19a2a433fc93c09d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking tracing-core v0.1.11 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking canonical-path v2.0.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking tar v0.4.29 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking color-backtrace v0.3.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling gumdrop_derive v0.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tracing v0.1.16 [INFO] [stderr] Checking gumdrop v0.7.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling abscissa_derive v0.5.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking handlebars v3.2.1 [INFO] [stderr] Checking cargo_metadata v0.10.0 [INFO] [stderr] Checking tracing-subscriber v0.1.6 [INFO] [stderr] Checking abscissa_core v0.5.2 [INFO] [stderr] Checking cargo-rpm v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unused imports: `app_reader` and `app_writer` [INFO] [stdout] --> src/prelude.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | pub use crate::application::{app_config, app_reader, app_writer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs, trivial_casts, unused_qualifications)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused doc comment [INFO] [stdout] --> src/templates.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | /// TODO: better handling of target binaries and their paths [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | bin_path: PathBuf::from("/usr/sbin").join(&package.rpm_name()), [INFO] [stdout] | -------------------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[deny(unused_doc_comments)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `app_reader` and `app_writer` [INFO] [stdout] --> src/prelude.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | pub use crate::application::{app_config, app_reader, app_writer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs, trivial_casts, unused_qualifications)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused doc comment [INFO] [stdout] --> src/templates.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | /// TODO: better handling of target binaries and their paths [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | bin_path: PathBuf::from("/usr/sbin").join(&package.rpm_name()), [INFO] [stdout] | -------------------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[deny(unused_doc_comments)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_CargoRpmCmd` [INFO] [stdout] 14 | pub enum CargoRpmCmd { [INFO] [stdout] | ----------- `CargoRpmCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Runnable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Runnable_FOR_CargoRpmCmd` [INFO] [stdout] 14 | pub enum CargoRpmCmd { [INFO] [stdout] | ----------- `CargoRpmCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Runnable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Runnable` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Runnable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_RpmCommand` [INFO] [stdout] 22 | pub enum RpmCommand { [INFO] [stdout] | ---------- `RpmCommand` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Runnable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Runnable_FOR_RpmCommand` [INFO] [stdout] 22 | pub enum RpmCommand { [INFO] [stdout] | ---------- `RpmCommand` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Runnable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Runnable` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Runnable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands/build.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Command, Debug, Default, Options)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_BuildCmd` [INFO] [stdout] 14 | pub struct BuildCmd { [INFO] [stdout] | -------- `BuildCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands/init.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Command, Debug, Default, Options)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_InitCmd` [INFO] [stdout] 25 | pub struct InitCmd { [INFO] [stdout] | ------- `InitCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands/version.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Command, Debug, Default, Options)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_VersionCmd` [INFO] [stdout] 10 | pub struct VersionCmd {} [INFO] [stdout] | ---------- `VersionCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-rpm` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_CargoRpmCmd` [INFO] [stdout] 14 | pub enum CargoRpmCmd { [INFO] [stdout] | ----------- `CargoRpmCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Runnable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Runnable_FOR_CargoRpmCmd` [INFO] [stdout] 14 | pub enum CargoRpmCmd { [INFO] [stdout] | ----------- `CargoRpmCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Runnable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Runnable` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Runnable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_RpmCommand` [INFO] [stdout] 22 | pub enum RpmCommand { [INFO] [stdout] | ---------- `RpmCommand` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Command, Debug, Options, Runnable)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Runnable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Runnable_FOR_RpmCommand` [INFO] [stdout] 22 | pub enum RpmCommand { [INFO] [stdout] | ---------- `RpmCommand` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Runnable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Runnable` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Runnable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands/build.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Command, Debug, Default, Options)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_BuildCmd` [INFO] [stdout] 14 | pub struct BuildCmd { [INFO] [stdout] | -------- `BuildCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands/init.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Command, Debug, Default, Options)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_InitCmd` [INFO] [stdout] 25 | pub struct InitCmd { [INFO] [stdout] | ------- `InitCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/commands/version.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Command, Debug, Default, Options)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Command` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Command_FOR_VersionCmd` [INFO] [stdout] 10 | pub struct VersionCmd {} [INFO] [stdout] | ---------- `VersionCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Command` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Command` may come from an old version of the `abscissa_derive` crate, try updating your dependency with `cargo update -p abscissa_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 error originates in the derive macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-rpm` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "07e05e1844a655866e75ddacd7e46d570a8f84eae45c0c0f19a2a433fc93c09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e05e1844a655866e75ddacd7e46d570a8f84eae45c0c0f19a2a433fc93c09d", kill_on_drop: false }` [INFO] [stdout] 07e05e1844a655866e75ddacd7e46d570a8f84eae45c0c0f19a2a433fc93c09d