[INFO] fetching crate st7920 0.4.1... [INFO] checking st7920-0.4.1 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125741 [INFO] extracting crate st7920 0.4.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate st7920 0.4.1 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking crates.io crate st7920 0.4.1 [INFO] finished tweaking crates.io crate st7920 0.4.1 [INFO] tweaked toml for crates.io crate st7920 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate st7920 0.4.1 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded embedded-hal-bus v0.1.0 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ed9bc1b7408a9070e438692b0badd835f91d9e9ef9be17d9c2dfd6c0aa18a33 [INFO] running `Command { std: "docker" "start" "-a" "7ed9bc1b7408a9070e438692b0badd835f91d9e9ef9be17d9c2dfd6c0aa18a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ed9bc1b7408a9070e438692b0badd835f91d9e9ef9be17d9c2dfd6c0aa18a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed9bc1b7408a9070e438692b0badd835f91d9e9ef9be17d9c2dfd6c0aa18a33", kill_on_drop: false }` [INFO] [stdout] 7ed9bc1b7408a9070e438692b0badd835f91d9e9ef9be17d9c2dfd6c0aa18a33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7c2e09288ff5365677ede91567272212933592dc180a484f5cfce75b81a2391 [INFO] running `Command { std: "docker" "start" "-a" "b7c2e09288ff5365677ede91567272212933592dc180a484f5cfce75b81a2391", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling stm32f4 v0.15.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling stm32f4xx-hal v0.20.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling embedded-hal-bus v0.1.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Compiling st7920 v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-storage v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking panic-semihosting v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(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] 30 | enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 1 warning emitted [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/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(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] 30 | enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.02s [INFO] running `Command { std: "docker" "inspect" "b7c2e09288ff5365677ede91567272212933592dc180a484f5cfce75b81a2391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c2e09288ff5365677ede91567272212933592dc180a484f5cfce75b81a2391", kill_on_drop: false }` [INFO] [stdout] b7c2e09288ff5365677ede91567272212933592dc180a484f5cfce75b81a2391