[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] building faassen/apilar against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaassen%2Fapilar" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/faassen/apilar on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Downloaded zip v0.6.2 [INFO] [stderr] Downloaded zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Downloaded jobserver v0.1.24 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded tracing-log v0.1.3 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded sharded-slab v0.1.4 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded tracing-subscriber v0.3.15 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded serde_with v2.0.0 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded chrono v0.4.20 [INFO] [stderr] Downloaded clap v3.2.14 [INFO] [stderr] Downloaded tower-http v0.3.4 [INFO] [stderr] Downloaded brotli-decompressor v2.3.2 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded regex-syntax v0.6.27 [INFO] [stderr] Downloaded tokio-util v0.7.3 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded moveslice v2.0.1 [INFO] [stderr] Downloaded serde_cbor v0.10.2 [INFO] [stderr] Downloaded mio v0.8.4 [INFO] [stderr] Downloaded regex v1.6.0 [INFO] [stderr] Downloaded zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Downloaded serde-big-array v0.4.1 [INFO] [stderr] Downloaded darling v0.14.1 [INFO] [stderr] Downloaded serde_with_macros v2.0.0 [INFO] [stderr] Downloaded axum v0.5.14 [INFO] [stderr] Downloaded strum v0.24.1 [INFO] [stderr] Downloaded rustversion v1.0.8 [INFO] [stderr] Downloaded strum_macros v0.24.2 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded async-compression v0.3.14 [INFO] [stderr] Downloaded http-range-header v0.3.0 [INFO] [stderr] Downloaded iri-string v0.4.1 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded tokio-macros v1.8.0 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded uuid v1.1.2 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded time v0.3.12 [INFO] [stderr] Downloaded axum-core v0.2.7 [INFO] [stderr] Downloaded matchit v0.5.0 [INFO] [stderr] Downloaded sync_wrapper v0.1.1 [INFO] [stderr] Downloaded tungstenite v0.17.3 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.2 [INFO] [stderr] Downloaded os_str_bytes v6.2.0 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded num-complex v0.4.2 [INFO] [stderr] Downloaded darling_core v0.14.1 [INFO] [stderr] Downloaded darling_macro v0.14.1 [INFO] [stderr] Downloaded thread_local v1.1.4 [INFO] [stderr] Downloaded bzip2 v0.4.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.11 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded pbkdf2 v0.10.1 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded serde_derive v1.0.140 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fa3ca1ef284fdac8f3d446bb07880c2c099c12e945c8bce97d8130015ac4087 [INFO] running `Command { std: "docker" "start" "-a" "0fa3ca1ef284fdac8f3d446bb07880c2c099c12e945c8bce97d8130015ac4087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fa3ca1ef284fdac8f3d446bb07880c2c099c12e945c8bce97d8130015ac4087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa3ca1ef284fdac8f3d446bb07880c2c099c12e945c8bce97d8130015ac4087", kill_on_drop: false }` [INFO] [stdout] 0fa3ca1ef284fdac8f3d446bb07880c2c099c12e945c8bce97d8130015ac4087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6832355ff34327c15d863a0c529a73308e6df52d46c9762c672416952cc0727d [INFO] running `Command { std: "docker" "start" "-a" "6832355ff34327c15d863a0c529a73308e6df52d46c9762c672416952cc0727d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling subtle v2.4.1 [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 http v0.2.8 [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 unicase v2.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [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 mime v0.3.16 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [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 digest v0.10.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling want v0.3.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 hmac v0.12.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling password-hash v0.3.2 [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 aes v0.7.5 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [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 termcolor v1.1.3 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling moveslice v2.0.1 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling time v0.3.12 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling iri-string v0.4.1 [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 pin-project v1.0.11 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.24.2 [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 2m 03s [INFO] running `Command { std: "docker" "inspect" "6832355ff34327c15d863a0c529a73308e6df52d46c9762c672416952cc0727d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6832355ff34327c15d863a0c529a73308e6df52d46c9762c672416952cc0727d", kill_on_drop: false }` [INFO] [stdout] 6832355ff34327c15d863a0c529a73308e6df52d46c9762c672416952cc0727d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bef0128eabf38032c252851900741cedfd37b166d08ef6c6e4710012b136689a [INFO] running `Command { std: "docker" "start" "-a" "bef0128eabf38032c252851900741cedfd37b166d08ef6c6e4710012b136689a", 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)]` (part of `#[warn(unused)]`) 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 6.17s [INFO] running `Command { std: "docker" "inspect" "bef0128eabf38032c252851900741cedfd37b166d08ef6c6e4710012b136689a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef0128eabf38032c252851900741cedfd37b166d08ef6c6e4710012b136689a", kill_on_drop: false }` [INFO] [stdout] bef0128eabf38032c252851900741cedfd37b166d08ef6c6e4710012b136689a