[INFO] fetching crate nums 1.0.0... [INFO] checking nums-1.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate nums 1.0.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nums 1.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af3e3604a790410ce02e872d963a6a324c2b11324cc09a3d5f9850b2ce6cf83d [INFO] running `Command { std: "docker" "start" "-a" "af3e3604a790410ce02e872d963a6a324c2b11324cc09a3d5f9850b2ce6cf83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af3e3604a790410ce02e872d963a6a324c2b11324cc09a3d5f9850b2ce6cf83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af3e3604a790410ce02e872d963a6a324c2b11324cc09a3d5f9850b2ce6cf83d", kill_on_drop: false }` [INFO] [stdout] af3e3604a790410ce02e872d963a6a324c2b11324cc09a3d5f9850b2ce6cf83d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e978754aed67ed540974a1eb823448c9b2f9d5bf3ea8e59354799f53cd8abee [INFO] running `Command { std: "docker" "start" "-a" "9e978754aed67ed540974a1eb823448c9b2f9d5bf3ea8e59354799f53cd8abee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.62 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tracing-forest v0.1.6 [INFO] [stderr] Checking 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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/num/mod.rs:1248:5 [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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/num/mod.rs:1248:5 [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] 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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/num/mod.rs:1248:5 [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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/num/mod.rs:1248:5 [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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nums` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9e978754aed67ed540974a1eb823448c9b2f9d5bf3ea8e59354799f53cd8abee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e978754aed67ed540974a1eb823448c9b2f9d5bf3ea8e59354799f53cd8abee", kill_on_drop: false }` [INFO] [stdout] 9e978754aed67ed540974a1eb823448c9b2f9d5bf3ea8e59354799f53cd8abee