[INFO] fetching crate fbthrift-git 0.0.7+b377f46... [INFO] checking fbthrift-git-0.0.7+b377f46 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate fbthrift-git 0.0.7+b377f46 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate fbthrift-git 0.0.7+b377f46 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-git 0.0.7+b377f46 [INFO] finished tweaking crates.io crate fbthrift-git 0.0.7+b377f46 [INFO] tweaked toml for crates.io crate fbthrift-git 0.0.7+b377f46 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 num-derive v0.3.3 [INFO] [stderr] Downloaded panic-message v0.3.0 [INFO] [stderr] Downloaded ghost v0.1.17 [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded bufsize v1.0.7 [INFO] [stderr] Downloaded quickcheck v1.0.3 [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] 60dc52a04270038eac8acff9bf1324dae5b26abc0b3e3466795427a9c050020d [INFO] running `Command { std: "docker" "start" "-a" "60dc52a04270038eac8acff9bf1324dae5b26abc0b3e3466795427a9c050020d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60dc52a04270038eac8acff9bf1324dae5b26abc0b3e3466795427a9c050020d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60dc52a04270038eac8acff9bf1324dae5b26abc0b3e3466795427a9c050020d", kill_on_drop: false }` [INFO] [stdout] 60dc52a04270038eac8acff9bf1324dae5b26abc0b3e3466795427a9c050020d [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] 06d34fb403902cce4b428e745b7c74bfaa3e754537d397e526fbd3b5d0c8b457 [INFO] running `Command { std: "docker" "start" "-a" "06d34fb403902cce4b428e745b7c74bfaa3e754537d397e526fbd3b5d0c8b457", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking panic-message v0.3.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking base64 v0.11.0 [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 rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.56 [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 regex v1.10.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking bufsize v1.0.7 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking fbthrift-git v0.0.7+b377f46 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.14s [INFO] running `Command { std: "docker" "inspect" "06d34fb403902cce4b428e745b7c74bfaa3e754537d397e526fbd3b5d0c8b457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d34fb403902cce4b428e745b7c74bfaa3e754537d397e526fbd3b5d0c8b457", kill_on_drop: false }` [INFO] [stdout] 06d34fb403902cce4b428e745b7c74bfaa3e754537d397e526fbd3b5d0c8b457 [INFO] checking fbthrift-git-0.0.7+b377f46 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate fbthrift-git 0.0.7+b377f46 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate fbthrift-git 0.0.7+b377f46 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-git 0.0.7+b377f46 [INFO] finished tweaking crates.io crate fbthrift-git 0.0.7+b377f46 [INFO] tweaked toml for crates.io crate fbthrift-git 0.0.7+b377f46 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] f4441027a3d36617ce66305283c6169206c369bda7ffd7e550214368167258c5 [INFO] running `Command { std: "docker" "start" "-a" "f4441027a3d36617ce66305283c6169206c369bda7ffd7e550214368167258c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4441027a3d36617ce66305283c6169206c369bda7ffd7e550214368167258c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4441027a3d36617ce66305283c6169206c369bda7ffd7e550214368167258c5", kill_on_drop: false }` [INFO] [stdout] f4441027a3d36617ce66305283c6169206c369bda7ffd7e550214368167258c5 [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] 814e766ea55cd6b4d9b750619aa3fc00ff65d31dd8754ade83e0e0a21ff81188 [INFO] running `Command { std: "docker" "start" "-a" "814e766ea55cd6b4d9b750619aa3fc00ff65d31dd8754ade83e0e0a21ff81188", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking panic-message v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking getrandom v0.2.12 [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 rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking bufsize v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking fbthrift-git v0.0.7+b377f46 (/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 [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 [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-git` (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 [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 [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-git` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "814e766ea55cd6b4d9b750619aa3fc00ff65d31dd8754ade83e0e0a21ff81188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814e766ea55cd6b4d9b750619aa3fc00ff65d31dd8754ade83e0e0a21ff81188", kill_on_drop: false }` [INFO] [stdout] 814e766ea55cd6b4d9b750619aa3fc00ff65d31dd8754ade83e0e0a21ff81188