[INFO] fetching crate cargo-rpm 0.8.0... [INFO] testing cargo-rpm-0.8.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cargo-rpm 0.8.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-rpm 0.8.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.9 [INFO] [stderr] Downloaded cargo_metadata v0.10.0 [INFO] [stderr] Downloaded adler v0.2.2 [INFO] [stderr] Downloaded generational-arena v0.2.8 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded tracing-core v0.1.11 [INFO] [stderr] Downloaded tracing v0.1.16 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded flate2 v1.0.16 [INFO] [stderr] Downloaded tar v0.4.29 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded signal-hook v0.1.16 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded handlebars v3.2.1 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1693cb9ae03d4498b8122c2d3f73b2fb0206a875b39273049dcf609447421bd5 [INFO] running `Command { std: "docker" "start" "-a" "1693cb9ae03d4498b8122c2d3f73b2fb0206a875b39273049dcf609447421bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1693cb9ae03d4498b8122c2d3f73b2fb0206a875b39273049dcf609447421bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1693cb9ae03d4498b8122c2d3f73b2fb0206a875b39273049dcf609447421bd5", kill_on_drop: false }` [INFO] [stdout] 1693cb9ae03d4498b8122c2d3f73b2fb0206a875b39273049dcf609447421bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c4651fd7fb88ec5b31d67edfd7c4b342a0fc220e4c2c1eff58022eb52dd75f [INFO] running `Command { std: "docker" "start" "-a" "a2c4651fd7fb88ec5b31d67edfd7c4b342a0fc220e4c2c1eff58022eb52dd75f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling 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] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling adler v0.2.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling canonical-path v2.0.2 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling tar v0.4.29 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling 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 tracing-attributes v0.1.9 [INFO] [stderr] Compiling gumdrop_derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling tracing v0.1.16 [INFO] [stderr] Compiling gumdrop v0.7.0 [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] Compiling semver v0.9.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling secrecy v0.6.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling tracing-subscriber v0.1.6 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Compiling handlebars v3.2.1 [INFO] [stderr] Compiling abscissa_core v0.5.2 [INFO] [stderr] Compiling 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: 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] running `Command { std: "docker" "inspect" "a2c4651fd7fb88ec5b31d67edfd7c4b342a0fc220e4c2c1eff58022eb52dd75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c4651fd7fb88ec5b31d67edfd7c4b342a0fc220e4c2c1eff58022eb52dd75f", kill_on_drop: false }` [INFO] [stdout] a2c4651fd7fb88ec5b31d67edfd7c4b342a0fc220e4c2c1eff58022eb52dd75f