[INFO] fetching crate desfire 0.2.0-alpha3...
[INFO] checking desfire-0.2.0-alpha3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate desfire 0.2.0-alpha3 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate desfire 0.2.0-alpha3 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 desfire 0.2.0-alpha3
[INFO] finished tweaking crates.io crate desfire 0.2.0-alpha3
[INFO] tweaked toml for crates.io crate desfire 0.2.0-alpha3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[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]  Downloading crates ...
[INFO] [stderr]   Downloaded simple-error v0.2.3
[INFO] [stderr]   Downloaded pcsc-sys v1.2.0
[INFO] [stderr]   Downloaded des v0.7.0
[INFO] [stderr]   Downloaded block-modes v0.8.1
[INFO] [stderr]   Downloaded pcsc v2.8.2
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 363bceca413f8f6c7426b0eb82980a398e62d448a8e8fb1111c9eb8b2819e59e
[INFO] running `Command { std: "docker" "start" "-a" "363bceca413f8f6c7426b0eb82980a398e62d448a8e8fb1111c9eb8b2819e59e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "363bceca413f8f6c7426b0eb82980a398e62d448a8e8fb1111c9eb8b2819e59e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "363bceca413f8f6c7426b0eb82980a398e62d448a8e8fb1111c9eb8b2819e59e", kill_on_drop: false }`
[INFO] [stdout] 363bceca413f8f6c7426b0eb82980a398e62d448a8e8fb1111c9eb8b2819e59e
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76b8a6e940166b875c4d6a620ac211f02fe7d76d2d094aaf9255e95b49689f71
[INFO] running `Command { std: "docker" "start" "-a" "76b8a6e940166b875c4d6a620ac211f02fe7d76d2d094aaf9255e95b49689f71", kill_on_drop: false }`
[INFO] [stderr]     Checking predicates-core v1.0.6
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling pcsc-sys v1.2.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking termtree v0.4.1
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling mockall_derive v0.11.4
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking simple-error v0.2.3
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking predicates-tree v1.0.9
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking pcsc v2.8.2
[INFO] [stderr]     Checking des v0.7.0
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking block-modes v0.8.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking desfire v0.2.0-alpha3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking predicates v2.1.5
[INFO] [stderr]     Checking mockall v0.11.4
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/desfire/desfire.rs:1115:9
[INFO] [stdout]      |
[INFO] [stdout] 1115 |         card.connect();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1115 |         let _ = card.connect();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/desfire/desfire.rs:1229:9
[INFO] [stdout]      |
[INFO] [stdout] 1229 |         card.connect();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1229 |         let _ = card.connect();
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/desfire/desfire.rs:1237:9
[INFO] [stdout]      |
[INFO] [stdout] 1237 |         desfire.select_application(0x000000);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1237 |         let _ = desfire.select_application(0x000000);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.19s
[INFO] running `Command { std: "docker" "inspect" "76b8a6e940166b875c4d6a620ac211f02fe7d76d2d094aaf9255e95b49689f71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76b8a6e940166b875c4d6a620ac211f02fe7d76d2d094aaf9255e95b49689f71", kill_on_drop: false }`
[INFO] [stdout] 76b8a6e940166b875c4d6a620ac211f02fe7d76d2d094aaf9255e95b49689f71
[INFO] checking desfire-0.2.0-alpha3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate desfire 0.2.0-alpha3 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate desfire 0.2.0-alpha3 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 desfire 0.2.0-alpha3
[INFO] finished tweaking crates.io crate desfire 0.2.0-alpha3
[INFO] tweaked toml for crates.io crate desfire 0.2.0-alpha3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c623b08154704e0533db1efcf76c52d4cb9f4d4e7005fa25dab0107698b22377
[INFO] running `Command { std: "docker" "start" "-a" "c623b08154704e0533db1efcf76c52d4cb9f4d4e7005fa25dab0107698b22377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c623b08154704e0533db1efcf76c52d4cb9f4d4e7005fa25dab0107698b22377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c623b08154704e0533db1efcf76c52d4cb9f4d4e7005fa25dab0107698b22377", kill_on_drop: false }`
[INFO] [stdout] c623b08154704e0533db1efcf76c52d4cb9f4d4e7005fa25dab0107698b22377
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8bfa7992279328beb67f968062fdf0f417d8c7731a3afa90a3c1760fadad9406
[INFO] running `Command { std: "docker" "start" "-a" "8bfa7992279328beb67f968062fdf0f417d8c7731a3afa90a3c1760fadad9406", kill_on_drop: false }`
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking predicates-core v1.0.6
[INFO] [stderr]     Checking termtree v0.4.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling pcsc-sys v1.2.0
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking simple-error v0.2.3
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]    Compiling mockall_derive v0.11.4
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking predicates-tree v1.0.9
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking pcsc v2.8.2
[INFO] [stderr]     Checking block-modes v0.8.1
[INFO] [stderr]     Checking des v0.7.0
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking desfire v0.2.0-alpha3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking predicates v2.1.5
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/desfire/mod.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Copy, FromPrimitive)]
[INFO] [stdout]   |                       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ChangeApplicationKey`
[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 `FromPrimitive` (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/iso7816_4/apdustatuswords.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(FromPrimitive)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_APDUStatusWord`
[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: this error originates in the derive macro `FromPrimitive` (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/iso7816_4/apdustatuswords.rs:130:10
[INFO] [stdout]     |
[INFO] [stdout] 130 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_APDUStatusWord2`
[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: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `desfire` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "8bfa7992279328beb67f968062fdf0f417d8c7731a3afa90a3c1760fadad9406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bfa7992279328beb67f968062fdf0f417d8c7731a3afa90a3c1760fadad9406", kill_on_drop: false }`
[INFO] [stdout] 8bfa7992279328beb67f968062fdf0f417d8c7731a3afa90a3c1760fadad9406
