[INFO] cloning repository https://github.com/ray33ee/AmES
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ray33ee/AmES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fray33ee%2FAmES", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fray33ee%2FAmES'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6af6b882dbe76e64874ff4c24360b7073971a4a1
[INFO] checking ray33ee/AmES against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fray33ee%2FAmES" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ray33ee/AmES
[INFO] finished tweaking git repo https://github.com/ray33ee/AmES
[INFO] tweaked toml for git repo https://github.com/ray33ee/AmES written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ray33ee/AmES on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ray33ee/AmES 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hex-literal v0.3.1
[INFO] [stderr]   Downloaded rand v0.8.1
[INFO] [stderr]   Downloaded block-modes v0.7.0
[INFO] [stderr]   Downloaded galois_2p8 v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f
[INFO] running `Command { std: "docker" "start" "3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling getrandom v0.2.1
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking galois_2p8 v0.1.1
[INFO] [stderr]    Compiling hex-literal v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking rand_core v0.6.1
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.1
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]     Checking block-modes v0.7.0
[INFO] [stderr]     Checking am_es v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::arch::x86_64::_mm256_permutevar8x32_epi32`
[INFO] [stdout]  --> src/ames_cipher/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::arch::x86_64::_mm256_permutevar8x32_epi32;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/ames_cipher/mod.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/ames_cipher/mod.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AmESRijndaelSbox`
[INFO] [stdout]  --> src/main.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ames_cipher::ames::{AmES, AmESRijndaelSbox, RijndaelManipulated};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::arch::x86_64::_mm256_permutevar8x32_epi32`
[INFO] [stdout]  --> src/ames_cipher/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::arch::x86_64::_mm256_permutevar8x32_epi32;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/ames_cipher/mod.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/ames_cipher/mod.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AmESRijndaelSbox`
[INFO] [stdout]  --> src/main.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ames_cipher::ames::{AmES, AmESRijndaelSbox, RijndaelManipulated};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ames_cipher/mod.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 | ...   let mut forward: Vec<u8> = vec![0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x01,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc...
[INFO] [stdout]     |           ----^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/ames_cipher/mod.rs:156:33
[INFO] [stdout]     |
[INFO] [stdout] 156 |         fn new<R: Rng + ?Sized>(rng: & mut R) -> Self {
[INFO] [stdout]     |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomRijndaelSBox` is never constructed
[INFO] [stdout]   --> src/ames_cipher/mod.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub struct RandomRijndaelSBox {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomSbox` is never constructed
[INFO] [stdout]    --> src/ames_cipher/mod.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub struct RandomSbox {
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AmESArraySbox` is never used
[INFO] [stdout]    --> src/ames_cipher/mod.rs:701:14
[INFO] [stdout]     |
[INFO] [stdout] 701 |     pub type AmESArraySbox = AmES<RandomSbox>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AmESRijndaelSbox` is never used
[INFO] [stdout]    --> src/ames_cipher/mod.rs:702:14
[INFO] [stdout]     |
[INFO] [stdout] 702 |     pub type AmESRijndaelSbox = AmES<RandomRijndaelSBox>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AmESStaticSbox` is never used
[INFO] [stdout]    --> src/ames_cipher/mod.rs:703:14
[INFO] [stdout]     |
[INFO] [stdout] 703 |     pub type AmESStaticSbox = AmES<AesSbox>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[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/ames_cipher/mod.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                  ^----------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `ToPrimitive` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Action`
[INFO] [stdout] 34 |     enum Action {
[INFO] [stdout]    |          ------ `Action` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/ames_cipher/mod.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                               ^------------
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               `FromPrimitive` is not local
[INFO] [stdout]    |                                               move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Action`
[INFO] [stdout] 34 |     enum Action {
[INFO] [stdout]    |          ------ `Action` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ames_cipher/mod.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 | ...   let mut forward: Vec<u8> = vec![0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x01,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc...
[INFO] [stdout]     |           ----^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/ames_cipher/mod.rs:156:33
[INFO] [stdout]     |
[INFO] [stdout] 156 |         fn new<R: Rng + ?Sized>(rng: & mut R) -> Self {
[INFO] [stdout]     |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomRijndaelSBox` is never constructed
[INFO] [stdout]   --> src/ames_cipher/mod.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub struct RandomRijndaelSBox {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomSbox` is never constructed
[INFO] [stdout]    --> src/ames_cipher/mod.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub struct RandomSbox {
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AmESArraySbox` is never used
[INFO] [stdout]    --> src/ames_cipher/mod.rs:701:14
[INFO] [stdout]     |
[INFO] [stdout] 701 |     pub type AmESArraySbox = AmES<RandomSbox>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AmESRijndaelSbox` is never used
[INFO] [stdout]    --> src/ames_cipher/mod.rs:702:14
[INFO] [stdout]     |
[INFO] [stdout] 702 |     pub type AmESRijndaelSbox = AmES<RandomRijndaelSBox>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AmESStaticSbox` is never used
[INFO] [stdout]    --> src/ames_cipher/mod.rs:703:14
[INFO] [stdout]     |
[INFO] [stdout] 703 |     pub type AmESStaticSbox = AmES<AesSbox>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[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/ames_cipher/mod.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                  ^----------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `ToPrimitive` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Action`
[INFO] [stdout] 34 |     enum Action {
[INFO] [stdout]    |          ------ `Action` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/ames_cipher/mod.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Debug, Clone, Copy, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                               ^------------
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               `FromPrimitive` is not local
[INFO] [stdout]    |                                               move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Action`
[INFO] [stdout] 34 |     enum Action {
[INFO] [stdout]    |          ------ `Action` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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 4.15s
[INFO] running `Command { std: "docker" "inspect" "3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f", kill_on_drop: false }`
[INFO] [stdout] 3bddc3fdc4df8e34a23200b72231a5d548ca115dc432d6358981006530a6529f
