[INFO] fetching crate solana_libra_proptest_helpers 0.0.1-sol5... [INFO] checking solana_libra_proptest_helpers-0.0.1-sol5 against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] extracting crate solana_libra_proptest_helpers 0.0.1-sol5 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate solana_libra_proptest_helpers 0.0.1-sol5 on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate solana_libra_proptest_helpers 0.0.1-sol5 [INFO] finished tweaking crates.io crate solana_libra_proptest_helpers 0.0.1-sol5 [INFO] tweaked toml for crates.io crate solana_libra_proptest_helpers 0.0.1-sol5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding crossbeam v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding proptest v0.9.6 (available: v1.6.0) [INFO] [stderr] Adding proptest-derive v0.1.2 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35720cb7f57aa2028b69a6552acf158d398e8acc0fc5a163e5e39192e36c807c [INFO] running `Command { std: "docker" "start" "-a" "35720cb7f57aa2028b69a6552acf158d398e8acc0fc5a163e5e39192e36c807c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35720cb7f57aa2028b69a6552acf158d398e8acc0fc5a163e5e39192e36c807c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35720cb7f57aa2028b69a6552acf158d398e8acc0fc5a163e5e39192e36c807c", kill_on_drop: false }` [INFO] [stdout] 35720cb7f57aa2028b69a6552acf158d398e8acc0fc5a163e5e39192e36c807c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ad27c6d0ea440a33fc225f8006233a3a77d6289bbaf2ba1a2664f33157f2ccb [INFO] running `Command { std: "docker" "start" "-a" "2ad27c6d0ea440a33fc225f8006233a3a77d6289bbaf2ba1a2664f33157f2ccb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Checking solana_libra_proptest_helpers v0.0.1-sol5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/unit_tests/repeat_vec_tests.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | Self::next as (fn() -> Self) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - Self::next as (fn() -> Self) [INFO] [stdout] 136 + Self::next as fn() -> Self [INFO] [stdout] | [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/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Arbitrary, Clone, Copy, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Index` [INFO] [stdout] 103 | pub struct Index(PropIndex); [INFO] [stdout] | ----- `Index` 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] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Arbitrary, Clone, Copy, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Index` [INFO] [stdout] 103 | pub struct Index(PropIndex); [INFO] [stdout] | ----- `Index` 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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/unit_tests/repeat_vec_tests.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | mem::replace(&mut self.items, new_items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = mem::replace(&mut self.items, new_items); [INFO] [stdout] | +++++++ [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/unit_tests/repeat_vec_tests.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Arbitrary, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_RepeatVecOp` [INFO] [stdout] 142 | #[proptest(params = "usize")] [INFO] [stdout] 143 | enum RepeatVecOp { [INFO] [stdout] | ----------- `RepeatVecOp` 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 `dev` profile [unoptimized + debuginfo] target(s) in 22.55s [INFO] running `Command { std: "docker" "inspect" "2ad27c6d0ea440a33fc225f8006233a3a77d6289bbaf2ba1a2664f33157f2ccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad27c6d0ea440a33fc225f8006233a3a77d6289bbaf2ba1a2664f33157f2ccb", kill_on_drop: false }` [INFO] [stdout] 2ad27c6d0ea440a33fc225f8006233a3a77d6289bbaf2ba1a2664f33157f2ccb