[INFO] fetching crate nummap 0.5.1... [INFO] testing nummap-0.5.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate nummap 0.5.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate nummap 0.5.1 [INFO] finished tweaking crates.io crate nummap 0.5.1 [INFO] tweaked toml for crates.io crate nummap 0.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nummap 0.5.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.6.3 (available: v0.16.0) [INFO] [stderr] Adding serde_cbor v0.9.0 (available: v0.11.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cf9b0637bddd09e423d936609800f663f4a0cdff5aa0c3f322fe03e5e5c2442 [INFO] running `Command { std: "docker" "start" "-a" "5cf9b0637bddd09e423d936609800f663f4a0cdff5aa0c3f322fe03e5e5c2442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf9b0637bddd09e423d936609800f663f4a0cdff5aa0c3f322fe03e5e5c2442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf9b0637bddd09e423d936609800f663f4a0cdff5aa0c3f322fe03e5e5c2442", kill_on_drop: false }` [INFO] [stdout] 5cf9b0637bddd09e423d936609800f663f4a0cdff5aa0c3f322fe03e5e5c2442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe3ddb6c9150931c79eb62223c315b08ed3cdf1cbbc8aa3f77d1d59c56bfb10 [INFO] running `Command { std: "docker" "start" "-a" "8fe3ddb6c9150931c79eb62223c315b08ed3cdf1cbbc8aa3f77d1d59c56bfb10", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling nummap v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0404]: expected trait, found struct `NonZero` [INFO] [stdout] --> src/number/number.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | type NonZero: NonZero; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 9 | type NonZero: Self::NonZero; [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 4 + use crate::number::non_zero::NonZero; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NonZero` [INFO] [stdout] --> src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | match NonZero::new(num,) { [INFO] [stdout] | ^^^^^^^ use of undeclared type `NonZero` [INFO] [stdout] | [INFO] [stdout] note: these items exist but are inaccessible: [INFO] [stdout] crate::number::to_number::NonZero [INFO] [stdout] --> src/number/non_zero.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub trait NonZero: ToNumber + Copy + Sized [INFO] [stdout] 8 | | where Num: Number, { [INFO] [stdout] 9 | | /// The optional equivelant of this [INFO] [stdout] 10 | | type Optional = Option; [INFO] [stdout] ... | [INFO] [stdout] 15 | | unsafe fn new_unchecked(num: Num,) -> Self; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ `crate::number::non_zero::NonZero`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 38 + use core::num::NonZero; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `NonZero` is ambiguous [INFO] [stdout] --> src/number/number.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | type NonZero: NonZero; [INFO] [stdout] | ^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `NonZero` could refer to the struct imported here [INFO] [stdout] --> src/number.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use core::{num::*, mem,}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NonZero` to disambiguate [INFO] [stdout] note: `NonZero` could also refer to the trait imported here [INFO] [stdout] --> src/number.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::{number::*, to_number::*, non_zero::*,}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `NonZero` to disambiguate [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `non_zero::*` [INFO] [stdout] --> src/number.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::{number::*, to_number::*, non_zero::*,}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nummap` (lib) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8fe3ddb6c9150931c79eb62223c315b08ed3cdf1cbbc8aa3f77d1d59c56bfb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe3ddb6c9150931c79eb62223c315b08ed3cdf1cbbc8aa3f77d1d59c56bfb10", kill_on_drop: false }` [INFO] [stdout] 8fe3ddb6c9150931c79eb62223c315b08ed3cdf1cbbc8aa3f77d1d59c56bfb10