[INFO] fetching crate libra-canonical-serialization 0.1.0... [INFO] testing libra-canonical-serialization-0.1.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate libra-canonical-serialization 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate libra-canonical-serialization 0.1.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc3749f3b7b7a8e3ed09a8d3e1700de6950a6fb537ba04b91cfab3725b456b85 [INFO] running `Command { std: "docker" "start" "-a" "dc3749f3b7b7a8e3ed09a8d3e1700de6950a6fb537ba04b91cfab3725b456b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3749f3b7b7a8e3ed09a8d3e1700de6950a6fb537ba04b91cfab3725b456b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3749f3b7b7a8e3ed09a8d3e1700de6950a6fb537ba04b91cfab3725b456b85", kill_on_drop: false }` [INFO] [stdout] dc3749f3b7b7a8e3ed09a8d3e1700de6950a6fb537ba04b91cfab3725b456b85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 875683a1fe5b9a5b570a51cf345e1794e4824472f429de4e4c044e67fbe4e7c9 [INFO] running `Command { std: "docker" "start" "-a" "875683a1fe5b9a5b570a51cf345e1794e4824472f429de4e4c044e67fbe4e7c9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.216 [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 15.49s [INFO] running `Command { std: "docker" "inspect" "875683a1fe5b9a5b570a51cf345e1794e4824472f429de4e4c044e67fbe4e7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875683a1fe5b9a5b570a51cf345e1794e4824472f429de4e4c044e67fbe4e7c9", kill_on_drop: false }` [INFO] [stdout] 875683a1fe5b9a5b570a51cf345e1794e4824472f429de4e4c044e67fbe4e7c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4a877faa3a8d0caf84c56611c355f0c111f6f4895478aadbf7da5e43fc13b46 [INFO] running `Command { std: "docker" "start" "-a" "a4a877faa3a8d0caf84c56611c355f0c111f6f4895478aadbf7da5e43fc13b46", 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 bitflags v2.6.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [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.13s [INFO] running `Command { std: "docker" "inspect" "a4a877faa3a8d0caf84c56611c355f0c111f6f4895478aadbf7da5e43fc13b46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4a877faa3a8d0caf84c56611c355f0c111f6f4895478aadbf7da5e43fc13b46", kill_on_drop: false }` [INFO] [stdout] a4a877faa3a8d0caf84c56611c355f0c111f6f4895478aadbf7da5e43fc13b46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77427e1aec31e5cf4c9a2074bfcde55a9fcbfe18af9b6c2cdfa75c65f64a37f4 [INFO] running `Command { std: "docker" "start" "-a" "77427e1aec31e5cf4c9a2074bfcde55a9fcbfe18af9b6c2cdfa75c65f64a37f4", 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.22s [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 invalid_bool ... ok [INFO] [stdout] test leftover_bytes ... ok [INFO] [stdout] test invalid_option ... ok [INFO] [stdout] test map_not_canonical ... ok [INFO] [stdout] test by_default_btreesets_are_serialized_as_sequences ... ok [INFO] [stdout] test invalid_utf8 ... ok [INFO] [stdout] test cow ... ok [INFO] [stdout] test path_buf ... ok [INFO] [stdout] test proptest_addr ... ok [INFO] [stdout] test proptest_box ... ok [INFO] [stdout] test proptest_bool ... ok [INFO] [stdout] test proptest_i16 ... ok [INFO] [stdout] test proptest_i128 ... ok [INFO] [stdout] test proptest_i8 ... ok [INFO] [stdout] test proptest_i64 ... ok [INFO] [stdout] test proptest_i32 ... ok [INFO] [stdout] test proptest_option ... ok [INFO] [stdout] test proptest_bar ... ok [INFO] [stdout] test proptest_tuple4 ... ok [INFO] [stdout] test proptest_tuple2 ... ok [INFO] [stdout] test proptest_u128 ... ok [INFO] [stdout] test proptest_string ... ok [INFO] [stdout] test proptest_u32 ... ok [INFO] [stdout] test proptest_u16 ... ok [INFO] [stdout] test proptest_u8 ... ok [INFO] [stdout] test proptest_u64 ... 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 strbox ... ok [INFO] [stdout] test proptest_tuple3 ... ok [INFO] [stdout] test test_char ... ok [INFO] [stdout] test test_f32 ... ok [INFO] [stdout] test test_f64 ... ok [INFO] [stdout] test test_enum ... ok [INFO] [stdout] test uleb_encoding_and_variant ... ok [INFO] [stdout] test test_recursion_limit ... 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 8.33s [INFO] [stdout] [INFO] [stderr] Doc-tests libra_canonical_serialization [INFO] [stderr] error: DefId(0:0 ~ libra_canonical_serialization[d764]) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name libra_canonical_serialization --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-d0909a64ddc46d78.rlib --extern libra_canonical_serialization=/opt/rustwide/target/debug/deps/liblibra_canonical_serialization-106a1452ba064e36.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-405afd4c25b2bf45.rlib --extern proptest_derive=/opt/rustwide/target/debug/deps/libproptest_derive-671b623fb940640a.so --extern serde=/opt/rustwide/target/debug/deps/libserde-9a1cb0483d5f46f5.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-736c9983b196273c.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "77427e1aec31e5cf4c9a2074bfcde55a9fcbfe18af9b6c2cdfa75c65f64a37f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77427e1aec31e5cf4c9a2074bfcde55a9fcbfe18af9b6c2cdfa75c65f64a37f4", kill_on_drop: false }` [INFO] [stdout] 77427e1aec31e5cf4c9a2074bfcde55a9fcbfe18af9b6c2cdfa75c65f64a37f4