[INFO] fetching crate libra-canonical-serialization 0.1.0... [INFO] testing libra-canonical-serialization-0.1.0 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate libra-canonical-serialization 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate libra-canonical-serialization 0.1.0 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libra-canonical-serialization 0.1.0 [INFO] finished tweaking crates.io crate libra-canonical-serialization 0.1.0 [INFO] tweaked toml for crates.io crate libra-canonical-serialization 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding proptest v0.10.1 (available: v1.6.0) [INFO] [stderr] Adding proptest-derive v0.2.0 (available: v0.5.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] def38918b177e37f75d9e194cb4bf232e6b74c0076537bb45641118a453fe044 [INFO] running `Command { std: "docker" "start" "-a" "def38918b177e37f75d9e194cb4bf232e6b74c0076537bb45641118a453fe044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "def38918b177e37f75d9e194cb4bf232e6b74c0076537bb45641118a453fe044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "def38918b177e37f75d9e194cb4bf232e6b74c0076537bb45641118a453fe044", kill_on_drop: false }` [INFO] [stdout] def38918b177e37f75d9e194cb4bf232e6b74c0076537bb45641118a453fe044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 583dab953abb4525ebf8344093d9dcdd11c046e50ee2af305d956ac09d3b2b12 [INFO] running `Command { std: "docker" "start" "-a" "583dab953abb4525ebf8344093d9dcdd11c046e50ee2af305d956ac09d3b2b12", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling libra-canonical-serialization v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.83s [INFO] running `Command { std: "docker" "inspect" "583dab953abb4525ebf8344093d9dcdd11c046e50ee2af305d956ac09d3b2b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583dab953abb4525ebf8344093d9dcdd11c046e50ee2af305d956ac09d3b2b12", kill_on_drop: false }` [INFO] [stdout] 583dab953abb4525ebf8344093d9dcdd11c046e50ee2af305d956ac09d3b2b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88181827f831b3f0e92f01ba689d963e2dfe21f0baec6e2e030dcb6bb2727f1 [INFO] running `Command { std: "docker" "start" "-a" "c88181827f831b3f0e92f01ba689d963e2dfe21f0baec6e2e030dcb6bb2727f1", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v0.10.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling proptest-derive v0.2.0 [INFO] [stderr] Compiling libra-canonical-serialization v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/serde.rs:267:6 [INFO] [stdout] | [INFO] [stdout] 267 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [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] --> tests/serde.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_S` [INFO] [stdout] 64 | struct S { [INFO] [stdout] | - `S` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (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] --> tests/serde.rs:512:10 [INFO] [stdout] | [INFO] [stdout] 512 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Addr` [INFO] [stdout] 513 | struct Addr([u8; 32]); [INFO] [stdout] | ---- `Addr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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] --> tests/serde.rs:515:10 [INFO] [stdout] | [INFO] [stdout] 515 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Bar` [INFO] [stdout] 516 | struct Bar { [INFO] [stdout] | --- `Bar` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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] --> tests/serde.rs:523:10 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Foo` [INFO] [stdout] 524 | struct Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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 48.86s [INFO] running `Command { std: "docker" "inspect" "c88181827f831b3f0e92f01ba689d963e2dfe21f0baec6e2e030dcb6bb2727f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88181827f831b3f0e92f01ba689d963e2dfe21f0baec6e2e030dcb6bb2727f1", kill_on_drop: false }` [INFO] [stdout] c88181827f831b3f0e92f01ba689d963e2dfe21f0baec6e2e030dcb6bb2727f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c759be410e4b8afc74de13d20ea439c727c411b925eef7e5655802fd1010632 [INFO] running `Command { std: "docker" "start" "-a" "9c759be410e4b8afc74de13d20ea439c727c411b925eef7e5655802fd1010632", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/serde.rs:267:6 [INFO] [stderr] | [INFO] [stderr] 267 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/serde.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_S` [INFO] [stderr] 64 | struct S { [INFO] [stderr] | - `S` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (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] --> tests/serde.rs:512:10 [INFO] [stderr] | [INFO] [stderr] 512 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Addr` [INFO] [stderr] 513 | struct Addr([u8; 32]); [INFO] [stderr] | ---- `Addr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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] --> tests/serde.rs:515:10 [INFO] [stderr] | [INFO] [stderr] 515 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Bar` [INFO] [stderr] 516 | struct Bar { [INFO] [stderr] | --- `Bar` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (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] --> tests/serde.rs:523:10 [INFO] [stderr] | [INFO] [stderr] 523 | #[derive(Arbitrary, Debug, Deserialize, Serialize, PartialEq)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Foo` [INFO] [stderr] 524 | struct Foo { [INFO] [stderr] | --- `Foo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_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 `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libra-canonical-serialization` (test "serde") generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libra_canonical_serialization-bd76a33ecd224b5f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/serde.rs (/opt/rustwide/target/debug/deps/serde-5f87e75469daae22) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test by_default_btreesets_are_serialized_as_sequences ... ok [INFO] [stdout] test path_buf ... ok [INFO] [stdout] test cow ... ok [INFO] [stdout] test invalid_bool ... ok [INFO] [stdout] test leftover_bytes ... ok [INFO] [stdout] test map_not_canonical ... ok [INFO] [stdout] test invalid_utf8 ... ok [INFO] [stdout] test invalid_option ... ok [INFO] [stdout] test proptest_addr ... ok [INFO] [stdout] test proptest_bar ... ok [INFO] [stdout] test proptest_i128 ... ok [INFO] [stdout] test proptest_box ... ok [INFO] [stdout] test proptest_i64 ... ok [INFO] [stdout] test proptest_i8 ... ok [INFO] [stdout] test proptest_i16 ... ok [INFO] [stdout] test proptest_i32 ... ok [INFO] [stdout] test proptest_bool ... ok [INFO] [stdout] test proptest_option ... ok [INFO] [stdout] test proptest_tuple4 ... ok [INFO] [stdout] test proptest_string ... ok [INFO] [stdout] test proptest_u128 ... ok [INFO] [stdout] test proptest_u16 ... ok [INFO] [stdout] test proptest_u32 ... ok [INFO] [stdout] test proptest_u64 ... ok [INFO] [stdout] test proptest_u8 ... ok [INFO] [stdout] test proptest_tuple2 ... ok [INFO] [stdout] test sequence_not_long_enough ... ok [INFO] [stdout] test sequence_too_long ... ok [INFO] [stdout] test serde_known_vector ... ok [INFO] [stdout] test slicebox ... ok [INFO] [stdout] test proptest_tuple3 ... ok [INFO] [stdout] test strbox ... ok [INFO] [stdout] test test_char ... ok [INFO] [stdout] test test_enum ... ok [INFO] [stdout] test test_f32 ... ok [INFO] [stdout] test test_f64 ... ok [INFO] [stdout] test test_recursion_limit ... ok [INFO] [stdout] test uleb_encoding_and_variant ... ok [INFO] [stdout] test zero_copy_parse ... ok [INFO] [stdout] test variable_lengths ... ok [INFO] [stdout] test proptest_vec ... ok [INFO] [stdout] test proptest_tuple_strings ... ok [INFO] [stdout] test proptest_lexicographic_order ... ok [INFO] [stdout] test proptest_btreemap ... ok [INFO] [stdout] test proptest_foo ... ok [INFO] [stdout] test proptest_struct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.17s [INFO] [stdout] [INFO] [stderr] Doc-tests libra_canonical_serialization [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 117) ... ok [INFO] [stdout] test src/lib.rs - (line 179) ... ok [INFO] [stdout] test src/lib.rs - (line 244) ... ok [INFO] [stdout] test src/lib.rs - (line 158) ... ok [INFO] [stdout] test src/lib.rs - (line 138) ... ok [INFO] [stdout] test src/de.rs - de::from_bytes (line 15) ... ok [INFO] [stdout] test src/lib.rs - (line 197) ... ok [INFO] [stdout] test src/lib.rs - (line 274) ... ok [INFO] [stdout] test src/ser.rs - ser::to_bytes (line 16) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.80s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c759be410e4b8afc74de13d20ea439c727c411b925eef7e5655802fd1010632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c759be410e4b8afc74de13d20ea439c727c411b925eef7e5655802fd1010632", kill_on_drop: false }` [INFO] [stdout] 9c759be410e4b8afc74de13d20ea439c727c411b925eef7e5655802fd1010632