[INFO] fetching crate cargo-creator 0.4.1... [INFO] checking cargo-creator-0.4.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cargo-creator 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate cargo-creator 0.4.1 [INFO] finished tweaking crates.io crate cargo-creator 0.4.1 [INFO] tweaked toml for crates.io crate cargo-creator 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-creator 0.4.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-creator 0.4.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e2d76b4865c99db194dc5b719f38ff6c7cdd98d053d295cf7c838bb92410ef9 [INFO] running `Command { std: "docker" "start" "-a" "1e2d76b4865c99db194dc5b719f38ff6c7cdd98d053d295cf7c838bb92410ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e2d76b4865c99db194dc5b719f38ff6c7cdd98d053d295cf7c838bb92410ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2d76b4865c99db194dc5b719f38ff6c7cdd98d053d295cf7c838bb92410ef9", kill_on_drop: false }` [INFO] [stdout] 1e2d76b4865c99db194dc5b719f38ff6c7cdd98d053d295cf7c838bb92410ef9 [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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25433ce46f9e8f5594d5c9f1ad42c5bc03104307756988dbd5b84d6441188c18 [INFO] running `Command { std: "docker" "start" "-a" "25433ce46f9e8f5594d5c9f1ad42c5bc03104307756988dbd5b84d6441188c18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking yaserde v0.7.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling displaydoc v0.2.1 [INFO] [stderr] Compiling yaserde_derive v0.7.0 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking serde_plain v0.3.0 [INFO] [stderr] Checking plist v1.1.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking android-manifest v0.1.2 [INFO] [stderr] Checking apple-bundle v0.1.2 [INFO] [stderr] Checking cargo_toml v0.8.1 [INFO] [stderr] Checking creator-simctl v0.1.1 [INFO] [stderr] Checking creator-tools v0.4.1 [INFO] [stderr] Checking cargo-creator v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The current directory where to run all commands [INFO] [stdout] 18 | | #[clap(short, long)] [INFO] [stdout] 19 | | pub current_dir: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The current directory where to run all commands [INFO] [stdout] 18 | | #[clap(short, long)] [INFO] [stdout] 19 | | pub current_dir: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Build the specified example [INFO] [stdout] 35 | | #[clap(long)] [INFO] [stdout] 36 | | pub example: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Space or comma separated list of features to activate. These features only apply to the current [INFO] [stdout] 38 | | /// directory's package. Features of direct dependencies may be enabled with `/` syntax. [INFO] [stdout] 39 | | /// This flag may be specified multiple times, which enables all specified features [INFO] [stdout] 40 | | #[clap(long)] [INFO] [stdout] 41 | | pub features: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Directory for generated artifact and intermediate files [INFO] [stdout] 52 | | #[clap(long)] [INFO] [stdout] 53 | | pub target_dir: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// Path to the signing key [INFO] [stdout] 22 | | #[clap(long)] [INFO] [stdout] 23 | | pub sign_key_path: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Signing key password [INFO] [stdout] 25 | | #[clap(long)] [INFO] [stdout] 26 | | pub sign_key_pass: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Specify custom cargo binary [INFO] [stdout] 13 | | #[clap(long, conflicts_with = "example")] [INFO] [stdout] 14 | | pub bin: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Provisioning profile name to find in this directory: `~/Library/MobileDevice/Provisioning\ Profiles/` [INFO] [stdout] 20 | | #[clap(long, conflicts_with = "profile-path")] [INFO] [stdout] 21 | | pub profile_name: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// Absolute path to provisioning profile [INFO] [stdout] 23 | | #[clap(long)] [INFO] [stdout] 24 | | pub profile_path: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// The team identifier of your signing identity [INFO] [stdout] 26 | | #[clap(long)] [INFO] [stdout] 27 | | pub team_identifier: Option, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Build the specified example [INFO] [stdout] 35 | | #[clap(long)] [INFO] [stdout] 36 | | pub example: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// The id of the identity used for signing. It won't start the signing process until you provide this flag [INFO] [stdout] 29 | | #[clap(long)] [INFO] [stdout] 30 | | pub identity: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Space or comma separated list of features to activate. These features only apply to the current [INFO] [stdout] 38 | | /// directory's package. Features of direct dependencies may be enabled with `/` syntax. [INFO] [stdout] 39 | | /// This flag may be specified multiple times, which enables all specified features [INFO] [stdout] 40 | | #[clap(long)] [INFO] [stdout] 41 | | pub features: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Directory for generated artifact and intermediate files [INFO] [stdout] 52 | | #[clap(long)] [INFO] [stdout] 53 | | pub target_dir: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// Path to the signing key [INFO] [stdout] 22 | | #[clap(long)] [INFO] [stdout] 23 | | pub sign_key_path: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Signing key password [INFO] [stdout] 25 | | #[clap(long)] [INFO] [stdout] 26 | | pub sign_key_pass: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Directory to create / project name; if the name isn't in kebab-case, it will be converted [INFO] [stdout] 13 | | /// to kebab-case unless `--force` is given. [INFO] [stdout] 14 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// Name of the template to create. [INFO] [stdout] 16 | | #[clap(long, short)] [INFO] [stdout] 17 | | pub template: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Specify custom cargo binary [INFO] [stdout] 13 | | #[clap(long, conflicts_with = "example")] [INFO] [stdout] 14 | | pub bin: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Provisioning profile name to find in this directory: `~/Library/MobileDevice/Provisioning\ Profiles/` [INFO] [stdout] 20 | | #[clap(long, conflicts_with = "profile-path")] [INFO] [stdout] 21 | | pub profile_name: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// Absolute path to provisioning profile [INFO] [stdout] 23 | | #[clap(long)] [INFO] [stdout] 24 | | pub profile_path: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// The team identifier of your signing identity [INFO] [stdout] 26 | | #[clap(long)] [INFO] [stdout] 27 | | pub team_identifier: Option, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// The id of the identity used for signing. It won't start the signing process until you provide this flag [INFO] [stdout] 29 | | #[clap(long)] [INFO] [stdout] 30 | | pub identity: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Simulator device name [INFO] [stdout] 12 | | #[clap(short, long, default_value = "iPhone 8", conflicts_with = "target")] [INFO] [stdout] 13 | | pub simulator_name: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Connected device id [INFO] [stdout] 21 | | #[clap(short = 'D', long, conflicts_with = "device_name")] [INFO] [stdout] 22 | | pub device_id: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Directory to create / project name; if the name isn't in kebab-case, it will be converted [INFO] [stdout] 13 | | /// to kebab-case unless `--force` is given. [INFO] [stdout] 14 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// Name of the template to create. [INFO] [stdout] 16 | | #[clap(long, short)] [INFO] [stdout] 17 | | pub template: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Simulator device name [INFO] [stdout] 12 | | #[clap(short, long, default_value = "iPhone 8", conflicts_with = "target")] [INFO] [stdout] 13 | | pub simulator_name: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Connected device id [INFO] [stdout] 21 | | #[clap(short = 'D', long, conflicts_with = "device_name")] [INFO] [stdout] 22 | | pub device_id: Option, [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/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Display, Debug, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `Display` (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/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Display, Debug, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-creator` (lib) due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-creator` (lib test) due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "25433ce46f9e8f5594d5c9f1ad42c5bc03104307756988dbd5b84d6441188c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25433ce46f9e8f5594d5c9f1ad42c5bc03104307756988dbd5b84d6441188c18", kill_on_drop: false }` [INFO] [stdout] 25433ce46f9e8f5594d5c9f1ad42c5bc03104307756988dbd5b84d6441188c18