[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] testing zDevelopers/UHCR-Reports against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzDevelopers%2FUHCR-Reports" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zDevelopers/UHCR-Reports on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.13.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.13.2 [INFO] [stderr] Downloaded console v0.12.0 [INFO] [stderr] Downloaded roman v0.1.6 [INFO] [stderr] Downloaded strum v0.20.0 [INFO] [stderr] Downloaded insta v1.3.0 [INFO] [stderr] Downloaded strum_macros v0.20.1 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded pyo3 v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb6ccdc44b6fbec17ab978d52934af955e1722ec27e93ff36817759d45c60c3b [INFO] running `Command { std: "docker" "start" "-a" "eb6ccdc44b6fbec17ab978d52934af955e1722ec27e93ff36817759d45c60c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb6ccdc44b6fbec17ab978d52934af955e1722ec27e93ff36817759d45c60c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6ccdc44b6fbec17ab978d52934af955e1722ec27e93ff36817759d45c60c3b", kill_on_drop: false }` [INFO] [stdout] eb6ccdc44b6fbec17ab978d52934af955e1722ec27e93ff36817759d45c60c3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbb06a4908b278d041fe126871c036e2bb38ba8ad6877acd2e70838e2c514eec [INFO] running `Command { std: "docker" "start" "-a" "dbb06a4908b278d041fe126871c036e2bb38ba8ad6877acd2e70838e2c514eec", 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 serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pyo3 v0.13.2 [INFO] [stderr] Compiling roman v0.1.6 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling 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 ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.13.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling insta v1.3.0 [INFO] [stderr] Compiling hawk v0.2.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/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidReportError` [INFO] [stdout] 8 | pub enum InvalidReportError { [INFO] [stdout] | ------------------ `InvalidReportError` 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/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [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_InvalidReportError` [INFO] [stdout] 8 | pub enum InvalidReportError { [INFO] [stdout] | ------------------ `InvalidReportError` 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 41.59s [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 6` [INFO] running `Command { std: "docker" "inspect" "dbb06a4908b278d041fe126871c036e2bb38ba8ad6877acd2e70838e2c514eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb06a4908b278d041fe126871c036e2bb38ba8ad6877acd2e70838e2c514eec", kill_on_drop: false }` [INFO] [stdout] dbb06a4908b278d041fe126871c036e2bb38ba8ad6877acd2e70838e2c514eec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3cdf62055e6498d70d77d11ce8f17389ae3065b007baf07a25e311fd33e2cc1 [INFO] running `Command { std: "docker" "start" "-a" "d3cdf62055e6498d70d77d11ce8f17389ae3065b007baf07a25e311fd33e2cc1", kill_on_drop: false }` [INFO] [stderr] Compiling hawk v0.2.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/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidReportError` [INFO] [stdout] 8 | pub enum InvalidReportError { [INFO] [stdout] | ------------------ `InvalidReportError` 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/report/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail, AsRefStr)] [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_InvalidReportError` [INFO] [stdout] 8 | pub enum InvalidReportError { [INFO] [stdout] | ------------------ `InvalidReportError` 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] [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.37s [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 6` [INFO] running `Command { std: "docker" "inspect" "d3cdf62055e6498d70d77d11ce8f17389ae3065b007baf07a25e311fd33e2cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3cdf62055e6498d70d77d11ce8f17389ae3065b007baf07a25e311fd33e2cc1", kill_on_drop: false }` [INFO] [stdout] d3cdf62055e6498d70d77d11ce8f17389ae3065b007baf07a25e311fd33e2cc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a00e7bb81dae6abe5a1630142ecbe361e815e33fdea412756053bcfe9fc499d3 [INFO] running `Command { std: "docker" "start" "-a" "a00e7bb81dae6abe5a1630142ecbe361e815e33fdea412756053bcfe9fc499d3", 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/report/errors.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Fail, AsRefStr)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InvalidReportError` [INFO] [stderr] 8 | pub enum InvalidReportError { [INFO] [stderr] | ------------------ `InvalidReportError` 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/report/errors.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Fail, AsRefStr)] [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_InvalidReportError` [INFO] [stderr] 8 | pub enum InvalidReportError { [INFO] [stderr] | ------------------ `InvalidReportError` 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: panic message is not a string literal [INFO] [stderr] --> src/report/test/mod.rs:41:38 [INFO] [stderr] | [INFO] [stderr] 41 | assert!(process(input).is_err(), message); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 41 | assert!(process(input).is_err(), "{}", message); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `hawk` (lib test) generated 3 warnings (run `cargo fix --lib -p hawk --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [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 6` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hawk_processing-0cd7a53ccdf6dc0a) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test minecraft::tests::both_colors_and_formatters ... ok [INFO] [stdout] test minecraft::tests::formatters_only ... ok [INFO] [stdout] test minecraft::tests::non_existing_color_codes ... ok [INFO] [stdout] test minecraft::tests::not_a_formatter ... ok [INFO] [stdout] test minecraft::tests::reset ... ok [INFO] [stdout] test report::test::test_broken_player_reference_should_fail ... ok [INFO] [stdout] test minecraft::tests::colors_only ... ok [INFO] [stdout] test minecraft::tests::existing_color_codes ... ok [INFO] [stdout] test report::test::test_minecraft_version ... ok [INFO] [stdout] test report::test::test_empty_report ... ok [INFO] [stdout] test report::test::test_grouped_damages_entity ... ok [INFO] [stdout] test report::test::test_grouped_damages_with_multiple_actors ... ok [INFO] [stdout] test report::test::test_generator ... ok [INFO] [stdout] test report::test::test_grouped_damages_environment ... ok [INFO] [stdout] test report::test::test_grouped_damages_player ... ok [INFO] [stdout] test minecraft::tests::colors_resets_formatters ... ok [INFO] [stdout] test minecraft::tests::existing_and_non_existing_color_codes ... ok [INFO] [stdout] test report::test::test_generator_without_name - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a00e7bb81dae6abe5a1630142ecbe361e815e33fdea412756053bcfe9fc499d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00e7bb81dae6abe5a1630142ecbe361e815e33fdea412756053bcfe9fc499d3", kill_on_drop: false }` [INFO] [stdout] a00e7bb81dae6abe5a1630142ecbe361e815e33fdea412756053bcfe9fc499d3