[INFO] fetching crate ark-serialize-zypher 0.4.2... [INFO] testing ark-serialize-zypher-0.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ark-serialize-zypher 0.4.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ark-serialize-zypher 0.4.2 [INFO] finished tweaking crates.io crate ark-serialize-zypher 0.4.2 [INFO] tweaked toml for crates.io crate ark-serialize-zypher 0.4.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ark-serialize-zypher 0.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding ark-test-curves v0.4.2 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11b47851c4523a12d1ad850813ac9f553f74a59ccce5b99023343de1c015be92 [INFO] running `Command { std: "docker" "start" "-a" "11b47851c4523a12d1ad850813ac9f553f74a59ccce5b99023343de1c015be92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11b47851c4523a12d1ad850813ac9f553f74a59ccce5b99023343de1c015be92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b47851c4523a12d1ad850813ac9f553f74a59ccce5b99023343de1c015be92", kill_on_drop: false }` [INFO] [stdout] 11b47851c4523a12d1ad850813ac9f553f74a59ccce5b99023343de1c015be92 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19670a5ab4362d9ce8adcf001f35f839d840dc094f8aa7d02c9fe9341a522cab [INFO] running `Command { std: "docker" "start" "-a" "19670a5ab4362d9ce8adcf001f35f839d840dc094f8aa7d02c9fe9341a522cab", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ark-std-zypher v0.4.0 [INFO] [stderr] Compiling ark-serialize-zypher v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `parallel` [INFO] [stdout] --> src/lib.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "parallel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stdout] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `parallel` [INFO] [stdout] --> src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(feature = "parallel"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stdout] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "19670a5ab4362d9ce8adcf001f35f839d840dc094f8aa7d02c9fe9341a522cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19670a5ab4362d9ce8adcf001f35f839d840dc094f8aa7d02c9fe9341a522cab", kill_on_drop: false }` [INFO] [stdout] 19670a5ab4362d9ce8adcf001f35f839d840dc094f8aa7d02c9fe9341a522cab [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b04850ed800b5f4de6454e0853c05f1febb39beedb8e6cdb51e2995e3017c24 [INFO] running `Command { std: "docker" "start" "-a" "6b04850ed800b5f4de6454e0853c05f1febb39beedb8e6cdb51e2995e3017c24", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ark-serialize-zypher v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `parallel` [INFO] [stdout] --> src/lib.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "parallel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stdout] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `parallel` [INFO] [stdout] --> src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(feature = "parallel"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stdout] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-test-curves v0.4.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `parallel` [INFO] [stdout] --> src/lib.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "parallel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stdout] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `parallel` [INFO] [stdout] --> src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(feature = "parallel"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stdout] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ark-test-curves v0.4.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6b04850ed800b5f4de6454e0853c05f1febb39beedb8e6cdb51e2995e3017c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b04850ed800b5f4de6454e0853c05f1febb39beedb8e6cdb51e2995e3017c24", kill_on_drop: false }` [INFO] [stdout] 6b04850ed800b5f4de6454e0853c05f1febb39beedb8e6cdb51e2995e3017c24 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5a760cae97b2e6c8ca777495512cc7db5eb79165616a312a405dde81aa66b4b [INFO] running `Command { std: "docker" "start" "-a" "a5a760cae97b2e6c8ca777495512cc7db5eb79165616a312a405dde81aa66b4b", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `parallel` [INFO] [stderr] --> src/lib.rs:72:15 [INFO] [stderr] | [INFO] [stderr] 72 | #[cfg(feature = "parallel")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stderr] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `parallel` [INFO] [stderr] --> src/lib.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | #[cfg(not(feature = "parallel"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `ark-serialize-derive`, `default`, `derive`, and `std` [INFO] [stderr] = help: consider adding `parallel` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `ark-serialize-zypher` (lib) generated 2 warnings [INFO] [stderr] warning: `ark-serialize-zypher` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ark-test-curves v0.4.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ark_serialize_zypher-60d10855d2bfd6f1) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test test::test_btreemap ... ok [INFO] [stdout] test test::test_biguint ... ok [INFO] [stdout] test test::test_sha2 ... ok [INFO] [stdout] test test::test_linkedlist ... ok [INFO] [stdout] test test::test_array ... ok [INFO] [stdout] test test::test_serialize_macro ... ok [INFO] [stdout] test test::test_rc_arc ... ok [INFO] [stdout] test test::test_btreeset ... ok [INFO] [stdout] test test::test_string ... ok [INFO] [stdout] test test::test_blake2 ... ok [INFO] [stdout] test test::test_bool ... ok [INFO] [stdout] test test::test_phantomdata ... ok [INFO] [stdout] test test::test_option ... ok [INFO] [stdout] test test::test_tuple ... ok [INFO] [stdout] test test::test_tuple_vec ... ok [INFO] [stdout] test test::test_vec ... ok [INFO] [stdout] test test::test_uint ... ok [INFO] [stdout] test test::test_vecdeque ... ok [INFO] [stderr] Doc-tests ark_serialize_zypher [INFO] [stdout] test test::test_sha3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 77) ... FAILED [INFO] [stdout] test src/lib.rs - CanonicalDeserialize (line 135) ... FAILED [INFO] [stdout] test src/lib.rs - CanonicalSerialize (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 90) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ark_serialize` [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ark_serialize::{CanonicalSerialize, CanonicalDeserialize, Compress, SerializationError, Valid, Validate}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ark_serialize` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ark_serialize`, use `cargo add ark_serialize` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 77) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ark_serialize` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ark_serialize::{CanonicalSerialize, CanonicalDeserialize}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ark_serialize` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ark_serialize`, use `cargo add ark_serialize` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - CanonicalDeserialize (line 135) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ark_serialize` [INFO] [stdout] --> src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ark_serialize::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ark_serialize` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ark_serialize`, use `cargo add ark_serialize` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - CanonicalSerialize (line 92) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ark_serialize` [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ark_serialize::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ark_serialize` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ark_serialize`, use `cargo add ark_serialize` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ark_serialize` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_serialize::{CanonicalSerialize, CanonicalDeserialize}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ark_serialize` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ark_serialize`, use `cargo add ark_serialize` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize_compressed` found for struct `ark_test_curves::short_weierstrass::Affine

` in the current scope [INFO] [stdout] --> src/lib.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 15 | a.serialize_compressed(&mut compressed_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-serialize-0.4.2/src/lib.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn serialize_compressed(&self, writer: W) -> Result<(), SerializationError> { [INFO] [stdout] | -------------------- the method is available for `ark_test_curves::short_weierstrass::Affine` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CanonicalSerialize` which provides `serialize_compressed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use ark_serialize::CanonicalSerialize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `serialize_uncompressed` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 | a.serialize_uncompressed(&mut compressed_bytes).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize_uncompressed` found for struct `ark_test_curves::short_weierstrass::Affine

` in the current scope [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 18 | a.serialize_uncompressed(&mut uncompressed_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-serialize-0.4.2/src/lib.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn serialize_uncompressed(&self, writer: W) -> Result<(), SerializationError> { [INFO] [stdout] | ---------------------- the method is available for `ark_test_curves::short_weierstrass::Affine` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CanonicalSerialize` which provides `serialize_uncompressed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use ark_serialize::CanonicalSerialize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `serialize_compressed` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - a.serialize_uncompressed(&mut uncompressed_bytes).unwrap(); [INFO] [stdout] 18 + a.serialize_compressed(&mut uncompressed_bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize_compressed` found for struct `ark_test_curves::short_weierstrass::Affine

` in the current scope [INFO] [stdout] --> src/lib.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 21 | let a_compressed = G1Affine::deserialize_compressed(&*compressed_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `ark_test_curves::short_weierstrass::Affine` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ark_test_curves::short_weierstrass::Affine` consider using one of the following associated functions: [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new_unchecked [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::identity [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::get_point_from_x_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/models/short_weierstrass/affine.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub const fn new_unchecked(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub const fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_point_from_x_unchecked(x: P::BaseField, greatest: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CanonicalDeserialize` which provides `deserialize_compressed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use ark_serialize::CanonicalDeserialize; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `deserialize_uncompressed` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 | let a_compressed = G1Affine::deserialize_uncompressed(&*compressed_bytes).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize_uncompressed` found for struct `ark_test_curves::short_weierstrass::Affine

` in the current scope [INFO] [stdout] --> src/lib.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 24 | let a_uncompressed = G1Affine::deserialize_uncompressed(&*uncompressed_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `ark_test_curves::short_weierstrass::Affine` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ark_test_curves::short_weierstrass::Affine` consider using one of the following associated functions: [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new_unchecked [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::identity [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::get_point_from_x_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/models/short_weierstrass/affine.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub const fn new_unchecked(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub const fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_point_from_x_unchecked(x: P::BaseField, greatest: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CanonicalDeserialize` which provides `deserialize_uncompressed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use ark_serialize::CanonicalDeserialize; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `deserialize_compressed` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - let a_uncompressed = G1Affine::deserialize_uncompressed(&*uncompressed_bytes).unwrap(); [INFO] [stdout] 24 + let a_uncompressed = G1Affine::deserialize_compressed(&*uncompressed_bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize_uncompressed_unchecked` found for struct `ark_test_curves::short_weierstrass::Affine

` in the current scope [INFO] [stdout] --> src/lib.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 32 | let a_uncompressed_unchecked = G1Affine::deserialize_uncompressed_unchecked(&*uncompressed_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `ark_test_curves::short_weierstrass::Affine` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ark_test_curves::short_weierstrass::Affine` consider using one of the following associated functions: [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new_unchecked [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::identity [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::get_point_from_x_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/models/short_weierstrass/affine.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub const fn new_unchecked(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub const fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_point_from_x_unchecked(x: P::BaseField, greatest: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CanonicalDeserialize` which provides `deserialize_uncompressed_unchecked` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use ark_serialize::CanonicalDeserialize; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `deserialize_compressed_unchecked` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - let a_uncompressed_unchecked = G1Affine::deserialize_uncompressed_unchecked(&*uncompressed_bytes).unwrap(); [INFO] [stdout] 32 + let a_uncompressed_unchecked = G1Affine::deserialize_compressed_unchecked(&*uncompressed_bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize_compressed_unchecked` found for struct `ark_test_curves::short_weierstrass::Affine

` in the current scope [INFO] [stdout] --> src/lib.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 33 | let a_compressed_unchecked = G1Affine::deserialize_compressed_unchecked(&*compressed_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `ark_test_curves::short_weierstrass::Affine` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ark_test_curves::short_weierstrass::Affine` consider using one of the following associated functions: [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::new_unchecked [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::identity [INFO] [stdout] ark_test_curves::short_weierstrass::Affine::

::get_point_from_x_unchecked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/models/short_weierstrass/affine.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub const fn new_unchecked(x: P::BaseField, y: P::BaseField) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub const fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_point_from_x_unchecked(x: P::BaseField, greatest: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CanonicalDeserialize` which provides `deserialize_compressed_unchecked` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use ark_serialize::CanonicalDeserialize; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `deserialize_uncompressed_unchecked` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let a_compressed_unchecked = G1Affine::deserialize_uncompressed_unchecked(&*compressed_bytes).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] src/lib.rs - (line 77) [INFO] [stdout] src/lib.rs - (line 90) [INFO] [stdout] src/lib.rs - CanonicalDeserialize (line 135) [INFO] [stdout] src/lib.rs - CanonicalSerialize (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a5a760cae97b2e6c8ca777495512cc7db5eb79165616a312a405dde81aa66b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a760cae97b2e6c8ca777495512cc7db5eb79165616a312a405dde81aa66b4b", kill_on_drop: false }` [INFO] [stdout] a5a760cae97b2e6c8ca777495512cc7db5eb79165616a312a405dde81aa66b4b