[INFO] fetching crate fil_types 0.2.2... [INFO] testing fil_types-0.2.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fil_types 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate fil_types 0.2.2 [INFO] finished tweaking crates.io crate fil_types 0.2.2 [INFO] tweaked toml for crates.io crate fil_types 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fil_types 0.2.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 260 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding blst v0.3.3 (available: v0.3.15) [INFO] [stderr] Adding filecoin-proofs-api v9.0.0 (available: v19.0.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `filecoin-proofs-api` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_tuple v0.5.0 [INFO] [stderr] Downloaded forest_json_utils v0.1.1 [INFO] [stderr] Downloaded multihash-derive v0.7.2 [INFO] [stderr] Downloaded forest_cid v0.3.0 [INFO] [stderr] Downloaded multihash v0.13.2 [INFO] [stderr] Downloaded mapr v0.8.0 [INFO] [stderr] Downloaded fil_clock v0.1.0 [INFO] [stderr] Downloaded forest_bigint v0.1.4 [INFO] [stderr] Downloaded storage-proofs-post v9.0.2 [INFO] [stderr] Downloaded commcid v0.1.1 [INFO] [stderr] Downloaded groupy v0.4.1 [INFO] [stderr] Downloaded sha2raw v4.0.2 [INFO] [stderr] Downloaded sha2-asm v0.6.4 [INFO] [stderr] Downloaded forest_address v0.3.2 [INFO] [stderr] Downloaded merkletree v0.21.0 [INFO] [stderr] Downloaded storage-proofs-porep v9.0.2 [INFO] [stderr] Downloaded bellperson v0.16.3 [INFO] [stderr] Downloaded filecoin-proofs v9.0.2 [INFO] [stderr] Downloaded blstrs v0.3.1 [INFO] [stderr] Downloaded storage-proofs-core v9.0.2 [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded positioned-io v0.2.2 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded fff v0.3.1 [INFO] [stderr] Downloaded filecoin-proofs-api v9.0.0 [INFO] [stderr] Downloaded cid v0.6.1 [INFO] [stderr] Downloaded cs_serde_bytes v0.12.2 [INFO] [stderr] Downloaded flexi_logger v0.24.2 [INFO] [stderr] Downloaded cs_serde_cbor v0.12.0 [INFO] [stderr] Downloaded fil_logger v0.1.7 [INFO] [stderr] Downloaded block-modes v0.7.0 [INFO] [stderr] Downloaded filecoin-hashers v4.0.2 [INFO] [stderr] Downloaded fr32 v2.0.2 [INFO] [stderr] Downloaded yastl v0.1.2 [INFO] [stderr] Downloaded ff-cl-gen v0.3.0 [INFO] [stderr] Downloaded integer-encoding v2.1.3 [INFO] [stderr] Downloaded forest_encoding v0.2.2 [INFO] [stderr] Downloaded serde_tuple_macros v0.5.0 [INFO] [stderr] Downloaded blst v0.3.3 [INFO] [stderr] Downloaded forest_vm v0.3.2 [INFO] [stderr] Downloaded neptune v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 895dec45dbef692295f8f998e2129e2e086361283c71b4c7171d6891bcb99fd8 [INFO] running `Command { std: "docker" "start" "-a" "895dec45dbef692295f8f998e2129e2e086361283c71b4c7171d6891bcb99fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "895dec45dbef692295f8f998e2129e2e086361283c71b4c7171d6891bcb99fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895dec45dbef692295f8f998e2129e2e086361283c71b4c7171d6891bcb99fd8", kill_on_drop: false }` [INFO] [stdout] 895dec45dbef692295f8f998e2129e2e086361283c71b4c7171d6891bcb99fd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 630876f5063b53bc4eb5b501e6b1638757a9c3e04bc0104ff5aa8a296089abde [INFO] running `Command { std: "docker" "start" "-a" "630876f5063b53bc4eb5b501e6b1638757a9c3e04bc0104ff5aa8a296089abde", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `filecoin-proofs-api` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling integer-encoding v2.1.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [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.8.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling git-version-macro v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fil_clock v0.1.0 [INFO] [stderr] Compiling git-version v0.3.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling cid v0.6.1 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling cs_serde_bytes v0.12.2 [INFO] [stderr] Compiling cs_serde_cbor v0.12.0 [INFO] [stderr] Compiling forest_json_utils v0.1.1 [INFO] [stderr] Compiling serde_tuple v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling forest_bigint v0.1.4 [INFO] [stderr] Compiling forest_cid v0.3.0 [INFO] [stderr] Compiling forest_encoding v0.2.2 [INFO] [stderr] Compiling forest_address v0.3.2 [INFO] [stderr] Compiling forest_vm v0.3.2 [INFO] [stderr] Compiling fil_types v0.2.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/build_version/mod.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(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_BuildType` [INFO] [stdout] 45 | #[repr(u64)] [INFO] [stdout] 46 | pub enum BuildType { [INFO] [stdout] | --------- `BuildType` 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/build_version/mod.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(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_NodeType` [INFO] [stdout] 54 | #[repr(u64)] [INFO] [stdout] 55 | pub enum NodeType { [INFO] [stdout] | -------- `NodeType` 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/sector/mod.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, PartialEq, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SectorSize` [INFO] [stdout] 36 | #[repr(u64)] [INFO] [stdout] 37 | pub enum SectorSize { [INFO] [stdout] | ---------- `SectorSize` 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 54.52s [INFO] running `Command { std: "docker" "inspect" "630876f5063b53bc4eb5b501e6b1638757a9c3e04bc0104ff5aa8a296089abde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630876f5063b53bc4eb5b501e6b1638757a9c3e04bc0104ff5aa8a296089abde", kill_on_drop: false }` [INFO] [stdout] 630876f5063b53bc4eb5b501e6b1638757a9c3e04bc0104ff5aa8a296089abde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed0774bcdb107caee8b5aaa84afb0df00653980b1dfc82cd5df02096dbd423f [INFO] running `Command { std: "docker" "start" "-a" "bed0774bcdb107caee8b5aaa84afb0df00653980b1dfc82cd5df02096dbd423f", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `filecoin-proofs-api` dependency) [INFO] [stderr] Compiling fil_types v0.2.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/build_version/mod.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(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_BuildType` [INFO] [stdout] 45 | #[repr(u64)] [INFO] [stdout] 46 | pub enum BuildType { [INFO] [stdout] | --------- `BuildType` 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/build_version/mod.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(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_NodeType` [INFO] [stdout] 54 | #[repr(u64)] [INFO] [stdout] 55 | pub enum NodeType { [INFO] [stdout] | -------- `NodeType` 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/sector/mod.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, PartialEq, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SectorSize` [INFO] [stdout] 36 | #[repr(u64)] [INFO] [stdout] 37 | pub enum SectorSize { [INFO] [stdout] | ---------- `SectorSize` 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/build_version/mod.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(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_BuildType` [INFO] [stdout] 45 | #[repr(u64)] [INFO] [stdout] 46 | pub enum BuildType { [INFO] [stdout] | --------- `BuildType` 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/build_version/mod.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(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_NodeType` [INFO] [stdout] 54 | #[repr(u64)] [INFO] [stdout] 55 | pub enum NodeType { [INFO] [stdout] | -------- `NodeType` 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/sector/mod.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, PartialEq, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SectorSize` [INFO] [stdout] 36 | #[repr(u64)] [INFO] [stdout] 37 | pub enum SectorSize { [INFO] [stdout] | ---------- `SectorSize` 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 1.18s [INFO] running `Command { std: "docker" "inspect" "bed0774bcdb107caee8b5aaa84afb0df00653980b1dfc82cd5df02096dbd423f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed0774bcdb107caee8b5aaa84afb0df00653980b1dfc82cd5df02096dbd423f", kill_on_drop: false }` [INFO] [stdout] bed0774bcdb107caee8b5aaa84afb0df00653980b1dfc82cd5df02096dbd423f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4b0db58837cdf45782fbe8ad934d1de9b1afc1d51fb84394a43496c6e35e613 [INFO] running `Command { std: "docker" "start" "-a" "b4b0db58837cdf45782fbe8ad934d1de9b1afc1d51fb84394a43496c6e35e613", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `filecoin-proofs-api` dependency) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/build_version/mod.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(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_BuildType` [INFO] [stderr] 45 | #[repr(u64)] [INFO] [stderr] 46 | pub enum BuildType { [INFO] [stderr] | --------- `BuildType` 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/build_version/mod.rs:53:10 [INFO] [stderr] | [INFO] [stderr] 53 | #[derive(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_NodeType` [INFO] [stderr] 54 | #[repr(u64)] [INFO] [stderr] 55 | pub enum NodeType { [INFO] [stderr] | -------- `NodeType` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/sector/mod.rs:35:41 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Clone, Debug, PartialEq, Copy, FromPrimitive, Serialize_repr, Deserialize_repr)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SectorSize` [INFO] [stderr] 36 | #[repr(u64)] [INFO] [stderr] 37 | pub enum SectorSize { [INFO] [stderr] | ---------- `SectorSize` 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: `fil_types` (lib) generated 3 warnings [INFO] [stderr] warning: `fil_types` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fil_types-e93968acbfec4b2d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test piece::tests::round_trip_piece_size ... ok [INFO] [stdout] test piece::tests::invalid_piece_checks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fil_types [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" "b4b0db58837cdf45782fbe8ad934d1de9b1afc1d51fb84394a43496c6e35e613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b0db58837cdf45782fbe8ad934d1de9b1afc1d51fb84394a43496c6e35e613", kill_on_drop: false }` [INFO] [stdout] b4b0db58837cdf45782fbe8ad934d1de9b1afc1d51fb84394a43496c6e35e613