[INFO] fetching crate thoth-api 0.2.1... [INFO] checking thoth-api-0.2.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate thoth-api 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate thoth-api 0.2.1 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate thoth-api 0.2.1 [INFO] finished tweaking crates.io crate thoth-api 0.2.1 [INFO] tweaked toml for crates.io crate thoth-api 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel-derive-enum v1.1.2 [INFO] [stderr] Downloaded dotenv v0.9.0 [INFO] [stderr] Downloaded argon2rs v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0288bfeed4e7524d285332a73277c089bff1c267ba9be6653f97a24af5dd1d7e [INFO] running `Command { std: "docker" "start" "-a" "0288bfeed4e7524d285332a73277c089bff1c267ba9be6653f97a24af5dd1d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0288bfeed4e7524d285332a73277c089bff1c267ba9be6653f97a24af5dd1d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0288bfeed4e7524d285332a73277c089bff1c267ba9be6653f97a24af5dd1d7e", kill_on_drop: false }` [INFO] [stdout] 0288bfeed4e7524d285332a73277c089bff1c267ba9be6653f97a24af5dd1d7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf6aa564a3fa9b717060bd884d556527693aa97cd3174ebe78d3a8d3e507797f [INFO] running `Command { std: "docker" "start" "-a" "bf6aa564a3fa9b717060bd884d556527693aa97cd3174ebe78d3a8d3e507797f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking juniper v0.14.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking thoth-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.41s [INFO] running `Command { std: "docker" "inspect" "bf6aa564a3fa9b717060bd884d556527693aa97cd3174ebe78d3a8d3e507797f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf6aa564a3fa9b717060bd884d556527693aa97cd3174ebe78d3a8d3e507797f", kill_on_drop: false }` [INFO] [stdout] bf6aa564a3fa9b717060bd884d556527693aa97cd3174ebe78d3a8d3e507797f [INFO] checking thoth-api-0.2.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate thoth-api 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate thoth-api 0.2.1 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate thoth-api 0.2.1 [INFO] finished tweaking crates.io crate thoth-api 0.2.1 [INFO] tweaked toml for crates.io crate thoth-api 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d520b61f4f071cba8c094c47c3855546958cd5d96caec55e815db857744d472d [INFO] running `Command { std: "docker" "start" "-a" "d520b61f4f071cba8c094c47c3855546958cd5d96caec55e815db857744d472d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d520b61f4f071cba8c094c47c3855546958cd5d96caec55e815db857744d472d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d520b61f4f071cba8c094c47c3855546958cd5d96caec55e815db857744d472d", kill_on_drop: false }` [INFO] [stdout] d520b61f4f071cba8c094c47c3855546958cd5d96caec55e815db857744d472d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5832537baaf9e229abc119301d32150980c599fbd370babd374c849eeeb00111 [INFO] running `Command { std: "docker" "start" "-a" "5832537baaf9e229abc119301d32150980c599fbd370babd374c849eeeb00111", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking juniper v0.14.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking thoth-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ThothError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ThothError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thoth-api` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ThothError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ThothError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thoth-api` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "5832537baaf9e229abc119301d32150980c599fbd370babd374c849eeeb00111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5832537baaf9e229abc119301d32150980c599fbd370babd374c849eeeb00111", kill_on_drop: false }` [INFO] [stdout] 5832537baaf9e229abc119301d32150980c599fbd370babd374c849eeeb00111