[INFO] cloning repository https://github.com/faassen/apilar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/faassen/apilar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaassen%2Fapilar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaassen%2Fapilar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 801d0524edb4346031f1af655e81f3588e25c5d1 [INFO] testing faassen/apilar 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%2Ffaassen%2Fapilar" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/faassen/apilar [INFO] finished tweaking git repo https://github.com/faassen/apilar [INFO] tweaked toml for git repo https://github.com/faassen/apilar written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/faassen/apilar 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/faassen/apilar 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 unicode-ident v1.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.140 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded os_str_bytes v6.2.0 [INFO] [stderr] Downloaded rustversion v1.0.8 [INFO] [stderr] Downloaded axum-core v0.2.7 [INFO] [stderr] Downloaded anyhow v1.0.59 [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded clap v3.2.14 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded js-sys v0.3.59 [INFO] [stderr] Downloaded axum v0.5.14 [INFO] [stderr] Downloaded chrono v0.4.20 [INFO] [stderr] Downloaded tracing-subscriber v0.3.15 [INFO] [stderr] Downloaded serde_cbor v0.10.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.21 [INFO] [stderr] Downloaded serde_with v2.0.0 [INFO] [stderr] Downloaded zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.82 [INFO] [stderr] Downloaded tower-http v0.3.4 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.82 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded bzip2 v0.4.3 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded time v0.3.12 [INFO] [stderr] Downloaded zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded async-compression v0.3.14 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.82 [INFO] [stderr] Downloaded moveslice v2.0.1 [INFO] [stderr] Downloaded num-complex v0.4.2 [INFO] [stderr] Downloaded serde-big-array v0.4.1 [INFO] [stderr] Downloaded serde_with_macros v2.0.0 [INFO] [stderr] Downloaded strum_macros v0.24.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.82 [INFO] [stderr] Downloaded zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Downloaded zip v0.6.2 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 882e4843eb8827751cbd83a542ebba6e1b8e560c04e14a79ae75e8b74994fcad [INFO] running `Command { std: "docker" "start" "-a" "882e4843eb8827751cbd83a542ebba6e1b8e560c04e14a79ae75e8b74994fcad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "882e4843eb8827751cbd83a542ebba6e1b8e560c04e14a79ae75e8b74994fcad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882e4843eb8827751cbd83a542ebba6e1b8e560c04e14a79ae75e8b74994fcad", kill_on_drop: false }` [INFO] [stdout] 882e4843eb8827751cbd83a542ebba6e1b8e560c04e14a79ae75e8b74994fcad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] deaf8fdb7f20465460a086ecea53495310085ff1c8a98a42117e083a04b82187 [INFO] running `Command { std: "docker" "start" "-a" "deaf8fdb7f20465460a086ecea53495310085ff1c8a98a42117e083a04b82187", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling moveslice v2.0.1 [INFO] [stderr] Compiling iri-string v0.4.1 [INFO] [stderr] Compiling time v0.3.12 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling serde_with_macros v2.0.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling clap v3.2.14 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling async-compression v0.3.14 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v2.0.0 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling axum v0.5.14 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.2 [INFO] [stderr] Compiling apilar 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/direction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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_Direction` [INFO] [stdout] ... [INFO] [stdout] 17 | pub enum Direction { [INFO] [stdout] | --------- `Direction` 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: `#[warn(non_local_definitions)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/direction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Direction` [INFO] [stdout] ... [INFO] [stdout] 17 | pub enum Direction { [INFO] [stdout] | --------- `Direction` 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: 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/instruction.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(EnumIter, Debug, PartialEq, Display, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Instruction` [INFO] [stdout] 20 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/instruction.rs:19:62 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(EnumIter, Debug, PartialEq, Display, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Instruction` [INFO] [stdout] 20 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` 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: this warning originates in the derive macro `ToPrimitive` (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 1m 24s [INFO] running `Command { std: "docker" "inspect" "deaf8fdb7f20465460a086ecea53495310085ff1c8a98a42117e083a04b82187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deaf8fdb7f20465460a086ecea53495310085ff1c8a98a42117e083a04b82187", kill_on_drop: false }` [INFO] [stdout] deaf8fdb7f20465460a086ecea53495310085ff1c8a98a42117e083a04b82187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f2ec6cb7330dead0eb1348f5469980c38ba590d7acfed58419f7ad7fe9145d9e [INFO] running `Command { std: "docker" "start" "-a" "f2ec6cb7330dead0eb1348f5469980c38ba590d7acfed58419f7ad7fe9145d9e", kill_on_drop: false }` [INFO] [stderr] Compiling apilar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | let mut location = habitat.get_mut((2, 2)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | let mut location = habitat.get_mut((2, 2)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | let mut location = habitat.get_mut((2, 2)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | let mut location = habitat.get_mut((2, 2)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | let mut location = habitat.get_mut((2, 2)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | let mut location = habitat.get_mut((2, 2)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | let mut location = habitat.get_mut((2, 2)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/habitat.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/direction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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_Direction` [INFO] [stdout] ... [INFO] [stdout] 17 | pub enum Direction { [INFO] [stdout] | --------- `Direction` 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: `#[warn(non_local_definitions)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/direction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Direction` [INFO] [stdout] ... [INFO] [stdout] 17 | pub enum Direction { [INFO] [stdout] | --------- `Direction` 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: 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/instruction.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(EnumIter, Debug, PartialEq, Display, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Instruction` [INFO] [stdout] 20 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/instruction.rs:19:62 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(EnumIter, Debug, PartialEq, Display, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Instruction` [INFO] [stdout] 20 | pub enum Instruction { [INFO] [stdout] | ----------- `Instruction` 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: this warning originates in the derive macro `ToPrimitive` (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 3.11s [INFO] running `Command { std: "docker" "inspect" "f2ec6cb7330dead0eb1348f5469980c38ba590d7acfed58419f7ad7fe9145d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ec6cb7330dead0eb1348f5469980c38ba590d7acfed58419f7ad7fe9145d9e", kill_on_drop: false }` [INFO] [stdout] f2ec6cb7330dead0eb1348f5469980c38ba590d7acfed58419f7ad7fe9145d9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ad7ec31717f4ec14eef5260001b16143cc81460c54d313148808a9efac3e2436 [INFO] running `Command { std: "docker" "start" "-a" "ad7ec31717f4ec14eef5260001b16143cc81460c54d313148808a9efac3e2436", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:489:13 [INFO] [stderr] | [INFO] [stderr] 489 | let mut location = habitat.get_mut((2, 2)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:502:13 [INFO] [stderr] | [INFO] [stderr] 502 | let mut location = habitat.get_mut((2, 2)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:507:13 [INFO] [stderr] | [INFO] [stderr] 507 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:517:13 [INFO] [stderr] | [INFO] [stderr] 517 | let mut location = habitat.get_mut((2, 2)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:529:13 [INFO] [stderr] | [INFO] [stderr] 529 | let mut location = habitat.get_mut((2, 2)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:534:13 [INFO] [stderr] | [INFO] [stderr] 534 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:544:13 [INFO] [stderr] | [INFO] [stderr] 544 | let mut location = habitat.get_mut((2, 2)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:550:13 [INFO] [stderr] | [INFO] [stderr] 550 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:564:13 [INFO] [stderr] | [INFO] [stderr] 564 | let mut location = habitat.get_mut((2, 2)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:571:13 [INFO] [stderr] | [INFO] [stderr] 571 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:585:13 [INFO] [stderr] | [INFO] [stderr] 585 | let mut location = habitat.get_mut((2, 2)); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/habitat.rs:591:13 [INFO] [stderr] | [INFO] [stderr] 591 | let mut location_north = habitat.get_mut((2, 1)); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/direction.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Direction` [INFO] [stderr] ... [INFO] [stderr] 17 | pub enum Direction { [INFO] [stderr] | --------- `Direction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `FromPrimitive` (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/direction.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | ToPrimitive, [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Direction` [INFO] [stderr] ... [INFO] [stderr] 17 | pub enum Direction { [INFO] [stderr] | --------- `Direction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ToPrimitive` (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/instruction.rs:19:47 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(EnumIter, Debug, PartialEq, Display, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Instruction` [INFO] [stderr] 20 | pub enum Instruction { [INFO] [stderr] | ----------- `Instruction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `FromPrimitive` (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/instruction.rs:19:62 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(EnumIter, Debug, PartialEq, Display, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Instruction` [INFO] [stderr] 20 | pub enum Instruction { [INFO] [stderr] | ----------- `Instruction` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `apilar` (bin "apilar" test) generated 16 warnings (run `cargo fix --bin "apilar" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/apilar-c1cf1180f6288167) [INFO] [stdout] [INFO] [stdout] running 105 tests [INFO] [stdout] test assembler::tests::test_assemble ... ok [INFO] [stdout] test assembler::tests::test_line_assemble ... ok [INFO] [stdout] test computer::tests::test_merge ... ok [INFO] [stdout] test assembler::tests::test_line_disassemble ... ok [INFO] [stdout] test computer::tests::test_merge_too_many_processors ... ok [INFO] [stdout] test computer::tests::test_split ... ok [INFO] [stdout] test computer::tests::test_split_beyond_end_doesnt_split ... ok [INFO] [stdout] test computer::tests::test_split_at_start_doesnt_split ... ok [INFO] [stdout] test computer::tests::test_split_uneven ... ok [INFO] [stdout] test habitat::tests::test_neighbor_out_of_bounds ... ok [INFO] [stdout] test habitat::tests::test_want_merge_overcome_blocked_neighbor ... ok [INFO] [stdout] test habitat::tests::test_want_merge_no_neighbor ... ok [INFO] [stdout] test computer::tests::test_split_out_of_bounds ... ok [INFO] [stdout] test habitat::tests::test_want_merge_with_blocked_neighbor ... ok [INFO] [stdout] test computer::tests::test_replicate ... ok [INFO] [stdout] test habitat::tests::test_want_merge_with_blocked_neighbor_but_not_in_right_direction ... ok [INFO] [stdout] test habitat::tests::test_want_merge_with_unblocked_neighbor ... ok [INFO] [stdout] test habitat::tests::test_want_split_no_obstructions ... ok [INFO] [stdout] test instruction::tests::test_addr ... ok [INFO] [stdout] test instruction::tests::test_add ... ok [INFO] [stdout] test instruction::tests::test_addr_further ... ok [INFO] [stdout] test habitat::tests::test_want_split_with_obstruction ... ok [INFO] [stdout] test instruction::tests::test_backward ... ok [INFO] [stdout] test instruction::tests::test_backward_out_of_bounds ... ok [INFO] [stdout] test instruction::tests::test_change_current_head ... ok [INFO] [stdout] test instruction::tests::test_change_current_head_clamped ... ok [INFO] [stdout] test instruction::tests::test_copy_head ... ok [INFO] [stdout] test instruction::tests::test_decode_failure ... ok [INFO] [stdout] test instruction::tests::test_decode_success ... ok [INFO] [stdout] test instruction::tests::test_copy_self ... ok [INFO] [stdout] test instruction::tests::test_die_if_out_of_bounds ... ok [INFO] [stdout] test instruction::tests::test_distance ... ok [INFO] [stdout] test instruction::tests::test_distance_with_reverse ... ok [INFO] [stdout] test instruction::tests::test_distance_with_self ... ok [INFO] [stdout] test instruction::tests::test_div ... ok [INFO] [stdout] test instruction::tests::test_div_by_zero ... ok [INFO] [stdout] test instruction::tests::test_eq_not_equal ... ok [INFO] [stdout] test instruction::tests::test_eq_equal ... ok [INFO] [stdout] test instruction::tests::test_forward ... ok [INFO] [stdout] test instruction::tests::test_forward_out_of_bounds ... ok [INFO] [stdout] test instruction::tests::test_if_false ... ok [INFO] [stdout] test instruction::tests::test_if_false_at_end ... ok [INFO] [stdout] test instruction::tests::test_if_true ... ok [INFO] [stdout] test instruction::tests::test_jmpif_false ... ok [INFO] [stdout] test instruction::tests::test_jmp ... ok [INFO] [stdout] test instruction::tests::test_jmpif_true ... ok [INFO] [stdout] test instruction::tests::test_jump_further ... ok [INFO] [stdout] test instruction::tests::test_mod ... ok [INFO] [stdout] test instruction::tests::test_mod_by_zero ... ok [INFO] [stdout] test instruction::tests::test_mul ... ok [INFO] [stdout] test instruction::tests::test_not_positive ... ok [INFO] [stdout] test instruction::tests::test_not_zero ... ok [INFO] [stdout] test instruction::tests::test_rnd ... ok [INFO] [stdout] test memory::tests::test_read_in_bounds ... ok [INFO] [stdout] test instruction::tests::test_sub ... ok [INFO] [stdout] test memory::tests::test_read_out_of_bounds ... ok [INFO] [stdout] test memory::tests::test_write_in_bounds ... ok [INFO] [stdout] test memory::tests::test_write_out_of_bounds ... ok [INFO] [stdout] test processor::tests::test_adjust_backward ... ok [INFO] [stdout] test processor::tests::test_adjust_backward_after_shrink ... ok [INFO] [stdout] test processor::tests::test_adjust_backward_illegal_head ... ok [INFO] [stdout] test processor::tests::test_adjust_backward_illegal_ip_after_deletion ... ok [INFO] [stdout] test processor::tests::test_adjust_backward_illegal_ip ... ok [INFO] [stdout] test processor::tests::test_adjust_backward_still_legal ... ok [INFO] [stdout] test processor::tests::test_adjust_forward ... ok [INFO] [stdout] test processor::tests::test_adjust_forward_from_address ... ok [INFO] [stdout] test processor::tests::test_backward_current_head ... ok [INFO] [stdout] test processor::tests::test_backward_current_head_out_of_bounds_address_distance ... ok [INFO] [stdout] test processor::tests::test_compact_stack ... ok [INFO] [stdout] test processor::tests::test_drop ... ok [INFO] [stdout] test processor::tests::test_forward_current_head ... ok [INFO] [stdout] test processor::tests::test_forward_current_head_out_of_bounds_address_distance ... ok [INFO] [stdout] test processor::tests::test_forward_current_head_out_of_bounds_memory ... ok [INFO] [stdout] test processor::tests::test_get_current_head_not_yet_set ... ok [INFO] [stdout] test processor::tests::test_over ... ok [INFO] [stdout] test processor::tests::test_over_not_enough_on_stack ... ok [INFO] [stdout] test processor::tests::test_pop ... ok [INFO] [stdout] test processor::tests::test_get_current_head_after_set ... ok [INFO] [stdout] test processor::tests::test_pop_address ... ok [INFO] [stdout] test processor::tests::test_pop_address_beyond_address_distance ... ok [INFO] [stdout] test processor::tests::test_pop_address_beyond_address_distance_other_direction ... ok [INFO] [stdout] test processor::tests::test_pop_address_out_of_bounds_of_memory ... ok [INFO] [stdout] test processor::tests::test_pop_clamped ... ok [INFO] [stdout] test processor::tests::test_pop_empty_stack ... ok [INFO] [stdout] test processor::tests::test_pop_head_nr ... ok [INFO] [stdout] test processor::tests::test_pop_max ... ok [INFO] [stdout] test processor::tests::test_rot ... ok [INFO] [stdout] test processor::tests::test_swap ... ok [INFO] [stdout] test processor::tests::test_swap_not_enough_on_stack ... ok [INFO] [stdout] test want::tests::test_clear ... ok [INFO] [stdout] test want::tests::test_get_by_value ... ok [INFO] [stdout] test want::tests::test_really_really_want_choose_strongest_wins ... ok [INFO] [stdout] test want::tests::test_really_really_want_choose_strongest_wins2 ... ok [INFO] [stdout] test want::tests::test_really_really_want_choose_strongest_wins2_with_strength ... ok [INFO] [stdout] test want::tests::test_really_really_want_choose_strongest_wins_with_strength ... ok [INFO] [stdout] test want::tests::test_really_want_one_cancel ... ok [INFO] [stdout] test want::tests::test_really_want_really_cancel ... ok [INFO] [stdout] test want::tests::test_really_want_start ... ok [INFO] [stdout] test want::tests::test_want_split_multiple_winners ... ok [INFO] [stdout] test want::tests::test_want_start_multiple ... ok [INFO] [stdout] test want::tests::test_want_start ... ok [INFO] [stdout] test want::tests::test_want_start_too_many ... ok [INFO] [stdout] test want::tests::test_want_with_cancel ... ok [INFO] [stdout] test want::tests::test_want_with_cancel_something_else ... ok [INFO] [stdout] test want::tests::test_want_with_cancel_ahead_of_time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 105 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad7ec31717f4ec14eef5260001b16143cc81460c54d313148808a9efac3e2436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7ec31717f4ec14eef5260001b16143cc81460c54d313148808a9efac3e2436", kill_on_drop: false }` [INFO] [stdout] ad7ec31717f4ec14eef5260001b16143cc81460c54d313148808a9efac3e2436