[INFO] fetching crate graph_safe_compare 0.2.1... [INFO] testing graph_safe_compare-0.2.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate graph_safe_compare 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate graph_safe_compare 0.2.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate graph_safe_compare 0.2.1 [INFO] tweaked toml for crates.io crate graph_safe_compare 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate graph_safe_compare 0.2.1 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] crate crates.io crate graph_safe_compare 0.2.1 already has a lockfile, it will not be regenerated [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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg_rust_features v0.1.0 [INFO] [stderr] Downloaded wyhash v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3232b81b253b9cb6f884f0999b1c6c5c4924849a9cdafc9c74d2e2af9fa4b7d8 [INFO] running `Command { std: "docker" "start" "-a" "3232b81b253b9cb6f884f0999b1c6c5c4924849a9cdafc9c74d2e2af9fa4b7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3232b81b253b9cb6f884f0999b1c6c5c4924849a9cdafc9c74d2e2af9fa4b7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3232b81b253b9cb6f884f0999b1c6c5c4924849a9cdafc9c74d2e2af9fa4b7d8", kill_on_drop: false }` [INFO] [stdout] 3232b81b253b9cb6f884f0999b1c6c5c4924849a9cdafc9c74d2e2af9fa4b7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 80e6e3622092664a916809eceb9dd00d7e29cf04676cbd06c93795422e3d079b [INFO] running `Command { std: "docker" "start" "-a" "80e6e3622092664a916809eceb9dd00d7e29cf04676cbd06c93795422e3d079b", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cfg_rust_features v0.1.0 [INFO] [stderr] Compiling wyhash v0.5.0 [INFO] [stderr] Compiling graph_safe_compare v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/lib.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | all(feature = "anticipate", not(rust_lib_feature = "step_trait")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("step_trait"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"step_trait\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | all(feature = "anticipate", not(rust_lib_feature = "unwrap_infallible")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lang_feature` [INFO] [stdout] --> src/lib.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | all(feature = "anticipate", not(rust_lang_feature = "never_type")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lang_feature, values("never_type"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lang_feature, values(\"never_type\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(rust_lib_feature = "unwrap_infallible", deprecated)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg_attr(rust_lib_feature = "step_trait", deprecated)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("step_trait"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"step_trait\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(rust_lib_feature = "unwrap_infallible"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/robust.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub fn equiv( [INFO] [stdout] 53 | | a: N, [INFO] [stdout] 54 | | b: N, [INFO] [stdout] 55 | | ) -> N::Cmp [INFO] [stdout] | |___________- move the `impl` block outside of this function `equiv` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | impl equiv::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [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/robust.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 73 | / pub fn precheck_equiv( [INFO] [stdout] 74 | | a: N, [INFO] [stdout] 75 | | b: N, [INFO] [stdout] 76 | | ) -> N::Cmp [INFO] [stdout] | |___________- move the `impl` block outside of this function `precheck_equiv` [INFO] [stdout] 77 | { [INFO] [stdout] 78 | impl precheck_interleave::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------^^^^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cycle_safe.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 48 | / pub fn equiv( [INFO] [stdout] 49 | | a: N, [INFO] [stdout] 50 | | b: N, [INFO] [stdout] 51 | | ) -> N::Cmp [INFO] [stdout] | |_______________- move the `impl` block outside of this function `equiv` [INFO] [stdout] 52 | { [INFO] [stdout] 53 | impl equiv::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cycle_safe.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 70 | / pub fn precheck_equiv( [INFO] [stdout] 71 | | a: N, [INFO] [stdout] 72 | | b: N, [INFO] [stdout] 73 | | ) -> N::Cmp [INFO] [stdout] | |_______________- move the `impl` block outside of this function `precheck_equiv` [INFO] [stdout] 74 | { [INFO] [stdout] 75 | impl precheck_interleave::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------^^^^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | self.as_ptr() < other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 93 | self.as_ptr().cast::<()>() < other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 93 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() < other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | self.as_ptr() <= other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 102 | self.as_ptr().cast::<()>() <= other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 102 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() <= other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | self.as_ptr() > other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 111 | self.as_ptr().cast::<()>() > other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 111 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() > other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | self.as_ptr() >= other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 120 | self.as_ptr().cast::<()>() >= other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 120 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() >= other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | Ord::cmp(&self.as_ptr(), &other.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 132 | Ord::cmp(&self.as_ptr().cast::<()>(), &other.as_ptr().cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 132 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Ord::cmp(&self.as_ptr(), &other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "80e6e3622092664a916809eceb9dd00d7e29cf04676cbd06c93795422e3d079b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e6e3622092664a916809eceb9dd00d7e29cf04676cbd06c93795422e3d079b", kill_on_drop: false }` [INFO] [stdout] 80e6e3622092664a916809eceb9dd00d7e29cf04676cbd06c93795422e3d079b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4e33f7f953e9053f8af9c46f33deb1ab435033a7a0a4f9f6a558f5f70810be5f [INFO] running `Command { std: "docker" "start" "-a" "4e33f7f953e9053f8af9c46f33deb1ab435033a7a0a4f9f6a558f5f70810be5f", kill_on_drop: false }` [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/lib.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | all(feature = "anticipate", not(rust_lib_feature = "step_trait")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("step_trait"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"step_trait\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | all(feature = "anticipate", not(rust_lib_feature = "unwrap_infallible")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lang_feature` [INFO] [stdout] --> src/lib.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | all(feature = "anticipate", not(rust_lang_feature = "never_type")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lang_feature, values("never_type"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lang_feature, values(\"never_type\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(rust_lib_feature = "unwrap_infallible", deprecated)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg_attr(rust_lib_feature = "step_trait", deprecated)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("step_trait"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"step_trait\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(rust_lib_feature = "unwrap_infallible"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/robust.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub fn equiv( [INFO] [stdout] 53 | | a: N, [INFO] [stdout] 54 | | b: N, [INFO] [stdout] 55 | | ) -> N::Cmp [INFO] [stdout] | |___________- move the `impl` block outside of this function `equiv` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | impl equiv::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [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/robust.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 73 | / pub fn precheck_equiv( [INFO] [stdout] 74 | | a: N, [INFO] [stdout] 75 | | b: N, [INFO] [stdout] 76 | | ) -> N::Cmp [INFO] [stdout] | |___________- move the `impl` block outside of this function `precheck_equiv` [INFO] [stdout] 77 | { [INFO] [stdout] 78 | impl precheck_interleave::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------^^^^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cycle_safe.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 48 | / pub fn equiv( [INFO] [stdout] 49 | | a: N, [INFO] [stdout] 50 | | b: N, [INFO] [stdout] 51 | | ) -> N::Cmp [INFO] [stdout] | |_______________- move the `impl` block outside of this function `equiv` [INFO] [stdout] 52 | { [INFO] [stdout] 53 | impl equiv::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cycle_safe.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 70 | / pub fn precheck_equiv( [INFO] [stdout] 71 | | a: N, [INFO] [stdout] 72 | | b: N, [INFO] [stdout] 73 | | ) -> N::Cmp [INFO] [stdout] | |_______________- move the `impl` block outside of this function `precheck_equiv` [INFO] [stdout] 74 | { [INFO] [stdout] 75 | impl precheck_interleave::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------^^^^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | self.as_ptr() < other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 93 | self.as_ptr().cast::<()>() < other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 93 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() < other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | self.as_ptr() <= other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 102 | self.as_ptr().cast::<()>() <= other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 102 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() <= other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | self.as_ptr() > other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 111 | self.as_ptr().cast::<()>() > other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 111 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() > other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | self.as_ptr() >= other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 120 | self.as_ptr().cast::<()>() >= other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 120 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() >= other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | Ord::cmp(&self.as_ptr(), &other.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 132 | Ord::cmp(&self.as_ptr().cast::<()>(), &other.as_ptr().cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 132 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Ord::cmp(&self.as_ptr(), &other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling graph_safe_compare v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/common/rc_pair.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | tests_utils::node_types::rc_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/custom.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | tests_utils::eq_variation_mod_body!( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/custom.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 418 | tests_utils::eq_shapes_tests!(identity, DatumAllocator::new, eq_variation::MyEq::new, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/lazy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tests_utils::node_types::lazy::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/lazy.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | tests_utils::eq_variations_tests!(My, Datum, identity, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/wide.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tests_utils::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/multi_tails.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tests_utils::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Shape::*` [INFO] [stdout] --> tests/multi_tails.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Shape::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/multi_tails.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | tests_utils::eq_variation_mod_body!( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/multi_tails.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/lib.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | all(feature = "anticipate", not(rust_lib_feature = "step_trait")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("step_trait"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"step_trait\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | all(feature = "anticipate", not(rust_lib_feature = "unwrap_infallible")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lang_feature` [INFO] [stdout] --> src/lib.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | all(feature = "anticipate", not(rust_lang_feature = "never_type")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lang_feature, values("never_type"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lang_feature, values(\"never_type\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(rust_lib_feature = "unwrap_infallible", deprecated)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg_attr(rust_lib_feature = "step_trait", deprecated)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("step_trait"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"step_trait\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::identity` [INFO] [stdout] --> tests/lazy.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | convert::identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> src/like_anticipated.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(rust_lib_feature = "unwrap_infallible"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("unwrap_infallible"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"unwrap_infallible\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::identity` [INFO] [stdout] --> tests/custom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | core::convert::identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/custom.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_edge.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tests_utils::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_edge.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | tests_utils::eq_variations_tests!(My, Kind, identity, KindAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/dyn_pair.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tests_utils::node_types::dyn_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/dyn_pair.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | tests_utils::eq_variations_tests!(My, DatumRef, identity, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> tests/dyn_pair.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/common/borrow_pair.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | tests_utils::node_types::borrow_pair::Inner, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/common/borrow_pair.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tests_utils::node_types::borrow_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/borrow_pair.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | tests_utils::eq_variations_tests!(My<'l>, &'l Datum<'l>, &, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> tests/diff_edge.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::borrow_pair::*` [INFO] [stdout] --> tests/borrow_pair.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use common::borrow_pair::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/multi_tails.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | let total_depth = tests_utils::sizes::long_list_length() / 2; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/common/rc_pair.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | tests_utils::node_types::rc_pair::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/rc_pair.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | tests_utils::eq_variations_tests!(My, Rc, identity, DatumAllocator::new); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `common::rc_pair::*` and `std::convert::identity` [INFO] [stdout] --> tests/rc_pair.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | common::rc_pair::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | std::convert::identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_index.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | tests_utils::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_index.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_index.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_index.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_index.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | tests_utils::eq_case!( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> examples/derived_eq.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tests_utils::node_types::rc_pair::DatumAllocator; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> examples/derived_eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | tests_utils::eq_shapes_tests!(identity, DatumAllocator::new, identity, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> examples/derived_eq.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (test "borrow_pair") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `list_node_count` in this scope [INFO] [stdout] --> tests/multi_tails.rs:222:50 [INFO] [stdout] | [INFO] [stdout] 222 | let side_node_count = side_depth.map(list_node_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 209 + use crate::list_node_count; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Datum` in this scope [INFO] [stdout] --> tests/multi_tails.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let dummy_tail: Datum = Leaf::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 209 + use crate::Datum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `std::convert::identity` and `super::*` [INFO] [stdout] --> tests/multi_tails.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | super::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 204 | std::convert::identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tests_utils` in this scope [INFO] [stdout] --> tests/diff_index.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Index(tests_utils::node_types::diff_index::Index); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tests_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tests_utils`, use `cargo add tests_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_lib_feature` [INFO] [stdout] --> tests/diff_index.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | all(feature = "anticipate", not(rust_lib_feature = "step_trait")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_lib_feature, values("step_trait"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_lib_feature, values(\"step_trait\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (example "derived_eq" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `identity` [INFO] [stdout] --> tests/diff_index.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | identity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (test "lazy") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/diff_index.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (test "dyn_pair") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/diff_index.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (test "diff_edge") due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (test "rc_pair") due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Leaf` in this scope [INFO] [stdout] --> tests/multi_tails.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | let dummy_tail: Datum = Leaf::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (test "multi_tails") due to 8 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `graph_safe_compare` (test "wide") due to 1 previous error [INFO] [stderr] error: could not compile `graph_safe_compare` (test "custom") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_safe_compare` (test "diff_index") due to 6 previous errors; 4 warnings emitted [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/robust.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub fn equiv( [INFO] [stdout] 53 | | a: N, [INFO] [stdout] 54 | | b: N, [INFO] [stdout] 55 | | ) -> N::Cmp [INFO] [stdout] | |___________- move the `impl` block outside of this function `equiv` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | impl equiv::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [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/robust.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 73 | / pub fn precheck_equiv( [INFO] [stdout] 74 | | a: N, [INFO] [stdout] 75 | | b: N, [INFO] [stdout] 76 | | ) -> N::Cmp [INFO] [stdout] | |___________- move the `impl` block outside of this function `precheck_equiv` [INFO] [stdout] 77 | { [INFO] [stdout] 78 | impl precheck_interleave::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------^^^^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cycle_safe.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 48 | / pub fn equiv( [INFO] [stdout] 49 | | a: N, [INFO] [stdout] 50 | | b: N, [INFO] [stdout] 51 | | ) -> N::Cmp [INFO] [stdout] | |_______________- move the `impl` block outside of this function `equiv` [INFO] [stdout] 52 | { [INFO] [stdout] 53 | impl equiv::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cycle_safe.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 70 | / pub fn precheck_equiv( [INFO] [stdout] 71 | | a: N, [INFO] [stdout] 72 | | b: N, [INFO] [stdout] 73 | | ) -> N::Cmp [INFO] [stdout] | |_______________- move the `impl` block outside of this function `precheck_equiv` [INFO] [stdout] 74 | { [INFO] [stdout] 75 | impl precheck_interleave::Params for Args [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------^^^^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Args` is not local [INFO] [stdout] | `Params` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | self.as_ptr() < other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 93 | self.as_ptr().cast::<()>() < other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 93 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() < other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | self.as_ptr() <= other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 102 | self.as_ptr().cast::<()>() <= other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 102 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() <= other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | self.as_ptr() > other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 111 | self.as_ptr().cast::<()>() > other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 111 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() > other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | self.as_ptr() >= other.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 120 | self.as_ptr().cast::<()>() >= other.as_ptr().cast::<()>() [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 120 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] (self.as_ptr() >= other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/utils.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | Ord::cmp(&self.as_ptr(), &other.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 132 | Ord::cmp(&self.as_ptr().cast::<()>(), &other.as_ptr().cast::<()>()) [INFO] [stdout] | +++++++++++++ +++++++++++++ [INFO] [stdout] help: or expect the lint to compare the pointers metadata and addresses [INFO] [stdout] | [INFO] [stdout] 132 | { #[expect(ambiguous_wide_pointer_comparisons, reason = "...")] Ord::cmp(&self.as_ptr(), &other.as_ptr()) } [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e33f7f953e9053f8af9c46f33deb1ab435033a7a0a4f9f6a558f5f70810be5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e33f7f953e9053f8af9c46f33deb1ab435033a7a0a4f9f6a558f5f70810be5f", kill_on_drop: false }` [INFO] [stdout] 4e33f7f953e9053f8af9c46f33deb1ab435033a7a0a4f9f6a558f5f70810be5f