[INFO] fetching crate ff-derive-num 0.2.0... [INFO] testing ff-derive-num-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ff-derive-num 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ff-derive-num 0.2.0 [INFO] finished tweaking crates.io crate ff-derive-num 0.2.0 [INFO] tweaked toml for crates.io crate ff-derive-num 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ff-derive-num 0.2.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 03b0436524b70d36ad88a52900fd2d9b59ceb70feaa8c4eda15964e9242a7dcf [INFO] running `Command { std: "docker" "start" "-a" "03b0436524b70d36ad88a52900fd2d9b59ceb70feaa8c4eda15964e9242a7dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03b0436524b70d36ad88a52900fd2d9b59ceb70feaa8c4eda15964e9242a7dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b0436524b70d36ad88a52900fd2d9b59ceb70feaa8c4eda15964e9242a7dcf", kill_on_drop: false }` [INFO] [stdout] 03b0436524b70d36ad88a52900fd2d9b59ceb70feaa8c4eda15964e9242a7dcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9c8d687708fb5facebe2e80897f592146d63b8d21c3ccb290867b9409d6f8fc6 [INFO] running `Command { std: "docker" "start" "-a" "9c8d687708fb5facebe2e80897f592146d63b8d21c3ccb290867b9409d6f8fc6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ff-derive-num v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "9c8d687708fb5facebe2e80897f592146d63b8d21c3ccb290867b9409d6f8fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8d687708fb5facebe2e80897f592146d63b8d21c3ccb290867b9409d6f8fc6", kill_on_drop: false }` [INFO] [stdout] 9c8d687708fb5facebe2e80897f592146d63b8d21c3ccb290867b9409d6f8fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] abcc3ea24ecb17c4c84c98cd731f23bc219db7e152f9a1a74d7fc58029ffc20d [INFO] running `Command { std: "docker" "start" "-a" "abcc3ea24ecb17c4c84c98cd731f23bc219db7e152f9a1a74d7fc58029ffc20d", kill_on_drop: false }` [INFO] [stderr] Compiling ff-derive-num v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "abcc3ea24ecb17c4c84c98cd731f23bc219db7e152f9a1a74d7fc58029ffc20d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abcc3ea24ecb17c4c84c98cd731f23bc219db7e152f9a1a74d7fc58029ffc20d", kill_on_drop: false }` [INFO] [stdout] abcc3ea24ecb17c4c84c98cd731f23bc219db7e152f9a1a74d7fc58029ffc20d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }` [INFO] [stdout] 9b0977cfae2b9f2734a3a9da7afd2db4dd9c9be50717a6519c2e998143b18c25 [INFO] running `Command { std: "docker" "start" "-a" "9b0977cfae2b9f2734a3a9da7afd2db4dd9c9be50717a6519c2e998143b18c25", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ff_derive_num-3362b5fbb4d12c75) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests ff_derive_num [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ff` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use ff::PrimeField; // ff should be used with the "derive" feature! [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `ff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ff`, use `cargo add ff` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ff` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ could not find `ff` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `PrimeFieldModulus` in this scope [INFO] [stdout] --> src/lib.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[PrimeFieldModulus = "70386805592835581672624750593"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `PrimeFieldGenerator` in this scope [INFO] [stdout] --> src/lib.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[PrimeFieldGenerator = "17"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `PrimeFieldReprEndianness` in this scope [INFO] [stdout] --> src/lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[PrimeFieldReprEndianness = "little"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `ff` in the crate root [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ could not find `ff` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Ft` with `Ft` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ no implementation for `Ft == Ft` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `Ft` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Num` [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Ft` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(PartialEq)] [INFO] [stdout] 32 | pub struct Ft([u64; 2]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `Ft` from `Ft` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ no implementation for `Ft - Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Sub` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Ft` to implement `NumOps` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^ required by this bound in `Num` [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `Ft` by `Ft` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ no implementation for `Ft * Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Mul` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Ft` to implement `NumOps` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^ required by this bound in `Num` [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Ft` to `Ft` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ no implementation for `Ft + Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Add` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Ft` to implement `NumOps` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^ required by this bound in `Num` [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `Ft` by `Ft` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^ no implementation for `Ft * Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Mul` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Ft` to implement `NumOps` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^ required by this bound in `Num` [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `Ft` from `Ft` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^ no implementation for `Ft - Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Sub` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Ft` to implement `NumOps` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^ required by this bound in `Num` [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Ft` to `Ft` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^ no implementation for `Ft + Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Add` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Ft` to implement `NumOps` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^ required by this bound in `Num` [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Ft` with `Ft` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^ no implementation for `Ft == Ft` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `Ft` [INFO] [stdout] note: required by a bound in `Num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/lib.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait Num: PartialEq + Zero + One + NumOps { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Num` [INFO] [stdout] help: consider annotating `Ft` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(PartialEq)] [INFO] [stdout] 32 | pub struct Ft([u64; 2]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Ft` to `Ft` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^ no implementation for `Ft + Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Add` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `num_traits::Zero` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/identities.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Zero: Sized + Add { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Zero` [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `Ft` by `Ft` [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^ no implementation for `Ft * Ft` [INFO] [stdout] | [INFO] [stdout] help: the trait `Mul` is not implemented for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `One` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/identities.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | pub trait One: Sized + Mul { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `One` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Ft`, found `u64` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | this return type influences the call expression's return type [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `*=` cannot be applied to type `Ft` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ cannot use `*=` on type `Ft` [INFO] [stdout] | [INFO] [stdout] note: an implementation of `MulAssign<&Ft>` might be missing for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `MulAssign<&Ft>` [INFO] [stdout] note: the trait `MulAssign` must be implemented [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/arith.rs:903:0 [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `Ft` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PrimeField,Num)] [INFO] [stdout] | ^^^ cannot use `+=` on type `Ft` [INFO] [stdout] | [INFO] [stdout] note: an implementation of `AddAssign<&Ft>` might be missing for `Ft` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Ft([u64; 2]); [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `AddAssign<&Ft>` [INFO] [stdout] note: the trait `AddAssign` must be implemented [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/arith.rs:770:0 [INFO] [stdout] = note: this error originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0368, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9b0977cfae2b9f2734a3a9da7afd2db4dd9c9be50717a6519c2e998143b18c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0977cfae2b9f2734a3a9da7afd2db4dd9c9be50717a6519c2e998143b18c25", kill_on_drop: false }` [INFO] [stdout] 9b0977cfae2b9f2734a3a9da7afd2db4dd9c9be50717a6519c2e998143b18c25