[INFO] fetching crate nums 1.0.0... [INFO] testing nums-1.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate nums 1.0.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate nums 1.0.0 [INFO] finished tweaking crates.io crate nums 1.0.0 [INFO] tweaked toml for crates.io crate nums 1.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nums 1.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nums 1.0.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31b3fb4b323b0db529c2e7f8c627e48cbe0538e5a1aaea8bd379a1c016dd96bb [INFO] running `Command { std: "docker" "start" "-a" "31b3fb4b323b0db529c2e7f8c627e48cbe0538e5a1aaea8bd379a1c016dd96bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31b3fb4b323b0db529c2e7f8c627e48cbe0538e5a1aaea8bd379a1c016dd96bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31b3fb4b323b0db529c2e7f8c627e48cbe0538e5a1aaea8bd379a1c016dd96bb", kill_on_drop: false }` [INFO] [stdout] 31b3fb4b323b0db529c2e7f8c627e48cbe0538e5a1aaea8bd379a1c016dd96bb [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7fdcbc3e6ca8f8f3a2f625a05feaa5b4242e86e562bacbfe1bc65f94b980bc2 [INFO] running `Command { std: "docker" "start" "-a" "b7fdcbc3e6ca8f8f3a2f625a05feaa5b4242e86e562bacbfe1bc65f94b980bc2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.62 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing-forest v0.1.6 [INFO] [stderr] Compiling nums v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/field.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(n.is_multiple_of(&p)); [INFO] [stdout] | -------------- ^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/num/uint_macros.rs:3742:21 [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/num/mod.rs:1395:4 [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/num/mod.rs:1419:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 39 - assert!(n.is_multiple_of(&p)); [INFO] [stdout] 39 + assert!(n.is_multiple_of(p)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/field.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if n.is_multiple_of(&p_squared) { [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/num/uint_macros.rs:3742:21 [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/num/mod.rs:1395:4 [INFO] [stdout] ::: /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/num/mod.rs:1419:5 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 41 - if n.is_multiple_of(&p_squared) { [INFO] [stdout] 41 + if n.is_multiple_of(p_squared) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_integer::Integer` [INFO] [stdout] --> src/field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num_integer::Integer; [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nums` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b7fdcbc3e6ca8f8f3a2f625a05feaa5b4242e86e562bacbfe1bc65f94b980bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fdcbc3e6ca8f8f3a2f625a05feaa5b4242e86e562bacbfe1bc65f94b980bc2", kill_on_drop: false }` [INFO] [stdout] b7fdcbc3e6ca8f8f3a2f625a05feaa5b4242e86e562bacbfe1bc65f94b980bc2