[INFO] fetching crate fbthrift 0.0.3...
[INFO] checking fbthrift-0.0.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate fbthrift 0.0.3 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate fbthrift 0.0.3 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 fbthrift 0.0.3
[INFO] finished tweaking crates.io crate fbthrift 0.0.3
[INFO] tweaked toml for crates.io crate fbthrift 0.0.3 written to /workspace/builds/worker-7-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 futures-macro v0.3.30
[INFO] [stderr]   Downloaded ordered-float v1.1.1
[INFO] [stderr]   Downloaded env_logger v0.8.4
[INFO] [stderr]   Downloaded bufsize v1.0.7
[INFO] [stderr]   Downloaded quickcheck v1.0.3
[INFO] [stderr]   Downloaded panic-message v0.3.0
[INFO] [stderr]   Downloaded futures-executor v0.3.30
[INFO] [stderr]   Downloaded async-trait v0.1.77
[INFO] [stderr]   Downloaded ghost v0.1.17
[INFO] [stderr]   Downloaded futures v0.3.30
[INFO] [stderr]   Downloaded base64 v0.11.0
[INFO] [stderr]   Downloaded futures v0.1.31
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2c3d88d87892caae0ef70c90e3657aec35359095b6cd84ced335ff5b586a2e23
[INFO] running `Command { std: "docker" "start" "-a" "2c3d88d87892caae0ef70c90e3657aec35359095b6cd84ced335ff5b586a2e23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c3d88d87892caae0ef70c90e3657aec35359095b6cd84ced335ff5b586a2e23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c3d88d87892caae0ef70c90e3657aec35359095b6cd84ced335ff5b586a2e23", kill_on_drop: false }`
[INFO] [stdout] 2c3d88d87892caae0ef70c90e3657aec35359095b6cd84ced335ff5b586a2e23
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6528ae0d67b1026960d0a04d59fdc37861059e67a6da2166ecd74b75bef07d6c
[INFO] running `Command { std: "docker" "start" "-a" "6528ae0d67b1026960d0a04d59fdc37861059e67a6da2166ecd74b75bef07d6c", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking panic-message v0.3.0
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking ordered-float v1.1.1
[INFO] [stderr]     Checking bufsize v1.0.7
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling ghost v0.1.17
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking thiserror v1.0.56
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking fbthrift v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.45s
[INFO] running `Command { std: "docker" "inspect" "6528ae0d67b1026960d0a04d59fdc37861059e67a6da2166ecd74b75bef07d6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6528ae0d67b1026960d0a04d59fdc37861059e67a6da2166ecd74b75bef07d6c", kill_on_drop: false }`
[INFO] [stdout] 6528ae0d67b1026960d0a04d59fdc37861059e67a6da2166ecd74b75bef07d6c
[INFO] checking fbthrift-0.0.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate fbthrift 0.0.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate fbthrift 0.0.3 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 fbthrift 0.0.3
[INFO] finished tweaking crates.io crate fbthrift 0.0.3
[INFO] tweaked toml for crates.io crate fbthrift 0.0.3 written to /workspace/builds/worker-7-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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6269f8428e57f1bc8604ef7b5ef4ff7a828945907bf9a1291fee0367e832f380
[INFO] running `Command { std: "docker" "start" "-a" "6269f8428e57f1bc8604ef7b5ef4ff7a828945907bf9a1291fee0367e832f380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6269f8428e57f1bc8604ef7b5ef4ff7a828945907bf9a1291fee0367e832f380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6269f8428e57f1bc8604ef7b5ef4ff7a828945907bf9a1291fee0367e832f380", kill_on_drop: false }`
[INFO] [stdout] 6269f8428e57f1bc8604ef7b5ef4ff7a828945907bf9a1291fee0367e832f380
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8af79a3638f1cb22a9329a362e765d00b8e5a90ebe8fa0b2df102f25f7cb59c0
[INFO] running `Command { std: "docker" "start" "-a" "8af79a3638f1cb22a9329a362e765d00b8e5a90ebe8fa0b2df102f25f7cb59c0", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking panic-message v0.3.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking ordered-float v1.1.1
[INFO] [stderr]     Checking bufsize v1.0.7
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling ghost v0.1.17
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking thiserror v1.0.56
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking fbthrift v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/thrift_protocol.rs:25:51
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID`
[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/thrift_protocol.rs:60:45
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MessageType`
[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 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fbthrift` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/thrift_protocol.rs:25:51
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, FromPrimitive)]
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID`
[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/thrift_protocol.rs:60:45
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MessageType`
[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 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fbthrift` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "8af79a3638f1cb22a9329a362e765d00b8e5a90ebe8fa0b2df102f25f7cb59c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8af79a3638f1cb22a9329a362e765d00b8e5a90ebe8fa0b2df102f25f7cb59c0", kill_on_drop: false }`
[INFO] [stdout] 8af79a3638f1cb22a9329a362e765d00b8e5a90ebe8fa0b2df102f25f7cb59c0
