[INFO] fetching crate usb2642-i2c 0.1.1...
[INFO] checking usb2642-i2c-0.1.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate usb2642-i2c 0.1.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate usb2642-i2c 0.1.1 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate usb2642-i2c 0.1.1
[INFO] finished tweaking crates.io crate usb2642-i2c 0.1.1
[INFO] tweaked toml for crates.io crate usb2642-i2c 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate crates.io crate usb2642-i2c 0.1.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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v0.15.44
[INFO] [stderr]   Downloaded bitflags v0.8.2
[INFO] [stderr]   Downloaded autocfg v1.0.1
[INFO] [stderr]   Downloaded cc v1.0.66
[INFO] [stderr]   Downloaded quote v0.6.13
[INFO] [stderr]   Downloaded nix v0.19.1
[INFO] [stderr]   Downloaded num-traits v0.2.14
[INFO] [stderr]   Downloaded bitflags v1.2.1
[INFO] [stderr]   Downloaded num-derive v0.2.5
[INFO] [stderr]   Downloaded libc v0.2.81
[INFO] [stderr]   Downloaded proc-macro2 v0.4.30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fcf264aa45432a4d4afbb41092c9e7ad7a0e7dc86fe13b09d0f26c5c6fe79683
[INFO] running `Command { std: "docker" "start" "-a" "fcf264aa45432a4d4afbb41092c9e7ad7a0e7dc86fe13b09d0f26c5c6fe79683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcf264aa45432a4d4afbb41092c9e7ad7a0e7dc86fe13b09d0f26c5c6fe79683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcf264aa45432a4d4afbb41092c9e7ad7a0e7dc86fe13b09d0f26c5c6fe79683", kill_on_drop: false }`
[INFO] [stdout] fcf264aa45432a4d4afbb41092c9e7ad7a0e7dc86fe13b09d0f26c5c6fe79683
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e0603cbce02719ca99a362e1dc8f09d4c3a83aa412b2e8523dfb36682506fcc
[INFO] running `Command { std: "docker" "start" "-a" "8e0603cbce02719ca99a362e1dc8f09d4c3a83aa412b2e8523dfb36682506fcc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking bitflags v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking nix v0.19.1
[INFO] [stderr]     Checking usb2642-i2c v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/pca9536.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / bitflags! {
[INFO] [stdout] 22 | |     pub flags GpioPin: u8 {
[INFO] [stdout] 23 | |         const GPIO_NONE = 0x00,
[INFO] [stdout] 24 | |         const GPIO0 = 0x01,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     }
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/pca9536.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / bitflags! {
[INFO] [stdout] 22 | |     pub flags GpioPin: u8 {
[INFO] [stdout] 23 | |         const GPIO_NONE = 0x00,
[INFO] [stdout] 24 | |         const GPIO0 = 0x01,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     }
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.26s
[INFO] running `Command { std: "docker" "inspect" "8e0603cbce02719ca99a362e1dc8f09d4c3a83aa412b2e8523dfb36682506fcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e0603cbce02719ca99a362e1dc8f09d4c3a83aa412b2e8523dfb36682506fcc", kill_on_drop: false }`
[INFO] [stdout] 8e0603cbce02719ca99a362e1dc8f09d4c3a83aa412b2e8523dfb36682506fcc
[INFO] checking usb2642-i2c-0.1.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate usb2642-i2c 0.1.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate usb2642-i2c 0.1.1 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate usb2642-i2c 0.1.1
[INFO] finished tweaking crates.io crate usb2642-i2c 0.1.1
[INFO] tweaked toml for crates.io crate usb2642-i2c 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate crates.io crate usb2642-i2c 0.1.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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 78995760d9270bf8f885e120479731b5c8babe884c20bf6bf69c6903a4e93ba2
[INFO] running `Command { std: "docker" "start" "-a" "78995760d9270bf8f885e120479731b5c8babe884c20bf6bf69c6903a4e93ba2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78995760d9270bf8f885e120479731b5c8babe884c20bf6bf69c6903a4e93ba2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78995760d9270bf8f885e120479731b5c8babe884c20bf6bf69c6903a4e93ba2", kill_on_drop: false }`
[INFO] [stdout] 78995760d9270bf8f885e120479731b5c8babe884c20bf6bf69c6903a4e93ba2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c9406f33e65aad7eae97ff1d868d2634f111b0fd759d6cd685a1b5e6c0e4ab2
[INFO] running `Command { std: "docker" "start" "-a" "1c9406f33e65aad7eae97ff1d868d2634f111b0fd759d6cd685a1b5e6c0e4ab2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking bitflags v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking nix v0.19.1
[INFO] [stderr]     Checking usb2642-i2c v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(ToPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_DataTransferDirection`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(ToPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_DataTransferDirection`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `usb2642-i2c` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `usb2642-i2c` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "1c9406f33e65aad7eae97ff1d868d2634f111b0fd759d6cd685a1b5e6c0e4ab2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c9406f33e65aad7eae97ff1d868d2634f111b0fd759d6cd685a1b5e6c0e4ab2", kill_on_drop: false }`
[INFO] [stdout] 1c9406f33e65aad7eae97ff1d868d2634f111b0fd759d6cd685a1b5e6c0e4ab2
