[INFO] fetching crate modmath 0.1.2... [INFO] building modmath-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate modmath 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate modmath 0.1.2 [INFO] finished tweaking crates.io crate modmath 0.1.2 [INFO] tweaked toml for crates.io crate modmath 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modmath 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate modmath 0.1.2 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed-bigint v0.1.17 [INFO] [stderr] Downloaded ibig v0.3.6 [INFO] [stderr] Downloaded bnum v0.12.1 [INFO] [stderr] Downloaded crypto-bigint v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0abbcde819a873803d7f758b20c383758c10f3eb975298dcf626408c488d3704 [INFO] running `Command { std: "docker" "start" "-a" "0abbcde819a873803d7f758b20c383758c10f3eb975298dcf626408c488d3704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0abbcde819a873803d7f758b20c383758c10f3eb975298dcf626408c488d3704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0abbcde819a873803d7f758b20c383758c10f3eb975298dcf626408c488d3704", kill_on_drop: false }` [INFO] [stdout] 0abbcde819a873803d7f758b20c383758c10f3eb975298dcf626408c488d3704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d15191232e966fc260f30e3a7afd9f88c6429836800034c1e2872284c80c15 [INFO] running `Command { std: "docker" "start" "-a" "d1d15191232e966fc260f30e3a7afd9f88c6429836800034c1e2872284c80c15", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling modmath v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "d1d15191232e966fc260f30e3a7afd9f88c6429836800034c1e2872284c80c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d15191232e966fc260f30e3a7afd9f88c6429836800034c1e2872284c80c15", kill_on_drop: false }` [INFO] [stdout] d1d15191232e966fc260f30e3a7afd9f88c6429836800034c1e2872284c80c15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a9a334cc892a07001920b764350f8077b99f5f8884b4914330c21f5d501bf96 [INFO] running `Command { std: "docker" "start" "-a" "6a9a334cc892a07001920b764350f8077b99f5f8884b4914330c21f5d501bf96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling modmath v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bnum v0.12.1 [INFO] [stderr] Compiling fixed-bigint v0.1.17 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-bigint v0.6.1 [INFO] [stderr] Compiling ibig v0.3.6 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] --> src/add.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | bnum_patched::types::U256, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum_patched`, use `cargo add bnum_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint_patched` [INFO] [stdout] --> src/add.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | crypto_bigint_patched::U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint_patched`, use `cargo add crypto_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint_patched` [INFO] [stdout] --> src/add.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | num_bigint_patched::BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] --> src/exp.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | bnum_patched::types::U256, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum_patched`, use `cargo add bnum_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ibig_patched` [INFO] [stdout] --> src/add.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | ibig_patched::UBig, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint_patched` [INFO] [stdout] --> src/exp.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | crypto_bigint_patched::U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint_patched`, use `cargo add crypto_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint_patched` [INFO] [stdout] --> src/exp.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | num_bigint_patched::BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] --> src/mul.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | bnum_patched::types::U256, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum_patched`, use `cargo add bnum_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ibig_patched` [INFO] [stdout] --> src/exp.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | ibig_patched::UBig, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint_patched` [INFO] [stdout] --> src/mul.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | crypto_bigint_patched::U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint_patched`, use `cargo add crypto_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint_patched` [INFO] [stdout] --> src/mul.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | num_bigint_patched::BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] --> src/sub.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | bnum_patched::types::U256, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum_patched`, use `cargo add bnum_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ibig_patched` [INFO] [stdout] --> src/mul.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | ibig_patched::UBig, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint_patched` [INFO] [stdout] --> src/sub.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | crypto_bigint_patched::U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint_patched`, use `cargo add crypto_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint_patched` [INFO] [stdout] --> src/sub.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | num_bigint_patched::BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] --> src/inv.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | bnum_patched::types::U256, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum_patched`, use `cargo add bnum_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ibig_patched` [INFO] [stdout] --> src/sub.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | ibig_patched::UBig, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint_patched` [INFO] [stdout] --> src/inv.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | crypto_bigint_patched::U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint_patched`, use `cargo add crypto_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint_patched` [INFO] [stdout] --> src/inv.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | num_bigint_patched::BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] --> src/montgomery/mod.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | bnum_patched::types::U256, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `bnum_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bnum_patched`, use `cargo add bnum_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ibig_patched` [INFO] [stdout] --> src/inv.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | ibig_patched::UBig, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint_patched` [INFO] [stdout] --> src/montgomery/mod.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | crypto_bigint_patched::U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint_patched`, use `cargo add crypto_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_bigint_patched` [INFO] [stdout] --> src/montgomery/mod.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | num_bigint_patched::BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ibig_patched` [INFO] [stdout] --> src/montgomery/mod.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 820 | ibig_patched::UBig, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/montgomery/mod.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!((r.clone() * r_inv.clone()) % modulus, U256::from(1u8)); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 767 | / montgomery_test_module!( [INFO] [stdout] 768 | | bnum_patched, [INFO] [stdout] 769 | | bnum_patched::types::U256, [INFO] [stdout] 770 | | strict: off, // Complex trait bounds for Montgomery operations not fully compatible [INFO] [stdout] 771 | | constrained: on, [INFO] [stdout] 772 | | basic: on, [INFO] [stdout] 773 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `montgomery_test_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/montgomery/mod.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!((r.clone() * r_inv.clone()) % modulus, U256::from(1u8)); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 783 | / montgomery_test_module!( [INFO] [stdout] 784 | | crypto_bigint_patched, [INFO] [stdout] 785 | | crypto_bigint_patched::U256, [INFO] [stdout] 786 | | strict: off, // &T + &T and &T - &T operations missing for Montgomery needs [INFO] [stdout] 787 | | constrained: on, // Fixed trait bounds - now works with patched libraries [INFO] [stdout] 788 | | basic: on, [INFO] [stdout] 789 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `montgomery_test_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/montgomery/mod.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!((r.clone() * r_inv.clone()) % modulus, U256::from(1u8)); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 800 | / montgomery_test_module!( [INFO] [stdout] 801 | | num_bigint_patched, [INFO] [stdout] 802 | | num_bigint_patched::BigUint, [INFO] [stdout] 803 | | type U256 = num_bigint_patched::BigUint; [INFO] [stdout] ... | [INFO] [stdout] 806 | | basic: off, // Copy is not implemented, heap allocation [INFO] [stdout] 807 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `montgomery_test_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/montgomery/mod.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!((r.clone() * r_inv.clone()) % modulus, U256::from(1u8)); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 818 | / montgomery_test_module!( [INFO] [stdout] 819 | | ibig_patched, [INFO] [stdout] 820 | | ibig_patched::UBig, [INFO] [stdout] 821 | | type U256 = ibig_patched::UBig; [INFO] [stdout] ... | [INFO] [stdout] 824 | | basic: off, // Copy is not implemented, heap allocation [INFO] [stdout] 825 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `montgomery_test_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] --> src/add.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | type U256 = num_bigint_patched::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] --> src/add.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | type U256 = ibig_patched::UBig; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] --> src/exp.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | type U256 = num_bigint_patched::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] --> src/exp.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | type U256 = ibig_patched::UBig; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] --> src/mul.rs:467:21 [INFO] [stdout] | [INFO] [stdout] 467 | type U256 = num_bigint_patched::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] --> src/mul.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | type U256 = ibig_patched::UBig; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] --> src/sub.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | type U256 = num_bigint_patched::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] --> src/sub.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | type U256 = ibig_patched::UBig; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] --> src/inv.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | type U256 = num_bigint_patched::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] --> src/inv.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | type U256 = ibig_patched::UBig; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] --> src/montgomery/mod.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | type U256 = num_bigint_patched::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_bigint_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_bigint_patched`, use `cargo add num_bigint_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] --> src/montgomery/mod.rs:821:21 [INFO] [stdout] | [INFO] [stdout] 821 | type U256 = ibig_patched::UBig; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ibig_patched` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ibig_patched`, use `cargo add ibig_patched` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `modmath` (lib test) due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "6a9a334cc892a07001920b764350f8077b99f5f8884b4914330c21f5d501bf96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a9a334cc892a07001920b764350f8077b99f5f8884b4914330c21f5d501bf96", kill_on_drop: false }` [INFO] [stdout] 6a9a334cc892a07001920b764350f8077b99f5f8884b4914330c21f5d501bf96