[INFO] fetching crate forest_address 0.3.2... [INFO] testing forest_address-0.3.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate forest_address 0.3.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate forest_address 0.3.2 [INFO] finished tweaking crates.io crate forest_address 0.3.2 [INFO] tweaked toml for crates.io crate forest_address 0.3.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate forest_address 0.3.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multibase v0.8.0 [INFO] [stderr] Downloaded unsigned-varint v0.5.1 [INFO] [stderr] Downloaded multihash-derive v0.7.2 [INFO] [stderr] Downloaded forest_cid v0.3.0 [INFO] [stderr] Downloaded integer-encoding v2.1.3 [INFO] [stderr] Downloaded forest_encoding v0.2.2 [INFO] [stderr] Downloaded multihash v0.13.2 [INFO] [stderr] Downloaded forest_json_utils v0.1.1 [INFO] [stderr] Downloaded cs_serde_cbor v0.12.0 [INFO] [stderr] Downloaded cid v0.6.1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bcc3f43d1f08ebe9c2d71d48b3222384ae2695e87bd77453caed0590fa9d2a7 [INFO] running `Command { std: "docker" "start" "-a" "0bcc3f43d1f08ebe9c2d71d48b3222384ae2695e87bd77453caed0590fa9d2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bcc3f43d1f08ebe9c2d71d48b3222384ae2695e87bd77453caed0590fa9d2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bcc3f43d1f08ebe9c2d71d48b3222384ae2695e87bd77453caed0590fa9d2a7", kill_on_drop: false }` [INFO] [stdout] 0bcc3f43d1f08ebe9c2d71d48b3222384ae2695e87bd77453caed0590fa9d2a7 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f26c688a2ed731a6374573320ccddb22b45c0f381337dadf26511db2b283698 [INFO] running `Command { std: "docker" "start" "-a" "8f26c688a2ed731a6374573320ccddb22b45c0f381337dadf26511db2b283698", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling integer-encoding v2.1.3 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling cid v0.6.1 [INFO] [stderr] Compiling forest_cid v0.3.0 [INFO] [stderr] Compiling serde_tuple v0.5.0 [INFO] [stderr] Compiling cs_serde_bytes v0.12.2 [INFO] [stderr] Compiling cs_serde_cbor v0.12.0 [INFO] [stderr] Compiling forest_encoding v0.2.2 [INFO] [stderr] Compiling forest_address v0.3.2 (/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/protocol.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Protocol` [INFO] [stdout] 12 | #[repr(u8)] [INFO] [stdout] 13 | pub enum Protocol { [INFO] [stdout] | -------- `Protocol` 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: `#[warn(non_local_definitions)]` on by default [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 13.36s [INFO] running `Command { std: "docker" "inspect" "8f26c688a2ed731a6374573320ccddb22b45c0f381337dadf26511db2b283698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f26c688a2ed731a6374573320ccddb22b45c0f381337dadf26511db2b283698", kill_on_drop: false }` [INFO] [stdout] 8f26c688a2ed731a6374573320ccddb22b45c0f381337dadf26511db2b283698 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd986208b16ad11e256716a1a7c3e62676f5a734b0c0c5d4772c75d0a1ad0fcf [INFO] running `Command { std: "docker" "start" "-a" "fd986208b16ad11e256716a1a7c3e62676f5a734b0c0c5d4772c75d0a1ad0fcf", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/protocol.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Protocol` [INFO] [stdout] 12 | #[repr(u8)] [INFO] [stdout] 13 | pub enum Protocol { [INFO] [stdout] | -------- `Protocol` 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: `#[warn(non_local_definitions)]` on by default [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 forest_address v0.3.2 (/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/protocol.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Protocol` [INFO] [stdout] 12 | #[repr(u8)] [INFO] [stdout] 13 | pub enum Protocol { [INFO] [stdout] | -------- `Protocol` 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: `#[warn(non_local_definitions)]` on by default [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 0.70s [INFO] running `Command { std: "docker" "inspect" "fd986208b16ad11e256716a1a7c3e62676f5a734b0c0c5d4772c75d0a1ad0fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd986208b16ad11e256716a1a7c3e62676f5a734b0c0c5d4772c75d0a1ad0fcf", kill_on_drop: false }` [INFO] [stdout] fd986208b16ad11e256716a1a7c3e62676f5a734b0c0c5d4772c75d0a1ad0fcf [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5bc1e278acdeca922a4712e703fe7774a65c9cb9077c9f8b7a56acedd88c6b77 [INFO] running `Command { std: "docker" "start" "-a" "5bc1e278acdeca922a4712e703fe7774a65c9cb9077c9f8b7a56acedd88c6b77", 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/protocol.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug, Hash)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Protocol` [INFO] [stderr] 12 | #[repr(u8)] [INFO] [stderr] 13 | pub enum Protocol { [INFO] [stderr] | -------- `Protocol` 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: `#[warn(non_local_definitions)]` on by default [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: `forest_address` (lib) generated 1 warning [INFO] [stderr] warning: `forest_address` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/forest_address-3f498eefcec46212) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_from_leb_bytes_passing ... ok [INFO] [stdout] test tests::test_from_leb_bytes_minimal_encoding ... ok [INFO] [stdout] test tests::test_from_leb_bytes_extra_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test from_string_retains_network ... ok [INFO] [stdout] test generate_validate_checksum ... ok [INFO] [stdout] test invalid_string_addresses ... ok [INFO] [stdout] test address_hashmap ... ok [INFO] [stdout] test key_len_validations ... ok [INFO] [stdout] test cbor_encoding ... ok [INFO] [stdout] test bls_address ... ok [INFO] [stdout] test actor_address ... ok [INFO] [stderr] Running tests/address_test.rs (/opt/rustwide/target/debug/deps/address_test-c67cdddbf1ab98c2) [INFO] [stdout] test secp256k1_address ... ok [INFO] [stdout] test id_address ... ok [INFO] [stdout] test invalid_byte_addresses ... ok [INFO] [stdout] test invalid_strings_tests ... ok [INFO] [stdout] test set_network ... ok [INFO] [stdout] test bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests forest_address [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] running `Command { std: "docker" "inspect" "5bc1e278acdeca922a4712e703fe7774a65c9cb9077c9f8b7a56acedd88c6b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc1e278acdeca922a4712e703fe7774a65c9cb9077c9f8b7a56acedd88c6b77", kill_on_drop: false }` [INFO] [stdout] 5bc1e278acdeca922a4712e703fe7774a65c9cb9077c9f8b7a56acedd88c6b77