[INFO] cloning repository https://github.com/trollaklass/troll-of-fame-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trollaklass/troll-of-fame-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrollaklass%2Ftroll-of-fame-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrollaklass%2Ftroll-of-fame-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6f59a5397311e10028d8bf331fad7130eab6b61 [INFO] testing trollaklass/troll-of-fame-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrollaklass%2Ftroll-of-fame-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trollaklass/troll-of-fame-rust [INFO] finished tweaking git repo https://github.com/trollaklass/troll-of-fame-rust [INFO] tweaked toml for git repo https://github.com/trollaklass/troll-of-fame-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trollaklass/troll-of-fame-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trollaklass/troll-of-fame-rust 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded bit-set v0.5.1 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded libc v0.2.64 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2856666fca704ead0dbc521bbb6235bca0fcd0caea66dd9a1321732192e6c990 [INFO] running `Command { std: "docker" "start" "-a" "2856666fca704ead0dbc521bbb6235bca0fcd0caea66dd9a1321732192e6c990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2856666fca704ead0dbc521bbb6235bca0fcd0caea66dd9a1321732192e6c990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2856666fca704ead0dbc521bbb6235bca0fcd0caea66dd9a1321732192e6c990", kill_on_drop: false }` [INFO] [stdout] 2856666fca704ead0dbc521bbb6235bca0fcd0caea66dd9a1321732192e6c990 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8453f0a2e1833163960e40966df449945f2f639051a5a51d70c149fc7f899661 [INFO] running `Command { std: "docker" "start" "-a" "8453f0a2e1833163960e40966df449945f2f639051a5a51d70c149fc7f899661", kill_on_drop: false }` [INFO] [stderr] Compiling troll-of-fame-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "8453f0a2e1833163960e40966df449945f2f639051a5a51d70c149fc7f899661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8453f0a2e1833163960e40966df449945f2f639051a5a51d70c149fc7f899661", kill_on_drop: false }` [INFO] [stdout] 8453f0a2e1833163960e40966df449945f2f639051a5a51d70c149fc7f899661 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3d2fb678184bd79ad17b42fcd51c03f21d4f21b168e6ef1c550e4db4a36459cc [INFO] running `Command { std: "docker" "start" "-a" "3d2fb678184bd79ad17b42fcd51c03f21d4f21b168e6ef1c550e4db4a36459cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.64 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [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 num-traits v0.2.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling proptest v0.9.4 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Compiling troll-of-fame-rust v0.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/elf.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Race` [INFO] [stdout] 8 | pub enum Race { [INFO] [stdout] | ---- `Race` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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/elf.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Role` [INFO] [stdout] 16 | pub enum Role { [INFO] [stdout] | ---- `Role` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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/elf.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Elf` [INFO] [stdout] 25 | pub struct Elf { [INFO] [stdout] | --- `Elf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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/troll.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Troll` [INFO] [stdout] 14 | pub struct Troll { [INFO] [stdout] | ----- `Troll` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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 27.45s [INFO] running `Command { std: "docker" "inspect" "3d2fb678184bd79ad17b42fcd51c03f21d4f21b168e6ef1c550e4db4a36459cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d2fb678184bd79ad17b42fcd51c03f21d4f21b168e6ef1c550e4db4a36459cc", kill_on_drop: false }` [INFO] [stdout] 3d2fb678184bd79ad17b42fcd51c03f21d4f21b168e6ef1c550e4db4a36459cc [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9340a12b3ad9821e8670057538d6f576dc6a356e3bc06a5e27980590a6cd07e0 [INFO] running `Command { std: "docker" "start" "-a" "9340a12b3ad9821e8670057538d6f576dc6a356e3bc06a5e27980590a6cd07e0", 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/elf.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Race` [INFO] [stderr] 8 | pub enum Race { [INFO] [stderr] | ---- `Race` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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/elf.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Role` [INFO] [stderr] 16 | pub enum Role { [INFO] [stderr] | ---- `Role` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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/elf.rs:24:29 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Elf` [INFO] [stderr] 25 | pub struct Elf { [INFO] [stderr] | --- `Elf` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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/troll.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Troll` [INFO] [stderr] 14 | pub struct Troll { [INFO] [stderr] | ----- `Troll` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `troll-of-fame-rust` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/troll_of_fame_rust-4da708269fcf901e) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test elf::elf::unit_tests::archer_dark_and_swordsman_high_values_should_be_equal ... ok [INFO] [stdout] test elf::elf::unit_tests::two_warlock_dark_elves_should_be_equal ... ok [INFO] [stdout] test troll::troll::unit_tests::got_one_when_no_kill_should_have_one_kill ... ok [INFO] [stdout] test troll::troll::unit_tests::i_got_5_faeor_should_add_key_faeor_with_value_5 ... ok [INFO] [stdout] test troll::troll::unit_tests::scoring_should_be_0_when_a_warlock_ressurect_every_elves ... ok [INFO] [stdout] test troll::troll::unit_tests::scoring_should_be_0_when_create_a_new_troll ... ok [INFO] [stdout] test elf::elf::property_tests::elf_value_should_be_positive ... ok [INFO] [stdout] test troll::troll::unit_tests::troll_after_oops_he_survived_should_be_the_same_as_before ... ok [INFO] [stdout] test troll::troll::unit_tests::i_got_one_faeor_should_add_key_faeor_with_value_1 ... ok [INFO] [stdout] test troll::troll::property_tests::troll_scoring_should_always_be_greater_greater_or_equal_0 ... ok [INFO] [stdout] test troll::troll::property_tests::troll_scoring_should_be_0_when_all_elves_resurrected ... ok [INFO] [stdout] test troll::troll::property_tests::i_got_one_and_i_got_should_be_consistent ... ok [INFO] [stdout] test troll::troll::property_tests::oops_he_survived_should_always_be_inverse_of_i_got_one ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/troll_of_fame_rust-b72815ca543bdaf0) [INFO] [stdout] test troll::troll::property_tests::all_elves_of_a_kind_resurrected_brings_the_troll_kills_to_a_stable_state ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.49s [INFO] [stdout] [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] [stderr] Doc-tests troll_of_fame_rust [INFO] [stdout] [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" "9340a12b3ad9821e8670057538d6f576dc6a356e3bc06a5e27980590a6cd07e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9340a12b3ad9821e8670057538d6f576dc6a356e3bc06a5e27980590a6cd07e0", kill_on_drop: false }` [INFO] [stdout] 9340a12b3ad9821e8670057538d6f576dc6a356e3bc06a5e27980590a6cd07e0