[INFO] fetching crate fil_types 0.2.2... [INFO] testing fil_types-0.2.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate fil_types 0.2.2 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fil_types 0.2.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 270 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.16) [INFO] [stderr] Adding filecoin-proofs-api v9.0.0 (available: v19.1.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" "+562dee4820c458d823175268e41601d4c060588a" "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 forest_vm v0.3.2 [INFO] [stderr] Downloaded forest_cid v0.3.0 [INFO] [stderr] Downloaded git-version-macro v0.3.9 [INFO] [stderr] Downloaded git-version v0.3.9 [INFO] [stderr] Downloaded unsigned-varint v0.5.1 [INFO] [stderr] Downloaded multihash-derive v0.7.2 [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 remove_dir_all v0.5.3 [INFO] [stderr] Downloaded cpuid-bool v0.1.2 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded sha2-asm v0.6.4 [INFO] [stderr] Downloaded fil_clock v0.1.0 [INFO] [stderr] Downloaded fdlimit v0.2.1 [INFO] [stderr] Downloaded fff v0.3.1 [INFO] [stderr] Downloaded async-global-executor v2.4.1 [INFO] [stderr] Downloaded cid v0.6.1 [INFO] [stderr] Downloaded groupy v0.4.1 [INFO] [stderr] Downloaded mapr v0.8.0 [INFO] [stderr] Downloaded kv-log-macro v1.0.7 [INFO] [stderr] Downloaded value-bag v1.12.0 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded filecoin-proofs v9.0.2 [INFO] [stderr] Downloaded bitvec v0.17.4 [INFO] [stderr] Downloaded aes-soft v0.6.4 [INFO] [stderr] Downloaded bellperson v0.16.3 [INFO] [stderr] Downloaded aesni v0.10.0 [INFO] [stderr] Downloaded flexi_logger v0.24.2 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] [stderr] Downloaded aes v0.6.0 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] [stderr] Downloaded pest v2.8.6 [INFO] [stderr] Downloaded storage-proofs-core v9.0.2 [INFO] [stderr] Downloaded blst v0.3.3 [INFO] [stderr] Downloaded storage-proofs-porep v9.0.2 [INFO] [stderr] Downloaded merkletree v0.21.0 [INFO] [stderr] Downloaded flume v0.10.14 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded cs_serde_cbor v0.12.0 [INFO] [stderr] Downloaded config v0.10.1 [INFO] [stderr] Downloaded positioned-io v0.2.2 [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded storage-proofs-post v9.0.2 [INFO] [stderr] Downloaded fr32 v2.0.2 [INFO] [stderr] Downloaded commcid v0.1.1 [INFO] [stderr] Downloaded radium v0.3.0 [INFO] [stderr] Downloaded fil_logger v0.1.7 [INFO] [stderr] Downloaded sha2raw v4.0.2 [INFO] [stderr] Downloaded forest_address v0.3.2 [INFO] [stderr] Downloaded ff-cl-gen v0.3.0 [INFO] [stderr] Downloaded filecoin-proofs-api v9.0.0 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded forest_bigint v0.1.4 [INFO] [stderr] Downloaded cipher v0.2.5 [INFO] [stderr] Downloaded block-modes v0.7.0 [INFO] [stderr] Downloaded yastl v0.1.2 [INFO] [stderr] Downloaded filecoin-hashers v4.0.2 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded multibase v0.8.0 [INFO] [stderr] Downloaded forest_json_utils v0.1.1 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded neptune v4.0.0 [INFO] [stderr] Downloaded blstrs v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2561f5396a7987601548a9624a6dbccb6265ea39f56ecab1af7f7924dd9d9ee6 [INFO] running `Command { std: "docker" "start" "-a" "2561f5396a7987601548a9624a6dbccb6265ea39f56ecab1af7f7924dd9d9ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2561f5396a7987601548a9624a6dbccb6265ea39f56ecab1af7f7924dd9d9ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2561f5396a7987601548a9624a6dbccb6265ea39f56ecab1af7f7924dd9d9ee6", kill_on_drop: false }` [INFO] [stdout] 2561f5396a7987601548a9624a6dbccb6265ea39f56ecab1af7f7924dd9d9ee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ac3d1404bb87a622bb9e89c5f2f6ae07ff28820a0e497b4417e188e05ded458 [INFO] running `Command { std: "docker" "start" "-a" "7ac3d1404bb87a622bb9e89c5f2f6ae07ff28820a0e497b4417e188e05ded458", 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.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling value-bag v1.12.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling integer-encoding v2.1.3 [INFO] [stderr] Compiling piper v0.2.5 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling fil_clock v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.17 [INFO] [stderr] Compiling match-lookup v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling data-encoding-macro v0.1.19 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling git-version-macro v0.3.9 [INFO] [stderr] Compiling git-version v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [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 polling v3.11.0 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling cid v0.6.1 [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 forest_json_utils v0.1.1 [INFO] [stderr] Compiling cs_serde_cbor v0.12.0 [INFO] [stderr] Compiling serde_tuple v0.5.0 [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 1m 03s [INFO] running `Command { std: "docker" "inspect" "7ac3d1404bb87a622bb9e89c5f2f6ae07ff28820a0e497b4417e188e05ded458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ac3d1404bb87a622bb9e89c5f2f6ae07ff28820a0e497b4417e188e05ded458", kill_on_drop: false }` [INFO] [stdout] 7ac3d1404bb87a622bb9e89c5f2f6ae07ff28820a0e497b4417e188e05ded458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b605fcb693fb48a8d964e46bd875988bf20ae9292a1672abfc99a2f21a1e8919 [INFO] running `Command { std: "docker" "start" "-a" "b605fcb693fb48a8d964e46bd875988bf20ae9292a1672abfc99a2f21a1e8919", 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] [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] [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: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.27s [INFO] running `Command { std: "docker" "inspect" "b605fcb693fb48a8d964e46bd875988bf20ae9292a1672abfc99a2f21a1e8919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b605fcb693fb48a8d964e46bd875988bf20ae9292a1672abfc99a2f21a1e8919", kill_on_drop: false }` [INFO] [stdout] b605fcb693fb48a8d964e46bd875988bf20ae9292a1672abfc99a2f21a1e8919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 642a80845324e2002c53effb00246d121ce6d9859d77570f1e5147edb2011113 [INFO] running `Command { std: "docker" "start" "-a" "642a80845324e2002c53effb00246d121ce6d9859d77570f1e5147edb2011113", 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.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fil_types-348c1857ba6da07e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test piece::tests::invalid_piece_checks ... ok [INFO] [stdout] test piece::tests::round_trip_piece_size ... 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" "642a80845324e2002c53effb00246d121ce6d9859d77570f1e5147edb2011113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "642a80845324e2002c53effb00246d121ce6d9859d77570f1e5147edb2011113", kill_on_drop: false }` [INFO] [stdout] 642a80845324e2002c53effb00246d121ce6d9859d77570f1e5147edb2011113