[INFO] fetching crate anychain-filecoin 0.1.9... [INFO] testing anychain-filecoin-0.1.9 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate anychain-filecoin 0.1.9 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate anychain-filecoin 0.1.9 [INFO] finished tweaking crates.io crate anychain-filecoin 0.1.9 [INFO] tweaked toml for crates.io crate anychain-filecoin 0.1.9 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anychain-filecoin 0.1.9 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 152 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bls-signatures v0.14.0 (available: v0.15.0) [INFO] [stderr] Adding cid v0.8.6 (available: v0.11.1) [INFO] [stderr] Adding fvm_ipld_encoding v0.2.3 (available: v0.5.3) [INFO] [stderr] Adding fvm_shared v3.13.1 (available: v4.7.2) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded fvm_ipld_encoding v0.5.3 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded serde_tuple_macros v0.5.0 [INFO] [stderr] Downloaded cid v0.11.1 [INFO] [stderr] Downloaded fvm_shared v3.13.1 [INFO] [stderr] Downloaded multibase v0.8.0 [INFO] [stderr] Downloaded pairing v0.23.0 [INFO] [stderr] Downloaded fvm_ipld_encoding v0.2.3 [INFO] [stderr] Downloaded anychain-core v0.1.7 [INFO] [stderr] Downloaded cid v0.6.1 [INFO] [stderr] Downloaded cbor4ii v0.2.14 [INFO] [stderr] Downloaded cs_serde_cbor v0.12.0 [INFO] [stderr] Downloaded cs_serde_bytes v0.12.2 [INFO] [stderr] Downloaded serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Downloaded multihash-codetable v0.1.4 [INFO] [stderr] Downloaded blake2s_simd v1.0.3 [INFO] [stderr] Downloaded hkdf v0.11.0 [INFO] [stderr] Downloaded bls-signatures v0.14.0 [INFO] [stderr] Downloaded fvm_ipld_blockstore v0.3.1 [INFO] [stderr] Downloaded multihash-derive-impl v0.1.2 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.16 [INFO] [stderr] Downloaded data-encoding-macro v0.1.18 [INFO] [stderr] Downloaded integer-encoding v2.1.3 [INFO] [stderr] Downloaded multihash v0.13.2 [INFO] [stderr] Downloaded forest_cid v0.3.0 [INFO] [stderr] Downloaded forest_encoding v0.2.2 [INFO] [stderr] Downloaded fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Downloaded multihash-derive v0.8.1 [INFO] [stderr] Downloaded serde-big-array v0.3.3 [INFO] [stderr] Downloaded multihash-derive v0.9.1 [INFO] [stderr] Downloaded ipld-core v0.4.2 [INFO] [stderr] Downloaded serde_ipld_dagcbor v0.6.3 [INFO] [stderr] Downloaded serde_tuple v0.5.0 [INFO] [stderr] Downloaded bls12_381 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87e2ca617010af205580f554869e36b027ca3c544a3fbdada3c7d49788925139 [INFO] running `Command { std: "docker" "start" "-a" "87e2ca617010af205580f554869e36b027ca3c544a3fbdada3c7d49788925139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87e2ca617010af205580f554869e36b027ca3c544a3fbdada3c7d49788925139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87e2ca617010af205580f554869e36b027ca3c544a3fbdada3c7d49788925139", kill_on_drop: false }` [INFO] [stdout] 87e2ca617010af205580f554869e36b027ca3c544a3fbdada3c7d49788925139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0a0bc96df71f141e76bc9386a5a7ed596a09ce1dbb23df13ddcac603e1c45817 [INFO] running `Command { std: "docker" "start" "-a" "0a0bc96df71f141e76bc9386a5a7ed596a09ce1dbb23df13ddcac603e1c45817", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [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 blake2b_simd v0.5.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling pairing v0.23.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling integer-encoding v2.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling multihash-derive-impl v0.1.2 [INFO] [stderr] Compiling bls12_381 v0.8.0 [INFO] [stderr] Compiling hkdf v0.11.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling bls-signatures v0.14.0 [INFO] [stderr] Compiling num-derive v0.3.3 [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_bytes v0.11.17 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling cbor4ii v0.2.14 [INFO] [stderr] Compiling serde-big-array v0.3.3 [INFO] [stderr] Compiling serde_tuple v0.5.0 [INFO] [stderr] Compiling cs_serde_bytes v0.12.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling multihash v0.16.3 [INFO] [stderr] Compiling cs_serde_cbor v0.12.0 [INFO] [stderr] Compiling multihash-derive v0.9.1 [INFO] [stderr] Compiling cid v0.11.1 [INFO] [stderr] Compiling multihash-codetable v0.1.4 [INFO] [stderr] Compiling ipld-core v0.4.2 [INFO] [stderr] Compiling fvm_ipld_blockstore v0.3.1 [INFO] [stderr] Compiling cid v0.8.6 [INFO] [stderr] Compiling serde_ipld_dagcbor v0.6.3 [INFO] [stderr] Compiling fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Compiling serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Compiling forest_encoding v0.2.2 [INFO] [stderr] Compiling fvm_ipld_encoding v0.5.3 [INFO] [stderr] Compiling fvm_ipld_encoding v0.2.3 [INFO] [stderr] Compiling fvm_shared v3.13.1 [INFO] [stderr] Compiling anychain-core v0.1.7 [INFO] [stderr] Compiling anychain-filecoin v0.1.9 (/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/address.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | #[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] 327 | #[repr(u8)] [INFO] [stdout] 328 | 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] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/transaction.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | 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_FilecoinSignatureType` [INFO] [stdout] ... [INFO] [stdout] 132 | pub enum FilecoinSignatureType { [INFO] [stdout] | --------------------- `FilecoinSignatureType` 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 1m 21s [INFO] running `Command { std: "docker" "inspect" "0a0bc96df71f141e76bc9386a5a7ed596a09ce1dbb23df13ddcac603e1c45817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0bc96df71f141e76bc9386a5a7ed596a09ce1dbb23df13ddcac603e1c45817", kill_on_drop: false }` [INFO] [stdout] 0a0bc96df71f141e76bc9386a5a7ed596a09ce1dbb23df13ddcac603e1c45817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f86aca6bcafe41541c34b78501c8188627d83482b0fcab0f7f18943e5acff877 [INFO] running `Command { std: "docker" "start" "-a" "f86aca6bcafe41541c34b78501c8188627d83482b0fcab0f7f18943e5acff877", kill_on_drop: false }` [INFO] [stderr] Compiling anychain-filecoin v0.1.9 (/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/address.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | #[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] 327 | #[repr(u8)] [INFO] [stdout] 328 | 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] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/transaction.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | 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_FilecoinSignatureType` [INFO] [stdout] ... [INFO] [stdout] 132 | pub enum FilecoinSignatureType { [INFO] [stdout] | --------------------- `FilecoinSignatureType` 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] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/address.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | #[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] 327 | #[repr(u8)] [INFO] [stdout] 328 | 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] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/transaction.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | 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_FilecoinSignatureType` [INFO] [stdout] ... [INFO] [stdout] 132 | pub enum FilecoinSignatureType { [INFO] [stdout] | --------------------- `FilecoinSignatureType` 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 2.54s [INFO] running `Command { std: "docker" "inspect" "f86aca6bcafe41541c34b78501c8188627d83482b0fcab0f7f18943e5acff877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86aca6bcafe41541c34b78501c8188627d83482b0fcab0f7f18943e5acff877", kill_on_drop: false }` [INFO] [stdout] f86aca6bcafe41541c34b78501c8188627d83482b0fcab0f7f18943e5acff877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a1ed95df9b790e512b619d4f90647624f2db27ce32ef71e7d320df9935b80101 [INFO] running `Command { std: "docker" "start" "-a" "a1ed95df9b790e512b619d4f90647624f2db27ce32ef71e7d320df9935b80101", 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/address.rs:326:38 [INFO] [stderr] | [INFO] [stderr] 326 | #[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] 327 | #[repr(u8)] [INFO] [stderr] 328 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/transaction.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | 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_FilecoinSignatureType` [INFO] [stderr] ... [INFO] [stderr] 132 | pub enum FilecoinSignatureType { [INFO] [stderr] | --------------------- `FilecoinSignatureType` 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: `anychain-filecoin` (lib) generated 2 warnings [INFO] [stderr] warning: `anychain-filecoin` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/anychain_filecoin-a18f023d7a245220) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test amount::f ... ok [INFO] [stdout] test transaction::tests::filecoin_transaction_serialization_test ... ok [INFO] [stdout] test transaction::tests::filecoin_transaction_deserialization_test ... ok [INFO] [stdout] test address::tests::base32_to_internal_address ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1ed95df9b790e512b619d4f90647624f2db27ce32ef71e7d320df9935b80101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ed95df9b790e512b619d4f90647624f2db27ce32ef71e7d320df9935b80101", kill_on_drop: false }` [INFO] [stdout] a1ed95df9b790e512b619d4f90647624f2db27ce32ef71e7d320df9935b80101