[INFO] cloning repository https://github.com/tckastanek/kcat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tckastanek/kcat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftckastanek%2Fkcat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftckastanek%2Fkcat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d781683cb58ce34771b1a89d0db7385318112ee [INFO] testing tckastanek/kcat against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftckastanek%2Fkcat" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tckastanek/kcat [INFO] finished tweaking git repo https://github.com/tckastanek/kcat [INFO] tweaked toml for git repo https://github.com/tckastanek/kcat written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tckastanek/kcat on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tckastanek/kcat 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded same-file v1.0.2 [INFO] [stderr] Downloaded walkdir v2.1.4 [INFO] [stderr] Downloaded serde_json v1.0.13 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded bincode v1.1.4 [INFO] [stderr] Downloaded failure_derive v0.1.5 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded yaml-rust v0.4.0 [INFO] [stderr] Downloaded atty v0.2.8 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded redox_syscall v0.1.37 [INFO] [stderr] Downloaded failure v0.1.5 [INFO] [stderr] Downloaded flate2 v1.0.1 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded miniz-sys v0.1.10 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded unicode-width v0.1.4 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded vec_map v0.8.0 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded backtrace v0.3.6 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded syntect v3.2.0 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded plist v0.4.2 [INFO] [stderr] Downloaded itoa v0.4.1 [INFO] [stderr] Downloaded onig_sys v68.2.1 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded serde v1.0.97 [INFO] [stderr] Downloaded safemem v0.3.0 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.1 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded serde_derive_internals v0.22.1 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded regex-syntax v0.6.8 [INFO] [stderr] Downloaded onig v4.1.0 [INFO] [stderr] Downloaded syn v0.12.14 [INFO] [stderr] Downloaded serde_derive v1.0.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74a231c055e668b5f353b848ea0cc7b6f6c99c53c7a93f36e0e3771d0f5bb9cf [INFO] running `Command { std: "docker" "start" "-a" "74a231c055e668b5f353b848ea0cc7b6f6c99c53c7a93f36e0e3771d0f5bb9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74a231c055e668b5f353b848ea0cc7b6f6c99c53c7a93f36e0e3771d0f5bb9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a231c055e668b5f353b848ea0cc7b6f6c99c53c7a93f36e0e3771d0f5bb9cf", kill_on_drop: false }` [INFO] [stdout] 74a231c055e668b5f353b848ea0cc7b6f6c99c53c7a93f36e0e3771d0f5bb9cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46389842b03fed2a5e6f6cce60bc9bf4a5c74bcb1792c2c2bdf455fd453ec0bd [INFO] running `Command { std: "docker" "start" "-a" "46389842b03fed2a5e6f6cce60bc9bf4a5c74bcb1792c2c2bdf455fd453ec0bd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling walkdir v2.1.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.6.8 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_derive_internals v0.22.1 [INFO] [stderr] Compiling onig_sys v68.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.35 [INFO] [stderr] Compiling serde_json v1.0.13 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling onig v4.1.0 [INFO] [stderr] Compiling syntect v3.2.0 [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling kcat v0.1.6 (/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/errors.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KcatError` [INFO] [stdout] 2 | pub enum KcatError { [INFO] [stdout] | --------- `KcatError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/errors.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KcatError` [INFO] [stdout] 2 | pub enum KcatError { [INFO] [stdout] | --------- `KcatError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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 54.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.14 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "46389842b03fed2a5e6f6cce60bc9bf4a5c74bcb1792c2c2bdf455fd453ec0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46389842b03fed2a5e6f6cce60bc9bf4a5c74bcb1792c2c2bdf455fd453ec0bd", kill_on_drop: false }` [INFO] [stdout] 46389842b03fed2a5e6f6cce60bc9bf4a5c74bcb1792c2c2bdf455fd453ec0bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4980c14ef43e21f366feb4d0928feaf6d7cdc5e4fb016ac3ed24ee26ff68518 [INFO] running `Command { std: "docker" "start" "-a" "a4980c14ef43e21f366feb4d0928feaf6d7cdc5e4fb016ac3ed24ee26ff68518", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling kcat v0.1.6 (/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/errors.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KcatError` [INFO] [stdout] 2 | pub enum KcatError { [INFO] [stdout] | --------- `KcatError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/errors.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KcatError` [INFO] [stdout] 2 | pub enum KcatError { [INFO] [stdout] | --------- `KcatError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.14 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a4980c14ef43e21f366feb4d0928feaf6d7cdc5e4fb016ac3ed24ee26ff68518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4980c14ef43e21f366feb4d0928feaf6d7cdc5e4fb016ac3ed24ee26ff68518", kill_on_drop: false }` [INFO] [stdout] a4980c14ef43e21f366feb4d0928feaf6d7cdc5e4fb016ac3ed24ee26ff68518 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 70a0a02ae788280d2d0cac2d22cc5736e3a25b67bf9ec3fdb25f03e99176f567 [INFO] running `Command { std: "docker" "start" "-a" "70a0a02ae788280d2d0cac2d22cc5736e3a25b67bf9ec3fdb25f03e99176f567", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/errors.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KcatError` [INFO] [stderr] 2 | pub enum KcatError { [INFO] [stderr] | --------- `KcatError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/errors.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KcatError` [INFO] [stderr] 2 | pub enum KcatError { [INFO] [stderr] | --------- `KcatError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kcat` (bin "kcat" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.14 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kcat-0736c90ebecd4aaa) [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" "70a0a02ae788280d2d0cac2d22cc5736e3a25b67bf9ec3fdb25f03e99176f567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a0a02ae788280d2d0cac2d22cc5736e3a25b67bf9ec3fdb25f03e99176f567", kill_on_drop: false }` [INFO] [stdout] 70a0a02ae788280d2d0cac2d22cc5736e3a25b67bf9ec3fdb25f03e99176f567