[INFO] fetching crate sanjo 1.1.0... [INFO] testing sanjo-1.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sanjo 1.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sanjo 1.1.0 [INFO] finished tweaking crates.io crate sanjo 1.1.0 [INFO] tweaked toml for crates.io crate sanjo 1.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sanjo 1.1.0 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 crates.io crate sanjo 1.1.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.5.2 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded backtrace v0.3.40 [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.32 [INFO] [stderr] Downloaded synstructure v0.12.3 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded rusttype v0.7.9 [INFO] [stderr] Downloaded tokio v0.2.4 [INFO] [stderr] Downloaded jpeg-decoder v0.1.17 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded syn v1.0.11 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded tokio-macros v0.2.0 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded stb_truetype v0.3.1 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] [stderr] Downloaded mio v0.6.21 [INFO] [stderr] Downloaded png v0.15.2 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded imageproc v0.19.2 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6d44e8c589cc0e6ed476a46cb573eddac8ecf278afc5f1cfa9ab91ce4f983fff [INFO] running `Command { std: "docker" "start" "-a" "6d44e8c589cc0e6ed476a46cb573eddac8ecf278afc5f1cfa9ab91ce4f983fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d44e8c589cc0e6ed476a46cb573eddac8ecf278afc5f1cfa9ab91ce4f983fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d44e8c589cc0e6ed476a46cb573eddac8ecf278afc5f1cfa9ab91ce4f983fff", kill_on_drop: false }` [INFO] [stdout] 6d44e8c589cc0e6ed476a46cb573eddac8ecf278afc5f1cfa9ab91ce4f983fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5847a269226d3e7a4b21fe41d8350da01444a6861dc6ea15169d3325329e6659 [INFO] running `Command { std: "docker" "start" "-a" "5847a269226d3e7a4b21fe41d8350da01444a6861dc6ea15169d3325329e6659", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling bytes v0.5.2 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.17 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling imageproc v0.19.2 [INFO] [stderr] Compiling tokio v0.2.4 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling sanjo v1.1.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:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, 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_ApplicationError` [INFO] [stdout] 11 | enum ApplicationError { [INFO] [stdout] | ---------------- `ApplicationError` 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/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, 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_ApplicationError` [INFO] [stdout] 11 | enum ApplicationError { [INFO] [stdout] | ---------------- `ApplicationError` 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 32.19s [INFO] running `Command { std: "docker" "inspect" "5847a269226d3e7a4b21fe41d8350da01444a6861dc6ea15169d3325329e6659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5847a269226d3e7a4b21fe41d8350da01444a6861dc6ea15169d3325329e6659", kill_on_drop: false }` [INFO] [stdout] 5847a269226d3e7a4b21fe41d8350da01444a6861dc6ea15169d3325329e6659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 20bce940765230b4573f022ad801144905d5b0165b5ee8659c8b73c67881af1d [INFO] running `Command { std: "docker" "start" "-a" "20bce940765230b4573f022ad801144905d5b0165b5ee8659c8b73c67881af1d", kill_on_drop: false }` [INFO] [stderr] Compiling sanjo v1.1.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:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, 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_ApplicationError` [INFO] [stdout] 11 | enum ApplicationError { [INFO] [stdout] | ---------------- `ApplicationError` 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/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, 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_ApplicationError` [INFO] [stdout] 11 | enum ApplicationError { [INFO] [stdout] | ---------------- `ApplicationError` 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 1.06s [INFO] running `Command { std: "docker" "inspect" "20bce940765230b4573f022ad801144905d5b0165b5ee8659c8b73c67881af1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20bce940765230b4573f022ad801144905d5b0165b5ee8659c8b73c67881af1d", kill_on_drop: false }` [INFO] [stdout] 20bce940765230b4573f022ad801144905d5b0165b5ee8659c8b73c67881af1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] da784d59a72d906dcba3e74aeca7ac8bf0292dcafde0622d92b5e737eb515b33 [INFO] running `Command { std: "docker" "start" "-a" "da784d59a72d906dcba3e74aeca7ac8bf0292dcafde0622d92b5e737eb515b33", 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:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Clone, 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_ApplicationError` [INFO] [stderr] 11 | enum ApplicationError { [INFO] [stderr] | ---------------- `ApplicationError` 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/main.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Clone, 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_ApplicationError` [INFO] [stderr] 11 | enum ApplicationError { [INFO] [stderr] | ---------------- `ApplicationError` 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: `sanjo` (bin "sanjo" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sanjo-9e09688934841274) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test color::tests::test_black ... ok [INFO] [stdout] test color::tests::test_blue ... ok [INFO] [stdout] test color::tests::test_from_str_rgba ... ok [INFO] [stdout] test color::tests::test_green ... ok [INFO] [stdout] test color::tests::test_white ... ok [INFO] [stdout] test color::tests::test_from_str_rgb ... ok [INFO] [stdout] test color::tests::test_red ... ok [INFO] [stdout] test pair::tests::test_from_str ... ok [INFO] [stdout] test pair::tests::test_from_str_non_num ... ok [INFO] [stdout] test pair::tests::test_from_str_non_x_format ... ok [INFO] [stdout] test pair::tests::test_from_str_non_x_format_zero ... ok [INFO] [stdout] test color::tests::test_clear ... ok [INFO] [stdout] test color::tests::test_from_code ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "da784d59a72d906dcba3e74aeca7ac8bf0292dcafde0622d92b5e737eb515b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da784d59a72d906dcba3e74aeca7ac8bf0292dcafde0622d92b5e737eb515b33", kill_on_drop: false }` [INFO] [stdout] da784d59a72d906dcba3e74aeca7ac8bf0292dcafde0622d92b5e737eb515b33