[INFO] fetching crate fbthrift 0.0.3... [INFO] testing fbthrift-0.0.3 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate fbthrift 0.0.3 into /workspace/builds/worker-5-tc2/source [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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fbthrift 0.0.3 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.11.0 (available: v0.22.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v5.1.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa171fc3c2c062a3a14454fcf86a952e91d5a07378081effcbda08b989817d9b [INFO] running `Command { std: "docker" "start" "-a" "aa171fc3c2c062a3a14454fcf86a952e91d5a07378081effcbda08b989817d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa171fc3c2c062a3a14454fcf86a952e91d5a07378081effcbda08b989817d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa171fc3c2c062a3a14454fcf86a952e91d5a07378081effcbda08b989817d9b", kill_on_drop: false }` [INFO] [stdout] aa171fc3c2c062a3a14454fcf86a952e91d5a07378081effcbda08b989817d9b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] add2483d85c1e06c601ec907e5f6ce999d49a7e8d8aad832d4abe54c09973fd3 [INFO] running `Command { std: "docker" "start" "-a" "add2483d85c1e06c601ec907e5f6ce999d49a7e8d8aad832d4abe54c09973fd3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling panic-message v0.3.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bufsize v1.0.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling fbthrift v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID` [INFO] [stdout] 26 | pub enum ProtocolID { [INFO] [stdout] | ---------- `ProtocolID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [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/thrift_protocol.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType` [INFO] [stdout] 61 | #[repr(u32)] [INFO] [stdout] 62 | pub enum MessageType { [INFO] [stdout] | ----------- `MessageType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.28s [INFO] running `Command { std: "docker" "inspect" "add2483d85c1e06c601ec907e5f6ce999d49a7e8d8aad832d4abe54c09973fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add2483d85c1e06c601ec907e5f6ce999d49a7e8d8aad832d4abe54c09973fd3", kill_on_drop: false }` [INFO] [stdout] add2483d85c1e06c601ec907e5f6ce999d49a7e8d8aad832d4abe54c09973fd3 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1029b795b673bbb1746a4c3d991b44ca785a0aecc43b38e43a25ced666bf1f69 [INFO] running `Command { std: "docker" "start" "-a" "1029b795b673bbb1746a4c3d991b44ca785a0aecc43b38e43a25ced666bf1f69", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID` [INFO] [stdout] 26 | pub enum ProtocolID { [INFO] [stdout] | ---------- `ProtocolID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [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/thrift_protocol.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType` [INFO] [stdout] 61 | #[repr(u32)] [INFO] [stdout] 62 | pub enum MessageType { [INFO] [stdout] | ----------- `MessageType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling fbthrift v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID` [INFO] [stdout] 26 | pub enum ProtocolID { [INFO] [stdout] | ---------- `ProtocolID` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [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/thrift_protocol.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType` [INFO] [stdout] 61 | #[repr(u32)] [INFO] [stdout] 62 | pub enum MessageType { [INFO] [stdout] | ----------- `MessageType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.19s [INFO] running `Command { std: "docker" "inspect" "1029b795b673bbb1746a4c3d991b44ca785a0aecc43b38e43a25ced666bf1f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1029b795b673bbb1746a4c3d991b44ca785a0aecc43b38e43a25ced666bf1f69", kill_on_drop: false }` [INFO] [stdout] 1029b795b673bbb1746a4c3d991b44ca785a0aecc43b38e43a25ced666bf1f69 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90c7a7564ec10868912264f749ae2d64d291e4ddaf714b375997d150d93f35f4 [INFO] running `Command { std: "docker" "start" "-a" "90c7a7564ec10868912264f749ae2d64d291e4ddaf714b375997d150d93f35f4", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/thrift_protocol.rs:25:51 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolID` [INFO] [stderr] 26 | pub enum ProtocolID { [INFO] [stderr] | ---------- `ProtocolID` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/thrift_protocol.rs:60:45 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType` [INFO] [stderr] 61 | #[repr(u32)] [INFO] [stderr] 62 | pub enum MessageType { [INFO] [stderr] | ----------- `MessageType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `fbthrift` (lib) generated 2 warnings [INFO] [stderr] warning: `fbthrift` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fbthrift-af5174ef61e9638c) [INFO] [stdout] [INFO] [stdout] running 68 tests [INFO] [stdout] test bufext::test::test_bytes_reset ... ok [INFO] [stdout] test bufext::test::test_empty_bytes_reset ... ok [INFO] [stdout] test request_context::check_unsized ... ok [INFO] [stdout] test tests::binary::read_message_begin ... ok [INFO] [stdout] test tests::binary::deserializer_underflow ... ok [INFO] [stdout] test tests::binary::read_binary_from_chained_buffer ... ok [INFO] [stdout] test tests::binary::read_write_bool_list ... ok [INFO] [stdout] test tests::binary::read_write_byte_list ... ok [INFO] [stdout] test tests::binary::read_write_f32_list ... ok [INFO] [stdout] test context_stack::check_unsized ... ok [INFO] [stdout] test tests::binary::read_write_f64_list ... ok [INFO] [stdout] test tests::binary::read_write_f64_set ... ok [INFO] [stdout] test tests::binary::read_write_i64_list ... ok [INFO] [stdout] test tests::binary::read_write_message ... ok [INFO] [stdout] test tests::binary::read_write_i16_list ... ok [INFO] [stdout] test tests::binary::read_write_i32_list ... ok [INFO] [stdout] test tests::binary::read_write_string_i64_map ... ok [INFO] [stdout] test tests::binary::read_write_string_list ... ok [INFO] [stdout] test tests::binary::write_message_begin ... ok [INFO] [stdout] test tests::compact::deserializer_underflow ... ok [INFO] [stdout] test tests::compact::read_message_begin ... ok [INFO] [stdout] test tests::compact::read_write_bool_list ... ok [INFO] [stdout] test tests::compact::read_write_byte_list ... ok [INFO] [stdout] test tests::compact::read_write_f32_list ... ok [INFO] [stdout] test tests::compact::read_write_f64_set ... ok [INFO] [stdout] test tests::compact::read_write_f64_list ... ok [INFO] [stdout] test tests::compact::read_write_i16_list ... ok [INFO] [stdout] test tests::compact::read_write_i64_list ... ok [INFO] [stdout] test tests::compact::read_write_i32_list ... ok [INFO] [stdout] test tests::binary::serializer_overflow ... ok [INFO] [stdout] test tests::compact::read_binary_from_chained_buffer ... ok [INFO] [stdout] test tests::compact::skip_stop ... ok [INFO] [stdout] test tests::compact::skip_stop_in_container ... ok [INFO] [stdout] test tests::simplejson::read_json_value ... ok [INFO] [stdout] test varint::test::bad_toobig ... ignored [INFO] [stdout] test tests::simplejson::write_i64_list ... ok [INFO] [stdout] test tests::compact::read_write_message ... ok [INFO] [stdout] test tests::compact::read_write_string_i64_map ... ok [INFO] [stdout] test tests::simplejson::write_f64_list ... ok [INFO] [stdout] test tests::compact::read_write_string_list ... ok [INFO] [stdout] test varint::test::bad_toolong ... ok [INFO] [stdout] test tests::simplejson::write_binary ... ok [INFO] [stdout] test tests::compact::serializer_overflow ... ok [INFO] [stdout] test tests::compact::skip_i32_ok ... ok [INFO] [stdout] test tests::simplejson::write_message ... ok [INFO] [stdout] test tests::compact::write_message_begin ... ok [INFO] [stdout] test tests::simplejson::fail_to_read_json_value ... ok [INFO] [stdout] test tests::simplejson::test_trailing ... ok [INFO] [stdout] test varint::test::bad_tooshort ... ok [INFO] [stdout] test varint::test::check_u64_len ... ok [INFO] [stdout] test tests::simplejson::write_string_list ... ok [INFO] [stdout] test varint::test::simple_1byte ... ok [INFO] [stdout] test varint::test::roundtrip_list ... ok [INFO] [stdout] test varint::test::simple_3byte ... ok [INFO] [stdout] test varint::test::check_u64 ... ok [INFO] [stdout] test varint::test::maxsize ... ok [INFO] [stdout] test varint::test::simple_3byte_leftover ... ok [INFO] [stdout] test varint::test::simple_max ... ok [INFO] [stdout] test varint::test::simple_zero ... ok [INFO] [stdout] test tests::simplejson::write_bool_list ... ok [INFO] [stdout] test varint::test::multi_chained ... ok [INFO] [stdout] test varint::test::roundtrip_zigzag ... ok [INFO] [stdout] test varint::test::multi_small ... ok [INFO] [stdout] test varint::test::varint_u64_roundtrip ... ok [INFO] [stdout] test varint::test::varint_u64_roundtrip2 ... ok [INFO] [stdout] test varint::test::zigzag_roundtrip ... ok [INFO] [stdout] test varint::test::simple_2byte ... ok [INFO] [stderr] Doc-tests fbthrift [INFO] [stdout] test tests::simplejson::fail_to_read_object ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 67 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/binary_protocol.rs - binary_protocol::BinaryProtocol (line 46) ... ignored [INFO] [stdout] test src/binary_protocol.rs - binary_protocol::BinaryProtocol (line 60) ... ignored [INFO] [stdout] test src/compact_protocol.rs - compact_protocol::CompactProtocol (line 142) ... ignored [INFO] [stdout] test src/compact_protocol.rs - compact_protocol::CompactProtocol (line 156) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90c7a7564ec10868912264f749ae2d64d291e4ddaf714b375997d150d93f35f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90c7a7564ec10868912264f749ae2d64d291e4ddaf714b375997d150d93f35f4", kill_on_drop: false }` [INFO] [stdout] 90c7a7564ec10868912264f749ae2d64d291e4ddaf714b375997d150d93f35f4