[INFO] cloning repository https://github.com/marcaddeo/cl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcaddeo/cl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcaddeo%2Fcl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcaddeo%2Fcl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23e10f982decf2ed6aedc893eb513367a22e94df [INFO] testing marcaddeo/cl against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcaddeo%2Fcl" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcaddeo/cl [INFO] finished tweaking git repo https://github.com/marcaddeo/cl [INFO] tweaked toml for git repo https://github.com/marcaddeo/cl written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcaddeo/cl on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcaddeo/cl 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v0.10.0 [INFO] [stderr] Downloaded serde_yaml v0.8.11 [INFO] [stderr] Downloaded remove_empty_subdirs v0.1.1 [INFO] [stderr] Downloaded scan_dir v0.3.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.2 [INFO] [stderr] Downloaded gag v0.1.10 [INFO] [stderr] Downloaded darling_macro v0.9.0 [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded darling_core v0.10.1 [INFO] [stderr] Downloaded derive-getters v0.1.0 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] [stderr] Downloaded openssl-sys v0.9.50 [INFO] [stderr] Downloaded synstructure v0.12.1 [INFO] [stderr] Downloaded pulldown-cmark v0.5.3 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded darling_core v0.9.0 [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded clparse v0.8.0 [INFO] [stderr] Downloaded strsim v0.9.2 [INFO] [stderr] Downloaded darling v0.10.1 [INFO] [stderr] Downloaded vcpkg v0.2.7 [INFO] [stderr] Downloaded git2 v0.10.1 [INFO] [stderr] Downloaded libz-sys v1.0.25 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded darling v0.9.0 [INFO] [stderr] Downloaded derive_builder_core v0.5.0 [INFO] [stderr] Downloaded unicase v2.5.1 [INFO] [stderr] Downloaded derive_builder_core v0.8.0 [INFO] [stderr] Downloaded derive_builder v0.8.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.12 [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded err-derive v0.1.6 [INFO] [stderr] Downloaded pkg-config v0.3.16 [INFO] [stderr] Downloaded darling_macro v0.10.1 [INFO] [stderr] Downloaded derive_builder v0.7.2 [INFO] [stderr] Downloaded jobserver v0.1.17 [INFO] [stderr] Downloaded openssl-src v111.6.0+1.1.1d [INFO] [stderr] Downloaded libgit2-sys v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5526d9558f0f85c901757f991de31cec0e5a57da012b4d3e530de54d67af0030 [INFO] running `Command { std: "docker" "start" "-a" "5526d9558f0f85c901757f991de31cec0e5a57da012b4d3e530de54d67af0030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5526d9558f0f85c901757f991de31cec0e5a57da012b4d3e530de54d67af0030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5526d9558f0f85c901757f991de31cec0e5a57da012b4d3e530de54d67af0030", kill_on_drop: false }` [INFO] [stdout] 5526d9558f0f85c901757f991de31cec0e5a57da012b4d3e530de54d67af0030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06da1651fe35528d66131b034a197c924011c6a6fb96d4080a130fbb5b608661 [INFO] running `Command { std: "docker" "start" "-a" "06da1651fe35528d66131b034a197c924011c6a6fb96d4080a130fbb5b608661", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling pulldown-cmark v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling err-derive v0.1.6 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling derive_builder v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling scan_dir v0.3.3 [INFO] [stderr] Compiling remove_empty_subdirs v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl-src v111.6.0+1.1.1d [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.12 [INFO] [stderr] Compiling libgit2-sys v0.9.1 [INFO] [stderr] Compiling openssl-sys v0.9.50 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling gag v0.1.10 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling darling_core v0.10.1 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling derive-getters v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling darling_macro v0.10.1 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.10.1 [INFO] [stderr] Compiling derive_builder_core v0.8.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling clparse v0.8.0 [INFO] [stderr] Compiling git2 v0.10.1 [INFO] [stderr] Compiling cl v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_ClError` [INFO] [stdout] 21 | enum ClError { [INFO] [stdout] | ------- `ClError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_ClError` [INFO] [stdout] 21 | enum ClError { [INFO] [stdout] | ------- `ClError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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 39.06s [INFO] running `Command { std: "docker" "inspect" "06da1651fe35528d66131b034a197c924011c6a6fb96d4080a130fbb5b608661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06da1651fe35528d66131b034a197c924011c6a6fb96d4080a130fbb5b608661", kill_on_drop: false }` [INFO] [stdout] 06da1651fe35528d66131b034a197c924011c6a6fb96d4080a130fbb5b608661 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8918b819c29d3e4234c04444109b117c807b5be19bddb0a218476e1bc1929e73 [INFO] running `Command { std: "docker" "start" "-a" "8918b819c29d3e4234c04444109b117c807b5be19bddb0a218476e1bc1929e73", kill_on_drop: false }` [INFO] [stderr] Compiling cl v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_ClError` [INFO] [stdout] 21 | enum ClError { [INFO] [stdout] | ------- `ClError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_ClError` [INFO] [stdout] 21 | enum ClError { [INFO] [stdout] | ------- `ClError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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.25s [INFO] running `Command { std: "docker" "inspect" "8918b819c29d3e4234c04444109b117c807b5be19bddb0a218476e1bc1929e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8918b819c29d3e4234c04444109b117c807b5be19bddb0a218476e1bc1929e73", kill_on_drop: false }` [INFO] [stdout] 8918b819c29d3e4234c04444109b117c807b5be19bddb0a218476e1bc1929e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c2bed5222a6b4cbcdd754f2ae8be36e2a2aa2b0924fe2c4cd18c5b3bde4767c [INFO] running `Command { std: "docker" "start" "-a" "8c2bed5222a6b4cbcdd754f2ae8be36e2a2aa2b0924fe2c4cd18c5b3bde4767c", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Error` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_ClError` [INFO] [stderr] 21 | enum ClError { [INFO] [stderr] | ------- `ClError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/main.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_ClError` [INFO] [stderr] 21 | enum ClError { [INFO] [stderr] | ------- `ClError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cl` (bin "cl" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cl-fb9741744d7384ea) [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" "8c2bed5222a6b4cbcdd754f2ae8be36e2a2aa2b0924fe2c4cd18c5b3bde4767c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2bed5222a6b4cbcdd754f2ae8be36e2a2aa2b0924fe2c4cd18c5b3bde4767c", kill_on_drop: false }` [INFO] [stdout] 8c2bed5222a6b4cbcdd754f2ae8be36e2a2aa2b0924fe2c4cd18c5b3bde4767c