[INFO] cloning repository https://github.com/zDevelopers/UHCR-Reports [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zDevelopers/UHCR-Reports" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzDevelopers%2FUHCR-Reports", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzDevelopers%2FUHCR-Reports'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5dcb571550205a9b34ba7a6abeb673db8915181 [INFO] checking zDevelopers/UHCR-Reports against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzDevelopers%2FUHCR-Reports" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zDevelopers/UHCR-Reports 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 git repo https://github.com/zDevelopers/UHCR-Reports [INFO] finished tweaking git repo https://github.com/zDevelopers/UHCR-Reports [INFO] tweaked toml for git repo https://github.com/zDevelopers/UHCR-Reports written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zDevelopers/UHCR-Reports 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.20.0 [INFO] [stderr] Downloaded pyo3-macros v0.13.2 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded globwalk v0.8.1 [INFO] [stderr] Downloaded insta v1.3.0 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded pyo3 v0.13.2 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] [stderr] Downloaded bstr v0.2.15 [INFO] [stderr] Downloaded lock_api v0.4.3 [INFO] [stderr] Downloaded console v0.12.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.13.2 [INFO] [stderr] Downloaded ctor v0.1.20 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded roman v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d7b45afc8bc384bbd976a0953a301487c453cd27e51e508c536e90a0b3237701 [INFO] running `Command { std: "docker" "start" "-a" "d7b45afc8bc384bbd976a0953a301487c453cd27e51e508c536e90a0b3237701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7b45afc8bc384bbd976a0953a301487c453cd27e51e508c536e90a0b3237701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b45afc8bc384bbd976a0953a301487c453cd27e51e508c536e90a0b3237701", kill_on_drop: false }` [INFO] [stdout] d7b45afc8bc384bbd976a0953a301487c453cd27e51e508c536e90a0b3237701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fdef8bcca0d37cee63a2eb3e8bb48b6b903d26c0d7b3fab95ab4a1e22122e3e3 [INFO] running `Command { std: "docker" "start" "-a" "fdef8bcca0d37cee63a2eb3e8bb48b6b903d26c0d7b3fab95ab4a1e22122e3e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling pyo3 v0.13.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking roman v0.1.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking console v0.12.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pyo3-macros-backend v0.13.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling pyo3-macros v0.13.2 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking insta v1.3.0 [INFO] [stderr] Checking hawk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/report/test/mod.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | assert!(process(input).is_err(), message); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 41 | assert!(process(input).is_err(), "{}", message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyo3 v0.13.2, pyo3-macros-backend v0.13.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "fdef8bcca0d37cee63a2eb3e8bb48b6b903d26c0d7b3fab95ab4a1e22122e3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdef8bcca0d37cee63a2eb3e8bb48b6b903d26c0d7b3fab95ab4a1e22122e3e3", kill_on_drop: false }` [INFO] [stdout] fdef8bcca0d37cee63a2eb3e8bb48b6b903d26c0d7b3fab95ab4a1e22122e3e3 [INFO] checking zDevelopers/UHCR-Reports against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzDevelopers%2FUHCR-Reports" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zDevelopers/UHCR-Reports 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 git repo https://github.com/zDevelopers/UHCR-Reports [INFO] finished tweaking git repo https://github.com/zDevelopers/UHCR-Reports [INFO] tweaked toml for git repo https://github.com/zDevelopers/UHCR-Reports written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zDevelopers/UHCR-Reports 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2095fa046bef3022eab7ef5016dd4345de5fa2c2289228fa72369b2a7da79ae5 [INFO] running `Command { std: "docker" "start" "-a" "2095fa046bef3022eab7ef5016dd4345de5fa2c2289228fa72369b2a7da79ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2095fa046bef3022eab7ef5016dd4345de5fa2c2289228fa72369b2a7da79ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2095fa046bef3022eab7ef5016dd4345de5fa2c2289228fa72369b2a7da79ae5", kill_on_drop: false }` [INFO] [stdout] 2095fa046bef3022eab7ef5016dd4345de5fa2c2289228fa72369b2a7da79ae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 51b9ed782da54cabed98b5ee838733d74b2e2f317e4ef2b52f0ef37d394d144e [INFO] running `Command { std: "docker" "start" "-a" "51b9ed782da54cabed98b5ee838733d74b2e2f317e4ef2b52f0ef37d394d144e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling pyo3 v0.13.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking roman v0.1.6 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking console v0.12.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.13.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling pyo3-macros v0.13.2 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking insta v1.3.0 [INFO] [stderr] Checking hawk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_InvalidReportError` [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/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidReportError` [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 `hawk` (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/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_InvalidReportError` [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/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_InvalidReportError` [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] warning: panic message is not a string literal [INFO] [stdout] --> src/report/test/mod.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | assert!(process(input).is_err(), message); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 41 | assert!(process(input).is_err(), "{}", message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "51b9ed782da54cabed98b5ee838733d74b2e2f317e4ef2b52f0ef37d394d144e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51b9ed782da54cabed98b5ee838733d74b2e2f317e4ef2b52f0ef37d394d144e", kill_on_drop: false }` [INFO] [stdout] 51b9ed782da54cabed98b5ee838733d74b2e2f317e4ef2b52f0ef37d394d144e